.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.thumb { max-height: 90px; max-width: 120px; border-radius: 6px; border: 1px solid var(--mud-palette-lines-default); object-fit: cover; }
.mud-table-root .mud-table-cell.num { text-align: right; }

/* Giriş sayfası (statik SSR; MudBlazor bileşeni kullanılmaz) */
body { margin: 0; font-family: Roboto, "Segoe UI", sans-serif; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #f5f6f8; }
.login-card { width: 100%; max-width: 360px; background: #fff; padding: 2rem; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,.08); display: flex; flex-direction: column; gap: .4rem; }
.login-card h1 { font-size: 1.4rem; margin: 0 0 .8rem; }
.login-card label { font-size: .85rem; color: #4b5563; }
.login-card input:not([type=checkbox]) { padding: .55rem .6rem; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 1rem; margin-bottom: .4rem; }
.login-card .check { display: flex; gap: .4rem; align-items: center; margin: .3rem 0 .6rem; }
.login-card button { padding: .65rem; border: 0; border-radius: 6px; background: #1976d2; color: #fff; font-size: 1rem; cursor: pointer; }
.login-alert { padding: .5rem .7rem; border-radius: 6px; font-size: .9rem; margin-bottom: .6rem; }
.login-card select { padding: .55rem .6rem; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 1rem; margin-bottom: .4rem; background: #fff; }
.login-card small { color: #6b7280; font-size: .78rem; margin: -.2rem 0 .4rem; }
.login-card a { font-size: .9rem; margin-top: .4rem; }
.login-alert.ok { background: #e6f4ea; color: #1e6b34; }
.login-alert.err { background: #fde8e8; color: #9b1c1c; }
.login-alert.warn { background: #fef3c7; color: #92400e; }

/* İşlem yapılıyor katmanı: tıklamaları anında engeller, görünürlüğü kısa gecikmeyle başlar (hızlı işlemlerde yanıp sönmez) */
.busy-overlay { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.28); cursor: progress; animation: busy-in .2s ease .25s both; }
@keyframes busy-in { from { opacity: 0; } to { opacity: 1; } }
.busy-overlay.busy-dialog { z-index: 3000; }

/* Statik giriş sayfaları için işlem katmanı */
.login-busy { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.2); cursor: progress; animation: busy-in .2s ease .3s both; }
.login-spinner { width: 44px; height: 44px; border: 4px solid rgba(255,255,255,.7); border-top-color: #5A4BE2; border-radius: 50%; animation: login-spin .8s linear infinite; }
@keyframes login-spin { to { transform: rotate(360deg); } }
.login-card button:disabled { opacity: .7; cursor: progress; }

/* ===== Giriş / 2FA: bölünmüş düzen (solda görsel, sağda form) ===== */
.login-wrap.auth-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; justify-content: initial; background: #fff; min-height: 100vh; }
.auth-visual { position: relative; overflow: hidden; color: #efecff; display: flex; align-items: flex-end; padding: 3.5rem; background: radial-gradient(1200px 700px at 15% 10%, #3a2f9e 0%, rgba(58,47,158,0) 60%), linear-gradient(160deg, #0d0a26 0%, #17114a 55%, #0f0b30 100%); }
.auth-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: auth-float 14s ease-in-out infinite alternate; }
.auth-orb-a { width: 380px; height: 380px; background: #5A4BE2; top: -90px; left: -70px; }
.auth-orb-b { width: 320px; height: 320px; background: #7c6ff0; bottom: -80px; right: -60px; opacity: .35; animation-duration: 18s; }
@keyframes auth-float { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, -30px) scale(1.12); } }
.auth-copy { position: relative; max-width: 460px; }
.auth-copy h2 { font-size: 2rem; line-height: 1.25; font-weight: 600; margin: 0 0 1.4rem; letter-spacing: -.01em; }
.auth-copy ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; color: #c7c0f5; font-size: .98rem; }
.auth-copy li { display: flex; align-items: center; gap: .75rem; }
.auth-copy li span { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #a79cff; box-shadow: 0 0 0 4px rgba(167,156,255,.2); }

.auth-form { display: flex; align-items: center; justify-content: center; padding: 2rem; background: #fff; }
.auth-split .login-card { max-width: 400px; width: 100%; padding: 0; box-shadow: none; background: transparent; gap: .45rem; }
.auth-split .auth-logo { width: 190px; max-width: 70%; height: auto; margin: 0 0 2rem; display: block; }
.auth-split .login-card h1 { font-size: 1.7rem; font-weight: 600; margin: 0 0 .25rem; color: #0f172a; }
.auth-split .auth-sub { margin: 0 0 1.2rem; color: #64748b; font-size: .95rem; line-height: 1.45; }
.auth-split .login-card label { font-size: .8rem; font-weight: 500; color: #475569; }
.auth-split .login-card input:not([type=checkbox]) { padding: .75rem .9rem; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 1rem; margin-bottom: .55rem; background: #f8fafc; transition: border-color .15s, box-shadow .15s, background .15s; }
.auth-split .login-card input:not([type=checkbox]):focus { outline: none; border-color: #5A4BE2; background: #fff; box-shadow: 0 0 0 4px rgba(90,75,226,.16); }
.auth-split .login-card button { margin-top: .35rem; padding: .85rem; border-radius: 10px; font-weight: 600; letter-spacing: .01em; background: linear-gradient(135deg, #4a3cd0, #6a5cf0); box-shadow: 0 6px 16px rgba(90,75,226,.30); transition: transform .12s, box-shadow .12s, filter .12s; }
.auth-split .login-card button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(90,75,226,.36); filter: brightness(1.04); }
.auth-split .login-card a { color: #5A4BE2; text-decoration: none; }
.auth-split .login-card a:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .login-wrap.auth-split { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
    .auth-form { min-height: 100vh; background: #f5f6f8; }
    .auth-split .login-card { background: #fff; padding: 2rem; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
}

/* ===== Herkese açık paketler sayfası ===== */
.pk-page { min-height: 100vh; background: linear-gradient(180deg, #f6f5ff 0%, #fff 340px); color: #0f172a; font-family: Roboto, "Segoe UI", sans-serif; }
.pk-top { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; padding: 1.2rem 1.5rem; }
.pk-brand img { height: 38px; width: auto; display: block; }
.pk-top nav { display: flex; align-items: center; gap: 1.2rem; }
.pk-top nav a:not(.pk-btn) { color: #475569; text-decoration: none; font-weight: 500; }
.pk-top nav a:not(.pk-btn):hover { color: #5A4BE2; }
.pk-hero { text-align: center; max-width: 720px; margin: 2rem auto 2.4rem; padding: 0 1.5rem; }
.pk-hero h1 { font-size: 2.2rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 .8rem; }
.pk-hero p { color: #64748b; line-height: 1.6; margin: 0; }
.pk-hero b { color: #5A4BE2; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.pk-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e4e1fb; border-radius: 16px; padding: 1.8rem 1.6rem; box-shadow: 0 4px 18px rgba(90,75,226,.07); transition: transform .15s, box-shadow .15s, border-color .15s; }
.pk-card:hover { transform: translateY(-3px); border-color: #5A4BE2; box-shadow: 0 14px 32px rgba(90,75,226,.16); }
.pk-card h2 { font-size: 1.3rem; margin: 0 0 .4rem; }
.pk-desc { color: #64748b; font-size: .92rem; line-height: 1.5; margin: 0 0 1rem; }
.pk-price { font-size: 1.6rem; font-weight: 700; color: #5A4BE2; margin: .4rem 0 1.2rem; }
.pk-card ul { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-direction: column; gap: .7rem; flex: 1; color: #334155; }
.pk-card li { display: flex; align-items: center; gap: .65rem; }
.pk-tick { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background: rgba(90,75,226,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A4BE2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.pk-btn { display: inline-block; text-align: center; text-decoration: none; padding: .8rem 1.2rem; border-radius: 10px; background: linear-gradient(135deg, #4a3cd0, #6a5cf0); color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(90,75,226,.28); transition: transform .12s, box-shadow .12s; }
.pk-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(90,75,226,.36); }
.pk-btn-sm { padding: .5rem 1rem; font-size: .92rem; }
.pk-empty { text-align: center; color: #64748b; padding: 2rem; }
.pk-foot { max-width: 760px; margin: 2.6rem auto 0; padding: 0 1.5rem 3rem; text-align: center; color: #94a3b8; font-size: .86rem; line-height: 1.6; }

/* Kayıt sayfası (geniş form) */
.auth-split .login-card.auth-wide { max-width: 560px; }
.auth-split .auth-formgrid { max-width: none; gap: .6rem; }
.auth-split .auth-section { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5A4BE2; margin: .6rem 0 .1rem; }
.auth-split .auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.auth-split .auth-field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.auth-split .login-card select { padding: .75rem .9rem; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 1rem; margin-bottom: .55rem; background: #f8fafc; transition: border-color .15s, box-shadow .15s; }
.auth-split .login-card select:focus { outline: none; border-color: #5A4BE2; background: #fff; box-shadow: 0 0 0 4px rgba(90,75,226,.16); }
.auth-split .login-card small { color: #94a3b8; margin: -.2rem 0 .2rem; }
.auth-visual { position: sticky; top: 0; height: 100vh; box-sizing: border-box; align-self: start; }
@media (max-width: 700px) { .auth-split .auth-row { grid-template-columns: 1fr; } }
.pk-card { position: relative; }
.pk-card.pk-featured { border: 2px solid var(--pk-accent, #5A4BE2); box-shadow: 0 12px 34px rgba(90,75,226,.2); }
.pk-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--pk-accent, linear-gradient(135deg, #4a3cd0, #6a5cf0)); color: var(--pk-on, #fff); font-size: .78rem; font-weight: 700; letter-spacing: .03em; padding: .3rem .85rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(90,75,226,.35); }
