/* =========================================
   GRUPO NEXUS - HOJA DE ESTILOS PRINCIPAL
   Estilo 2026 - Glassmorphism & Minimalismo
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.55);
    --text-main: #0f172a;
    --text-muted: #475569;
    
    --nexus-green: #006b3f;
    --nexus-green-hover: #005230;
    --nexus-red: #b80f2a;
    --nexus-red-hover: #910b20;
    --nexus-silver: #cbd5e1;
    
    --card-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    --glass-border: rgba(255, 255, 255, 0.8);
    --radius-lg: 24px;
    --radius-md: 12px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 107, 63, 0.06) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(184, 15, 42, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    padding-top: 75px; 
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding { padding: 100px 0; }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.align-center { align-items: center; }
.text-center { text-align: center; }
.bg-surface { background: rgba(255, 255, 255, 0.3); }

/* ================= TIPOGRAFÍA ================= */
h1, h2, h3, h4, h5, h6 { color: var(--text-main); line-height: 1.2; margin-bottom: 16px; }

.hero-content h1 { font-size: 56px; letter-spacing: -2px; font-weight: 800; margin-bottom: 24px; color: #ffffff; }
.hero-content p { font-size: 20px; color: rgba(255, 255, 255, 0.9); margin-bottom: 40px; }
.section-title { font-size: 42px; letter-spacing: -1px; font-weight: 800; margin-bottom: 24px; }
.section-title strong { color: var(--nexus-green); }
.text-muted { color: var(--text-muted); }
.text-nexus-green { color: var(--nexus-green); }

.overline {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--nexus-green); margin-bottom: 12px;
}

/* ================= BOTONES ================= */
.btn-primary, .btn-secondary {
    display: inline-block; padding: 14px 28px; border-radius: var(--radius-md);
    font-weight: 600; text-decoration: none; transition: var(--transition-smooth);
    text-align: center; border: none; cursor: pointer; font-size: 16px;
}

.btn-primary { background: var(--nexus-green); color: #ffffff; box-shadow: 0 4px 14px rgba(0, 107, 63, 0.3); }
.btn-primary:hover { background: var(--nexus-green-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 107, 63, 0.4); }

.btn-secondary { background: rgba(255, 255, 255, 0.8); color: var(--nexus-green); border: 2px solid var(--nexus-green); padding: 12px 26px; }
.btn-secondary:hover { background: var(--nexus-green); color: #ffffff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 107, 63, 0.2); }

/* ================= HEADER ================= */
.navbar-glass {
    position: fixed; top: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border); z-index: 1000; padding: 15px 0;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 40px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; transition: var(--transition-smooth); }
.nav-links a:hover { color: var(--nexus-green); }

/* Botón de Hamburguesa y Portal */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-main);
}
.nav-links .btn-primary {
    color: #ffffff !important;
}

/* ================= COMPONENTES ================= */
.promo-bar { background: linear-gradient(90deg, var(--nexus-green) 0%, #008f54 100%); color: white; padding: 10px 0; font-size: 14px; text-align: center; }
.promo-content { display: flex; justify-content: center; align-items: center; position: relative; }
.promo-content a { color: white; font-weight: bold; margin-left: 5px; }
.close-promo { background: none; border: none; color: white; cursor: pointer; position: absolute; right: 24px; font-size: 16px; }

.hero-section {
    padding: 160px 0 120px; text-align: center;
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../img/cascada.png'); 
    background-size: cover; background-position: center; background-repeat: no-repeat; color: #ffffff;
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-content .badge-nexus { display: inline-block; background: #ffffff; color: var(--nexus-green); padding: 6px 16px; border-radius: 100px; font-weight: 600; font-size: 14px; margin-bottom: 24px; border: 1px solid #ffffff; }
.hero-actions { display: flex; gap: 20px; justify-content: center; }

.steps-container { display: flex; flex-direction: column; gap: 24px; margin-top: 30px; }
.step-item { background: rgba(255, 255, 255, 0.6); padding: 24px; border-radius: var(--radius-md); border: 1px solid var(--glass-border); border-left: 4px solid var(--nexus-green); }

/* ================= LOGOS DE REGULADORES ================= */
.trust-links { 
    display: flex; 
    gap: 30px; 
    align-items: center;
    flex-wrap: wrap; 
    margin-top: 15px;
}

.trust-links a { 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth); 
}

.trust-logo {
    height: 45px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease;
}

.trust-links a:hover .trust-logo { 
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05); 
}

/* ================= BENTO GRID & TARJETAS ================= */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.bento-large { grid-column: span 2; }

.glass-card {
    background: var(--bg-surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border); border-top: 4px solid transparent;
    border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--card-shadow);
    display: flex; flex-direction: column; height: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15); }
