/* ==========================================================================
   MMV Tech — giris ekranlari (Login.dc.html tasarimi)
   Split-screen: sol marka paneli (dalga + glass kart) / sag form karti
   ========================================================================== */

.auth-body { font-family: 'Inter', var(--font); background: #EEF2F8; }
.auth-split { display: flex; flex-wrap: wrap; min-height: 100vh; width: 100%; }

/* ---- Sol panel ---- */
.auth-left {
    position: relative;
    overflow: hidden;
    flex: 1.05 1 460px;
    min-width: 360px;
    background:
        radial-gradient(900px 520px at 20% 12%, rgba(79, 70, 229, .24), transparent 60%),
        radial-gradient(700px 500px at 90% 100%, rgba(18, 181, 165, .16), transparent 60%),
        #05080F;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 44px 52px;
}
.auth-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; pointer-events: none; }
.auth-orb {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    top: -60px;
    right: -40px;
    background: radial-gradient(circle, rgba(79, 70, 229, .35), transparent 70%);
    filter: blur(20px);
    animation: orbFloat 11s ease-in-out infinite;
    pointer-events: none;
}
@keyframes orbFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(18px, -22px); } }
.auth-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 8, 15, .35), rgba(5, 8, 15, .55));
    pointer-events: none;
}
.auth-left > *:not(.auth-canvas):not(.auth-orb):not(.auth-left-overlay) { position: relative; z-index: 2; }

