/*
Theme Name:   Plexo Plataforma
Description:  Tema profesional para Dashboard Educativo.
Author:       Plexo
Template:     generatepress
Version:      1.0.0
*/

/* Fondo gris claro para el área de contenido, similar a tu referencia */
body {
    background-color: #f8f9fa;
}

/* Ocultar elementos de blog que no necesitamos en una App */
.entry-meta, .cat-links, .tags-links {
    display: none !important;
}






/* --- AGREGA ESTO A TU STYLE.CSS --- */

/* 1. Estructura tipo APP (Sidebar Fija) */
@media (min-width: 769px) {
    body {
        background-color: #f4f7f6; /* Gris muy suave de fondo */
    }

    /* La barra lateral se queda quieta */
    #left-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 260px; /* Ancho del menú */
        background: #ffffff;
        border-right: 1px solid #e5e5e5;
        z-index: 1000;
        overflow-y: auto;
        padding-top: 20px;
    }

    /* El contenido se empuja a la derecha */
    .site-content {
        margin-left: 260px; 
        display: flex;
    }
    
    /* Ajustes para GeneratePress */
    .site-header { display: none; } /* Ocultamos el header tradicional */
    .site-footer { margin-left: 260px; }
}

/* 2. Estilo del Perfil de Usuario */
.plexo-profile-box {
    text-align: center;
    padding: 20px 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.plexo-avatar img {
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.plexo-welcome {
    font-size: 12px;
    color: #888;
    display: block;
    margin-top: 10px;
}
.plexo-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 5px 0 0 0;
}

/* 3. Estilo del Menú */
.widget_nav_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget_nav_menu ul li a {
    display: block;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    font-size: 15px;
}
.widget_nav_menu ul li a:hover {
    background-color: #f9f9f9;
    color: #2c3e50; /* Azul oscuro */
    border-left-color: #3498db; /* Azul institucional */
}


/* --- NUEVOS ESTILOS DASHBOARD PRO --- */

/* 1. La Tarjeta Hero (Bienvenida) */
.plexo-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); /* Azul institucional elegante */
    color: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
    position: relative;
    overflow: hidden;
}

.plexo-hero h1 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 28px;
}

.plexo-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin: 0;
    max-width: 600px;
}

/* 2. Tarjetas de Contenido (Cursos, Avisos) */
.plexo-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #edf2f7;
    transition: transform 0.2s ease;
}

.plexo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.plexo-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2d3748;
    border-bottom: 2px solid #f7fafc;
    padding-bottom: 10px;
}

/* --- LIMPIEZA FINAL DEL DASHBOARD --- */

/* Hacer transparente el contenedor principal para que las tarjetas floten */
.site-content .inside-article {
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 20px 0 !important; /* Un poco de aire arriba y abajo */
}

/* Asegurar que el fondo de la pantalla sea gris suave */
body {
    background-color: #f0f2f5;
}


/* --- ESTILO DE LAS TARJETAS DE CURSOS --- */
.curso-item img {
    border-radius: 12px;
    height: 150px;       /* Altura fija para que todas sean iguales */
    width: 100%;         /* Ocupar todo el ancho de su columna */
    object-fit: cover;   /* Recortar la imagen sin deformarla */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.curso-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: bold;
}

.curso-btn {
    background-color: #3498db; /* Azul botón */
    color: white !important;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    display: inline-block;
    margin-top: 5px;
}
.curso-btn:hover { background-color: #2980b9; }