/* Estilos Mobile-First para Agendamento Natal Brilhante */

/* Plano de fundo da página */
.body-background {
    background-image: url('../img/bg-xmas.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Overlay para melhorar legibilidade */
.body-background::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: -1;
}

/* Container principal com fundo semi-transparente */
.container-fluid {
    position: relative;
    z-index: 1;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Cabeçalho com imagem */
.header-banner {
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.img-header {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Responsividade do cabeçalho */
@media (max-width: 768px) {
    .header-banner {
        padding: 15px 10px;
    }
    
    .img-header {
        max-height: 120px;
    }
}

@media (max-width: 576px) {
    .header-banner {
        padding: 10px;
        border-radius: 8px;
    }
    
    .img-header {
        max-height: 100px;
    }
}

/* Login */
.container-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/bg-xmas.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 20px;
    position: relative;
}

/* Removido overlay roxo - apenas imagem de fundo */

.container-login > * {
    position: relative;
    z-index: 1;
}

.card-login {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
}

.card-login h2 {
    color: #333;
    text-align: center;
    font-weight: 600;
}

/* Navbar */
.navbar-verde {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #C9A961 0%, #8B6914 100%) !important;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 10px 15px;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 10px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar-verde .btn-outline-light {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 0.875rem;
    white-space: nowrap;
}

.navbar-verde .btn-outline-light i {
    margin-right: 4px;
}

/* Container principal */
.container {
    padding-bottom: 30px;
}

/* Abas */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
    color: #495057;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 20px;
    transition: all 0.3s;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: #155724;
    color: #155724;
}

.nav-tabs .nav-link.active {
    color: #155724;
    background-color: transparent;
    border-bottom-color: #155724;
    font-weight: 600;
}

.nav-tabs .nav-link:disabled {
    color: #6c757d;
    cursor: not-allowed;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Card de Regras com gradiente cinza claro */
.card-regras {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 1px solid #d0d0d0;
}

.card-header-regras {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 8px 8px 0 0;
}

.btn-regras {
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-regras:hover {
    color: #155724;
    background-color: rgba(255, 255, 255, 0.3);
}

.btn-regras:focus {
    box-shadow: none;
    outline: none;
}

.btn-regras small {
    font-size: 0.85rem;
    font-weight: 400;
    text-decoration: underline;
}

.btn-regras .bi-chevron-down {
    transition: transform 0.3s ease;
}

.btn-regras[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

.card-regras .card-body {
    background-color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid #d0d0d0;
}

.card-regras .list-unstyled li {
    padding: 8px 0;
    line-height: 1.6;
}

/* Responsividade para card de regras */
@media (max-width: 768px) {
    .btn-regras {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .btn-regras small {
        font-size: 0.8rem;
        display: block;
        margin-top: 4px;
    }
    
    .card-regras .card-body {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .btn-regras {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .card-regras .list-unstyled li {
        font-size: 0.9rem;
        padding: 6px 0;
    }
}

/* ========== ESTILOS PARA MODAL DE TERMO DE CONSENTIMENTO ========== */

/* Modal responsivo e fácil de fechar */
#modalTermoConsentimento .modal-dialog {
    max-width: 90%;
    margin: 1rem auto;
}

#modalTermoConsentimento .modal-content {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#modalTermoConsentimento .modal-header {
    border-bottom: 2px solid #dee2e6;
    padding: 15px 20px;
    background: linear-gradient(135deg, #155724 0%, #0d5132 100%);
    color: white;
    border-radius: 10px 10px 0 0;
}

#modalTermoConsentimento .modal-header .btn-close {
    filter: invert(1);
    opacity: 0.9;
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
}

#modalTermoConsentimento .modal-header .btn-close:hover {
    opacity: 1;
}

#modalTermoConsentimento .modal-body {
    padding: 20px;
    line-height: 1.7;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

#modalTermoConsentimento .modal-body p {
    margin-bottom: 15px;
}

#modalTermoConsentimento .modal-body a {
    color: #155724;
    font-weight: 600;
    text-decoration: underline;
}

#modalTermoConsentimento .modal-footer {
    border-top: 2px solid #dee2e6;
    padding: 15px 20px;
    justify-content: center;
}

#modalTermoConsentimento .modal-footer .btn {
    min-width: 120px;
    padding: 10px 20px;
}

/* Checkbox de termo de consentimento */
.form-check-input:invalid {
    border-color: #dc3545;
}

.form-check-input:invalid:checked {
    border-color: #28a745;
    background-color: #28a745;
}

.form-check-label a {
    color: #155724;
    font-weight: 600;
    transition: color 0.2s ease;
}

.form-check-label a:hover {
    color: #0d5132;
    text-decoration: underline;
}

/* Responsividade para modal em mobile */
@media (max-width: 768px) {
    #modalTermoConsentimento .modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
    }
    
    #modalTermoConsentimento .modal-header {
        padding: 12px 15px;
    }
    
    #modalTermoConsentimento .modal-header .modal-title {
        font-size: 1rem;
    }
    
    #modalTermoConsentimento .modal-body {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    #modalTermoConsentimento .modal-footer {
        padding: 12px 15px;
    }
    
    #modalTermoConsentimento .modal-footer .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    #modalTermoConsentimento .modal-dialog {
        max-width: 100%;
        margin: 0;
        height: 100vh;
        display: flex;
        align-items: stretch;
    }
    
    #modalTermoConsentimento .modal-content {
        border-radius: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    #modalTermoConsentimento .modal-body {
        flex: 1;
        overflow-y: auto;
        padding: 15px;
        font-size: 0.9rem;
    }
    
    #modalTermoConsentimento .modal-header .btn-close {
        font-size: 1.5rem;
        padding: 0.75rem;
    }
    
    /* Área clicável maior para fechar em mobile */
    #modalTermoConsentimento .modal-backdrop {
        background-color: rgba(0, 0, 0, 0.5);
    }
    
    /* Permitir fechar ao tocar fora do modal em mobile */
    #modalTermoConsentimento.show .modal-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1040;
    }
}

