.main-navbar {
    display: flex;
    justify-content: space-between; /* Separa nav-left a la izq y nav-right a la der */
    align-items: center;
    width: 100%;
    height: 75px;
    padding: 0 24px;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    background: transparent;
    border: none;
    font-size: 26px;
    color: #1a1a1a;
    cursor: pointer;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo {
    width: 145px;
    height: 40px;
    align-self: center; /* Alinea el logo al inicio del contenedor */
}
/* ==========================================================================
   MENÚ LATERAL (SIDEBAR)
   ========================================================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: -320px; /* Escondido por defecto */
    width: 320px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    z-index: 50000001; /* Un nivel arriba del dropdown */
    padding: 60px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease-in-out;
}

.sidebar.active {
    left: 0; /* Desplaza el menú a la pantalla */
}

.menu-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 30px;
    color: #666;
    cursor: pointer;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.sidebar-links a {
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    font-family: Arial, sans-serif;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s;
}

.sidebar-links a:hover {
    color: #225de0;
}

/* Redes Sociales dentro del Sidebar */
.sidebar-socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: auto; /* Empuja las redes y el copyright abajo */
    padding-bottom: 20px;
}

.sidebar-socials a {
    width: 35px;
    height: 35px;
    font-size: 35px;
    color: #225de0;
    background: transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.2s, color 0.2s;
}

.sidebar-socials a:hover {
    color: #225de0;
    transform: scale(1.08);
}

/* Footer con copyright */
.sidebar-footer {
    text-align: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.sidebar-footer p {
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #888888;
    line-height: 1.4;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    z-index: 50000000;
}

.sidebar-overlay.active {
    display: block;
}
