/* Tema claro */
[data-bs-theme="light"] .card-header {
    background-color: var(--primary);
    color: #fff;
    font-weight: 500;
}
[data-bs-theme="light"] .card, .card-light {
    border-radius: 10px;
    margin-bottom: 30px;
    -webkit-box-shadow: 2px 6px 15px 0 rgba(69, 65, 78, .1);
    -moz-box-shadow: 2px 6px 15px 0 rgba(69,65,78,.1);
    box-shadow: 2px 6px 15px 0 rgba(69, 65, 78, .1);
    border: 0;
}
[data-bs-theme="light"] .btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}
[data-bs-theme="light"] .btn-primary:hover,
[data-bs-theme="light"] .btn-primary:focus,
[data-bs-theme="light"] .btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

/* Modal (fundo) */
[data-bs-theme="light"] .modal .modal-content {
    background-color: var(--primary) !important;
    color: #fff !important;
}

/* Título */
[data-bs-theme="light"] .modal .modal-title {
    color: #fff !important;
}

/* Botão fechar (X) */
[data-bs-theme="light"] .modal .btn-close {
    filter: brightness(0) invert(1) !important; /* deixa o X branco */
}

/* Texto interno */
[data-bs-theme="light"] .modal .modal-body,
[data-bs-theme="light"] .modal .modal-header {
    color: #fff !important;
}

/* Bordas internas (remover preto do Bootstrap) */
[data-bs-theme="light"] .modal-header,
[data-bs-theme="light"] .modal-footer {
    border-color: rgba(255,255,255,0.25) !important;
}