:root {
    --azul-claro: #e3f2fd;
    --azul-medio: #1e88e5;
    --verde-menu: #c8e6c9;
    --verde-texto: #2e7d32;
    --naranja-claro: #ffe0b2;
    --naranja-medio: #fb8c00;
    --blanco: #ffffff;
    --gris-oscuro: #333333;
    --gris-fondo: #f5f5f5;
}
body { font-family: 'Segoe UI', Arial, sans-serif; background-color: var(--gris-fondo); margin: 0; padding: 0; color: var(--gris-oscuro); }
.header-wisp { background-color: var(--azul-medio); color: var(--blanco); padding: 15px; text-align: center; font-weight: bold; border-bottom: 4px solid var(--naranja-medio); }
.header-wisp h1 { margin: 0; font-size: 24px; }
.header-wisp p { margin: 5px 0 0 0; font-size: 14px; opacity: 0.9; }
.login-container { max-width: 450px; margin: 50px auto; background: var(--blanco); padding: 25px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.tab-container { display: flex; border-bottom: 2px solid var(--azul-claro); margin-bottom: 20px; }
.tab-btn { flex: 1; padding: 12px; text-align: center; cursor: pointer; background: #eee; border: none; font-weight: bold; transition: 0.3s; }
.tab-btn.active { background: var(--azul-claro); color: var(--azul-medio); border-bottom: 3px solid var(--azul-medio); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-control { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
.btn-wisp { background-color: var(--azul-medio); color: white; border: none; padding: 12px width: 100%; border-radius: 4px; font-weight: bold; cursor: pointer; }
.btn-wisp:hover { background-color: #1565c0; }
.btn-orange { background-color: var(--naranja-medio); }
.btn-orange:hover { background-color: #e65100; }
.alert-wisp { padding: 10px; background-color: #ffcdd2; color: #b71c1c; border-radius: 4px; margin-bottom: 15px; }
.mini-ficha { background: var(--naranja-claro); border-left: 5px solid var(--naranja-medio); padding: 15px; border-radius: 4px; margin-top: 15px; position: relative; }
.mini-ficha h3 { margin-top: 0; }

/* Diseño del Dashboard Estilo WISP */
.dashboard-layout { display: flex; min-height: calc(100vh - 62px); }
.sidebar-left { 
    width: 260px; 
    background-color: var(--verde-menu); 
    color: var(--verde-texto); 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    padding: 20px 15px;
    box-sizing: border-box;
}
.sidebar-menu { list-style: none; padding: 0; margin: 20px 0 0 0; }
.sidebar-item { margin-bottom: 8px; }
.sidebar-link { 
    display: block; 
    padding: 12px 15px; 
    color: var(--verde-texto); 
    text-decoration: none; 
    font-weight: bold; 
    border-radius: 4px;
    transition: 0.2s;
}
.sidebar-link:hover, .sidebar-link.active { 
    background-color: var(--blanco); 
    color: var(--azul-medio); 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.user-info-box { background: rgba(255,255,255,0.5); padding: 12px; border-radius: 6px; font-size: 14px; margin-bottom: 15px; }
.copyright-text { font-size: 11px; text-align: center; opacity: 0.8; line-height: 1.4; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 10px; }
.main-content { flex: 1; padding: 30px; box-sizing: border-box; }
.card-wisp { background: var(--blanco); padding: 20px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }

/* Centrado y empaquetado para el botón de login */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.btn-wisp.btn-center {
    width: 80%;
    max-width: 250px;
}
