/* =====================================================================
   Pinebi ERP — Ortak kimlik (Giriş / Kayıt) tasarımı
   Login.cshtml + Kayit.cshtml tarafından paylaşılır. Tek kaynak → tutarlı.
   ===================================================================== */
:root {
    --au-brand: #004e7c;
    --au-brand-dark: #012f4d;
    --au-brand-mid: #0a6aa1;
    --au-accent: #d0dd28;
    --au-text: #0f172a;
    --au-soft: #475569;
    --au-muted: #64748b;
    --au-border: #e5e7eb;
    --au-border-strong: #d7dde5;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--au-text);
    background: #eef2f7;
    overflow-x: hidden;
}

.au-stage {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
}
.au-stage.reverse { grid-template-columns: 1fr 1.05fr; }

/* ===================== SOL / MARKA PANELİ ===================== */
.au-brand {
    position: relative;
    padding: 44px 52px;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(150deg, #012238 0%, #013f63 46%, #0a6aa1 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* Işık lekeleri */
.au-brand::before,
.au-brand::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.au-brand::before {
    width: 560px; height: 560px; right: -200px; top: -220px;
    background: radial-gradient(circle, rgba(255,255,255,.15) 0%, rgba(255,255,255,0) 62%);
}
.au-brand::after {
    width: 420px; height: 420px; left: -140px; bottom: -180px;
    background: radial-gradient(circle, rgba(208,221,40,.34) 0%, rgba(208,221,40,0) 64%);
}

.au-brand-top { position: relative; z-index: 1; }
.au-brand-img { height: 40px; width: auto; display: block; }

.au-brand-body { position: relative; z-index: 1; max-width: 500px; }

.au-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    padding: 6px 13px; border-radius: 999px;
    font-size: 12.5px; font-weight: 600; margin-bottom: 20px;
    backdrop-filter: blur(4px);
}
.au-chip i { color: var(--au-accent); }

.au-headline {
    font-size: 37px; line-height: 1.12; font-weight: 800;
    margin: 0 0 16px; letter-spacing: -.8px;
}
.au-headline .hl { color: var(--au-accent); }

.au-desc { font-size: 14.5px; opacity: .88; line-height: 1.6; margin: 0 0 26px; }

/* --- Cam efektli ürün önizleme kartı (mini dashboard) --- */
.au-preview {
    position: relative;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 60px -30px rgba(0,0,0,.6);
    margin-bottom: 26px;
}
.au-pv-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.au-pv-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); }
.au-pv-title { margin-left: 8px; font-size: 11.5px; opacity: .7; letter-spacing: .3px; }

.au-pv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.au-kpi {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 11px; padding: 10px 11px;
}
.au-kpi .lbl { font-size: 10.5px; opacity: .72; display: flex; align-items: center; gap: 5px; }
.au-kpi .lbl i { color: var(--au-accent); font-size: 12px; }
.au-kpi .val { font-size: 20px; font-weight: 800; margin-top: 3px; letter-spacing: -.5px; }
.au-kpi .val small { font-size: 11px; font-weight: 600; opacity: .6; margin-left: 3px; }

/* mini çubuk grafik */
.au-pv-chart { display: flex; align-items: flex-end; gap: 7px; height: 60px; padding: 0 2px; }
.au-pv-chart span {
    flex: 1; border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, var(--au-accent), rgba(208,221,40,.35));
    opacity: .9;
}

/* --- Güven şeridi --- */
.au-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.au-trust span {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px; padding: 6px 10px;
    font-size: 12px; font-weight: 600;
}
.au-trust i { color: var(--au-accent); }

.au-brand-foot { position: relative; z-index: 1; font-size: 12px; opacity: .7; margin-top: 22px; }

/* ===================== SAĞ / FORM PANELİ ===================== */
.au-form {
    display: flex; align-items: center; justify-content: center;
    padding: 40px 32px; background: #fff;
}
.au-form-inner { width: 100%; max-width: 430px; min-width: 0; }
.au-form-inner.wide { max-width: 480px; }

.au-mobile-logo { display: none; justify-content: center; margin-bottom: 20px; }
.au-mobile-img { height: 34px; }

.au-eyebrow {
    font-size: 12.5px; color: var(--au-brand); font-weight: 700;
    text-transform: uppercase; letter-spacing: .7px; margin-bottom: 8px;
}
.au-title { font-size: 29px; font-weight: 800; letter-spacing: -.6px; margin: 0 0 8px; }
.au-sub { font-size: 14px; color: var(--au-muted); margin: 0 0 24px; line-height: 1.55; }

.au-alert {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 11px 14px; border-radius: 9px; font-size: 13px; margin-bottom: 18px;
}
.au-alert.err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.au-alert i { font-size: 16px; margin-top: 1px; }

