/* ============================================================
   LOGIN
   ============================================================ */
.auth-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--bg-deep);
}
.auth-hero {
    background:
        radial-gradient(700px 500px at 30% 20%, rgba(45, 212, 167, 0.14), transparent 60%),
        linear-gradient(160deg, var(--bg-base), var(--bg-deep));
    border-right: 1px solid var(--border);
    padding: 56px;
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative; overflow: hidden;
}
.auth-hero::after {
    content: "";
    position: absolute; bottom: -120px; right: -120px;
    width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    filter: blur(40px);
}
.auth-hero .brand { padding: 0; }
.auth-hero .pitch { position: relative; z-index: 1; }
.auth-hero .pitch h1 {
    font-family: var(--font-display);
    font-size: 44px; font-weight: 700;
    line-height: 1.1; letter-spacing: -1px;
    margin-bottom: 18px;
}
.auth-hero .pitch h1 span { color: var(--accent); }
.auth-hero .pitch p { color: var(--text-secondary); font-size: 16px; max-width: 420px; line-height: 1.6; }
.auth-feats { display: flex; gap: 28px; margin-top: 32px; position: relative; z-index: 1; }
.auth-feat { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 14px; }
.auth-feat svg { width: 18px; height: 18px; color: var(--accent); }
.auth-foot { color: var(--text-muted); font-size: 13px; position: relative; z-index: 1; }

.auth-panel { display: grid; place-items: center; padding: 40px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-secondary); margin-bottom: 32px; font-size: 14.5px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 11px;
    color: var(--text-primary);
    font-size: 14.5px;
    font-family: inherit;
    transition: border-color .18s ease;
    outline: none;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }

/* Select'i input tasarımına uydur: native oku gizle, özel chevron ekle */
.field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2361788a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.field select:hover { border-color: var(--accent-dim); }
.field select:disabled { opacity: .55; cursor: not-allowed; color: var(--text-muted); }
/* Açılır liste ögeleri (destekleyen tarayıcılarda tema uyumu) */
.field select option { background: var(--bg-surface-2); color: var(--text-primary); }
.field-validation-error, .text-danger { color: var(--danger); font-size: 12.5px; margin-top: 6px; display: block; }

.row-between { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-secondary); }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.link-accent { color: var(--accent); font-size: 13.5px; font-weight: 600; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.link-btn:disabled, .link-btn.is-disabled { opacity: .55; cursor: not-allowed; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 20px;
    border-radius: 11px;
    font-weight: 650; font-size: 15px;
    transition: all .18s ease;
}
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    color: #07221b;
    box-shadow: 0 8px 22px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px var(--accent-glow); }
.auth-alt { text-align: center; margin-top: 24px; color: var(--text-muted); font-size: 13.5px; }

/* 409 — başka cihazda aktif oturum onayı */
.auth-notice {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 14px; margin-bottom: 20px;
    background: rgba(240, 180, 41, 0.10);
    border: 1px solid rgba(240, 180, 41, 0.35);
    border-radius: 11px;
    color: var(--warning);
    font-size: 13px; line-height: 1.5;
}
.auth-notice i { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.auth-notice-ok {
    background: rgba(22, 179, 100, 0.10);
    border-color: rgba(22, 179, 100, 0.35);
    color: #16b364;
}

