@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
    --cream:   #FFF8EE;
    --teal:    #1F8A9A;
    --teal-br: #17A6BC;
    --teal-dk: #0E5663;
    --copper:  #C68A4E;
    --gold:    #E0B24F;
    --coral:   #EC7E5E;
    --ink:     #2E2A26;
    --muted:   #7E6F5C;
    --line:    #ECE0CB;
    --grad:    linear-gradient(135deg, #1F8A9A 0%, #17A6BC 50%, #C68A4E 100%);
}

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

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--cream);
    color: var(--ink);
    min-height: 100vh;
}

/* ── Blobs decorativos ──────────────────────────────────────────────────── */
.lyab-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(72px);
    opacity: .14;
    pointer-events: none;
    z-index: 0;
}

/* ── Card ───────────────────────────────────────────────────────────────── */
.lyab-card {
    background: #fff;
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(14,86,99,.10);
    padding: 40px 36px;
    position: relative;
    z-index: 1;
    animation: lyab-rise .55s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes lyab-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* ── Logo placeholder ───────────────────────────────────────────────────── */
/* Reemplazar .lyab-logo-wrap + span por <img class="lyab-logo-img"> cuando el logo esté listo */
.lyab-logo-wrap {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 8px 28px rgba(31,138,154,.28);
    flex-shrink: 0;
}

.lyab-logo-img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 18px;
}

.lyab-logo-initials {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

/* ── Tipografía ─────────────────────────────────────────────────────────── */
.lyab-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--teal-dk);
    text-align: center;
    line-height: 1.15;
}

.lyab-subtitle {
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
    margin-top: 5px;
    font-weight: 600;
}

/* ── Formulario ─────────────────────────────────────────────────────────── */
.lyab-field { margin-bottom: 16px; }

.lyab-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: .9px;
}

.lyab-input {
    width: 100%;
    height: 48px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    padding: 0 16px;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    color: var(--ink);
    background: #FFFDF9;
    transition: border-color .18s, box-shadow .18s;
}

.lyab-input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(31,138,154,.14);
}

/* ── Botones ────────────────────────────────────────────────────────────── */
.lyab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(31,138,154,.28);
    transition: filter .18s, transform .14s, box-shadow .18s;
    text-decoration: none;
}

.lyab-btn:hover {
    filter: brightness(1.07);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(31,138,154,.36);
}

.lyab-btn:active { transform: translateY(0); }

.lyab-btn-sm {
    width: auto;
    height: 38px;
    padding: 0 22px;
    font-size: 15px;
}

.lyab-btn-ghost {
    background: transparent;
    color: var(--teal-dk);
    border: 1.5px solid var(--teal);
    box-shadow: none;
}

.lyab-btn-ghost:hover {
    background: rgba(31,138,154,.07);
    box-shadow: none;
    filter: none;
}

/* ── Alerta ─────────────────────────────────────────────────────────────── */
.lyab-alert-error {
    background: #FEF0EC;
    border: 1px solid #F5C4B0;
    color: #7D3010;
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* ── Nav header ─────────────────────────────────────────────────────────── */
.lyab-nav {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0 28px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(14,86,99,.06);
}

.lyab-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--teal-dk);
    text-decoration: none;
}

.lyab-nav-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .5px;
    flex-shrink: 0;
}

.lyab-nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lyab-nav-user {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

/* ── Stat cards ─────────────────────────────────────────────────────────── */
.lyab-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.lyab-stat-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--line);
    padding: 22px 24px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.lyab-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad);
}

.lyab-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--muted);
    font-weight: 700;
}

.lyab-stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--teal-dk);
    line-height: 1.1;
    margin-top: 6px;
}

/* ── Main content wrapper ───────────────────────────────────────────────── */
.lyab-main {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 24px;
    position: relative;
    z-index: 1;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .lyab-card  { padding: 28px 20px; }
    .lyab-title { font-size: 24px; }
    .lyab-nav   { padding: 0 16px; }
    .lyab-main  { padding: 20px 16px; }
    .lyab-nav-user { display: none; }
}
