/* ==========================================================================
   iyi avm — Giriş / şifre sıfırlama ekranı
   ========================================================================== */
body.auth-body {
    min-height: 100vh;
    background: #f5f7fc;
}
body.auth-body::before { display: none; }

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
}

/* ---------- Sol: marka vitrini ---------- */
.auth-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(1200px 700px at 0% 0%, #1e43a3 0%, #0f2560 46%, #0a1838 100%);
    display: flex;
    align-items: center;
    padding: 64px clamp(32px, 6vw, 96px);
    isolation: isolate;
}
.aurora { position: absolute; inset: 0; z-index: -2; filter: blur(60px); opacity: .85; }
.aurora span {
    position: absolute;
    width: 46vmax;
    height: 46vmax;
    border-radius: 50%;
    mix-blend-mode: screen;
    animation: drift 18s var(--ease-in-out) infinite alternate;
}
.aurora span:nth-child(1) { left: -12%; top: -18%; background: radial-gradient(circle, rgba(59, 102, 220, .9), transparent 62%); }
.aurora span:nth-child(2) { right: -18%; top: 22%; background: radial-gradient(circle, rgba(116, 84, 232, .7), transparent 62%); animation-duration: 22s; animation-delay: -6s; }
.aurora span:nth-child(3) { left: 18%; bottom: -30%; background: radial-gradient(circle, rgba(19, 179, 191, .55), transparent 62%); animation-duration: 26s; animation-delay: -12s; }
@keyframes drift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(6%, 8%) scale(1.08); }
    100% { transform: translate(-6%, -4%) scale(.96); }
}
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 72%);
    mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 72%);
}

.hero-inner { max-width: 540px; position: relative; animation: rise .8s var(--ease) both; }
.hero-logo { height: 46px; width: auto; margin-bottom: 44px; filter: drop-shadow(0 0 22px rgba(140, 175, 255, .45)); }
.auth-hero h1 {
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
    margin-bottom: 18px;
}
.auth-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #9fc0ff, #7fe3ea 60%, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.auth-hero p { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .78); max-width: 470px; margin-bottom: 30px; }

.hero-points { list-style: none; display: grid; gap: 12px; }
.hero-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 550;
    color: rgba(255, 255, 255, .92);
    opacity: 0;
    animation: rise .6s var(--ease) both;
}
.hero-points li:nth-child(1) { animation-delay: .25s; }
.hero-points li:nth-child(2) { animation-delay: .35s; }
.hero-points li:nth-child(3) { animation-delay: .45s; }
.hero-points li:nth-child(4) { animation-delay: .55s; }
.hero-points span {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.hero-points .i { width: 17px; height: 17px; }

/* Süzülen cam kartlar (dekoratif) */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
    animation: floaty 7s var(--ease-in-out) infinite alternate, rise 1s var(--ease) both;
}
.float-card small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.float-card strong { display: block; font: 700 22px/1.1 var(--font-display); letter-spacing: .01em; }
.fc-ic {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--c);
    box-shadow: 0 10px 20px -10px var(--c);
}
.fc-ic .i { width: 19px; height: 19px; }
.fc-1 { right: 7%; top: 12%; animation-delay: -2s, .6s; }
.fc-2 { right: 16%; bottom: 14%; animation-delay: -4s, .8s; }
.fc-3 { right: 4%; top: 46%; animation-delay: -1s, 1s; }
@media (max-width: 1360px) { .fc-3 { display: none; } .fc-1 { right: 4%; } }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-14px); } }

.fc-spark { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-left: 6px; }
.fc-spark i {
    width: 5px;
    height: var(--h);
    border-radius: 3px;
    background: linear-gradient(180deg, #7fe3ea, rgba(127, 227, 234, .3));
    transform-origin: bottom;
    animation: grow-y 1.2s var(--ease) both;
}
.fc-spark i:nth-child(2) { animation-delay: .1s; } .fc-spark i:nth-child(3) { animation-delay: .2s; }
.fc-spark i:nth-child(4) { animation-delay: .3s; } .fc-spark i:nth-child(5) { animation-delay: .4s; }
.fc-spark i:nth-child(6) { animation-delay: .5s; }
.fc-ring svg { width: 36px; height: 36px; transform: rotate(-90deg); }
.fc-ring circle { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 4; }
.fc-ring circle.v {
    stroke: #6ee7b7;
    stroke-linecap: round;
    stroke-dasharray: 97.4;
    stroke-dashoffset: 97.4;
    animation: ring 1.6s var(--ease) .9s forwards;
}
@keyframes ring { to { stroke-dashoffset: 7.8; } }

/* ---------- Sağ: form ---------- */
.auth-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 28px 24px;
    background:
        radial-gradient(600px 400px at 100% 0%, rgba(59, 102, 220, .08), transparent 60%),
        #f5f7fc;
}
.auth-card {
    width: 100%;
    max-width: 410px;
    animation: rise .7s var(--ease) .1s both;
}
.auth-logo { height: 40px; width: auto; margin-bottom: 34px; }
.auth-card h2 { font-size: 27px; font-weight: 800; letter-spacing: -.025em; margin-bottom: 6px; }
.auth-sub { color: var(--color-text-soft); font-size: 14.5px; margin-bottom: 26px; }

.auth-form .form-group { margin-bottom: 18px; }
.auth-form label { display: flex; justify-content: space-between; align-items: baseline; }
.lbl-link { font-size: 12.5px; font-weight: 650; text-decoration: none; }
.lbl-link:hover { text-decoration: underline; }

.input-ic { position: relative; }
.input-ic > .i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #8a94a6;
    pointer-events: none;
    transition: color .2s;
}
.input-ic input {
    width: 100%;
    height: 48px;
    padding-left: 44px;
    border-radius: 13px;
    font-size: 14.5px;
    background: #fff;
}
.input-ic:focus-within > .i { color: var(--brand-600); }
.pass-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #8a94a6;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.pass-eye:hover { background: #f1f4f9; color: var(--color-text); }
.pass-eye.on { color: var(--brand-600); }
.input-ic input[type="password"], .input-ic input[name="password"] { padding-right: 48px; }

.btn-block { width: 100%; margin-top: 6px; }
.btn-lg .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn-lg:hover .i { transform: translateX(3px); }

.auth-links { margin-top: 20px; text-align: center; }
.auth-links a { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; font-size: 13.5px; text-decoration: none; }
.auth-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 11px 13px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e6ebf3;
    color: var(--color-text-soft);
    font-size: 12.5px;
}
.auth-secure .i { color: var(--color-success); }

.auth-foot { margin-top: 36px; font-size: 12.5px; color: #8a94a6; text-align: center; }
.auth-foot a { color: #5b6679; font-weight: 650; text-decoration: none; }

@media (max-width: 1024px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-hero { padding: 36px 26px 34px; min-height: 0; }
    .hero-logo { height: 36px; margin-bottom: 22px; }
    .auth-hero h1 { font-size: 28px; }
    .auth-hero p, .hero-points, .float-card { display: none; }
    .auth-main { padding: 30px 20px 24px; }
    .auth-logo { display: none; }
}
