/* ===== CSS GLOBAL DO SISTEMA CENTUPLO ===== */

/* Estilos gerais */
body {
    background-color: #f8f9fa;
}

/* ===== FOOTER ===== */
.footer-section {
    background-color: #111827;
}

.footer-section h5,
.footer-section h6 {
    color: #ffffff;
}

.footer-section .text-muted {
    color: #ffffff !important;
}

.footer-section .footer-links {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-section .footer-links li+li {
    margin-top: 0.5rem;
}

.footer-section .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-section .footer-links a:hover,
.footer-section .footer-links a:focus {
    color: #ffffff;
}

.footer-section .social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.footer-section .social-links a:hover,
.footer-section .social-links a:focus {
    color: #ffffff;
    transform: translateY(-2px);
}

/* ===== NAVEGAÇÃO ===== */
.navbar .nav-link.locked-module {
    opacity: 0.65;
    cursor: not-allowed;
}

.navbar .nav-link.locked-module:hover,
.navbar .nav-link.locked-module:focus {
    color: inherit;
}

.navbar .nav-link.locked-module .fa-lock {
    font-size: 0.9em;
}

/* ===== NOTIFICAÇÕES ===== */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
}

.notification-dropdown {
    max-width: 400px;
    max-height: 500px;
    overflow-y: auto;
}

.notification-item {
    border-left: 4px solid #85B4F2;
    padding: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.critico {
    border-left-color: #dc3545;
}

.notification-item.aviso {
    border-left-color: #ffc107;
}

/* ===== FORMULÁRIOS ===== */
.form-control:focus,
.form-select:focus {
    border-color: #85B4F2;
    box-shadow: 0 0 0 0.2rem rgba(133, 180, 242, 0.35);
}

.form-control-lg,
.form-select-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

/* ===== VALIDAÇÕES ===== */
.validation-success {
    color: #198754;
}

.validation-error {
    color: #dc3545;
}

.feedback-icon {
    margin-left: 0.5rem;
}

/* ===== CARDS ===== */
.card {
    border-radius: 12px;
}

/* ===== ANIMAÇÕES ===== */
.step-content {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== OUTRAS UTILIDADES ===== */
.step-indicator {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: bold;
    color: #666;
    transition: all 0.3s;
}

.step-indicator.active {
    background-color: #85B4F2;
    color: #0D0D0D;
    box-shadow: 0 4px 12px rgba(133, 180, 242, 0.4);
}

.step-indicator.current {
    border: 3px solid #85B4F2;
    transform: scale(1.1);
}

.step-link {
    cursor: pointer;
    transition: all 0.3s;
}

.step-link:hover .step-indicator {
    transform: scale(1.05);
    box-shadow: 0 2px 8px #00000026;
}

.step-link:hover .step-indicator.active {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.5);
}

.step-link:hover .step-indicator.current {
    transform: scale(1.15);
}

.step-disabled {
    pointer-events: none;
    opacity: 0.4;
    cursor: not-allowed !important;
}

.step-disabled:hover {
    text-decoration: none;
}

/* ===== ANIMAÇÕES PARA ERROS ===== */
@keyframes pulse-error {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(220, 53, 69, 0.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Destaque para campos com erro */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545 !important;
    border-width: 2px !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Destaque para alertas de erro */
.alert-danger {
    animation: pulse-error 0.5s ease-in-out;
}

.navbar-brand-logo {
    height: 36px;
    width: auto;
    border-radius: 0.5rem;
    object-fit: contain;
}

.brand-title {
    font-weight: 600;
    color: inherit;
}