.au-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.au-field { margin-bottom: 14px; }
.au-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--au-soft); margin-bottom: 6px; }
.au-label .req { color: #dc2626; }
.au-label .opt { color: #94a3b8; font-weight: 400; font-size: 11.5px; }

.au-input-wrap { position: relative; }
.au-input-wrap > i.pre {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--au-muted); font-size: 15px; pointer-events: none;
}
.au-input, .au-select {
    width: 100%; height: 47px;
    border: 1px solid var(--au-border-strong); border-radius: 10px;
    padding: 0 14px; font-size: 14px; color: var(--au-text); background: #fff;
    outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.au-input.has-pre { padding-left: 42px; }
.au-input.has-post { padding-right: 44px; }
.au-input:focus, .au-select:focus {
    border-color: var(--au-brand); box-shadow: 0 0 0 3px rgba(0,78,124,.13);
}
.au-input::placeholder { color: #94a3b8; }
.field-err, .au-field-err { color: #dc2626; font-size: 12px; margin-top: 4px; display: block; }

.au-toggle {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border: 0; background: transparent;
    color: var(--au-muted); border-radius: 7px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.au-toggle:hover { background: #f1f5f9; color: var(--au-text); }

.au-row {
    display: flex; align-items: center; justify-content: space-between;
    margin: 2px 0 18px; font-size: 13px;
}
.au-check {
    display: inline-flex; align-items: flex-start; gap: 8px;
    color: var(--au-soft); cursor: pointer; user-select: none;
    font-size: 12.5px; line-height: 1.5;
}
.au-check input {
    width: 18px; height: 18px; accent-color: var(--au-brand);
    margin: 0; flex-shrink: 0; cursor: pointer;
}
.au-check.multiline { margin: 4px 0 18px; }
.au-check.multiline input { margin-top: 1px; }
.au-check a { color: var(--au-brand); font-weight: 600; }

.au-link { color: var(--au-brand); text-decoration: none; font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.au-link:hover { text-decoration: underline; }

.au-btn {
    width: 100%; height: 49px; border: 0; border-radius: 11px;
    background: linear-gradient(180deg, #0a6aa1 0%, #004e7c 55%, #013f63 100%);
    color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    box-shadow: 0 14px 28px -14px rgba(0,78,124,.6);
    transition: transform .15s ease, box-shadow .18s ease, filter .15s ease;
    text-decoration: none;
}
.au-btn:hover { transform: translateY(-1px); box-shadow: 0 18px 32px -14px rgba(0,78,124,.7); filter: brightness(1.05); }
.au-btn:active { transform: translateY(0); }

.au-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.au-divider {
    display: flex; align-items: center; gap: 10px; margin: 22px 0 16px;
    color: var(--au-muted); font-size: 12px;
}
.au-divider::before, .au-divider::after {
    content: ""; flex: 1; height: 1px; background: var(--au-border);
}

.au-alt {
    text-align: center; font-size: 13.5px; color: var(--au-soft);
    background: #f8fafc; border: 1px solid var(--au-border);
    border-radius: 11px; padding: 13px;
}
.au-alt a { color: var(--au-brand); font-weight: 700; text-decoration: none; }
.au-alt a:hover { text-decoration: underline; }

.au-foot { margin-top: 22px; text-align: center; font-size: 12px; color: var(--au-muted); line-height: 1.5; }
.au-foot a { color: var(--au-brand); font-weight: 600; text-decoration: none; }

/* --- Kayıt başarı ekranı --- */
.ok-wrap { text-align: center; }
.ok-ic {
    width: 74px; height: 74px; border-radius: 50%;
    background: #ecfdf5; border: 2px solid #6ee7b7; color: #059669;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 38px; margin-bottom: 18px;
}
.ok-title { font-size: 26px; font-weight: 800; letter-spacing: -.5px; margin: 0 0 10px; }
.ok-text { font-size: 14.5px; color: var(--au-soft); line-height: 1.6; margin: 0 0 24px; }
.ok-steps {
    text-align: left; background: #f8fafc; border: 1px solid var(--au-border);
    border-radius: 12px; padding: 16px 18px; margin-bottom: 24px;
}
.ok-step { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--au-soft); padding: 6px 0; }
.ok-step i { color: var(--au-brand); font-size: 17px; margin-top: 1px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
    .au-stage, .au-stage.reverse { grid-template-columns: 1fr; }
    .au-brand { display: none; }
    .au-mobile-logo { display: flex; }
    .au-form { min-height: 100vh; padding: 30px 20px; }
    .au-title { font-size: 25px; }
    .au-grid2 { grid-template-columns: 1fr; }
}
