/* Estilos para o modal de termos */

.modal.show {
    display: block !important;
    z-index: 1050;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-backdrop.fade {
    opacity: 0;
    transition: opacity 0.15s linear;
}

.modal-backdrop.show {
    opacity: 1;
}

body.modal-open {
    overflow: hidden;
}

/* Botões de Política e Termos */
#privacyButton,
#termsButton {
    background-color: #9b0000 !important;
    border-color: #9b0000 !important;
    color: white !important;
    font-weight: 500;
}

#privacyButton:hover,
#termsButton:hover {
    background-color: #7a0000 !important;
    border-color: #7a0000 !important;
    color: white !important;
}

#privacyButton i,
#termsButton i {
    color: white !important;
}

#privacyButton.btn-success,
#termsButton.btn-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

#privacyButton.btn-success:hover,
#termsButton.btn-success:hover {
    background-color: #218838 !important;
    border-color: #218838 !important;
    color: white !important;
}

/* Garantir que o modal fica acima */
#privacyModal,
#termsModal {
    z-index: 1050;
}

#privacyModal.show,
#termsModal.show {
    display: block !important;
}

/* Modal body com scroll */
.modal-body {
    max-height: 500px;
    overflow-y: auto;
}

/* Botão confirmar */
#privacyConfirmBtn,
#termsConfirmBtn {
    min-width: 120px;
}

#privacyConfirmBtn:disabled,
#termsConfirmBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#privacyConfirmBtn:not(:disabled),
#termsConfirmBtn:not(:disabled) {
    cursor: pointer;
}
