/* Portal giriş / şifre sayfaları ortak stil (app/Views/auth/_layout_*.php) */
:root {
    --tblr-font-sans-serif: 'Inter Var', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
    --lg-red: #D7192A;
    --lg-red-dark: #B31221;
    --lg-ink: #111827;
    --lg-text: #1F2937;
    --lg-muted: #6B7280;
    --lg-border: #E5E7EB;
}
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: var(--tblr-font-sans-serif);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "cv03", "cv04", "cv11";
    background: #fff;
    color: var(--lg-text);
    margin: 0;
}
.lg { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* Sol: marka paneli */
.lg-brand {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(120% 80% at 0% 0%, #2A1015 0%, var(--lg-ink) 55%), var(--lg-ink);
    padding: 56px 64px; display: flex; flex-direction: column; justify-content: space-between;
}
.lg-brand::after {
    content: ""; position: absolute; right: -160px; bottom: -160px; width: 480px; height: 480px;
    background-image: radial-gradient(rgba(215, 25, 42, .55) 2px, transparent 2.5px);
    background-size: 22px 22px; border-radius: 50%;
    -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 70%);
            mask-image: radial-gradient(circle, #000 0%, transparent 70%);
    pointer-events: none;
}
.lg-brand > * { position: relative; z-index: 1; }
/* İçerik panelde dikey ve yatay ortada; geniş ekranda sol üst köşeye yapışıp formla dengesiz durmasın */
.lg-brand > div:first-child { width: 100%; max-width: 560px; margin: auto; }
.lg-brand-foot { width: 100%; max-width: 560px; margin: 0 auto; }
.lg-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #FCA5A5; }
.lg-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lg-red); }
.lg-brand h1 { font-size: 40px; line-height: 1.12; font-weight: 750; letter-spacing: -.03em; margin: 18px 0 14px; color: #fff; max-width: 460px; }
.lg-brand p.lg-lead { font-size: 16px; line-height: 1.6; color: #CBD5E1; max-width: 440px; margin: 0; }
.lg-feats { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 18px; max-width: 440px; }
@media (min-width: 1600px) {
    .lg-brand h1 { font-size: 46px; max-width: 540px; }
    .lg-brand p.lg-lead { font-size: 17px; max-width: 500px; }
    .lg-feats { max-width: 500px; }
}
/* Alçak ekran (ör. 1366×768): 5 madde ve alt satır çakışmasın */
@media (min-width: 992px) and (max-height: 860px) {
    .lg-brand { padding-top: 40px; padding-bottom: 32px; }
    .lg-brand h1 { font-size: 34px; margin: 14px 0 10px; }
    .lg-feats { margin-top: 28px; gap: 14px; }
}
.lg-feats li { display: flex; gap: 14px; align-items: flex-start; }
.lg-feats .ic {
    flex: 0 0 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #FCA5A5;
}
.lg-feats .ic svg { width: 20px; height: 20px; }
.lg-feats strong { display: block; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.lg-feats span { font-size: 14px; color: #94A3B8; line-height: 1.5; }
.lg-brand-foot { font-size: 13px; color: #64748B; }

/* Sağ: form */
.lg-main { display: flex; flex-direction: column; padding: 40px 24px; }
.lg-form-wrap { width: 100%; max-width: 400px; margin: auto; }
.lg-logo img { height: 48px; width: auto; display: block; }
.lg-main h2 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 36px 0 6px; color: var(--lg-ink); }
.lg-sub { color: var(--lg-muted); font-size: 15px; margin: 0 0 28px; }
.lg-field { margin-bottom: 18px; }
.lg-label-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.lg-label-row label, .lg-field > label { font-size: 14px; font-weight: 600; color: var(--lg-text); }
.lg-field > label { display: block; margin-bottom: 6px; }
.lg-link { font-size: 13px; font-weight: 500; color: var(--lg-red); text-decoration: none; }
.lg-link:hover { color: var(--lg-red-dark); text-decoration: underline; }
.lg-input-wrap { position: relative; }
.lg-input {
    width: 100%; height: 46px; padding: 0 14px; font-size: 15px; color: var(--lg-ink); font-family: inherit;
    border: 1px solid #D1D5DB; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.lg-input::placeholder { color: #9CA3AF; }
.lg-input:focus { outline: none; border-color: var(--lg-red); box-shadow: 0 0 0 3px rgba(215, 25, 42, .14); }
.lg-input-wrap .lg-input { padding-right: 46px; }
.lg-eye {
    position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border: 0; background: transparent;
    border-radius: 8px; color: var(--lg-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.lg-eye:hover { color: var(--lg-ink); background: #F3F4F6; }
.lg-eye:focus-visible { outline: 2px solid var(--lg-red); outline-offset: 1px; }
.lg-eye svg { width: 20px; height: 20px; }
.lg-eye .off { display: none; }
.lg-eye.on .on { display: none; }
.lg-eye.on .off { display: inline; }
.lg-remember { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--lg-text); cursor: pointer; margin: 2px 0 24px; }
.lg-remember input { width: 16px; height: 16px; accent-color: var(--lg-red); margin: 0; }
.lg-submit {
    width: 100%; height: 48px; border: 0; border-radius: 10px; background: var(--lg-red); color: #fff;
    font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; transition: background .15s, transform .05s;
}
.lg-submit:hover { background: var(--lg-red-dark); }
.lg-submit:active { transform: translateY(1px); }
.lg-submit:focus-visible { outline: 2px solid var(--lg-red); outline-offset: 2px; }
.lg-submit[disabled] { opacity: .75; cursor: wait; }

.lg-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.45; margin-bottom: 20px; border: 1px solid; }
.lg-alert svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; }
.lg-alert.ok { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.lg-alert.warn { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.lg-alert.err { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.lg-alert.info { background: #F8FAFC; border-color: var(--lg-border); color: var(--lg-text); }
.lg-alert.info svg { color: var(--lg-red); }
.lg-alert b { font-weight: 600; }

.lg-input[disabled] { background: #F9FAFB; color: var(--lg-muted); cursor: not-allowed; }
.lg-hint { display: block; font-size: 13px; color: var(--lg-muted); margin-top: 6px; }
.lg-hint.bad { color: #B91C1C; }
.lg-hint.good { color: #047857; }
.lg-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.lg-submit svg { width: 18px; height: 18px; }
.lg-back {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 14px; font-weight: 500;
    color: var(--lg-muted); text-decoration: none;
}
.lg-back:hover { color: var(--lg-ink); }
.lg-back svg { width: 18px; height: 18px; }
.lg-foot-line { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--lg-border); font-size: 14px; color: var(--lg-muted); }
.lg-foot-line a { color: var(--lg-red); font-weight: 600; text-decoration: none; }
.lg-foot-line a:hover { text-decoration: underline; }

.lg-contact {
    margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--lg-border);
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.lg-contact p { margin: 0; font-size: 14px; color: var(--lg-muted); line-height: 1.45; }
.lg-contact p b { display: block; color: var(--lg-text); font-weight: 600; }
.lg-phone {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px;
    border: 1px solid var(--lg-border); color: var(--lg-ink); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.lg-phone:hover { border-color: #D1D5DB; background: #F9FAFB; color: var(--lg-ink); }
.lg-phone svg { width: 18px; height: 18px; color: var(--lg-red); }
.lg-copy { text-align: center; font-size: 12px; color: #9CA3AF; margin-top: 32px; }

/* AbantOnline bilgilendirme penceresi (Tabler modal iskeleti üstüne) */
.lg-modal .modal-dialog { max-width: 600px; }
.lg-modal .modal-content { border: 0; border-radius: 16px; box-shadow: 0 24px 60px rgba(17, 24, 39, .25); overflow: hidden; }
.lg-modal .modal-body { padding: 32px 32px 8px; }
.lg-modal h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--lg-ink); margin: 10px 0 6px; }
.lg-modal .lg-eyebrow { color: var(--lg-red); }
.lg-modal-lead { font-size: 15px; color: var(--lg-muted); margin: 0 0 22px; }
.lg-modal-close {
    position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 8px;
    background: transparent; color: var(--lg-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.lg-modal-close:hover { background: #F3F4F6; color: var(--lg-ink); }
.lg-modal-close svg { width: 20px; height: 20px; }
.lg-modal-feats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.lg-modal-feats li { display: flex; gap: 12px; align-items: flex-start; }
.lg-modal-feats .ic {
    flex: 0 0 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: #FEF2F2; color: var(--lg-red);
}
.lg-modal-feats .ic svg { width: 19px; height: 19px; }
.lg-modal-feats strong { display: block; font-size: 14px; font-weight: 600; color: var(--lg-ink); }
.lg-modal-feats span { font-size: 13px; color: var(--lg-muted); line-height: 1.45; }
.lg-modal-cta {
    margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: #F9FAFB; border: 1px solid var(--lg-border);
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.lg-modal-cta p { margin: 0; font-size: 14px; color: var(--lg-muted); line-height: 1.45; }
.lg-modal-cta p b { display: block; color: var(--lg-text); font-weight: 600; }
.lg-modal-cta .lg-phone { background: #fff; }
.lg-modal-foot { padding: 20px 32px 28px; }

@media (max-width: 991px) {
    .lg { grid-template-columns: 1fr; }
    .lg-brand { display: none; }
    .lg-main { padding: 32px 20px; }
    .lg-form-wrap { margin: 0 auto; }
}
@media (max-width: 575px) {
    .lg-modal .modal-body { padding: 28px 20px 4px; }
    .lg-modal-foot { padding: 16px 20px 20px; }
    .lg-modal-feats { grid-template-columns: 1fr; gap: 14px; }
    .lg-modal-cta { flex-direction: column; align-items: stretch; }
    .lg-modal-cta .lg-phone { justify-content: center; }
}
@media (max-width: 400px) {
    .lg-main h2 { font-size: 23px; margin-top: 28px; }
    .lg-contact { flex-direction: column; align-items: stretch; }
    .lg-phone { justify-content: center; }
}

/* Firma davetiyle hesap açma (/kayit) */
.lg-firm { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: -8px 0 22px; border: 1px solid var(--lg-border); border-radius: 12px; background: #F8FAFC; }
.lg-firm-ic { flex: 0 0 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--lg-border); color: var(--lg-red); display: inline-flex; align-items: center; justify-content: center; }
.lg-firm-ic svg { width: 20px; height: 20px; }
.lg-firm small { display: block; font-size: 12px; color: var(--lg-muted); }
.lg-firm b { display: block; font-size: 15px; font-weight: 600; color: var(--lg-ink); line-height: 1.3; }
.lg-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.lg-input.is-bad { border-color: #F87171; }
.lg-input.is-bad:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, .14); }
.lg-hint a { color: inherit; font-weight: 600; }
.lg-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--lg-text); cursor: pointer; }
.lg-check input { flex: 0 0 16px; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--lg-red); }
.lg-check a { color: var(--lg-red); font-weight: 500; }
.lg-check.is-bad span { color: #B91C1C; }
.lg-fine { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--lg-muted); }
@media (max-width: 400px) { .lg-2col { grid-template-columns: 1fr; } }
