*{
    box-sizing:border-box;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif
}

body{
    margin:0;
    background:
        radial-gradient(1200px 600px at 20% 10%, #e9f4ff 0%, rgba(233,244,255,0) 60%),
        radial-gradient(900px 500px at 85% 80%, #dff7f4 0%, rgba(223,247,244,0) 55%),
        #f4f7fb;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
}

.login-wrapper{
    width:1100px;
    max-width:95%;
    min-height:585px; /* 🔥 KRİTİK SATIR */
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    display:grid;
    grid-template-columns:1.2fr 1fr;
    box-shadow:0 40px 80px rgba(0,0,0,.12);
}

.visual{
    background:url('../img/login-visual.jpg') center/contain no-repeat;
    background-color:#eaf3ff;
    position:relative;
}

.visual::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35));
}

.form-area{
    background:linear-gradient(180deg,#0f2a44,#0b1f33);
    color:#fff;
    padding:60px 55px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.form-area h1{
    font-size:28px;
    margin:0 0 6px;
}

.form-area p{
    opacity:.8;
    margin-bottom:30px;
}

.field{
    position:relative;
    margin-bottom:16px;
}

.field input{
    width:100%;
    padding:14px 42px;
    border-radius:10px;
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.08);
    color:#fff;
    outline:none;
}

.field i{
    position:absolute;
    top:50%;
    left:14px;
    transform:translateY(-50%);
    opacity:.6;
}

.login-options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:6px 0 16px;
    font-size:13px;
    line-height:1;
}

.remember{
    display:flex;
    align-items:center;
    gap:6px;
    margin:0;
    padding:0;
    line-height:1;
}

.remember input{
    margin:0;
    transform:translateY(1px);
}

.forgot-link{
    color:#9fe7e2;
    text-decoration:none;
    opacity:.9;
    line-height:1;
}

.forgot-link:hover{
    text-decoration:underline;
}

.btn{
    background:linear-gradient(90deg,#4fd1c5,#38b2ac);
    border:none;
    color:#003b3b;
    font-weight:700;
    padding:14px;
    border-radius:12px;
    cursor:pointer;
}

.divider{
    text-align:center;
    margin:28px 0 14px;
    opacity:.6;
}

.socials{
    display:flex;
    gap:10px;
    justify-content:center;
}

.socials span{
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(255,255,255,.08);
    cursor:pointer;
}

.footer{
    margin-top:28px;
    font-size:14px;
    opacity:.8;
}

.footer a{
    color:#4fd1c5;
    text-decoration:none;
    font-weight:600;
}

.error{
    background:#ff4d4f;
    color:#fff;
    padding:10px 14px;
    border-radius:10px;
    margin-bottom:18px;
    font-size:14px;
}

@media(max-width:900px){
    .login-wrapper{grid-template-columns:1fr}
    .visual{display:none}
}

.auth-footer{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    font-size:13px;
    color:#6b7a90;
    opacity:.9;
    display:flex;
    gap:16px;
    align-items:center;
    white-space:nowrap;
}

.auth-footer a{
    color:#4fd1c5;
    text-decoration:none;
    font-weight:500;
}

.auth-footer a:hover{
    text-decoration:underline;
}

.social-link{
    text-decoration:none;
}

.social-link span{
    cursor:pointer;
}

/* =========================
   MOBILE AUTH FINAL FIX
========================= */
@media (max-width: 768px){

    /* 🔥 TÜM SAYFA KOYU */
    body{
        margin:0;
        min-height:100vh;
        background:linear-gradient(180deg,#0f2a44,#0b1f33);
        display:flex;
        justify-content:center;
        align-items:center;
    }

    /* 🔥 ARTIK KART YOK */
    .login-wrapper{
        width:100%;
        max-width:420px;
        min-height:100vh;
        background:none;        /* ❗ beyazı öldür */
        box-shadow:none;
        border-radius:0;

        display:flex;
        flex-direction:column;
        justify-content:center;
    }

    /* 🔥 FOTO TAMAMEN YOK */
    .visual{
        display:none;
    }

    /* 🔥 FORM ZATEN KOYU */
    .form-area{
        background:none;       /* ❗ ikinci koyu katman yok */
        padding:32px 26px;
    }

    /* 🔥 FOOTER SAYFA ALTINDA */
    .auth-footer{
        position:absolute;
        bottom:20px;
        left:50%;
        transform:translateX(-50%);
        color:rgba(255,255,255,.6);
    }
}

/* WhatsApp chat widget - login */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

/* Baloncuk */
.whatsapp-bubble {
    background: #ffffff;
    color: #333;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    max-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    animation: fadeInUp .4s ease;
    position: relative;
}

/* Baloncuk oku */
.whatsapp-bubble::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: 14px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

/* WhatsApp butonu */
.whatsapp-btn {
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
    transition: transform .2s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
}

/* Animasyon */
@keyframes fadeInUp {
    from {
