﻿/* Giriş ekranı (Views/Member/Login*.cshtml) */
html, body { margin: 0; padding: 0; }
body.as-login-body {
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: #0f172a;
    background: #dfe8f7;
    -webkit-font-smoothing: antialiased;
}
.as-login-body a { color: #1e3a8a; text-decoration: none; font-weight: 700; }
.as-login-body a:hover { color: #172554; text-decoration: underline; }

.as-login {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px 160px;
    box-sizing: border-box;
}
.as-login-skyline {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 220px;
    display: block;
    pointer-events: none;
}

.as-login-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 22px;
    padding: 40px 36px 34px;
    box-shadow: 0 24px 60px rgba(30, 58, 138, .16);
}
.as-login-card form, .as-login-stack { display: flex; flex-direction: column; gap: 18px; margin: 0; }

.as-login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    text-align: center;
}
.as-login-brand img { display: block; width: 180px; height: auto; }
.as-login-brand p { margin: 0; max-width: 320px; font-size: 14px; line-height: 1.5; color: #475569; }

.as-field {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 54px;
    padding: 0 16px;
    border: 1.5px solid #dbe2ec;
    border-radius: 14px;
    background: #ffffff;
    box-sizing: border-box;
}
.as-field:focus-within { border-color: #2255a4; box-shadow: 0 0 0 4px rgba(34, 85, 164, .12); }
.as-field svg { flex: none; }
.as-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font: 500 16px 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: #0f172a;
    padding: 0;
}
.as-field input::placeholder { color: #94a3b8; }
.as-field-error { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #b91c1c; }
.as-field-error:empty { display: none; }

.as-sr {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.as-login-alert {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 14px;
    font-weight: 600;
}
.as-login-alert ul { margin: 0; padding-left: 18px; }

.as-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
}
.as-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #475569;
    cursor: pointer;
}
.as-check input[type=checkbox] { width: 16px; height: 16px; margin: 0; accent-color: #2255a4; }

.as-login-submit {
    height: 54px;
    border: 0;
    border-radius: 14px;
    background: #2255a4;
    color: #ffffff;
    font: 700 16px 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.as-login-submit:hover { background: #1d4a90; }
.as-login-submit:focus-visible { outline: 3px solid rgba(34, 85, 164, .35); outline-offset: 2px; }

.as-login-register { margin: 4px 0 0; text-align: center; font-size: 14px; color: #64748b; }

/* Şifremi Unuttum (Views/Member/PasswordRecovery*.cshtml) */
.as-login-title { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: #0f172a; }
.as-login-info {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    background: #eef3fb;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
}
.as-login-info svg { flex: none; margin-top: 1px; }
.as-login-notice {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 14px;
    font-weight: 600;
}
.as-login-back { display: inline-flex; align-items: center; gap: 6px; }

/* Şifre Kurtarma (Views/Member/PasswordRecoveryConfirm*.cshtml) */
.as-login-body a.as-login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
}
.as-login-body a.as-login-submit:hover { color: #ffffff; text-decoration: none; }

@media (max-width: 480px) {
    .as-login { padding: 24px 16px 140px; align-items: flex-start; }
    .as-login-card { padding: 32px 22px 28px; border-radius: 18px; }
}