.glass-card > .btn-primary, .glass-card > .btn-secondary { margin-top: auto !important; }

.card-badge { background: var(--nexus-red); color: white; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: bold; display: inline-block; margin-bottom: 15px; align-self: flex-start; }

.card-icon {
    font-size: 28px; color: var(--nexus-green); background: rgba(0, 107, 63, 0.1); 
    width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
    border-radius: 16px; margin-bottom: 20px; border: 1px solid rgba(0, 107, 63, 0.15);
}
.glass-card h3 { font-size: 26px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; color: var(--text-main); }
.glass-card p { font-size: 15px; line-height: 1.6; margin-bottom: 30px; }

.featured-card { background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 245, 243, 0.7) 100%); border-top-color: var(--nexus-green); }
.standard-card { background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.4) 100%); }
.standard-card:hover { border-top-color: var(--nexus-green); }

/* ================= SIMULADOR ================= */
.calc-row { display: flex; justify-content: space-between; margin-bottom: 15px; margin-top: 25px; font-weight: 500; }
.nexus-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: #e2e8f0; border-radius: 10px; outline: none; }
.nexus-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--nexus-green); cursor: pointer; border: 2px solid white; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.result-box { background: rgba(0, 107, 63, 0.05); border: 1px dashed rgba(0, 107, 63, 0.3); border-radius: var(--radius-md); padding: 24px; text-align: center; margin-top: 30px; }
.monthly-value { font-size: 36px; font-weight: 800; color: var(--text-main); margin: 10px 0; }

