/* ============================================================
   base.css — Design System · Variables + Reset + Base
   Fuente: Outfit · Turnerito-compatible
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Poppins:wght@600;700;800&display=swap');

/* ── Variables globales ── */
:root {
    /* Acento (sobreescrito por admin.css / client.css) */
    --ac:      #6366f1;
    --ac-d:    #4f46e5;
    --ac-l:    #ede9fe;
    --ac-soft: rgba(99,102,241,.1);
    --ac-grad: linear-gradient(135deg, #6366f1, #4f46e5);

    /* Neutros */
    --dark:    #0f172a;
    --dark-m:  #1e293b;
    --slate:   #334155;
    --muted:   #64748b;
    --border:  #e2e8f0;
    --bg:      #f8fafc;
    --white:   #ffffff;

    /* Layout */
    --sidebar-w:   252px;
    --topbar-h:    56px;

    /* Radios */
    --r-card: 14px;
    --r-btn:  10px;
    --r-chip: 20px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: #1e293b;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font-family: inherit; }

/* ── Logo ── */
.t-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}
.t-logo-icon {
    width: 32px; height: 32px; flex-shrink: 0;
    background: var(--ac-grad);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(99,102,241,.35);
    transition: box-shadow .2s;
}
.t-logo-icon .sq {
    width: 12px; height: 12px;
    background: #fff;
    border-radius: 3px;
}
/* Logo: migestionOnline
   .lg-ges → "migestion" en color acento del panel (sobreescrito por admin.css / client.css)
   .lg-onl → "Online" en blanco puro, negrita
*/
.t-logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -.2px;
    line-height: 1;
}
.t-logo-text .lg-ges { color: rgba(255,255,255,.5); font-weight: 600; }
.t-logo-text .lg-onl { color: #ffffff; font-weight: 800; }

/* ── Utilidades comunes ── */
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }
.text-muted-sm { font-size: .75rem; color: var(--muted); }
