/*
Theme Name: Mi LMS Personal - Máster Profesional en Escritura orientada a Publicación
Theme URI: https://master.abocaperro.es
Author: Abocaperro Agencia Literaria
Author URI: https://abocaperro.es
Description: Tema minimalista tipo LMS con columna izquierda fija y contenido central.
Version: 2.0
License: Private - LuLuLo
*/

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
line-height: 1.6;
color: #333;
background: #ffffff;
}

.site-header {
background: #003399;
padding: 20px 0;
color: #ffffff;
border-bottom: 3px solid #ffd700;
position: sticky;
top: 0;
z-index: 1000;
}

.header-container {
max-width: 1400px;
margin: 0 auto;
padding: 0 40px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
}

.header-left {
display: flex;
align-items: center;
gap: 20px;
}

.logo-img .logo-img-src {
height: 60px;
width: auto;
display: block;
}

.logo-text h1 {
font-size: 1.8rem;
font-weight: 500;
margin: 0;
line-height: 1.2;
}

.logo-text .master-subtitle {
font-size: 1rem;
opacity: 0.9;
font-weight: 300;
margin-top: 5px;
}

.header-right {
text-align: right;
max-width: 50%;
font-size: 0.9rem;
color: #f5f5f5;
}

.header-bloque-info .bloque-linea {
font-weight: 600;
font-size: 0.95rem;
}

.header-bloque-info .leccion-linea {
font-size: 0.85rem;
opacity: 0.9;
margin-top: 4px;
}

.contenedor-principal {
max-width: 1400px;
margin: 0 auto;
padding: 30px 20px;
display: flex;
gap: 30px;
min-height: 70vh;
align-items: flex-start;
}

.columna-izquierda {
flex: 0 0 20%;
background-color: #fff9f0;
padding: 25px 20px;
border-radius: 12px;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02), 0 4px 8px rgba(0, 0, 0, 0.02);
}

.columna-central {
flex: 1 1 80%;
background: #ffffff;
padding: 20px 30px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.ficha-alumno {
display: flex;
flex-direction: column;
gap: 20px;
}

.ficha-alumno .seccion {
border-bottom: 1px dashed #ddd;
padding-bottom: 15px;
}

.ficha-alumno .seccion:last-child {
border-bottom: none;
}

.ficha-alumno h4 {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 1px;
color: #003399;
margin-bottom: 10px;
font-weight: 600;
}

.ficha-alumno p {
margin: 6px 0;
color: #333;
font-size: 0.95rem;
}

.ficha-alumno .etiqueta {
font-weight: 600;
color: #555;
display: inline-block;
min-width: 10px;
}

.ficha-alumno a {
color: #003399;
text-decoration: none;
}

.ficha-alumno a:hover {
text-decoration: underline;
}

.progreso-barra {
width: 100%;
height: 8px;
border-radius: 999px;
background: #e5e7eb;
overflow: hidden;
margin-top: 6px;
}

.progreso-barra-inner {
height: 100%;
width: 30%;
background: #003399;
}

.site-footer {
background: #003399;
color: #ffffff;
padding: 30px 40px;
margin-top: 40px;
}

.footer-container {
max-width: 1400px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
}

.footer-left {
display: flex;
align-items: center;
gap: 15px;
}

.footer-logo {
height: 35px;
width: auto;
display: block;
}

.footer-brand-link {
color: #ffffff;
text-decoration: none;
font-weight: 400;
font-size: 1rem;
opacity: 0.9;
transition: opacity 0.2s;
}

.footer-brand-link:hover {
opacity: 1;
text-decoration: underline;
}

.footer-links a {
color: #ffffff;
text-decoration: none;
margin-right: 25px;
opacity: 0.9;
font-size: 0.95rem;
}

.footer-links a:hover {
opacity: 1;
text-decoration: underline;
}

.footer-powered {
font-size: 0.9rem;
opacity: 0.8;
}

@media (max-width: 900px) {
.contenedor-principal {
flex-direction: column;
}
.columna-izquierda,
.columna-central {
flex: 1 1 auto;
width: 100%;
}
.header-container {
padding: 0 20px;
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.header-right {
max-width: 100%;
text-align: left;
}
}

@media (min-width: 901px) {
.contenedor-principal {
position: relative;
}
.columna-izquierda {
position: fixed;
top: 150px;
left: 40px;
max-width: 260px;
z-index: 10;
overflow-y: auto;
max-height: calc(100vh - 270px);
}
.columna-central {
margin-left: 320px;
}
}