/* ═══════════════════════════════════════════════════════════════
   Auth pages (login, errors)
   ═══════════════════════════════════════════════════════════════ */
.auth-body { min-height: 100vh; background: var(--surface); }
.auth { display: grid; grid-template-columns: minmax(380px, 46%) 1fr; min-height: 100vh; }

/* Brand panel */
.auth-aside {
    position: relative; overflow: hidden; color: #e9e8ff;
    background:
        radial-gradient(1200px 600px at -10% -10%, rgba(129, 140, 248, .35), transparent 60%),
        radial-gradient(900px 500px at 110% 110%, rgba(168, 85, 247, .30), transparent 60%),
        linear-gradient(160deg, #1e1b4b 0%, #23205f 45%, #1a1740 100%);
}
.auth-aside::before {
    content: ''; position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.auth-aside-inner { position: relative; height: 100%; display: flex; flex-direction: column; padding: 40px 48px; }
.auth-brand { display: flex; align-items: center; gap: 10px; font-size: var(--fs-md); color: #fff; }
.auth-brand b { font-weight: 650; }
.auth-logo { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .95); }
.auth-pitch { margin: auto 0; max-width: 440px; }
.auth-pitch h2 { font-size: 2rem; line-height: 1.15; font-weight: 680; letter-spacing: -.03em; color: #fff; }
.auth-pitch p { margin-top: 14px; font-size: var(--fs-md); color: rgba(233, 232, 255, .75); line-height: 1.6; }
.auth-features { margin-top: 28px; display: grid; gap: 12px; }
.auth-features li { display: flex; align-items: center; gap: 12px; font-size: var(--fs); color: rgba(255, 255, 255, .88); }
.auth-features .i { width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .12); color: #c7c4ff; }
.auth-aside-foot { font-size: var(--fs-xs); color: rgba(233, 232, 255, .45); }

/* Form side */
.auth-main, .auth-center { display: grid; place-items: center; padding: 32px 20px; background: var(--surface); }
.auth-center { min-height: 100vh; background: var(--bg); }
.auth-card { width: 100%; max-width: 380px; }
.auth-center .auth-card { max-width: 440px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 40px 32px; box-shadow: var(--shadow-md); }
.auth-card-logo { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; border: 1px solid var(--border); margin-bottom: 20px; box-shadow: var(--shadow-xs); }
.auth-sub { color: var(--text-2); margin: 6px 0 24px; font-size: var(--fs); }
.auth-form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.auth-form .field + .field { margin-top: 0; }
.auth-form .btn-block { margin-top: 6px; }
.input-lg { height: 42px; font-size: var(--fs); }
.auth-eye { position: absolute; right: 6px; color: var(--text-3); }
.auth-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 28px; font-size: var(--fs-xs); color: var(--text-3); }
.auth-shake { animation: shake .4s var(--ease); }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.err-code { font-size: .8rem; font-weight: 650; color: var(--brand-text); letter-spacing: .1em; margin-bottom: 6px; }
.auth-center .btn { margin-top: 4px; }

@media (max-width: 900px) {
    .auth { grid-template-columns: 1fr; }
    .auth-aside { display: none; }
    .auth-main { background: var(--bg); }
    .auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px 24px; box-shadow: var(--shadow-md); }
    .auth-card-logo { display: grid; }
}

/* ═══ Leyna Yönetim Paneli · LYN Teknoloji (giriş ekranı) ═══ */
.auth-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.auth-brand-text b { font-size: var(--fs-md); font-weight: 650; color: #fff; }
.auth-brand-text small { font-size: var(--fs-xs); color: rgba(233, 232, 255, .6); }

.auth-grad { background: linear-gradient(90deg, #a5b4fc, #e9d5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

.auth-modules { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.auth-modules li {
    display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 2px; align-items: center;
    padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
    transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
    animation: authIn .5s var(--ease) both;
}
.auth-modules li:nth-child(2) { animation-delay: .06s; } .auth-modules li:nth-child(3) { animation-delay: .12s; } .auth-modules li:nth-child(4) { animation-delay: .18s; }
.auth-modules li:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); transform: translateY(-1px); }
.auth-mod-ic { grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(129, 140, 248, .18); color: #c7c4ff; }
.auth-mod-ic .i { width: 17px; height: 17px; }
.auth-modules b { font-size: var(--fs-sm); font-weight: 600; color: #fff; }
.auth-modules small { font-size: var(--fs-xs); color: rgba(233, 232, 255, .6); line-height: 1.35; }
@keyframes authIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.auth-aside-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.auth-badge {
    display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; margin-bottom: 16px;
    border-radius: var(--r-full); font-size: var(--fs-xs); font-weight: 550;
    color: var(--brand-text); background: var(--brand-soft);
}
.auth-badge .i { width: 12px; height: 12px; }
.auth-legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); }
.auth-note { margin-top: 0; font-size: var(--fs-xs); color: var(--text-3); text-align: center; line-height: 1.5; }

@media (max-width: 1100px) { .auth-modules { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .auth-modules li { animation: none; transition: none; } }
