/* ============================================================
   TKF Eğitim Portalı - Giriş / Kayıt ekranları
   Renk ve tipografi karate.gov.tr ana sitesiyle aynıdır.
   ============================================================ */

:root {
    --wkf-blue: #0A2540;
    --wkf-blue-light: #153B61;
    --wkf-red: #E30613;
    --wkf-red-dark: #b30000;
    --wkf-gray: #f4f4f4;
    --wkf-text: #333333;
    --wkf-border: #dfe3e8;
}

html, body { height: 100%; }

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--wkf-gray);
    color: var(--wkf-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5 { font-family: 'Oswald', sans-serif; text-transform: uppercase; }

/* --- TOP BAR (ana siteyle aynı ince lacivert şerit) --- */
.top-bar {
    background-color: var(--wkf-blue);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 2px solid var(--wkf-red);
}
.top-bar a {
    color: #fff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.top-bar a:hover { color: var(--wkf-red); }
.top-bar .top-links a + a { margin-left: 20px; }

/* --- ANA İSKELET --- */
.auth-shell {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(380px, 40%) 1fr;
}

/* --- SOL: MARKA PANELİ --- */
.auth-brand {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--wkf-blue) 0%, var(--wkf-blue-light) 100%);
    color: #fff;
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-brand::after {
    content: '空手道';
    position: absolute;
    right: -20px;
    bottom: -40px;
    font-size: 11rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
    white-space: nowrap;
}
.auth-brand-inner { position: relative; z-index: 1; max-width: 440px; }

.auth-logo {
    display: inline-block;
    background: #fff;
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.auth-logo img { height: 84px; display: block; }

.auth-eyebrow {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}
.auth-brand h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 18px;
    padding-bottom: 18px;
    position: relative;
}
.auth-brand h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    background: var(--wkf-red);
}
.auth-brand-text {
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.auth-features { list-style: none; padding: 0; margin: 0; }
.auth-features li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}
.auth-features i {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-left: 3px solid var(--wkf-red);
}

/* --- SAĞ: FORM ALANI --- */
.auth-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}
.auth-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-top: 3px solid var(--wkf-red);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 36px 36px 30px;
}
.auth-card.genis { max-width: 620px; }

.auth-title {
    color: var(--wkf-blue);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.auth-subtitle { color: #6b7785; font-size: 0.95rem; margin-bottom: 26px; }

.form-label {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--wkf-blue);
    margin-bottom: 6px;
}

.input-group-text {
    background: var(--wkf-gray);
    border: 1px solid var(--wkf-border);
    border-radius: 4px;
    color: var(--wkf-blue);
    width: 44px;
    justify-content: center;
}
.form-control {
    border: 1px solid var(--wkf-border);
    border-radius: 4px;
    padding: 11px 14px;
    font-size: 0.95rem;
}
.form-control:focus {
    border-color: var(--wkf-blue);
    box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.12);
}
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12); }
.form-text { font-size: 0.8rem; }

.sifre-goster {
    border: 1px solid var(--wkf-border);
    border-left: 0;
    background: #fff;
    color: #6b7785;
    width: 46px;
    border-radius: 0 4px 4px 0;
}
.sifre-goster:hover { color: var(--wkf-blue); }

.form-check-input { border-color: #b8c0c9; }
.form-check-input:checked { background-color: var(--wkf-red); border-color: var(--wkf-red); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12); border-color: var(--wkf-red); }
.form-check-label { font-size: 0.88rem; color: #55606c; }

.auth-link { color: var(--wkf-red); text-decoration: none; font-weight: 500; }
.auth-link:hover { color: var(--wkf-red-dark); text-decoration: underline; }

.btn-wkf {
    background-color: var(--wkf-red);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 13px 20px;
    transition: all 0.3s;
}
.btn-wkf:hover, .btn-wkf:focus {
    background-color: var(--wkf-red-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(227, 6, 19, 0.3);
}

.btn-wkf-outline {
    background: transparent;
    border: 2px solid var(--wkf-blue);
    border-radius: 4px;
    color: var(--wkf-blue);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    padding: 9px 20px;
    transition: all 0.3s;
}
.btn-wkf-outline:hover { background: var(--wkf-blue); color: #fff; }

.alert { border-radius: 4px; border: none; border-left: 4px solid; font-size: 0.92rem; }
.alert-danger { background: #fdecec; color: #8a0b12; border-left-color: var(--wkf-red); }
.alert-success { background: #e9f7ef; color: #14613a; border-left-color: #1e9e5a; }
.alert ul { margin: 0; padding-left: 18px; }

.auth-switch {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eef0f3;
    text-align: center;
    font-size: 0.92rem;
    color: #6b7785;
}

.auth-footer { margin-top: 22px; text-align: center; font-size: 0.8rem; color: #8a94a0; }

/* --- MOBİL / TABLET --- */
@media (max-width: 991px) {
    .auth-shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .auth-brand { padding: 22px 20px; }
    .auth-brand::after { display: none; }
    .auth-brand-inner { max-width: none; display: flex; align-items: center; }
    .auth-logo { margin: 0 16px 0 0; padding: 6px 8px; flex-shrink: 0; }
    .auth-logo img { height: 52px; }
    .auth-eyebrow { font-size: 0.7rem; margin-bottom: 2px; }
    .auth-brand h1 { font-size: 1.6rem; margin: 0; padding: 0; }
    .auth-brand h1::after, .auth-brand-text, .auth-features { display: none; }
    .auth-main { justify-content: flex-start; padding: 24px 16px 32px; }
    .auth-card { padding: 26px 20px 22px; }
}

/* SMS doğrulama kodu girişi */
.kod-girdi {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.5em;
    text-align: center;
    padding-left: 0.5em;
}
.kod-girdi::placeholder { color: #c3c9d0; }
.btn-link.auth-link:disabled { color: #8a94a0; text-decoration: none; }
