/* Luxshope CV - Tous droits réservés */

/* Page de connexion : formulaire à gauche, vitrine à droite (CV d'exemple qui change de modèle). Couleurs : theme.css. */

body { margin: 0; background: var(--ls-page); color: var(--color-gray-900, #111827); }
.lg-page svg.lucide { width: 17px; height: 17px; stroke-width: 1.75; flex-shrink: 0; }
.lg-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .lg-page { grid-template-columns: minmax(0, 1fr) minmax(440px, 46%); } }

/* ─── Vitrine ─── */
.lg-brand { display: none; }
@media (min-width: 1024px)
{
    .lg-brand
    {
        order: 2; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 28px;
        margin: 12px 12px 12px 0; padding: 40px 44px 0; border-radius: 24px; color: #fff;
        background: radial-gradient(120% 80% at 100% 0%, rgba(99, 102, 241, .45), transparent 55%), linear-gradient(165deg, #1e1b4b 0%, #312e81 60%, #3730a3 100%);
    }
}
.lg-brand-text h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.lg-brand-text h1 em { font-style: normal; color: #c7d2fe; }
.lg-brand-text p { margin: 0; max-width: 440px; font-size: 14px; font-weight: 500; line-height: 1.6; color: rgba(255, 255, 255, .75); }
.lg-showcase { flex: 1; display: flex; justify-content: center; align-items: flex-start; }
.lg-showcase > div { width: min(420px, 100%); border-radius: 8px 8px 0 0; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); transition: opacity .35s ease; }

/* ─── Formulaire ─── */
.lg-main { display: flex; flex-direction: column; min-height: 100vh; }
.lg-topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; }
.lg-link-muted { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--color-gray-500, #6b7280); text-decoration: none; margin-right: 6px; }
.lg-link-muted:hover { color: var(--color-gray-900, #111827); }
@media (min-width: 640px) { .lg-link-muted { display: inline-flex; } }
.lg-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px 16px 40px; }
.lg-card { width: 100%; max-width: 410px; display: flex; flex-direction: column; gap: 14px; }
.lg-title { margin: 0; font-size: 26px; font-weight: 700; color: var(--color-gray-900, #111827); }
.lg-subtitle { margin: 4px 0 22px; font-size: 14px; font-weight: 500; color: var(--color-gray-500, #6b7280); }
.lg-form { display: flex; flex-direction: column; gap: 14px; }
.lg-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--color-gray-600, #4b5563); }
.lg-link { font-size: 13px; font-weight: 600; color: var(--ls-brand); text-decoration: none; }
.lg-link:hover { text-decoration: underline; }
.lg-switch { margin: 18px 0 0; font-size: 13px; font-weight: 500; color: var(--color-gray-500, #6b7280); text-align: center; }
.lg-alert { padding: 10px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; line-height: 1.4; color: #b91c1c; background: rgba(220, 38, 38, .08); border: 1px solid rgba(220, 38, 38, .25); }
.lg-alert.success { color: #047857; background: rgba(16, 185, 129, .1); border-color: rgba(16, 185, 129, .3); }
html.dark .lg-alert { color: #fca5a5; }
html.dark .lg-alert.success { color: #6ee7b7; }

/* Profils de démonstration */
.lg-demo-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 10px; cursor: pointer; text-align: left;
                border: 1px solid var(--color-gray-200, #e5e7eb); background: var(--ls-card); color: inherit; transition: border-color .15s ease, transform .1s ease; }
.lg-demo-item:hover { border-color: var(--ls-brand); }
.lg-demo-item:active { transform: scale(.99); }

/* Vérification de la session : formulaire masqué jusqu'à la réponse */
.lg-checker { display: none; flex-direction: column; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; color: var(--color-gray-500, #6b7280); }
.lg-checking .lg-checker { display: flex; }
.lg-checking .lg-card, .lg-checking .lg-after { display: none; }