.auth-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.auth-brand:hover { text-decoration: none; }
.auth-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #1E6FE8, #4C93F7);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(30, 111, 232, .5);
    flex-shrink: 0;
}
.auth-word { font-size: 22px; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.auth-word em { font-style: normal; color: #5EA0FF; }
.auth-word-dark { font-size: 19px; font-weight: 800; letter-spacing: -.4px; color: #0A2540; }
.auth-word-dark em { font-style: normal; color: #1E6FE8; }

.auth-left-mid { margin: auto 0; }
.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    border: 1px solid rgba(129, 140, 248, .35);
    background: rgba(79, 70, 229, .14);
    color: #B7C1FF;
    font-size: 12.5px;
    font-weight: 600;
    backdrop-filter: blur(6px);
    margin-bottom: 22px;
}
.auth-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #818CF8; box-shadow: 0 0 10px rgba(129, 140, 248, .9); }
.auth-headline { color: #fff; font-size: 38px; line-height: 1.15; letter-spacing: -1px; margin: 0 0 16px; font-weight: 700; }
.text-gradient-auth {
    background: linear-gradient(92deg, #7DB4FF, #A78BFA 55%, #818CF8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.auth-desc { font-size: 15.5px; color: rgba(226, 232, 240, .72); max-width: 400px; line-height: 1.7; margin: 0 0 32px; }

.auth-glass-wrap { max-width: 340px; }
.auth-glass {
    position: relative;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 18px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08);
    overflow: hidden;
    animation: authFloat 6.5s ease-in-out infinite;
}
@keyframes authFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.auth-glass-visual {
    position: relative;
    margin: 14px;
    padding: 4px 12px;
    border-radius: 13px;
    border: 1px solid rgba(129, 140, 248, .26);
    background: linear-gradient(160deg, rgba(79, 70, 229, .16), rgba(30, 111, 232, .06));
    overflow: hidden;
}
.auth-grid-anim {
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px);
    background-size: 15px 15px;
    animation: authGridPulse 3.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes authGridPulse { 0%, 100% { opacity: .05; } 50% { opacity: .13; } }
.auth-mini {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 4px;
    font-size: 12px;
    color: rgba(226, 232, 240, .88);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.auth-mini:last-child { border-bottom: none; }
.auth-mini strong { margin-left: auto; color: #fff; font-weight: 600; font-size: 11px; white-space: nowrap; }
.dot-glow { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dg-red { background: #F87171; box-shadow: 0 0 8px rgba(248, 113, 113, .6); }
.dg-amber { background: #FBBF24; box-shadow: 0 0 8px rgba(251, 191, 36, .6); }
.dg-green { background: #34D399; box-shadow: 0 0 8px rgba(52, 211, 153, .6); }

.auth-trust { display: flex; align-items: center; gap: 20px; font-size: 13px; color: rgba(226, 232, 240, .55); flex-wrap: wrap; }
.auth-trust strong { color: #fff; font-weight: 700; margin-right: 5px; }
.auth-trust-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .16); }

/* ---- Sag panel ---- */
.auth-right {
    position: relative;
    overflow: hidden;
    flex: 1 1 420px;
    min-width: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    background:
        radial-gradient(680px 420px at 78% -8%, rgba(30, 111, 232, .09), transparent 62%),
        radial-gradient(560px 500px at 8% 112%, rgba(18, 181, 165, .08), transparent 60%),
        linear-gradient(180deg, #FBFCFE, #F3F6FB);
}
.auth-dots {
    position: absolute;
    inset: 0;
    opacity: .5;
    background-image: radial-gradient(rgba(15, 23, 42, .055) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 30%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 42%, #000 30%, transparent 72%);
    pointer-events: none;
}
.auth-card {
    position: relative;
    width: 100%;
    max-width: 432px;
    background: #fff;
    border: 1px solid #EDF1F7;
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 30px 70px rgba(15, 23, 42, .1);
    padding: 42px 42px 38px;
}

.auth-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.auth-brand-sm { display: inline-flex; align-items: center; gap: 10px; }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748B;
    transition: color .15s;
}
.back-link:hover { color: #1E6FE8; text-decoration: none; }

.auth-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #1E6FE8;
    margin-bottom: 10px;
}
.auth-title { font-size: 26px; letter-spacing: -.6px; margin: 0 0 8px; color: #0F172A; }
.auth-sub { font-size: 14.5px; color: #64748B; line-height: 1.6; margin: 0 0 30px; }

/* ---- Yuzen etiketli alanlar (CSS-only floating label) ---- */
.field { position: relative; margin-bottom: 16px; }
.field input {
    width: 100%;
    height: 58px;
    padding: 22px 46px 8px 46px;
    border: 1.5px solid #E2E8F0;
    border-radius: 13px;
    font-family: inherit;
    font-size: 15px;
    color: #0F172A;
    background: #fff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder { color: transparent; }
.field input:focus { border-color: #1E6FE8; box-shadow: 0 0 0 4px rgba(30, 111, 232, .12); }
.field label {
    position: absolute;
    left: 46px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 15px;
    font-weight: 500;
    pointer-events: none;
    transition: top .18s ease, font-size .18s ease, color .18s ease, transform .18s ease, letter-spacing .18s ease;
}
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field input:-webkit-autofill ~ label,
.field.has-value label {
    top: 13px;
    transform: translateY(0);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    color: #64748B;
}
.field input:focus ~ label { color: #1E6FE8; }

/* Chrome autofill: mavi zemini beyaza cevir, metin rengini koru */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: #0F172A;
    caret-color: #0F172A;
    transition: background-color 99999s ease-out 0s;
}
.lead-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    display: inline-flex;
    transition: color .2s ease;
    pointer-events: none;
}
.field input:focus ~ .lead-icon { color: #1E6FE8; }
.pass-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    border-radius: 9px;
    color: #94A3B8;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .18s ease, background .18s ease;
}
.pass-toggle:hover { background: #F1F5FA; color: #1E6FE8; }

.forgot-row { display: flex; justify-content: flex-end; margin-bottom: 22px; }
.forgot-row a { font-size: 13px; font-weight: 600; color: #64748B; transition: color .15s; }
.forgot-row a:hover { color: #1E6FE8; text-decoration: none; }

/* ---- Parlayan gonder butonu ---- */
.btn-submit {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 13px;
    background: linear-gradient(135deg, #1E6FE8, #4C93F7);
    color: #fff;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(30, 111, 232, .36);
    transition: transform .2s ease, box-shadow .2s ease;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(30, 111, 232, .46); }
.submit-shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: submitShine 4.5s ease-in-out 1.5s infinite;
}
@keyframes submitShine { 0%, 20% { left: -120%; } 60%, 100% { left: 130%; } }
.submit-inner { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

.auth-terms { text-align: center; font-size: 12.5px; color: #94A3B8; margin: 30px 0 0; line-height: 1.6; }
.auth-terms a { color: #64748B; font-weight: 600; }
.auth-terms a:hover { color: #1E6FE8; }

/* ---- Kademeli giris animasyonu (JS .reveal-ready ekler) ---- */
.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}
.reveal-ready [data-reveal].in { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .auth-left { display: none; }
    .auth-right { min-height: 100vh; }
}
@media (max-width: 480px) {
    .auth-right { padding: 24px 16px; }
    .auth-card { padding: 30px 24px 28px; border-radius: 18px; }
}
