/* ================================ */
/* RESET & CONFIGURAÇÕES GLOBAIS    */
/* ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* ================================ */
/* CONTAINERS GERAIS                */
/* ================================ */


/* Pequenos ajustes para containers específicos */
.container.small {
    max-width: 500px;
}
.container.large {
    max-width: 1000px;
}

/* ================================ */
/* CABEÇALHOS E TÍTULOS             */
/* ================================ */
h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #007bff;
}

h2.text-primary {
    font-size: 1.5rem;
}

/* ================================ */
/* FORMULÁRIOS                      */
/* ================================ */
form {
    display: flex;
    flex-direction: column;
}

form label {
    font-weight: bold;
    margin-bottom: 5px;
}

form input[type="text"],
form input[type="password"] {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

form button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0056b3;
}

/* ================================ */
/* BOTÕES                           */
/* ================================ */
.btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}
.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}
.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-success {
    background-color: #28a745;
    color: white;
}
.btn-success:hover {
    background-color: #218838;
}

.btn-warning {
    background-color: #ffc107;
    color: black;
}
.btn-warning:hover {
    background-color: #e0a800;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}
.btn-danger:hover {
    background-color: #c82333;
}

/* ================================ */
/* ALERTAS                          */
/* ================================ */
.alert {
    margin-bottom: 1.5rem;
    padding: 10px 15px;
    border-radius: 4px;
    text-align: center;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ================================ */
/* ACORDIONS E RELATÓRIOS           */
/* ================================ */
.accordion-item.report-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    padding: 1rem;
}

.accordion-button:not(.collapsed) {
    background-color: #0056b3;
    color: #fff;
}

.accordion-body {
    background-color: #f8f9fa;
    padding: 1.5rem;
}

/* ================================ */
/* RESPONSIVIDADE                   */
/* ================================ */
@media (max-width: 576px) {
    .container {
        padding: 1rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    form button {
        font-size: 0.9em;
    }
}
