/* Giriş yöntemleri (js/login-methods.js): giriş ekranı sekmeleri ve "Hesabım" penceresi. */
.login-methods { display: flex; gap: 4px; padding: 3px; margin-bottom: 14px; border-radius: 10px; background: #f1f5f9; }
.login-methods button { flex: 1; border: none; background: transparent; border-radius: 8px; padding: 7px 4px; font-size: 12px; font-weight: 600;
    color: #475569; cursor: pointer; font-family: inherit; white-space: nowrap; }
.login-methods button.active { background: #fff; color: #1d4ed8; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12); }
.login-code-row { display: flex; gap: 6px; }
.login-code-row input { flex: 1; letter-spacing: 0.15em; font-variant-numeric: tabular-nums; }
.login-btn-send-code { flex-shrink: 0; height: 44px; padding: 0 12px; border-radius: 10px; border: 1.5px solid #bfdbfe; background: #eff6ff;
    color: #1d4ed8; font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: inherit; }
.login-btn-send-code:disabled { opacity: 0.6; cursor: wait; }
.login-code-hint { display: block; margin-top: 6px; font-size: 11.5px; color: #64748b; line-height: 1.45; }
.login-btn-back { margin-top: 8px; width: 100%; background: none; border: none; color: #64748b; font-size: 12.5px; cursor: pointer; font-family: inherit; }

.lm-overlay { z-index: 170; }
.lm-box { width: 640px; max-width: 95vw; max-height: 88vh; }
.lm-body { gap: 12px; }
.lm-row { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border: 1px solid var(--border-light, #e2e8f0); border-radius: 10px; }
.lm-row > div:first-child { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--text-primary, #0f172a); }
.lm-row small { font-size: 11.5px; color: var(--text-secondary, #475569); line-height: 1.45; }
.lm-actions { display: flex; gap: 6px; flex-shrink: 0; }
.lm-primary { background: #0f172a; color: #fff; }
.lm-switch { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; min-width: 76px; border: 1px solid var(--border-light, #e2e8f0); border-radius: 9999px;
    padding: 3px 10px 3px 3px; background: var(--bg-shell, #fff); cursor: pointer; font-size: 11.5px; font-weight: 700; color: var(--text-secondary, #475569); font-family: inherit; }
.lm-switch span { width: 18px; height: 18px; border-radius: 50%; background: #cbd5e1; transition: background 0.15s; }
.lm-switch.on { border-color: #86efac; color: #047857; }
.lm-switch.on span { background: #10b981; }
.lm-switch:disabled { opacity: 0.5; cursor: not-allowed; }
.lm-setup { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.lm-qr { width: 200px; height: 200px; padding: 8px; background: #fff; border-radius: 10px; border: 1px solid var(--border-light, #e2e8f0); flex-shrink: 0; }
.lm-qr svg { width: 100%; height: 100%; display: block; }
.lm-setup-steps { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-primary, #0f172a); }
.lm-setup-steps p { margin: 0; line-height: 1.5; }
.lm-key { display: flex; flex-direction: column; gap: 3px; }
.lm-key code { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; word-break: break-all; user-select: all; }
.lm-code-form { display: flex; gap: 6px; flex-wrap: wrap; }
.lm-code-form input { width: 130px; font-size: 15px; letter-spacing: 0.15em; padding: 6px 10px; border: 1px solid var(--border-light, #e2e8f0); border-radius: 8px;
    background: var(--bg-shell, #fff); color: var(--text-primary, #0f172a); font-family: inherit; }
.lm-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; padding: 12px; border-radius: 10px;
    background: var(--sidebar-bg, #f8fafc); border: 1px solid var(--border-light, #e2e8f0); }
.lm-codes code { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-primary, #0f172a); }
.lm-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
body.dark-mode .lm-primary { background: #e2e8f0; color: #0f172a; }
body.dark-mode .lm-switch.on { border-color: rgba(16, 185, 129, 0.5); color: #6ee7b7; }
body.dark-mode .lm-warn { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.35); color: #fcd34d; }

/* Faz 18a: AI asistanım (js/my-agent.js) */
.ma-box { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid var(--border-light, #e2e8f0); border-radius: 10px; }
.ma-head { font-size: 13px; color: var(--text-primary, #0f172a); }
.ma-muted { font-size: 11.5px; color: var(--text-secondary, #475569); line-height: 1.45; }
.ma-key { display: flex; gap: 6px; align-items: center; }
.ma-key code { flex: 1; min-width: 0; font-size: 12px; padding: 6px 8px; border-radius: 7px; background: var(--sidebar-bg, #f8fafc); border: 1px solid var(--border-light, #e2e8f0); word-break: break-all; user-select: all; }
.ma-list { display: flex; flex-direction: column; gap: 4px; }
.ma-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.ma-item span { display: flex; flex-direction: column; }
.ma-how summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--text-primary, #0f172a); }
.ma-how { display: flex; flex-direction: column; gap: 6px; }
.ma-snip { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; font-size: 11.5px; font-weight: 700; color: var(--text-secondary, #475569); }
.ma-snip pre { margin: 0; font-size: 11px; white-space: pre-wrap; word-break: break-all; padding: 6px 8px; border-radius: 7px; background: var(--sidebar-bg, #f8fafc); border: 1px solid var(--border-light, #e2e8f0); font-weight: 400; color: var(--text-primary, #0f172a); }
.ma-snip .btn-clean { align-self: flex-start; }

/* Faz 18c: girişte Authenticator kurulumu ve kurtarma kodları */
.login-setup-box { text-align: left; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.login-setup-qr { width: 180px; height: 180px; margin: 0 auto; padding: 6px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; }
.login-setup-qr svg { width: 100%; height: 100%; display: block; }
.login-setup-box code { word-break: break-all; }
