/* ============================================================
   REVOZOHAK - ACCOUNT (LOGIN / REGISTER / DASHBOARD)
   Koyu tema, marka gradyanı ile profesyonel UI
   ============================================================ */

:root {
    --bg: #0d0f1a;
    --card: #141728;
    --card-2: #191d31;
    --border: rgba(255, 255, 255, 0.1);
    --text: #e8eaf2;
    --muted: #9aa0b8;
    --grad: linear-gradient(135deg, #ff3d5a, #ff7a18);
    --accent: #ff7a18;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

/* ============================================================
   ARKA PLAN (login/register)
   ============================================================ */
.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
}

.auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(255, 61, 90, 0.16), transparent),
        radial-gradient(ellipse 60% 40% at 90% 110%, rgba(255, 122, 24, 0.14), transparent);
}

.auth-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}
.glow-1 { width: 340px; height: 340px; background: rgba(255, 61, 90, 0.28); top: -80px; left: -60px; }
.glow-2 { width: 420px; height: 420px; background: rgba(255, 122, 24, 0.24); bottom: -120px; right: -80px; }

/* ============================================================
   AUTH DÜZENİ
   ============================================================ */
.auth-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(1000px, 100%);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* --- Sol marka paneli --- */
.auth-brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: 44px 46px;
    background:
        linear-gradient(160deg, rgba(255, 61, 90, 0.08), rgba(255, 122, 24, 0.05)),
        var(--card);
    border-right: 1px solid var(--border);
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
    width: fit-content;
}

.logo-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 0 12px rgba(255, 61, 90, 0.8);
}

.brand-tagline h1 {
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.12;
    font-weight: 900;
    margin: 18px 0 14px;
    color: #fff;
}

.brand-tagline .grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.brand-tagline p {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 380px;
}

.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 122, 24, 0.5);
    border-radius: 999px;
    background: rgba(255, 122, 24, 0.1);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffb066;
    text-transform: uppercase;
}
.slide-tag::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 0 10px rgba(255, 122, 24, 0.9);
}

.brand-foot { color: #5c6280; font-size: 13px; }

/* --- Sağ form kartı --- */
.auth-card {
    padding: 44px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-head { text-align: center; margin-bottom: 26px; }

.card-icon {
    width: 58px; height: 58px;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 61, 90, 0.16), rgba(255, 122, 24, 0.16));
    border: 1px solid rgba(255, 122, 24, 0.35);
    color: #ff9d4d;
    font-size: 24px;
}

.card-head h2 { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.card-head p  { color: var(--muted); font-size: 14.5px; }

/* --- Form --- */
.field { margin-bottom: 18px; }

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #c9cde0;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap > i {
    position: absolute;
    left: 16px;
    color: #6b718f;
    font-size: 15px;
    pointer-events: none;
}

