/* Estilos para o modal de Termos de Uso */
.modal-termos-uso .modal-dialog {
    max-width: 800px;
}

.modal-termos-uso .modal-content {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-termos-uso .modal-header {
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-termos-uso .modal-title {
    font-weight: 600;
    color: #2c3e50;
}

.modal-termos-uso .modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-termos-uso .termos-container {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    height: 300px;
    overflow-y: auto;
}

.modal-termos-uso .form-check {
    margin-top: 15px;
}

.modal-termos-uso .btn-aceitar {
    background-color: #28a745;
    color: white;
    font-weight: 500;
}

.modal-termos-uso .btn-aceitar:disabled {
    background-color: #6c757d;
    opacity: 0.65;
}

/* Estilo para destacar que é necessário rolar até o final */
.modal-termos-uso .scroll-indicator {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 10px;
    font-style: italic;
}

/* Animação para o botão quando habilitado */
.modal-termos-uso .btn-aceitar.enabled {
    animation: pulse 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Estilo para o iframe que carrega os termos */
.modal-termos-uso iframe {
    width: 100%;
    height: 350px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

/* Estilo para a versão dos termos */
.modal-termos-uso .termos-versao {
    font-size: 0.8rem;
    color: #6c757d;
    text-align: right;
    margin-top: 5px;
}