.card-header {
    background: linear-gradient(135deg, #155724 0%, #0d5132 100%);
    color: white;
    border-radius: 8px 8px 0 0 !important;
    padding: 15px 20px;
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

/* Formulários */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border: 2px solid #dee2e6;
    border-radius: 6px;
    padding: 10px 15px;
    transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: #155724;
    box-shadow: 0 0 0 0.2rem rgba(21, 87, 36, 0.25);
}

.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.98-.98-.98-.98a.5.5 0 0 0-.7.7l.98.98-.98.98a.5.5 0 0 0 .7.7l.98-.98.98.98a.5.5 0 0 0 .7-.7L4.7 5.75l.98-.98a.5.5 0 0 0-.7-.7l-.98.98-.98-.98a.5.5 0 0 0-.7.7l.98.98-.98.98a.5.5 0 0 0 .7.7z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4M6.2 8.4l-.4-.4-.4.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.form-control:disabled,
.form-select:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.form-control[readonly] {
    background-color: #fff;
    cursor: pointer;
}

/* Estilos para Flatpickr */
.flatpickr-input {
    cursor: pointer;
}

.flatpickr-calendar {
    font-family: inherit;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: linear-gradient(135deg, #155724 0%, #0d5132 100%);
    border-color: #155724;
}

.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
}

.flatpickr-day:not(.flatpickr-disabled):hover {
    background: rgba(21, 87, 36, 0.1);
}

/* Mobile: Flatpickr usa datepicker nativo quando apropriado */
@media (max-width: 768px) {
    .flatpickr-mobile .flatpickr-input {
        font-size: 16px; /* Evita zoom no iOS */
    }
}

/* Botões */
.btn {
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #155724 0%, #0d5132 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 87, 36, 0.4);
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
}

/* Botão Consultar Vagas */
.btn-consultar-vagas {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-consultar-vagas:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    text-decoration: none;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Área de alertas */
#alert-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 90%;
    max-width: 500px;
    pointer-events: none;
}

.alert-custom {
    pointer-events: auto;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    animation: slideDown 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.alert-custom i {
    font-size: 1.5rem;
}

.alert-success-custom {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error-custom {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning-custom {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info-custom {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* Alert informativo do formulário */
.alert-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
    border-radius: 6px;
    padding: 12px 15px;
}

.alert-info strong {
    color: #0c5460;
}

.alert-info span {
    font-weight: 700;
    color: #155724;
    background-color: rgba(21, 87, 36, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Ajustes para navbar dentro do container */
.container > .navbar-verde {
    margin-left: 0;
    margin-right: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal de confirmação customizado */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1070;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-custom {
    background: white;
    border-radius: 10px;
    padding: 25px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header-custom {
    margin-bottom: 20px;
    text-align: center;
}

.modal-header-custom h5 {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.modal-body-custom {
    margin-bottom: 20px;
    text-align: center;
    color: #666;
}

.modal-footer-custom {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.modal-footer-custom .btn {
    flex: 1;
    max-width: 120px;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar-verde {
        padding: 8px 12px;
    }
    
    .navbar-brand {
        font-size: 0.95rem;
        margin-right: 8px;
        padding-right: 8px;
    }
    
    .navbar-verde .btn-outline-light {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .navbar-verde .btn-outline-light i {
        margin-right: 2px;
    }
}

@media (max-width: 576px) {
    .card-login {
        padding: 20px;
    }

    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .card-body {
        padding: 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

    #alert-container {
        width: 95%;
    }

    .modal-custom {
        padding: 20px;
    }
    
    .navbar-verde {
        padding: 8px 10px;
    }
    
    .navbar-brand {
        font-size: 0.85rem;
        margin-right: 6px;
        padding-right: 6px;
        line-height: 1.3;
    }
    
    .navbar-verde .btn-outline-light {
        padding: 4px 8px;
        font-size: 0.75rem;
        min-width: auto;
    }
    
    .navbar-verde .btn-outline-light span,
    .navbar-verde .btn-outline-light .bi {
        display: inline-block;
    }
    
    /* Ajustar container-fluid da navbar no mobile */
    .navbar-verde .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
}

/* Melhorias de acessibilidade */
.form-control:focus,
.form-select:focus,
.btn:focus {
    outline: none;
}

/* Animações suaves */
* {
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* ========== ESTILOS PARA CONSULTA DE AGENDA ========== */

/* Filtros */
.row.g-3 {
    margin-bottom: 1.5rem;
}

/* Tabela de agendamentos */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: linear-gradient(135deg, #155724 0%, #0d5132 100%);
    color: white;
    font-weight: 600;
    border: none;
    padding: 15px;
    text-align: center;
    vertical-align: middle;
}

.table tbody td {
    padding: 12px 15px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Paginação */
.pagination {
    margin-top: 20px;
    margin-bottom: 0;
}

.page-link {
    color: #155724;
    border: 2px solid #dee2e6;
    padding: 10px 15px;
    margin: 0 2px;
    border-radius: 6px;
    transition: all 0.3s;
}

.page-link:hover {
    color: #0d5132;
    background-color: #f8f9fa;
    border-color: #155724;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #155724 0%, #0d5132 100%);
    border-color: #155724;
    color: white;
    font-weight: 600;
}

.page-item.disabled .page-link {
    color: #6c757d;
    background-color: #e9ecef;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-item.disabled .page-link:hover {
    transform: none;
    background-color: #e9ecef;
}

/* Informações de paginação */
#info-paginacao {
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

#info-paginacao small {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Loading spinner na tabela */
.table tbody .spinner-border {
    width: 2rem;
    height: 2rem;
    margin: 20px auto;
}

/* Mensagem de "nenhum registro" */
.table tbody .text-muted {
    padding: 40px 20px;
    font-size: 1.1rem;
}

.table tbody .text-muted i {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* Responsividade para tabela */
@media (max-width: 768px) {
    .table thead th,
    .table tbody td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }

    .table thead th {
        font-size: 0.85rem;
    }

    .page-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .row.g-3 .col-12 {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .table-responsive {
        font-size: 0.85rem;
    }

    .table thead th,
    .table tbody td {
        padding: 8px 5px;
        font-size: 0.8rem;
    }

    .page-link {
        padding: 6px 10px;
        font-size: 0.8rem;
        margin: 0 1px;
    }

    .page-item:not(.active):not(.disabled) .page-link {
        display: none;
    }

    .page-item.active .page-link,
    .page-item.disabled .page-link {
        display: inline-block;
    }
}

/* ========== ESTILOS PARA CONSULTA PÚBLICA POR CPF ========== */

/* Alinhamento do botão de consulta com o campo de input */
#btnConsultar {
    margin-top: 0;
}

/* Box de resultado da consulta */
#resultado-consulta {
    margin-top: 20px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#resultado-consulta .card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#resultado-consulta .card-header {
    border-radius: 8px 8px 0 0;
    padding: 15px 20px;
}

#resultado-consulta .card-body {
    padding: 20px;
}

#resultado-consulta .list-group-item {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 15px;
    transition: all 0.2s ease;
}

#resultado-consulta .list-group-item:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#resultado-consulta .list-group-item h6 {
    color: #155724;
    font-weight: 600;
    margin-bottom: 10px;
}

#resultado-consulta .badge {
    font-size: 0.9rem;
    padding: 6px 12px;
    font-weight: 500;
}

#resultado-consulta .badge-horario {
    background-color: rgb(253, 148, 13) !important;
    color: #000 !important;
    border: none;
}

/* Responsividade para box de resultado */
@media (max-width: 768px) {
    #resultado-consulta .card-body {
        padding: 15px;
    }
    
    #resultado-consulta .list-group-item {
        padding: 12px;
    }
    
    #resultado-consulta .list-group-item h6 {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    #resultado-consulta .card-body {
        padding: 12px;
    }
    
    #resultado-consulta .list-group-item {
        padding: 10px;
    }
    
    #resultado-consulta .list-group-item h6 {
        font-size: 0.9rem;
    }
    
    #resultado-consulta .badge {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
}

