:root {
    --primary-color: #2d8ece;
    --secondary-color: #2980b9;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #757575;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Boldonse&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    height: 100%;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    width: 70%;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
  


.header-content {
    display: flex;
    justify-content: space-around;
    align-items: center ;
    max-width: 100%;
    margin: 0 auto;   
    gap: 10px;
}

.logo {
    font-family: "Boldonse", sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    position: flex;
    display: block;
    margin-right: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}

nav ul li a:hover {
    opacity: 0.8;
}

.main-content {
    padding: 2rem 0;
    flex: 1;
    width: 100%;
    display: grid;
    place-items: center;
}

.page-title {
    margin-bottom: 1.5rem;
    color: black;
    text-align: center;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: ;
    
}

.card h2 {
    text-align: center;
    padding-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--secondary-color);
}

.btn-success {
    background: var(--success-color);
}

.btn-warning {
    background: var(--warning-color);
}

.btn-danger {
    background: var(--danger-color);
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.categoria-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.categoria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.categoria-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tipos-chamado {
    display: none;
}

.tipos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tipo-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    cursor: pointer;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s;
}

.tipo-card:hover {
    transform: translateX(5px);
}

.tipo-prioridade {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.prioridade-alta {
    background: var(--danger-color);
    color: white;
}

.prioridade-media {
    background: var(--warning-color);
    color: white;
}

.prioridade-baixa {
    background: var(--success-color);
    color: white;
}

.formulario-chamado {
    display: none;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th, .table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-aberto {
    background: #e3f2fd;
    color: #1976d2;
}

.status-em_andamento {
    background: #fff3e0;
    color: #f57c00;
}

.status-resolvido {
    background: #e8f5e9;
    color: #388e3c;
}

.status-fechado {
    background: #f5f5f5;
    color: #616161;
}

footer {
    background: rgb(233, 233, 233);
    color: rgb(7, 7, 7);
    text-align: center;
    padding: 2rem 0;
    margin-top: auto px ; 
}

.botoes {
        gap: 2rem;
        margin-top: 1.5rem;
        text-align: center;
    }

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .categorias-grid, .tipos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px)  {

    .logo {
        margin-left: auto;
    }
    
    nav ul {
	margin-top: 1rem;
	justify-content: center;
	margin-left: 2rem;
    }


    .botoes {
        display: flex;
        gap: 2rem;
        margin-top: 1.5rem;
    }

    .page-title {
	    font-size: 1.5rem;
        text-align: center;
    }

    .container {
         width: 100%;
    }
    
    
}

    


