/* Responsive Styles - Book Rush */

/* Logo clickeable */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

/* Iconos móviles dentro del menú lateral */
.mobile-user-info {
    display: none;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 2px solid rgba(255, 140, 66, 0.3);
    margin-bottom: 20px;
}

.mobile-user-info h3 {
    color: #ff8c42;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.mobile-user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
}

.mobile-user-item strong {
    color: #ff8c42;
}

.mobile-logout-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #d85e39 0%, #c44522 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.mobile-logout-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(216, 94, 57, 0.4);
}

/* Menú hamburguesa posicionado correctamente */
@media (max-width: 768px) {
    /* Hamburguesa a la derecha */
    .menu-toggle {
        order: 3 !important;
        margin-left: auto !important;
    }
    
    /* Logo a la izquierda */
    .logo-link {
        order: 1 !important;
        margin-right: auto !important;
    }
    
    /* Ocultar iconos superiores en móvil */
    .top-icons {
        display: none !important;
    }
    
    /* Top bar organizado */
    .top-bar {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }
    
    .top-bar h1 {
        margin: 0 !important;
    }
    
    /* Mostrar info de usuario dentro del menú lateral */
    header .mobile-user-info {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 8px 12px !important;
    }
    
    .logo-link img {
        height: 40px !important;
    }
    
    .menu-toggle {
        width: 28px !important;
        height: 24px !important;
    }
    
    .mobile-user-info h3 {
        font-size: 16px;
    }
    
    .mobile-user-item {
        font-size: 13px;
        padding: 10px;
    }
}
