/* ============================================================
   ADOPTARTE — NAVBAR & LAYOUT STYLES
   Extraído desde layout.html para cumplir con MVC.
   Mantiene exactamente el diseño visual aprobado.
   ============================================================ */

/* Navbar Principal */
.navbar {
    padding: 0.8rem 1rem;
    background: linear-gradient(90deg, rgba(26, 82, 118, 0.98) 0%, rgba(70, 130, 169, 0.98) 100%) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1030;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 0.8rem !important;
    margin: 0 0.1rem;
    border-radius: 10px;
    transition: all 0.25s ease;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85) !important;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.navbar-brand img {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Perfil de Usuario — Pill */
.user-profile-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 4px 6px 4px 14px !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.user-profile-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.user-avatar-circle {
    width: 32px;
    height: 32px;
    background: #ffffff;
    color: #1a5276;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-email-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown */
.dropdown-menu-modern {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 8px;
    min-width: 220px;
    margin-top: 10px !important;
}

.dropdown-item-modern {
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 0.2s;
}

.dropdown-item-modern:hover {
    background: #f1f5f9;
    color: #1a5276;
}

.logout-btn { color: #dc3545 !important; }
.logout-btn:hover { background: #fee2e2 !important; }

/* Botón de Gestión Global Premium */
.btn-gestion-global {
    background-color: #f39c12 !important;
    border: none !important;
    color: white !important;
    height: 38px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.2);
    transition: all 0.3s ease;
}

.btn-gestion-global:hover {
    background-color: #e67e22 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(243, 156, 18, 0.3);
}
