﻿/* ========= AUTH DARK (CLEAN) ========= */
:root {
    --bg: #0b1020;
    --bg2: #0f172a;
    --card: #121a2f;
    --line: rgba(255,255,255,.08);
    --text: #e5e7eb;
    --muted: #9ca3af;
    --primary: #6366f1;
    --primary2: #22d3ee;
    --danger: #ef4444;
    --shadow: 0 25px 60px rgba(0,0,0,.45);
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    background: radial-gradient(900px 500px at 15% 10%, rgba(99,102,241,.12), transparent 60%), radial-gradient(900px 500px at 85% 20%, rgba(34,211,238,.10), transparent 60%), var(--bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card */
.auth-card {
    width: 420px;
    max-width: 94vw;
    background: linear-gradient(180deg, var(--card), var(--bg2));
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 26px;
    box-shadow: var(--shadow);
}

/* Header */
.auth-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: .2px;
}

.auth-sub {
    color: var(--muted);
    font-size: .95rem;
    margin-top: 4px;
}

/* Fields */
.field {
    margin-top: 16px;
}

.label {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.25);
    color: #ffffff; /* 👈 YAZI BEYAZ */
    caret-color: #ffffff; /* 👈 İMLEÇ BEYAZ */
}

    .form-control::placeholder {
        color: #6b7280; /* placeholder gri kalsın */
    }

    .form-control:focus {
        outline: none;
        border-color: rgba(99,102,241,.6);
        box-shadow: 0 0 0 .18rem rgba(99,102,241,.25);
        background: rgba(0,0,0,.35);
        color: #ffffff; /* 👈 focus'ta da beyaz */
    }

/* Captcha */
.captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

canvas {
    border-radius: 12px;
    background: rgba(0,0,0,.35);
    border: 1px dashed rgba(255,255,255,.15);
}

.btn-refresh {
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    color: var(--text);
    padding: 10px 12px;
}

    .btn-refresh:hover {
        background: rgba(255,255,255,.08);
    }

/* Button */
.btn-login {
    margin-top: 18px;
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    border: none;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: 0 14px 28px rgba(99,102,241,.35);
}

    .btn-login:hover {
        filter: brightness(1.05);
    }

/* Footer */
.auth-foot {
    margin-top: 16px;
    text-align: center;
    font-size: .95rem;
    color: var(--muted);
}

    .auth-foot a {
        color: var(--primary2);
        font-weight: 700;
        text-decoration: none;
    }

        .auth-foot a:hover {
            text-decoration: underline;
        }

/* Alert */
.alert {
    border-radius: 14px;
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.35);
    color: #fecaca;
}

.auth-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.auth-logo {
    max-width: 120px; /* 🔧 LOGO GENİŞLİĞİ */
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 12px;
}
