/* ═══════════════════════════════════════════════════
   DV-TEMPS – Page connexion – Design D Gold Luxury
   #pat21032026
   ═══════════════════════════════════════════════════ */

/* ── Page login ──────────────────────────────────── */
.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #08080c;
    position: relative;
    overflow: hidden;
    /* Page autonome : annuler le layout sidebar/topbar */
    padding-top: 0;
    padding-bottom: 0;
    margin-left: 0;
}

.login-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212,175,55,.10) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(212,175,55,.05) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0f 0%, #0d0d12 50%, #08080c 100%);
}

/* Pattern subtil doré */
.login-bg::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(212,175,55,.03) 1px, transparent 1px);
    background-size: 32px 32px;
}

.login-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* ── Logo sur la page login ──────────────────────── */
.login-logo {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -1px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 2px;
}
.login-logo .logo-dv {
    width: auto;
    height: auto;
    font-size: 44px;
    background: linear-gradient(135deg, #d4af37, #f4e28d, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.login-logo .logo-dv::before,
.login-logo .logo-dv::after { display: none; }
.login-logo .logo-dash {
    color: rgba(240,236,228,.25);
    font-family: var(--font-display);
    font-size: 44px;
}
.login-logo .logo-temps {
    color: var(--text-light);
    font-family: var(--font-display);
    font-size: 44px;
}

.login-tagline {
    color: rgba(212,175,55,.35);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
}

/* ── Card connexion ──────────────────────────────── */
.login-card {
    width: 100%;
    background: linear-gradient(135deg, rgba(212,175,55,.04), rgba(212,175,55,.01));
    backdrop-filter: blur(24px);
    border: 1px solid rgba(212,175,55,.10);
    border-radius: 20px;
    padding: 36px;
    box-shadow:
        0 24px 80px rgba(0,0,0,.6),
        inset 0 1px 0 rgba(212,175,55,.06);
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}
/* Ligne dorée en haut de la card */
.login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,.30), transparent);
}

.login-title {
    color: var(--text-light);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
    letter-spacing: -0.3px;
}

.login-card .form-group { margin-bottom: 20px; }
.login-card .form-group label {
    color: rgba(212,175,55,.45);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

/* ── Inputs avec icônes ──────────────────────────── */
.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon svg:first-child {
    position: absolute;
    left: 14px;
    color: rgba(212,175,55,.25);
    pointer-events: none;
}
.input-icon input {
    width: 100%;
    padding: 13px 44px;
    background: rgba(212,175,55,.03);
    border: 1px solid rgba(212,175,55,.08);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 14px;
    font-family: var(--font-body);
    transition: all .3s;
    outline: none;
    letter-spacing: 0.3px;
}
.input-icon input::placeholder { color: rgba(240,236,228,.20); }
.input-icon input:focus {
    border-color: rgba(212,175,55,.30);
    background: rgba(212,175,55,.05);
    box-shadow: 0 0 0 3px rgba(212,175,55,.08), 0 0 30px rgba(212,175,55,.04);
}

.toggle-pwd {
    position: absolute;
    right: 12px;
    color: rgba(212,175,55,.25);
    transition: color .18s;
    display: flex; align-items: center;
}
.toggle-pwd:hover { color: rgba(212,175,55,.60); }

/* ── Bouton connexion doré ───────────────────────── */
.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #d4af37, #c9a830);
    color: #0d0d12;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    transition: all .25s;
    box-shadow: 0 4px 24px rgba(212,175,55,.30);
    border: none;
}
.btn-login:hover {
    box-shadow: 0 8px 36px rgba(212,175,55,.45);
    transform: translateY(-2px);
}
.btn-login:active { transform: translateY(0); }

/* ── Footer ──────────────────────────────────────── */
.login-footer {
    color: rgba(212,175,55,.15);
    font-size: 11px;
    text-align: center;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* ── Alertes login ───────────────────────────────── */
.login-card .alert { margin-bottom: 20px; border-radius: var(--radius-sm); }
.login-card .alert-danger {
    background: rgba(239,68,68,.10);
    border-color: rgba(239,68,68,.20);
    color: #fca5a5;
}
