/* ===========================================
   LOGIN PAGE
=========================================== */

body {
    background: #f6f7fb;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", Helvetica, Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    width: 100%;              /* <-- DEĞİŞTİ */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 16px;
    overflow-x: hidden;       /* <-- KAYDIRMA BLOKLANIR */
}

/* KART */
.auth-card {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 40px 36px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    box-sizing: border-box; /* <-- önemli */
}

/* MARKA */
.auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.auth-logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #111827;
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.brand-subtitle {
    font-size: 13px;
    color: #6b7280;
}

/* FORM */
.auth-form label {
    font-size: 13px;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.auth-form input {
    width: 100%;
    padding: 10px 13px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    outline: none;
}

.auth-form input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* FOOTER */
.form-footer {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* BUTON */
.btn-primary {
    background: #2563eb;
    color: #fff;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1e3a8a;
}

/* HATA MESAJI */
.auth-error {
    margin-bottom: 16px;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    padding: 12px 14px;
    border-radius: 10px;
    color: #b91c1c;
    font-size: 14px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 480px) {
    body {
        align-items: flex-start;
        padding: 24px 12px;
    }

    .auth-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .brand-title {
        font-size: 20px;
    }

    .auth-form input {
        font-size: 14px;
        padding: 9px 11px;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}