/* ================= SECCIÓN DE CONTACTO PREMIUM ================= */
.contact-section { background: linear-gradient(135deg, #022b1a 0%, #00120b 100%); position: relative; overflow: hidden; }
.contact-section::before { content: ''; position: absolute; top: -20%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(0, 107, 63, 0.4) 0%, transparent 70%); filter: blur(80px); z-index: 0; }
.contact-section::after { content: ''; position: absolute; bottom: -20%; right: -10%; width: 40vw; height: 40vw; background: radial-gradient(circle, rgba(184, 15, 42, 0.3) 0%, transparent 70%); filter: blur(80px); z-index: 0; }
.contact-section .container { position: relative; z-index: 1; }
.text-white { color: #ffffff !important; }
.text-white-muted { color: rgba(255, 255, 255, 0.8) !important; }

.contact-item { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; background: rgba(255, 255, 255, 0.04); padding: 16px 24px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); transition: transform 0.3s ease, background 0.3s ease; }
.contact-item:hover { transform: translateX(10px); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.15); }
.contact-icon-box { width: 55px; height: 55px; background: linear-gradient(135deg, var(--nexus-green) 0%, #003a22 100%); border-radius: 14px; display: flex; justify-content: center; align-items: center; font-size: 22px; color: #ffffff; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255,255,255,0.2); border: 1px solid rgba(255, 255, 255, 0.15); flex-shrink: 0; }
.contact-details h4 { margin-bottom: 4px; font-size: 17px; color: #ffffff; font-weight: 700; }
.contact-details p { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin: 0; line-height: 1.5; }

.premium-glass-form { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 24px; padding: 40px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.form-group { margin-bottom: 20px; }
.dark-glass-inputs input, .dark-glass-inputs select { background: rgba(0, 0, 0, 0.2) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; color: #ffffff !important; padding: 18px 20px !important; border-radius: 14px !important; width: 100%; outline: none; transition: var(--transition-smooth); font-size: 15px;}
.dark-glass-inputs input::placeholder { color: rgba(255, 255, 255, 0.5) !important; }
.dark-glass-inputs select option { background-color: #0f172a; color: #ffffff; }
.dark-glass-inputs input:focus, .dark-glass-inputs select:focus { border-color: var(--nexus-green) !important; background: rgba(0, 0, 0, 0.4) !important; box-shadow: 0 0 0 4px rgba(0, 107, 63, 0.3) !important; }

.btn-premium { background: linear-gradient(135deg, var(--nexus-green) 0%, #00995a 100%); color: #ffffff; font-weight: 700; font-size: 16px; padding: 18px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 14px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(0, 107, 63, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.3); width: 100%; margin-top: 10px; }
.btn-premium:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0, 107, 63, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.4); background: linear-gradient(135deg, #00995a 0%, var(--nexus-green) 100%); }

.site-footer a:hover { color: white !important; }

/* =========================================
   FOOTER PREMIUM
========================================= */
.premium-footer {
    background-color: #00120b; 
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.02); 
    position: relative;
    z-index: 10;
}
.footer-legal-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.footer-legal-box h4 { color: #ffffff; font-size: 16px; margin-bottom: 20px; font-weight: 700; }
.footer-legal-box p { font-size: 13px; color: rgba(255, 255, 255, 0.55); margin-bottom: 12px; line-height: 1.6; }
.footer-legal-box strong { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.footer-bottom-text { font-size: 11px; color: rgba(255, 255, 255, 0.35); text-align: left; line-height: 1.6; }
.footer-bottom-text p { margin-bottom: 6px; }
.copyright-line { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.05); text-align: center; color: rgba(255, 255, 255, 0.5); }

/* =========================================
   LOGIN & DASHBOARD CLIENTES
========================================= */
.login-page-wrapper { flex: 1; display: flex; align-items: center; justify-content: center; padding: 80px 0; min-height: calc(100vh - 75px - 350px); background: radial-gradient(at 50% 50%, rgba(0, 107, 63, 0.08) 0px, transparent 60%), radial-gradient(at 0% 100%, rgba(184, 15, 42, 0.04) 0px, transparent 40%); }
.login-container { width: 100%; max-width: 480px; padding: 0 24px; margin: 40px auto; }
.login-glass-card { background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 45px 40px; box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.login-glass-card:hover { transform: translateY(-2px); box-shadow: 0 40px 80px -15px rgba(15, 23, 42, 0.12); }
.login-header { text-align: center; margin-bottom: 35px; }
.login-header h2 { font-size: 30px; font-weight: 800; letter-spacing: -1px; margin-top: 10px; margin-bottom: 8px; }
.login-header p { font-size: 14px; color: var(--text-muted); }
.form-group-premium { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.form-group-premium label { font-size: 13px; font-weight: 600; color: var(--text-main); display: flex; align-items: center; gap: 6px; }
.label-flex { display: flex; justify-content: space-between; align-items: center; }
.forgot-link { font-size: 12px; color: var(--nexus-green); text-decoration: none; font-weight: 500; transition: var(--transition-smooth); }
.forgot-link:hover { color: var(--nexus-green-hover); text-decoration: underline; }
.form-group-premium input { width: 100%; padding: 16px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.8); font-size: 15px; color: var(--text-main); outline: none; transition: var(--transition-smooth); }
.form-group-premium input:focus { border-color: var(--nexus-green); box-shadow: 0 0 0 4px rgba(0, 107, 63, 0.08); background: #ffffff; }
.password-input-wrapper { position: relative; width: 100%; }
.toggle-password { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 16px; padding: 4px; display: flex; align-items: center; justify-content: center; transition: var(--transition-smooth); }
.toggle-password:hover { color: var(--text-main); }
.remember-me-box { margin-bottom: 28px; }
.nexus-checkbox-container { display: block; position: relative; padding-left: 28px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text-muted); user-select: none; }
.nexus-checkbox-container input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark { position: absolute; top: 2px; left: 0; height: 18px; width: 18px; background-color: rgba(255, 255, 255, 0.8); border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 5px; transition: var(--transition-smooth); }
.nexus-checkbox-container:hover input ~ .checkmark { border-color: var(--nexus-green); }
.nexus-checkbox-container input:checked ~ .checkmark { background-color: var(--nexus-green); border-color: var(--nexus-green); }
.checkmark:after { content: ""; position: absolute; display: none; }
.nexus-checkbox-container input:checked ~ .checkmark:after { display: block; }
.nexus-checkbox-container .checkmark:after { left: 6px; top: 2px; width: 4px; height: 8px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.login-btn { width: 100%; padding: 16px; font-size: 15px; font-weight: 700; }
.login-footer { text-align: center; margin-top: 28px; font-size: 13px; color: var(--text-muted); }
.font-bold { font-weight: 700; }
.secure-footer-badge { margin-top: 24px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--nexus-green); background: rgba(0, 107, 63, 0.05); padding: 6px 14px; border-radius: 100px; border: 1px solid rgba(0, 107, 63, 0.1); }
.dashboard-page { background: radial-gradient(at 0% 0%, rgba(0, 107, 63, 0.04) 0px, transparent 60%), radial-gradient(at 100% 100%, rgba(15, 23, 42, 0.02) 0px, transparent 60%); }
.dashboard-welcome { margin-bottom: 40px; border-bottom: 1px solid rgba(0, 0, 0, 0.05); padding-bottom: 20px; }
.dashboard-welcome h1 { font-size: 32px; letter-spacing: -1px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.dashboard-progress-card { grid-column: span 2; }
.dashboard-grid .glass-card h3 { font-size: 20px; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; border-bottom: 1px dashed rgba(0,0,0,0.1); padding-bottom: 15px; }
.dashboard-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.dashboard-list li { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.5); padding: 16px; border-radius: var(--radius-md); border: 1px solid rgba(0,0,0,0.03); }
.dashboard-list .label { font-size: 14px; color: var(--text-muted); }
.dashboard-list .value { font-size: 15px; font-weight: 700; }
.executive-profile { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; background: rgba(255,255,255,0.4); padding: 15px; border-radius: var(--radius-md); }
.executive-profile .avatar { width: 60px; height: 60px; background: linear-gradient(135deg, var(--nexus-green), #003a22); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; box-shadow: 0 4px 10px rgba(0, 107, 63, 0.3); }
.executive-profile .info { display: flex; flex-direction: column; }
.executive-profile .name { font-size: 18px; color: var(--text-main); }
.executive-profile .role { font-size: 13px; color: var(--text-muted); }
.comment-item { margin-bottom: 25px; }
.comment-item:last-child { margin-bottom: 0; }
.comment-date { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; margin-left: 10px; }
.comment-bubble { background: rgba(255, 255, 255, 0.85); padding: 16px 20px; border-radius: 0 16px 16px 16px; border: 1px solid var(--glass-border); font-size: 15px; color: var(--text-main); line-height: 1.6; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.system-bubble { background: rgba(0, 107, 63, 0.05); border-color: rgba(0, 107, 63, 0.1); }
.progress-track { position: relative; display: flex; justify-content: space-between; margin-top: 30px; padding: 0 20px; }
.progress-line { position: absolute; top: 20px; left: 60px; right: 60px; height: 4px; background: rgba(0,0,0,0.06); z-index: 1; border-radius: 4px; }
.progress-line-fill { height: 100%; background: var(--nexus-green); border-radius: 4px; transition: width 1s ease; }
.step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 120px; }
.step-icon { width: 44px; height: 44px; border-radius: 50%; background: #ffffff; border: 3px solid #e2e8f0; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #cbd5e1; transition: all 0.3s ease; }
.step.completed .step-icon { background: var(--nexus-green); border-color: var(--nexus-green); color: #ffffff; box-shadow: 0 0 15px rgba(0, 107, 63, 0.3); }
.step.active .step-icon { background: #ffffff; border-color: var(--nexus-green); color: var(--nexus-green); box-shadow: 0 0 15px rgba(0, 107, 63, 0.15); }
.step-label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-align: center; }
.step.completed .step-label, .step.active .step-label { color: var(--text-main); }

/* =========================================
   RESPONSIVO / MÓVIL (¡ESTE ES EL BUENO!)
========================================= */
@media (max-width: 992px) {
    .grid-2-col { grid-template-columns: 1fr; gap: 40px; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large { grid-column: span 1; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 40px; }
    .section-title { font-size: 32px; }
    .hero-actions { flex-direction: column; }
    .promo-bar p { font-size: 12px; padding-right: 20px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-progress-card { grid-column: span 1; }
    .progress-track { flex-direction: column; gap: 30px; align-items: flex-start; padding-left: 30px;}
    .progress-line { top: 0; bottom: 0; left: 49px; right: auto; width: 4px; height: 100%; }
    .progress-line-fill { width: 100% !important; height: 66%; }
    .step { flex-direction: row; width: auto; }

    /* Menú Móvil */
    .menu-toggle {
        display: block;
        padding: 5px;
    }
    
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 20px 0 30px; 
        box-shadow: 0 15px 25px rgba(0,0,0,0.1);
        text-align: center;
        gap: 20px;
        z-index: 9999; 
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links .btn-primary {
        display: inline-block;
        width: 80%;
        margin: 10px auto 0;
        background-color: var(--nexus-green);
        color: white !important;
    }
}
/* =========================================
   ALERTA VISUAL PARA COMENTARIOS (DASHBOARD)
   ========================================= */
.nexus-alert-box {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
    border-left: 5px solid #FF9800; /* Naranja para llamar la atención */
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nexus-alert-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 152, 0, 0.12);
}

.alert-icon {
    font-size: 26px;
    color: #FF9800;
    margin-top: 2px;
    animation: pulseIcon 2s infinite;
}

.alert-content {
    flex: 1;
}

.alert-title {
    color: #E65100; /* Naranja oscuro para el título */
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.alert-message {
    color: #4a4a4a;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
}

/* Animación de entrada fluida */
.animated-alert {
    animation: slideInAlert 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes slideInAlert {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Latido suave para el ícono */
@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}