.input-wrap input {
    width: 100%;
    padding: 14px 46px 14px 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.input-wrap input::placeholder { color: #5c6280; }

.input-wrap input:focus {
    border-color: rgba(255, 122, 24, 0.6);
    background: rgba(255, 122, 24, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.14);
}

.toggle-pass {
    position: absolute;
    right: 10px;
    width: 34px; height: 34px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #6b718f;
    cursor: pointer;
    font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.2s, background 0.2s;
}
.toggle-pass:hover { color: #ff9d4d; background: rgba(255, 122, 24, 0.1); }

.field-hint { display: block; margin-top: 6px; color: #5c6280; font-size: 12.5px; }
.field-hint code { color: #ffb066; background: rgba(255, 122, 24, 0.08); padding: 1px 5px; border-radius: 5px; }

.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 22px;
    font-size: 13.5px;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b9bdd0;
    cursor: pointer;
}

.remember input { accent-color: #ff7a18; width: 15px; height: 15px; cursor: pointer; }

.muted { color: #6b718f; }

/* --- Buton --- */
.btn-auth {
    width: 100%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border: none;
    border-radius: 14px;
    background: var(--grad);
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(255, 61, 90, 0.4);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn-auth:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 61, 90, 0.55); }
.btn-auth:active { transform: translateY(0); }
.btn-auth:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.btn-spinner {
    width: 18px; height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* --- Mesaj kutusu --- */
.auth-msg {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
    border: 1px solid;
}

.auth-msg.error {
    background: rgba(255, 61, 90, 0.1);
    border-color: rgba(255, 61, 90, 0.4);
    color: #ff8ba0;
}

.auth-msg.success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

/* --- Alt bağlantılar --- */
.card-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0 18px;
    color: #5c6280;
    font-size: 12.5px;
}
.card-divider::before, .card-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.switch-line { text-align: center; color: var(--muted); font-size: 14.5px; }
.switch-line a { color: #ff9d4d; font-weight: 700; }
.switch-line a:hover { text-decoration: underline; }

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 22px auto 0;
    width: fit-content;
    color: #6b718f;
    font-size: 13.5px;
    transition: color 0.2s;
}
.back-home:hover { color: #ff9d4d; }

/* ============================================================
   DASHBOARD - SIDEBARLI MODERN PANEL
   ============================================================ */
.dash-body {
    background:
        radial-gradient(900px 420px at 88% -6%, rgba(255, 61, 90, 0.10), transparent 60%),
        radial-gradient(760px 400px at -6% 106%, rgba(255, 122, 24, 0.08), transparent 60%),
        linear-gradient(180deg, #0c0e18 0%, #0a0c14 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.dash-shell {
    display: flex;
    min-height: 100vh;
}

/* --- Kaydirma cubuklari --- */
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.10); border-radius: 999px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255, 122, 24, 0.45); }
.sidebar { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent; }

/* --- Sidebar --- */
.sidebar {
    width: 264px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 26px 16px;
    background: linear-gradient(180deg, #12142480, #0e102080);
    background-color: #101322;
    backdrop-filter: blur(8px);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.28);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar .brand-logo { padding: 0 10px; margin-bottom: -6px; }
.sidebar .brand-logo::after {
    content: 'v2.9';
    margin-left: auto;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 122, 24, 0.12);
    border: 1px solid rgba(255, 122, 24, 0.32);
    color: #ff9d4d;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.side-label {
    padding: 0 12px;
    margin: 14px 0 6px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #4e5470;
    text-transform: uppercase;
}
.side-label:first-child { margin-top: 0; }
.side-label-2 { margin-top: 18px; }

.side-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 12px;
    color: #9aa0b8;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.side-link i { width: 20px; text-align: center; font-size: 15px; color: #6b718f; transition: color 0.2s, transform 0.2s; }

.side-link:hover { background: rgba(255, 255, 255, 0.05); color: #fff; transform: translateX(3px); }
.side-link:hover i { color: #ff9d4d; }

.side-link.active {
    background: linear-gradient(135deg, rgba(255, 61, 90, 0.16), rgba(255, 122, 24, 0.14));
    border-color: rgba(255, 122, 24, 0.32);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 61, 90, 0.14);
}
.side-link.active::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 20%;
    bottom: 20%;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(--grad);
    box-shadow: 0 0 12px rgba(255, 61, 90, 0.8);
}
.side-link.active i { color: #ff7a18; }

.side-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 61, 90, 0.08), rgba(255, 122, 24, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.side-avatar {
    width: 38px; height: 38px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 6px 16px rgba(255, 61, 90, 0.35);
}

.side-user-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.side-user-name { color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user-plan { font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.side-user-plan.premium { color: #ffb066; }
.side-user-plan.free { color: #8b90a8; }

.side-logout {
    width: 32px; height: 32px;
    flex-shrink: 0;
    border: 1px solid transparent;
    border-radius: 10px;
    background: rgba(255, 61, 90, 0.1);
    color: #ff8ba0;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.side-logout:hover { background: rgba(255, 61, 90, 0.25); border-color: rgba(255, 61, 90, 0.4); transform: translateY(-2px); }

/* --- İçerik --- */
.dash-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.dash-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(12, 14, 24, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-crumb {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #4e5470;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.topbar-crumb::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 0 8px rgba(255, 61, 90, 0.8);
}
.topbar-title h1 { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.3px; }

.topbar-right { display: flex; align-items: center; gap: 14px; }

.online-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.08);
    color: #4ade80;
    font-size: 12.5px;
    font-weight: 700;
}
.online-chip i { font-size: 8px; animation: pulse 1.6s ease infinite; }

.topbar-avatar {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 122, 24, 0.4);
    background: linear-gradient(135deg, rgba(255, 61, 90, 0.2), rgba(255, 122, 24, 0.2));
    color: #ffb066;
    font-weight: 800;
    box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}
.topbar-avatar:hover { box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.2); transform: translateY(-2px); }

.dash-main {
    max-width: none;
    width: 100%;
    padding: 30px 40px 80px;
}

/* --- View gecisleri --- */
.view { animation: panelIn 0.3s ease; }
.view[hidden] { display: none; }

/* --- Hosgeldin seridi --- */
.dash-hello {
    position: relative;
    overflow: hidden;
    padding: 28px 30px;
    border-radius: 20px;
    background:
        radial-gradient(500px 160px at 92% -30%, rgba(255, 61, 90, 0.18), transparent 70%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.dash-hello::after {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--grad);
}
.dash-hello h1 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.8px;
    margin-bottom: 8px;
}
.dash-hello .grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.dash-hello p { color: var(--muted); font-size: 15px; max-width: 640px; line-height: 1.7; }

/* --- Metrik bandi: ayri stat kartlari --- */
.metric-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0 30px;
}

.metric {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    min-width: 0;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
    overflow: hidden;
}
.metric::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 122, 24, 0.55), transparent);
    opacity: 0;
    transition: opacity 0.22s;
}
.metric:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 122, 24, 0.38);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}
.metric:hover::after { opacity: 1; }

.metric-ico {
    width: 44px; height: 44px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(255, 61, 90, 0.14), rgba(255, 122, 24, 0.14));
    border: 1px solid rgba(255, 122, 24, 0.30);
    color: #ff7a18;
    font-size: 16px;
}
.metric-ico.ico-warn { color: #fbbf24; border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.08); }

.metric-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.metric-label { color: #6b718f; font-size: 11px; font-weight: 800; letter-spacing: 0.9px; text-transform: uppercase; white-space: nowrap; }
.metric-value {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.metric-value small { font-size: 12px; font-weight: 600; color: #8b90a8; }
.metric-hwid { font-size: 14px; font-weight: 700; color: #c9cde0; }
.metric-date { font-size: 14px; font-weight: 700; color: #c9cde0; }

@media (max-width: 1200px) {
    .metric-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .metric-band { grid-template-columns: 1fr; gap: 12px; }
}

/* --- Panel (ortak kart) --- */
.panel {
    padding: 24px 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    margin-top: 18px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
    transition: border-color 0.25s, box-shadow 0.25s;
}
.panel:hover { border-color: rgba(255, 255, 255, 0.12); }

.panel h3 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: -0.2px; }
.panel p { color: var(--muted); font-size: 14px; }
.panel p b { color: #ffb066; }

.panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.panel-pct {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* --- Progress --- */
.progress {
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}
.progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff3d5a, #ff7a18);
    background-size: 200% 100%;
    box-shadow: 0 0 14px rgba(255, 122, 24, 0.5);
    transition: width 0.6s ease;
    animation: progressShine 2.6s linear infinite;
}
@keyframes progressShine { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }
.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #565c78;
    font-size: 12px;
}

/* --- İndirme --- */
.dl-hero {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 30px 32px;
    background: linear-gradient(120deg, rgba(255, 61, 90, 0.1), rgba(255, 122, 24, 0.1));
    border: 1px solid rgba(255, 122, 24, 0.3);
    border-radius: 20px;
    flex-wrap: wrap;
}

.dl-hero-icon {
    width: 60px; height: 60px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    background: var(--grad);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 10px 26px rgba(255, 61, 90, 0.4);
}

.dl-version {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 6px;
}

.dl-hero h2 { font-size: 22px; font-weight: 800; color: #fff; }
.dl-hero p { color: var(--muted); font-size: 13.5px; }

.dl-btn {
    margin-left: auto;
    width: auto;
    padding: 14px 30px;
    font-size: 14px;
}

/* --- Adımlar --- */
.steps { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.steps li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #c6cad9;
    font-size: 14px;
}
.steps li span {
    width: 30px; height: 30px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 61, 90, 0.2), rgba(255, 122, 24, 0.2));
    border: 1px solid rgba(255, 122, 24, 0.35);
    color: #ffb066;
    font-weight: 800;
    font-size: 13px;
}

/* --- Tablo --- */
.table-wrap {
    margin-top: 26px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    overflow-x: auto;
}

.data-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.data-table th {
    text-align: left;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    color: #6b718f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.data-table td {
    padding: 13px 18px;
    border-top: 1px solid var(--border);
    color: #c6cad9;
    font-size: 13.5px;
}
.data-table tr:hover td { background: rgba(255, 255, 255, 0.03); }

.mono { font-family: Consolas, 'Courier New', monospace; font-size: 12.5px; }
.muted-sm { color: #6b718f; font-size: 12.5px; }

.tag {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
}
.tag-red { background: rgba(255, 61, 90, 0.12); border: 1px solid rgba(255, 61, 90, 0.4); color: #ff8ba0; }
.tag-orange { background: rgba(255, 122, 24, 0.12); border: 1px solid rgba(255, 122, 24, 0.4); color: #ffb066; }
.tag-yellow { background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.35); color: #fde68a; }
.tag-premium { background: rgba(255, 122, 24, 0.12); border: 1px solid rgba(255, 122, 24, 0.4); color: #ffb066; }
.tag-free { background: rgba(160, 165, 185, 0.1); border: 1px solid rgba(160, 165, 185, 0.3); color: #a8adc5; }

.empty-state {
    margin-top: 26px;
    padding: 50px 30px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
}
.empty-state i { font-size: 40px; color: #4ade80; margin-bottom: 14px; }
.empty-state h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); font-size: 14px; }

/* --- 2 kolonlu genel bakış düzeni --- */
.overview-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 18px;
    align-items: start;
}

.ov-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

@media (max-width: 1120px) {
    .overview-grid { grid-template-columns: 1fr; }
}

/* --- Panel başlık satırı --- */
.panel-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.panel-head-row h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 0; font-size: 15.5px; }
.panel-head-row h3 i { color: #ff7a18; font-size: 15px; }

.panel-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff9d4d;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}
.panel-link:hover { color: #ffd7a8; }

/* --- Mini tespit listesi --- */
.mini-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.06);
    border: 1px dashed rgba(34, 197, 94, 0.35);
    color: #8b90a8;
    font-size: 14px;
}
.mini-empty i { color: #4ade80; font-size: 20px; }

.mini-detections { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.mini-detections li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.15s;
}
.mini-detections li:hover { background: rgba(255, 255, 255, 0.05); }

.mini-dot { width: 9px; height: 9px; flex-shrink: 0; border-radius: 50%; }
.dot-red { background: #ff3d5a; box-shadow: 0 0 8px rgba(255, 61, 90, 0.7); }
.dot-orange { background: #ff7a18; box-shadow: 0 0 8px rgba(255, 122, 24, 0.7); }
.dot-yellow { background: #fbbf24; box-shadow: 0 0 8px rgba(251, 191, 36, 0.7); }

.mini-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mini-title { color: #e8eaf2; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-sub { color: #6b718f; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-date { color: #565c78; font-size: 12px; flex-shrink: 0; }

/* --- Bar listesi (tespit dağılımı) --- */
.bar-list { display: flex; flex-direction: column; gap: 14px; }
.bar-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.bar-name { color: #c6cad9; font-size: 13.5px; font-weight: 600; }
.bar-count { color: #ff9d4d; font-size: 13.5px; font-weight: 800; }
.bar-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--grad);
    box-shadow: 0 0 10px rgba(255, 122, 24, 0.4);
    animation: growBar 0.6s ease;
}
@keyframes growBar { from { width: 0 !important; } }

/* --- Hesap sağlığı --- */
.health-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.health-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #c6cad9;
    font-size: 13.5px;
}
.health-list li i { font-size: 15px; }
.health-list li b { color: #fff; font-weight: 700; }
.health-ok i { color: #4ade80; }
.health-warn i { color: #fbbf24; }

/* --- Hızlı işlemler --- */
.quick-actions { display: flex; flex-direction: column; gap: 8px; }
.qa-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: #c6cad9;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.qa-btn i { width: 18px; text-align: center; color: #ff7a18; font-size: 15px; }
.qa-btn:hover { background: rgba(255, 122, 24, 0.08); border-color: rgba(255, 122, 24, 0.4); color: #fff; }

.qa-primary {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.qa-primary i { color: #fff; }
.qa-primary:hover { background: var(--grad); color: #fff; filter: brightness(1.1); }

/* --- Loader mini kart --- */
.panel-accent {
    border-color: rgba(255, 122, 24, 0.25);
    background: linear-gradient(120deg, rgba(255, 61, 90, 0.07), rgba(255, 122, 24, 0.07));
}

.loader-mini { display: flex; align-items: center; gap: 16px; }
.loader-mini-icon {
    width: 52px; height: 52px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 15px;
    background: var(--grad);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 22px rgba(255, 61, 90, 0.4);
}
.loader-mini h4 { color: #fff; font-size: 16px; margin: 4px 0 3px; }
.loader-mini p { color: var(--muted); font-size: 12.5px; }

/* --- Küçük istatistik değeri --- */
.stat-small { font-size: 14.5px; font-weight: 700; color: #c9cde0; }

/* --- Profil --- */
.profile-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 26px;
    background: linear-gradient(120deg, rgba(255, 61, 90, 0.08), rgba(255, 122, 24, 0.08));
    border: 1px solid rgba(255, 122, 24, 0.3);
    border-radius: 18px;
    flex-wrap: wrap;
}

.profile-avatar {
    width: 58px; height: 58px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    background: var(--grad);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.profile-card h3 { color: #fff; font-size: 19px; margin-bottom: 5px; }

.profile-plan { margin-left: auto; text-align: right; }
.profile-days { display: block; color: #fff; font-size: 17px; font-weight: 800; margin-top: 3px; }

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: #e8eaf2;
    font-size: 14px;
}
.detail-item .mono { font-size: 12px; word-break: break-all; color: #c9cde0; }

/* --- Load Data sayfası --- */
.data-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

@media (max-width: 1120px) {
    .data-grid { grid-template-columns: 1fr; }
}

.data-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.data-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.data-item-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e8eaf2;
    font-size: 14px;
    font-weight: 600;
}
.data-item-name i { color: #ff7a18; font-size: 14px; }

/* --- Real İnventory sayfası --- */
.inv-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin: 26px 0;
}

.inv-stat {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform 0.2s, border-color 0.2s;
}
.inv-stat:hover { transform: translateY(-3px); border-color: rgba(255, 122, 24, 0.35); }

.inv-empty { margin-top: 0; }

/* --- Envanter filtre çubuğu + grid --- */
.inv-toolbar {
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.inv-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-wrap: wrap;
}

.inv-search {
    position: relative;
    display: flex;
    align-items: center;
}
.inv-search i {
    position: absolute;
    left: 13px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}
.inv-search input {
    width: 220px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 9px 12px 9px 34px;
    color: #e8eaf2;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.2s;
}
.inv-search input:focus { border-color: rgba(255, 122, 24, 0.6); }
.inv-search input::placeholder { color: rgba(255, 255, 255, 0.3); }

.inv-select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 9px 12px;
    color: #e8eaf2;
    font-size: 13.5px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}
.inv-select:focus { border-color: rgba(255, 122, 24, 0.6); }
.inv-select option { background: #161a29; color: #e8eaf2; }

.inv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 4px;
}

.inv-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
    display: flex;
    flex-direction: column;
}
.inv-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 122, 24, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.inv-thumb {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 30%, rgba(255, 122, 24, 0.07), rgba(0, 0, 0, 0.25));
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.inv-thumb img {
    max-width: 88%;
    max-height: 84px;
    object-fit: contain;
    image-rendering: auto;
}
.inv-meta {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.inv-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #e8eaf2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.inv-cat {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.inv-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.inv-loading .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 122, 24, 0.15);
    border-top-color: #ff7a18;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Load Data: waiting for loader ekranı --- */
.loaddata-wait {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 62vh;
    text-align: center;
    gap: 6px;
}
.loaddata-logo {
    width: 170px;
    height: auto;
    margin-bottom: 22px;
    filter: drop-shadow(0 10px 30px rgba(255, 122, 24, 0.25));
    animation: logoFloat 3s ease-in-out infinite;
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.loaddata-wait h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #e8eaf2;
    text-transform: lowercase;
    letter-spacing: 0.4px;
}
.ld-dots::after {
    content: '';
    animation: ldDots 1.2s steps(4, end) infinite;
}
@keyframes ldDots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
}
.loaddata-wait p {
    margin: 6px 0 26px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
}
.ld-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 122, 24, 0.15);
    border-top-color: #ff7a18;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.ld-status {
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.ld-status.ok {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.35);
    color: #7ce7a8;
}
.ld-status.ok i { color: #2ed573; }
.ld-status.info {
    background: rgba(56, 142, 255, 0.08);
    border: 1px solid rgba(56, 142, 255, 0.3);
    color: #9cc4ff;
}
.ld-status.info i { color: #388eff; }
.ld-status.error {
    background: rgba(255, 90, 90, 0.1);
    border: 1px solid rgba(255, 90, 90, 0.35);
    color: #ff9d9d;
}
.ld-status.error i { color: #ff5a5a; }

/* --- Ekleme ipucu + hover overlay --- */
.inv-hint {
    margin: 14px 2px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    gap: 8px;
}
.inv-hint b { color: #ff7a18; }

.inv-item { cursor: pointer; position: relative; }
.inv-add-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: rgba(13, 15, 26, 0.82);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    opacity: 0;
    transition: opacity 0.18s;
}
.inv-add-overlay i { color: #ff7a18; }
.inv-item:hover .inv-add-overlay { opacity: 1; }

/* --- Benim Envanterim --- */
.my-inv {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.my-inv-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.18s;
}
.my-inv-item:hover { border-color: rgba(255, 122, 24, 0.35); }
.my-inv-thumb {
    width: 84px;
    height: 48px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}
.my-inv-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.my-inv-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.my-inv-name {
    font-size: 14px;
    font-weight: 600;
    color: #e8eaf2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.my-inv-days {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 122, 24, 0.1);
    border: 1px solid rgba(255, 122, 24, 0.25);
    border-radius: 10px;
    min-width: 58px;
}
.my-inv-days-num { font-size: 18px; font-weight: 700; color: #ff7a18; line-height: 1.1; }
.my-inv-days-lbl { font-size: 10.5px; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.5px; }
.my-inv-del {
    flex: none;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.18s;
}
.my-inv-del:hover { color: #ff5a5a; border-color: rgba(255, 90, 90, 0.4); background: rgba(255, 90, 90, 0.08); }

/* --- Add Inventory modal --- */
.inv-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(5, 6, 12, 0.75);
    backdrop-filter: blur(6px);
    animation: fadeIn 0.18s ease;
}
/* hidden attribute CSS display:flex'i ezmesin - modal gizliyken görünmesin */
.inv-modal-overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.inv-modal {
    position: relative;
    width: 100%;
    max-width: 430px;
    background: linear-gradient(180deg, #171b2c, #10131f);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
    animation: popIn 0.2s ease;
}
@keyframes popIn { from { transform: scale(0.94) translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

.inv-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.18s;
}
.inv-modal-close:hover { background: rgba(255, 90, 90, 0.75); color: #fff; }

.inv-modal-img {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 25%, rgba(255, 122, 24, 0.12), rgba(0, 0, 0, 0.45));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.inv-modal-img img { max-width: 78%; max-height: 160px; object-fit: contain; }

.inv-modal-body { padding: 22px 24px 26px; }
.inv-modal-body h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
.inv-modal-body .inv-cat {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 122, 24, 0.12);
    border: 1px solid rgba(255, 122, 24, 0.25);
    border-radius: 20px;
    color: #ff7a18;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 10.5px;
}
.inv-modal-desc { margin: 12px 0 18px; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.5); }

.inv-days { margin-bottom: 18px; }
.inv-days-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 9px;
}
.inv-days-btns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
    margin-bottom: 9px;
}
.inv-days-btns .dbtn {
    padding: 9px 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s;
}
.inv-days-btns .dbtn:hover { border-color: rgba(255, 122, 24, 0.5); }
.inv-days-btns .dbtn.active {
    background: linear-gradient(135deg, #ff7a18, #ff3d3d);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 90, 40, 0.35);
}
#inv-days-custom {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #e8eaf2;
    font-size: 13.5px;
    outline: none;
}
#inv-days-custom:focus { border-color: rgba(255, 122, 24, 0.6); }

.inv-add-btn { width: 100%; justify-content: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .auth-card { padding: 36px 28px; }

    .dash-shell { flex-direction: column; }
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .side-nav { flex-direction: row; flex-wrap: wrap; flex: none; }
    .side-label { display: none; }
    .side-user { display: none; }
    .dash-main { padding: 24px 18px 60px; }
    .dash-topbar { padding: 16px 18px; }
    .dl-btn { margin-left: 0; width: 100%; }
    .dl-hero { flex-direction: column; align-items: flex-start; }
    .profile-plan { margin-left: 0; text-align: left; }
    .online-chip { display: none; }
}

/* ============================================================
   GAME SELECTOR
   ============================================================ */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.game-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.game-card:hover {
    border-color: rgba(255, 122, 24, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.game-card.selected {
    border-color: #ff7a18;
    background: rgba(255, 122, 24, 0.08);
    box-shadow: 0 0 0 2px rgba(255, 122, 24, 0.2);
}

.game-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 122, 24, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ff7a18;
}

.game-card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.game-card-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.game-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feat {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.feat i {
    font-size: 10px;
    color: #ff7a18;
}

.game-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.game-files-list {
    margin-top: 12px;
}

.game-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    color: var(--muted);
    font-size: 14px;
}

.btn-sm {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-sm:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 122, 24, 0.4);
}

.btn-dl {
    text-decoration: none;
}

.btn-dl:hover {
    background: rgba(255, 122, 24, 0.15);
    border-color: #ff7a18;
    color: #ff7a18;
}

.tag-green {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.tag-gray {
    background: rgba(154, 160, 184, 0.12);
    color: #9aa0b8;
    border: 1px solid rgba(154, 160, 184, 0.2);
}

.tag-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ============================================================
   LAUNCH BUTTON
   ============================================================ */
.launch-area {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.btn-launch {
    padding: 14px 48px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #ff3d5a, #ff7a18);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(255, 61, 90, 0.3);
}

.btn-launch:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 61, 90, 0.45);
}

.btn-launch:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.launch-status {
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    max-width: 400px;
}

.launch-status.ok {
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34d399;
}

.launch-status.info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.launch-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ============================================================
   LOAD DATA - GAME SELECT
   ============================================================ */
.ld-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.ld-game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    height: 130px;
    background: var(--card);
}

.ld-game-card:hover {
    border-color: rgba(255, 122, 24, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.ld-game-card.selected {
    border-color: #ff7a18;
    box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.2);
}

.ld-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center;
}

.ld-game-card .ld-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px 14px;
}

.ld-card-overlay h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.ld-card-overlay .ld-card-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ld-card-tag.active {
    background: rgba(52, 211, 153, 0.25);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.ld-card-tag.soon {
    background: rgba(154, 160, 184, 0.15);
    color: #9aa0b8;
    border: 1px solid rgba(154, 160, 184, 0.2);
}

.ld-game-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Detay paneli */
.ld-detail-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-top: 14px;
    display: none;
}

.ld-detail-panel.visible {
    display: block;
}

.ld-detail-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.ld-detail-header img {
    width: 64px;
    height: 42px;
    object-fit: cover;
    border-radius: 8px;
}

.ld-detail-header .ld-detail-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.ld-detail-header .ld-detail-info p {
    font-size: 11px;
    color: var(--muted);
    margin: 3px 0 0;
}

.ld-detail-files {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.ld-file-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ld-file-item .ld-file-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.ld-file-icon.dll {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

.ld-file-icon.sys {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.ld-file-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

.ld-file-label {
    font-size: 10px;
    color: var(--muted);
}

.ld-launch-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
}
