@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;700;800;900&display=swap');

:root {
    --bg:           #05080f;
    --bg2:          #0a1120;
    --card-bg:      rgba(255,255,255,0.035);
    --card-border:  rgba(120,170,255,0.14);
    --primary:      #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-glow: rgba(59,130,246,0.28);
    --accent:       #60a5fa;
    --text:         #eaf1ff;
    --muted:        #93a4c0;
    --muted2:       #6b7c99;
    --glass:        rgba(5,8,15,0.82);
    --input-bg:     rgba(255,255,255,0.04);
    --success:      #22c55e;
    --warning:      #f59e0b;
    --discord:      #5865F2;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* page-body-full body'nin flex child'ı olarak büyür */
.page-body-full {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* ── Arka plan efektleri ── */
.bg-glow {
    position: fixed;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 65%);
    top: -300px; left: 50%;
    transform: translateX(-50%);
    z-index: 0; pointer-events: none;
}
.bg-glow2 {
    position: fixed;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 65%);
    bottom: 0; right: -100px;
    z-index: 0; pointer-events: none;
}

/* ── Navbar ── */
header {
    background: var(--glass);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    position: sticky; top: 0; z-index: 1000;
}
.nav-container {
    max-width: 1280px; margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem;
}
.logo {
    text-decoration: none;
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0;
}
.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 16px; color: #fff;
    font-family: 'Outfit', sans-serif;
}
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800; font-size: 1.3rem; color: var(--text);
    letter-spacing: -0.5px;
}
.logo-text span { color: var(--primary); }
.nav-links {
    display: flex; gap: 0.3rem; list-style: none;
}
.nav-links a {
    color: var(--muted); text-decoration: none;
    font-weight: 500; font-size: 0.9rem;
    padding: 0.5rem 0.9rem; border-radius: 8px;
    transition: all 0.2s;
    display: flex; align-items: center; gap: 0.4rem;
}
.nav-links a i { font-size: 0.85rem; }
.nav-links a:hover, .nav-links a.active {
    color: var(--text); background: rgba(255,255,255,0.06);
}

/* Sayaç animasyonu */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.stat-num.counted { animation: countUp 0.5s ease forwards; }
.nav-buttons { display: flex; gap: 0.7rem; align-items: center; }

/* ── Butonlar ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem; padding: 0.6rem 1.2rem; border-radius: 8px;
    font-weight: 600; font-family: 'Outfit', sans-serif;
    text-decoration: none; transition: all 0.25s;
    cursor: pointer; border: none; font-size: 0.9rem;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,99,235,0.4);
    filter: brightness(1.1);
}
.btn-outline {
    background: transparent; color: var(--text);
    border: 1px solid var(--card-border);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}
.btn-discord { background: var(--discord); color: #fff; width: 100%; }
.btn-discord:hover { background: #4752C4; transform: translateY(-2px); }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }

/* ── Tipografi ── */
h1,h2,h3,h4,h5 { font-family: 'Outfit', sans-serif; color: var(--text); }
h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900; line-height: 1.1;
    background: linear-gradient(135deg, #fff 30%, #a1a1aa);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

/* ── Layout ── */
main {
    flex: 1;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Admin/Panel sayfaları — main dışında, tam genişlik */
.page-body-full {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Normal sayfalar içerik wrapper */
.page-content-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
}
.main-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 3rem 2rem;
}
/* Hero tam genişlik, içi container ile sınırlı */
.hero-nourse {
    max-width: 1280px; margin: 0 auto;
    padding: 5rem 2rem 3rem;
    position: relative;
}
.home-section {
    max-width: 1280px; margin: 0 auto;
    padding: 4rem 2rem;
    border-top: 1px solid var(--card-border);
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
section { margin-bottom: 5rem; }

/* Normal sayfalar (auth, store, profil vb.) için padding */
.auth-wrap, .store-header, .store-filters, .grid.grid-4,
.dashboard, .page-content-wrap {
    max-width: 1280px; margin-left: auto; margin-right: auto;
    padding-left: 2rem; padding-right: 2rem;
}
.auth-wrap { padding-top: 2rem; padding-bottom: 2rem; }
.store-header { padding-top: 3rem; padding-bottom: 2rem; }

/* ── Hero ── */
.hero {
    text-align: center;
    padding: 7rem 1rem 5rem;
    position: relative;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(37,99,235,0.1);
    border: 1px solid rgba(37,99,235,0.25);
    border-radius: 50px; color: var(--primary);
    font-size: 0.85rem; font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero p {
    color: var(--muted); font-size: 1.15rem;
    max-width: 580px; margin: 1rem auto 2.5rem;
    line-height: 1.8;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 3rem; justify-content: center;
    margin-top: 4rem; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem; font-weight: 900; color: var(--primary);
}
.hero-stat .label { color: var(--muted); font-size: 0.85rem; }

/* ── Grid ── */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }

/* ── Kartlar ── */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px; padding: 1.8rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative; overflow: hidden;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.14);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.card-img {
    width: 100%; border-radius: 10px;
    aspect-ratio: 16/9; object-fit: cover;
    margin-bottom: 1.2rem;
    border: 1px solid var(--card-border);
}
.card-tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: rgba(37,99,235,0.1);
    color: var(--primary); border-radius: 50px;
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.card-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem; font-weight: 800; color: var(--success);
}

/* ── Formlar ── */
.form-group { margin-bottom: 1.4rem; }
.form-group label {
    display: block; margin-bottom: 0.5rem;
    font-weight: 500; font-size: 0.9rem; color: var(--muted);
}
.form-control {
    width: 100%; padding: 0.75rem 1rem;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px; color: var(--text);
    font-family: 'Inter', sans-serif; font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-control:disabled { opacity: 0.5; cursor: not-allowed; }
.form-control::placeholder { color: var(--muted2); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control.native-select,
.admin-main select.form-control {
    display: block !important;
    appearance: auto;
    -webkit-appearance: menulist;
    cursor: pointer;
    min-height: 38px;
}
.admin-main .card { overflow: visible; }
.admin-main .form-group { overflow: visible; }
.support-page .ticket-customer {
    border-left: 4px solid #22c55e !important;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.08) !important;
}

.auth-wrap {
    max-width: 460px; margin: 2rem auto;
}
.auth-wrap .card { padding: 2.5rem; }
.auth-title {
    text-align: center; margin-bottom: 0.5rem;
    font-size: 1.8rem;
}
.auth-sub {
    text-align: center; color: var(--muted);
    font-size: 0.9rem; margin-bottom: 2rem;
}
.divider {
    display: flex; align-items: center;
    text-align: center; margin: 1.5rem 0;
    color: var(--muted2); font-size: 0.8rem;
}
.divider::before, .divider::after {
    content: ''; flex: 1;
    border-bottom: 1px solid var(--card-border);
}
.divider::before { margin-right: .6em; }
.divider::after  { margin-left:  .6em; }

/* ── Alert ── */
.alert {
    padding: 0.9rem 1.2rem; border-radius: 8px;
    margin-bottom: 1.2rem; font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.6rem;
}
.alert-error {
    background: rgba(37,99,235,0.1);
    border: 1px solid rgba(37,99,235,0.3);
    color: #fca5a5;
}
.alert-success {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    color: #86efac;
}
.alert-info {
    background: rgba(88,101,242,0.1);
    border: 1px solid rgba(88,101,242,0.3);
    color: #a5b4fc;
}

/* ── Profil dropdown ── */
.profile-menu { position: relative; }
.profile-toggle {
    display: flex; align-items: center; gap: 0.6rem;
    cursor: pointer; padding: 0.4rem 0.8rem;
    border-radius: 8px; transition: background 0.2s;
    border: 1px solid var(--card-border);
    user-select: none;
}
.profile-toggle:hover { background: rgba(255,255,255,0.05); }
.profile-avatar {
    width: 32px; height: 32px;
    border-radius: 50%; object-fit: cover;
    border: 2px solid var(--primary);
}
.profile-name { font-size: 0.9rem; font-weight: 600; }
.dropdown {
    display: none; position: absolute;
    top: calc(100% + 8px); right: 0;
    background: #13141a;
    border: 1px solid var(--card-border);
    border-radius: 10px; width: 210px;
    padding: 0.5rem; box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    z-index: 9999;
}
.dropdown.open { display: block; animation: fadeDown 0.2s ease; }
@keyframes fadeDown {
    from { opacity:0; transform: translateY(-8px); }
    to   { opacity:1; transform: translateY(0); }
}
.dropdown a {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.7rem 0.9rem; color: var(--text);
    text-decoration: none; border-radius: 7px;
    font-size: 0.88rem; transition: background 0.2s;
}
.dropdown a:hover { background: rgba(255,255,255,0.06); }
.dropdown a.danger { color: #f87171; }
.dropdown-divider { border-top: 1px solid var(--card-border); margin: 0.4rem 0; }

/* ── Sidebar (profil/envanter) ── */
.dashboard { display: flex; gap: 2rem; align-items: flex-start; flex-wrap: wrap; }
.sidebar { flex: 0 0 240px; }
.sidebar-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    border: 3px solid var(--primary); object-fit: cover;
    display: block; margin: 0 auto 1rem;
}
.sidebar-name { text-align: center; font-size: 1.1rem; font-weight: 700; }
.sidebar-role {
    text-align: center; color: var(--muted);
    font-size: 0.8rem; margin-bottom: 1.5rem;
}
.sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.7rem 1rem; border-radius: 8px;
    color: var(--muted); text-decoration: none;
    font-size: 0.9rem; transition: all 0.2s;
}
.sidebar-nav a:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.sidebar-nav a.active { background: rgba(37,99,235,0.1); color: var(--primary); font-weight: 600; }
.sidebar-nav a.danger { color: #f87171; }
.sidebar-nav .divider { border-top: 1px solid var(--card-border); margin: 0.5rem 0; }
.dashboard-content { flex: 1; min-width: 0; }

/* ── Mağaza ── */
.store-header { text-align: center; padding: 3rem 0 2rem; }
.store-filters {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
    justify-content: center; margin-bottom: 2rem;
}
.filter-btn {
    padding: 0.4rem 1rem; border-radius: 50px;
    border: 1px solid var(--card-border);
    background: transparent; color: var(--muted);
    cursor: pointer; font-size: 0.85rem; font-weight: 500;
    transition: all 0.2s; font-family: 'Inter', sans-serif;
}
.filter-btn:hover, .filter-btn.active {
    background: rgba(37,99,235,0.1);
    border-color: rgba(37,99,235,0.3);
    color: var(--primary);
}

/* ── Ürün detay ── */
.product-detail { display: grid; gap: 3rem; align-items: start; }
.product-img {
    width: 100%; border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.product-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.meta-item {
    display: flex; align-items: center; gap: 0.4rem;
    color: var(--muted); font-size: 0.85rem;
}
.meta-item i { color: var(--primary); }

/* ── Admin ── */
.admin-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 2rem;
    padding-bottom: 1rem; border-bottom: 1px solid var(--card-border);
}
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 12px; padding: 1.5rem;
}
.stat-card .stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem; font-weight: 900; color: var(--primary);
}
.stat-card .stat-label { color: var(--muted); font-size: 0.85rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--card-border); font-size: 0.9rem; }
th { color: var(--muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
tr:hover td { background: rgba(255,255,255,0.02); }
.badge {
    display: inline-block; padding: 0.2rem 0.6rem;
    border-radius: 50px; font-size: 0.75rem; font-weight: 700;
}
.badge-green { background: rgba(34,197,94,0.1); color: #86efac; }
.badge-red   { background: rgba(37,99,235,0.1);  color: #fca5a5; }
.badge-blue  { background: rgba(88,101,242,0.1); color: #a5b4fc; }

/* ── Footer ── */
footer {
    border-top: 1px solid var(--card-border);
    padding: 3rem 2rem; margin-top: auto;
    position: relative; z-index: 1;
}
.footer-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 0.8rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted2); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
    max-width: 1280px; margin: 2rem auto 0;
    padding-top: 1.5rem; border-top: 1px solid var(--card-border);
    display: flex; justify-content: space-between; align-items: center;
    color: var(--muted2); font-size: 0.85rem; flex-wrap: wrap; gap: 1rem;
}
.social-links { display: flex; gap: 0.8rem; }
.social-links a {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--card-bg); border: 1px solid var(--card-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); text-decoration: none; transition: all 0.2s;
}
.social-links a:hover { background: rgba(37,99,235,0.1); color: var(--primary); border-color: rgba(37,99,235,0.3); }

/* ── 404 ── */
.page-404 { text-align: center; padding: 8rem 2rem; }
.page-404 .code { font-size: 8rem; font-weight: 900; color: var(--primary); opacity: 0.3; line-height: 1; font-family: 'Outfit', sans-serif; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .dashboard { flex-direction: column; }
    .sidebar { flex: none; width: 100%; }
}
@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; }
}

/* ── Custom Select ── */
.custom-select-wrap {
    position: relative;
    user-select: none;
}
.custom-select-wrap select,
.custom-select-wrap select.form-control,
.admin-main .custom-select-wrap select.form-control {
    display: none !important; /* native select'i gizle */
}
.cs-selected {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}
.cs-selected::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--muted);
    transition: transform 0.2s;
    pointer-events: none;
}
.custom-select-wrap.open .cs-selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.custom-select-wrap.open .cs-selected::after {
    transform: translateY(-50%) rotate(180deg);
}
.cs-options {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: auto;
    min-width: 100%;
    min-width: 180px;
    width: max-content;
    background: var(--dropdown-bg, #13141a);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 260px;
    z-index: 9999;
    box-shadow: var(--dropdown-shadow, 0 15px 40px rgba(0,0,0,0.6));
    animation: fadeDown 0.15s ease;
}
.bp-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(37,99,235,0.45) rgba(255,255,255,0.06);
}
.bp-scroll::-webkit-scrollbar { width: 8px; }
.bp-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 8px; }
.bp-scroll::-webkit-scrollbar-thumb {
    background: rgba(37,99,235,0.45);
    border-radius: 8px;
}
.bp-scroll::-webkit-scrollbar-thumb:hover { background: rgba(37,99,235,0.65); }

/* Çoklu rol seçici */
.bp-multi-select { position: relative; min-width: 180px; }
.bp-ms-trigger {
    min-height: 36px;
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background: var(--input-bg);
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}
.bp-ms-placeholder { color: var(--muted); font-size: 0.8rem; }
.bp-ms-tag { font-size: 0.72rem !important; padding: 0.15rem 0.45rem !important; }
.bp-ms-panel {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 10050;
    min-width: 220px;
    max-width: 280px;
    max-height: 240px;
    overflow-y: auto;
    background: var(--dropdown-bg, #13141a);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: var(--dropdown-shadow, 0 12px 32px rgba(0,0,0,0.5));
    padding: 0.35rem;
}
.bp-multi-select.open .bp-ms-panel { display: block; }
.bp-ms-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.82rem;
}
.bp-ms-option:hover { background: rgba(255,255,255,0.05); }
.bp-ms-option input { accent-color: var(--primary); }
.bp-ms-option-locked { opacity: 0.92; cursor: default; }
.bp-ms-option-locked input:disabled { cursor: default; }
.custom-select-wrap.open .cs-options { display: block; }
.cs-option {
    padding: 0.75rem 1rem;
    color: var(--muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.cs-option:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text);
}
.cs-option.selected {
    background: rgba(37,99,235,0.1);
    color: var(--primary);
    font-weight: 600;
}
.cs-option + .cs-option {
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── Site Banner ── */
.site-banner {
    width: 100%; padding: 0.7rem 2rem;
    display: flex; align-items: center; justify-content: center;
    gap: 1rem; flex-wrap: wrap; position: relative; z-index: 999;
    font-size: 0.9rem;
}
.banner-img { height: 32px; width: auto; object-fit: contain; border-radius: 4px; }
.banner-content { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
.banner-content strong { color: #fff; font-weight: 700; }
.banner-content span { color: rgba(255,255,255,0.85); }
.banner-btn {
    background: rgba(255,255,255,0.2); color: #fff;
    padding: 0.3rem 0.9rem; border-radius: 50px;
    text-decoration: none; font-weight: 600; font-size: 0.82rem;
    border: 1px solid rgba(255,255,255,0.3);
    transition: background 0.2s;
}
.banner-btn:hover { background: rgba(255,255,255,0.35); }

/* ── Yükleme Ekranı ── */
#page-loader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--bg);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 1.5rem;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
    position: relative;
    width: 90px; height: 90px;
    display: flex; align-items: center; justify-content: center;
}
.loader-logo img, .loader-logo-icon {
    width: 64px; height: 64px;
    border-radius: 50%; object-fit: cover;
    position: relative; z-index: 1;
}
.loader-logo-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.6rem; color: #fff;
    font-family: 'Outfit', sans-serif;
}
.loader-spinner {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-right-color: rgba(37,99,235,0.3);
    animation: loaderSpin 0.9s linear infinite;
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }
.loader-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem; font-weight: 800;
    letter-spacing: 1px;
}
.loader-name span { color: var(--primary); }

/* ── Yükleme Ekranı ── */
.logo-img-round {
    width: 36px; height: 36px;
    border-radius: 50%; object-fit: cover;
    border: 2px solid rgba(37,99,235,0.4);
}

/* ── WhatsApp Float ── */
.wp-float {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 72px; height: 72px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.3rem; text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 9998; transition: transform 0.2s, box-shadow 0.2s;
}
.wp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }

/* ── Lisans kartı ── */
.license-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 12px; padding: 1.2rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}
.license-key {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem; color: var(--primary);
    background: rgba(37,99,235,0.08);
    padding: 0.3rem 0.8rem; border-radius: 6px;
    letter-spacing: 1px;
}

/* ── Yorum kartı ── */
.review-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 16px; padding: 1.5rem;
}
.review-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 0.8rem; }
.review-author {
    display: flex; align-items: center; gap: 0.8rem; margin-top: 1rem;
}
.review-author img {
    width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--card-border);
}
.review-author-name { font-weight: 600; font-size: 0.9rem; }
.review-product { color: var(--muted); font-size: 0.78rem; }

/* ── Rol badge ── */
.role-badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.15rem 0.6rem; border-radius: 50px;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Referans/müşteri section ── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

/* ── Discord Widget ── */
.discord-widget-wrap {
    border-radius: 12px; overflow: hidden;
    border: 1px solid var(--card-border);
}

/* ══════════════════════════════════════
   ANASAYFA — Nourse tarzı
══════════════════════════════════════ */

/* Hero */
.hero-nourse-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}
.hero-nourse-text { flex: 1; min-width: 280px; }
.hero-nourse-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900; line-height: 1.15; margin: 1rem 0;
    background: linear-gradient(135deg, #fff 40%, #a1a1aa);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-nourse-desc {
    color: var(--muted); font-size: 0.95rem;
    line-height: 1.8; max-width: 520px; margin-bottom: 2rem;
}
.hero-nourse-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-nourse-img {
    flex: 0 0 auto; position: relative;
    display: flex; align-items: center; justify-content: center;
    min-width: 280px;
}
.hero-glow-circle {
    position: absolute; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
    border-radius: 50%; z-index: 0;
}
/* Hero özel görsel */
.hero-custom-img {
    position: relative; z-index: 1;
    max-height: 600px; max-width: 600px;
    width: auto; height: auto;
    border-radius: 20px; object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(37,99,235,0.3));
    animation: float 5s ease-in-out infinite;
}

/* ── Önerilen Ürün Kartları (anasayfa) ── */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.featured-product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px; overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    display: flex; flex-direction: column; position: relative;
}
.featured-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37,99,235,0.4);
    box-shadow: 0 20px 50px rgba(37,99,235,0.15);
}
.featured-badge {
    position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; font-size: 0.7rem; font-weight: 700;
    padding: 0.25rem 0.7rem; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(37,99,235,0.4);
}
.featured-product-img {
    aspect-ratio: 16/9; overflow: hidden; background: #13141a; position: relative;
}
.featured-product-img img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s;
}
.featured-product-card:hover .featured-product-img img { transform: scale(1.06); }
.featured-product-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.featured-product-body h4 { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.featured-product-body p { color: var(--muted); font-size: 0.83rem; line-height: 1.6; flex: 1; }
.featured-product-meta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.featured-product-meta span { color: var(--muted); font-size: 0.75rem; }
.featured-product-meta span i { color: var(--primary); margin-right: 0.2rem; }
.featured-product-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.9rem 1.2rem; border-top: 1px solid var(--card-border); gap: 0.8rem;
}
.featured-product-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem; font-weight: 900; color: var(--primary);
}

/* Section genel */
.section-label { color: var(--primary); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin: 0; }

/* Feature cards */
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-3px); }

/* Ürün grid — Nourse tarzı küçük kartlar */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
}
.product-card-nourse {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}
.product-card-nourse:hover { transform: translateY(-4px); border-color: rgba(37,99,235,0.3); }
.product-card-img { aspect-ratio: 4/3; overflow: hidden; background: #13141a; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card-nourse:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 0.9rem; flex: 1; display: flex; flex-direction: column; }
.product-card-body h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem; line-height: 1.3; }
.product-card-price { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--primary); }

/* Referanslar */
.refs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.8rem;
}
.ref-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 0.8rem 0.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.75rem;
    transition: border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.ref-item:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-2px); color: var(--text); }
.ref-item img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; }
.ref-placeholder {
    width: 52px; height: 52px;
    background: rgba(37,99,235,0.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--primary); font-size: 1rem;
}

/* Yorumlar carousel */
.reviews-carousel-wrap { width: 100%; }
.reviews-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.reviews-carousel-track .review-card-nourse {
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.5rem 0;
}
.reviews-dots .rdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--card-border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.reviews-dots .rdot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--primary-glow);
}
.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
}
.review-card-nourse {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
}

/* Discord section */
.discord-section {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}
.discord-section-text { flex: 1; min-width: 280px; }

/* İstatistikler */
.stats-section { border-top: 1px solid var(--card-border); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-item .stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-item .stat-label { color: var(--muted); font-size: 0.88rem; }

/* Responsive */
@media (max-width: 768px) {
    .hero-nourse-content { flex-direction: column; }
    .hero-nourse-img { min-width: unset; width: 100%; justify-content: center; }
    .hero-custom-img { max-height: 350px; }
    .discord-section { flex-direction: column; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .featured-grid { grid-template-columns: 1fr; }
}

/* ── Sayfa içeriği (gizlilik, kvkk, kullanım şartları) ── */
.page-content { color: var(--muted); line-height: 1.9; font-size: 0.95rem; }
.page-content h2 { color: var(--text); font-size: 1.5rem; margin: 2rem 0 0.8rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--card-border); }
.page-content h3 { color: var(--text); font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.page-content p  { margin-bottom: 1rem; }
.page-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content ul li { margin-bottom: 0.4rem; }
.page-content strong { color: var(--text); }
.page-content a { color: var(--primary); text-decoration: none; }
.page-content a:hover { text-decoration: underline; }

/* ══════════════════════════════════════
   ANİMASYONLAR & CANLI SİTE
══════════════════════════════════════ */

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delay */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* Floating animasyon */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
.float-anim { animation: float 4s ease-in-out infinite; }

/* Pulse glow */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(37,99,235,0.3); }
    50% { box-shadow: 0 0 40px rgba(37,99,235,0.6); }
}
.pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }

/* Shimmer loading */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Typing cursor */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary);
}

/* SSS Accordion */
.faq-item { border: 1px solid var(--card-border); border-radius: 10px; margin-bottom: 0.6rem; overflow: hidden; }
.faq-btn {
    width: 100%; padding: 1.1rem 1.5rem;
    background: var(--card-bg); border: none;
    color: var(--text); text-align: left; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.95rem; font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
}
.faq-btn:hover { background: rgba(255,255,255,0.05); }
.faq-btn .faq-icon {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(37,99,235,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 0.8rem;
    transition: transform 0.3s, background 0.2s;
    flex-shrink: 0;
}
.faq-btn.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
    color: var(--muted); font-size: 0.9rem; line-height: 1.7;
}
.faq-body.open { max-height: 300px; padding: 0 1.5rem 1.2rem; }

/* ══════════════════════════════════════
   SOL SIDEBAR LAYOUT (Profil/Admin)
══════════════════════════════════════ */
.panel-layout {
    display: flex;
    flex: 1;
    width: 100%;
    min-height: 0;
    overflow: hidden;
}
.panel-sidebar {
    width: 260px;
    min-width: 260px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.02);
    border-right: 1px solid var(--card-border);
    padding: 2rem 0;
    height: 100%;
    overflow-y: auto;
}
.panel-sidebar::-webkit-scrollbar { width: 4px; }
.panel-sidebar::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 2px; }
.panel-content {
    flex: 1;
    padding: 2rem;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    min-height: 0;
}
.panel-user {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 1rem;
}
.panel-user-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    object-fit: cover; border: 3px solid var(--primary);
    display: block; margin-bottom: 0.8rem;
}
.panel-user-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.2rem; }
.panel-user-email { color: var(--muted); font-size: 0.78rem; word-break: break-all; }
.panel-nav { padding: 0 0.8rem; }
.panel-nav-section {
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--muted2);
    padding: 0.8rem 0.7rem 0.4rem;
}
.panel-nav a {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.65rem 0.8rem; border-radius: 8px;
    color: var(--muted); text-decoration: none;
    font-size: 0.88rem; transition: all 0.2s;
    margin-bottom: 0.1rem;
}
.panel-nav a:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.panel-nav a.active { background: rgba(37,99,235,0.1); color: var(--primary); font-weight: 600; }
.panel-nav a.danger { color: #f87171; }
.panel-nav a.danger:hover { background: rgba(248,113,113,0.1); }
.panel-nav a i { width: 18px; text-align: center; font-size: 0.9rem; }
.panel-nav-divider { border-top: 1px solid var(--card-border); margin: 0.5rem 0; }
.panel-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.5rem; padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
}
.panel-header h2 { margin: 0; font-size: 1.4rem; }

/* ══════════════════════════════════════
   ADMIN SIDEBAR — Yeni Tasarım
══════════════════════════════════════ */
.admin-layout {
    display: flex;
    flex: 1;
    width: 100%;
    min-height: 0;
    overflow: hidden;
}
.admin-sidebar {
    width: 240px;
    min-width: 240px;
    flex-shrink: 0;
    background: #0d0e13;
    border-right: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10;
    flex-shrink: 0;
}
.admin-sidebar::-webkit-scrollbar { width: 3px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

/* Logo */
.asb-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 1.2rem 1rem;
    border-bottom: 1px solid var(--card-border);
}
.asb-logo-img {
    width: 36px; height: 36px;
    border-radius: 10px; object-fit: cover;
    flex-shrink: 0;
}
.asb-logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1rem; color: #fff;
    font-family: 'Outfit', sans-serif;
    flex-shrink: 0;
}
.asb-logo-text { min-width: 0; }
.asb-logo-name {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 800; font-size: 0.95rem;
    color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.asb-logo-sub {
    display: block;
    font-size: 0.7rem; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* Kullanıcı */
.asb-user {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid var(--card-border);
    background: rgba(255,255,255,0.02);
}
.asb-user-avatar {
    width: 34px; height: 34px;
    border-radius: 50%; object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}
.asb-user-info { min-width: 0; }
.asb-user-name {
    font-size: 0.85rem; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.asb-user-role {
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* Navigasyon */
.asb-nav {
    flex: 1;
    padding: 0.6rem 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.asb-group { margin-bottom: 0.3rem; }
.asb-group-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--muted2);
    padding: 0.7rem 0.6rem 0.3rem;
}
.asb-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    position: relative;
    cursor: pointer;
}
.asb-item:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text);
}
.asb-item.active {
    background: rgba(37,99,235,0.12);
    color: var(--primary);
    font-weight: 600;
}
.asb-item-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}
.asb-item-label { flex: 1; }
.asb-item-dot {
    display: none !important;
}
.asb-item.active::before,
.asb-item.active::after,
.panel-nav a.active::before,
.panel-nav a.active::after {
    display: none !important;
    content: none !important;
}

/* Alt kısım */
.asb-footer {
    padding: 0.6rem 0.7rem 1rem;
    border-top: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.asb-back { color: var(--muted); }
.asb-back:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.asb-logout { color: #f87171; }
.asb-logout:hover { background: rgba(248,113,113,0.08); color: #fca5a5; }

.admin-main {
    flex: 1;
    padding: 2rem;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    min-height: 0;
}

/* Light theme */
body.theme-light .admin-sidebar {
    background: #fff;
    border-right-color: rgba(0,0,0,0.08);
}
body.theme-light .asb-user { background: rgba(0,0,0,0.02); }
body.theme-light .asb-item:hover { background: rgba(0,0,0,0.04); color: #18181b; }
body.theme-light .asb-item.active { background: rgba(37,99,235,0.08); }
body.theme-light .asb-group-label { color: #a1a1aa; }
body.theme-light .panel-sidebar {
    background: rgba(0,0,0,0.02);
    border-right-color: rgba(0,0,0,0.08);
}

/* Responsive — admin mobil */
@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .admin-sidebar {
        width: 100%; height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        overflow: visible;
        flex-shrink: 0;
    }
    .asb-logo { border-bottom: none; border-right: 1px solid var(--card-border); }
    .asb-user { display: none; }
    .asb-nav { flex-direction: row; flex-wrap: wrap; padding: 0.4rem; }
    .asb-group { display: contents; }
    .asb-group-label { display: none; }
    .asb-item { padding: 0.5rem 0.7rem; font-size: 0.8rem; }
    .asb-footer { flex-direction: row; border-top: none; border-left: 1px solid var(--card-border); padding: 0.4rem; }
    .admin-main { padding: 1.5rem 1rem; height: auto; overflow-y: visible; }
}

/* Referans animasyonu */
@keyframes refSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.refs-marquee-wrap {
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}
.refs-marquee-wrap::before,
.refs-marquee-wrap::after {
    content: '';
    position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
    pointer-events: none;
}
.refs-marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.refs-marquee-wrap::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.refs-marquee {
    display: flex; gap: 1.2rem;
    width: max-content;
    animation: refSlide 30s linear infinite;
}
.refs-marquee:hover { animation-play-state: paused; }
.ref-marquee-item {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 10px; padding: 0.8rem 1rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    min-width: 100px; text-decoration: none; color: var(--muted);
    font-size: 0.75rem; transition: border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.ref-marquee-item:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-3px); color: var(--text); }
.ref-marquee-item img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }
.ref-placeholder-sm {
    width: 48px; height: 48px; border-radius: 8px;
    background: rgba(37,99,235,0.1);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--primary); font-size: 0.9rem;
}

/* Responsive — panel mobil */
@media (max-width: 768px) {
    .panel-layout { flex-direction: column; overflow-y: auto; }
    .panel-sidebar {
        width: 100%; min-width: unset; height: auto;
        border-right: none; border-bottom: 1px solid var(--card-border);
        overflow-y: visible;
        padding: 1rem 0;
    }
    .panel-content { padding: 1.5rem 1rem; height: auto; overflow-y: visible; }
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; min-width: unset; height: auto; }
    .admin-main { padding: 1.5rem 1rem; }
    .page-content-wrap { padding: 2rem 1rem; }
}

/* ══════════════════════════════════════
   BEYAZ TEMA (light mode)
══════════════════════════════════════ */
body.theme-light {
    --bg:           #f7faff;
    --bg2:          #e8f0ff;
    --card-bg:      #ffffff;
    --card-border:  rgba(37,99,235,0.14);
    --text:         #0b1730;
    --muted:        #5a6b88;
    --muted2:       #8494ad;
    --glass:        rgba(255,255,255,0.86);
    --input-bg:     rgba(37,99,235,0.05);
    --primary-glow: rgba(37,99,235,0.18);
    background: var(--bg);
    color: var(--text);
}
body.theme-light .bg-glow {
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 65%);
}
body.theme-light .bg-glow2 {
    background: radial-gradient(circle, rgba(56,189,248,0.05) 0%, transparent 65%);
}
body.theme-light header {
    background: rgba(244,244,245,0.9);
    border-bottom-color: rgba(0,0,0,0.08);
}
body.theme-light .card {
    background: #fff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
body.theme-light .card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
body.theme-light .dropdown {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
body.theme-light .form-control {
    background: #fff;
    border-color: rgba(0,0,0,0.12);
    color: var(--text);
}
body.theme-light .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
body.theme-light footer {
    background: #fff;
    border-top-color: rgba(0,0,0,0.08);
}
body.theme-light .admin-sidebar {
    background: #fff;
    border-right-color: rgba(0,0,0,0.08);
}
body.theme-light .panel-sidebar {
    background: rgba(0,0,0,0.02);
    border-right-color: rgba(0,0,0,0.08);
}
body.theme-light h1 {
    background: linear-gradient(135deg, #18181b 30%, #52525b);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.theme-light .site-banner { filter: none; }
body.theme-light table th { background: #f9f9f9; }
body.theme-light tr:hover td { background: rgba(0,0,0,0.02); }
body.theme-light .faq-btn { background: #f9f9f9; }
body.theme-light .faq-btn:hover { background: #f0f0f0; }
body.theme-light .product-card-nourse { background: #fff; }
body.theme-light .feature-card { background: #fff; }
body.theme-light .ref-marquee-item { background: #fff; }
body.theme-light .review-card-nourse { background: #fff; }

/* ── Light tema: Destek Split Panel ── */
body.theme-light .sp-wrap {
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.08);
}
body.theme-light .sp-sidebar {
    background: #f9f9fb;
    border-right-color: rgba(0,0,0,0.08);
}
body.theme-light .sp-sidebar-top {
    border-bottom-color: rgba(0,0,0,0.08);
}
body.theme-light .sp-ticket-item:hover {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.08);
}
body.theme-light .sp-ticket-item.is-active {
    background: rgba(37,99,235,0.05);
    border-color: rgba(37,99,235,0.2);
}
body.theme-light .sp-panel-head {
    border-bottom-color: rgba(0,0,0,0.08);
}
body.theme-light .sp-msg.from-staff .sp-msg-bubble {
    background: #f4f4f5;
    border-color: rgba(0,0,0,0.08);
    color: #18181b;
}
body.theme-light .sp-msg.from-user .sp-msg-bubble {
    background: rgba(37,99,235,0.08);
    border-color: rgba(37,99,235,0.18);
    color: #18181b;
}
body.theme-light .sp-reply {
    background: #f4f4f5;
    border-top-color: rgba(0,0,0,0.08);
}
body.theme-light .sp-reply textarea {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
    color: #18181b;
}
body.theme-light .sp-reply textarea:focus {
    border-color: rgba(37,99,235,0.4);
    background: #fff;
}
body.theme-light .sp-closed {
    background: #f4f4f5;
    border-top-color: rgba(0,0,0,0.08);
    color: #71717a;
}
body.theme-light .sp-chat { background: #fafafa; }
body.theme-light .sp-form-wrap { background: #fff; }
body.theme-light .sp-sidebar-empty { color: #71717a; }
body.theme-light .sp-empty h3 { color: #18181b; }
body.theme-light .sp-empty { color: #71717a; }

/* ── Light tema: Admin panel iç kartlar ── */
body.theme-light .admin-main .card {
    background: #fff;
    border-color: rgba(0,0,0,0.08);
}
body.theme-light #shopierSettings,
body.theme-light #paytrSettings,
body.theme-light #tebexSettings,
body.theme-light #weepaySettings,
body.theme-light #bankSettings,
body.theme-light [id$="Settings"] {
    background: #f9f9fb !important;
    border-color: rgba(0,0,0,0.08) !important;
}
body.theme-light .admin-main div[style*="background:rgba(0,0,0,0.1)"],
body.theme-light .admin-main div[style*="background: rgba(0,0,0,0.1)"],
body.theme-light .admin-main div[style*="background:rgba(0,0,0,0.15)"],
body.theme-light .admin-main div[style*="background: rgba(0,0,0,0.15)"] {
    background: #f4f4f5 !important;
    border-color: rgba(0,0,0,0.08) !important;
}
/* Branding grid kartları light temada */
body.theme-light .admin-main div[style*="background:rgba(0,0,0,0.1)"] {
    background: #f4f4f5 !important;
}

/* ── Light tema: Roles sidebar ── */
body.theme-light .droles-sidebar {
    background: #f9f9fb !important;
    border-right-color: rgba(0,0,0,0.08) !important;
}
body.theme-light .droles-item:hover { background: rgba(0,0,0,0.04); }
body.theme-light .droles-item.active { background: rgba(0,0,0,0.06); }
body.theme-light .droles-hint { border-top-color: rgba(0,0,0,0.08); }
body.theme-light .discord-roles-layout { border-color: rgba(0,0,0,0.08); }
body.theme-light {
    --dropdown-bg: #fff;
    --dropdown-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
body.theme-light .droles-panel { background: #fff !important; }
body.theme-light .droles-perm-group { background: #fff; }
body.theme-light .droles-perm-group-head { background: #f4f4f5; }
body.theme-light .droles-preview-bar { background: #f9f9fb; }
body.theme-light .droles-add-btn { background: rgba(0,0,0,0.05); color: #52525b; }
body.theme-light .droles-add-btn:hover,
body.theme-light .droles-add-btn.active { color: #fff; }
body.theme-light .bp-ms-panel { background: #fff; }
body.theme-light .bp-ms-option:hover { background: rgba(0,0,0,0.04); }
body.theme-light .bp-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.04); }
body.theme-light .role-perm-group-head { background: #f4f4f5 !important; }
body.theme-dark .role-perm-group-head { background: rgba(0,0,0,0.12); }

body.theme-light #page-loader {
    background: #f4f4f5;
}
body.theme-light .loader-name { color: #18181b; }
body.theme-light .loader-name span { color: var(--primary); }

/* Tema toggle butonu */
.theme-toggle {
    width: 36px; height: 36px; border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1rem;
    transition: all 0.2s; flex-shrink: 0;
    color: #fff;
    padding: 0; line-height: 1;
}
.theme-toggle:hover {
    background: rgba(37,99,235,0.1);
    border-color: rgba(37,99,235,0.3);
    color: var(--primary);
}
body.theme-light .theme-toggle {
    color: #18181b;
    border-color: rgba(0,0,0,0.15);
    background: transparent;
}
body.theme-light .theme-toggle:hover {
    background: rgba(37,99,235,0.08);
    border-color: rgba(37,99,235,0.3);
    color: var(--primary);
}

/* ── CAPTCHA ── */
.captcha-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
}
.captcha-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.captcha-label i { color: var(--primary); }
.captcha-question {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.captcha-q {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    background: rgba(37,99,235,0.08);
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(37,99,235,0.2);
    flex-shrink: 0;
}
.captcha-input {
    max-width: 100px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
}
body.theme-light .captcha-box {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.1);
}

/* ── Buton alt çizgi kaldır ── */
a { text-decoration: none; }
.btn { text-decoration: none !important; }

/* ── Admin sidebar logo büyüt ── */
.asb-logo-img {
    width: 44px; height: 44px;
    border-radius: 10px; object-fit: cover;
    flex-shrink: 0;
}
.asb-logo-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.1rem; color: #fff;
    font-family: 'Outfit', sans-serif;
    flex-shrink: 0;
}

/* ── Light tema ek stiller ── */
body.theme-light .cs-options { background: #fff; border-color: rgba(0,0,0,0.1); }
body.theme-light .cs-option { color: #52525b; }
body.theme-light .cs-option:hover { background: rgba(0,0,0,0.04); color: #18181b; }
body.theme-light .cs-option.selected { background: rgba(37,99,235,0.08); }
body.theme-light .cs-selected { background: #fff; border-color: rgba(0,0,0,0.12); color: #18181b; }
body.theme-light #notifDropdown { background: #fff; border-color: rgba(0,0,0,0.1); }
body.theme-light .store-filters .filter-btn { border-color: rgba(0,0,0,0.12); color: #52525b; }
body.theme-light .store-filters .filter-btn:hover,
body.theme-light .store-filters .filter-btn.active { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.3); color: var(--primary); }
body.theme-light .faq-item { border-color: rgba(0,0,0,0.1); }
body.theme-light .faq-body { color: #52525b; }
body.theme-light .alert-error { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.2); color: #1d4ed8; }
body.theme-light .alert-success { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.2); color: #166534; }
body.theme-light .alert-info { background: rgba(88,101,242,0.08); border-color: rgba(88,101,242,0.2); color: #3730a3; }
body.theme-light .badge-green { background: rgba(34,197,94,0.12); color: #166534; }
body.theme-light .badge-red { background: rgba(37,99,235,0.12); color: #1d4ed8; }
body.theme-light .role-badge { border-color: rgba(0,0,0,0.1) !important; }
body.theme-light .product-card-nourse { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light .featured-product-card { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light .review-card-nourse { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light .license-card { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light .stat-card { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light footer { background: #fff; border-top-color: rgba(0,0,0,0.08); }
body.theme-light .footer-col ul a { color: #52525b; }
body.theme-light .footer-col ul a:hover { color: #18181b; }
body.theme-light .footer-bottom { color: #71717a; border-top-color: rgba(0,0,0,0.08); }
body.theme-light .social-links a { background: #f4f4f5; border-color: rgba(0,0,0,0.08); color: #52525b; }
body.theme-light .nav-links a { color: #52525b; }
body.theme-light .nav-links a:hover, body.theme-light .nav-links a.active { color: #18181b; background: rgba(0,0,0,0.05); }
body.theme-light .profile-toggle { border-color: rgba(0,0,0,0.12); }
body.theme-light .profile-toggle:hover { background: rgba(0,0,0,0.04); }
body.theme-light .logo-text { color: #18181b; }
body.theme-light .section-label { color: var(--primary); }
body.theme-light .section-title { color: #18181b; }
body.theme-light .feature-card { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light .feature-card:hover { border-color: rgba(37,99,235,0.3); }
body.theme-light .refs-marquee-wrap::before { background: linear-gradient(to right, #f4f4f5, transparent); }
body.theme-light .refs-marquee-wrap::after { background: linear-gradient(to left, #f4f4f5, transparent); }
body.theme-light .ref-marquee-item { background: #fff; border-color: rgba(0,0,0,0.08); color: #52525b; }
body.theme-light .discord-section { background: transparent; }
body.theme-light .stats-section { border-top-color: rgba(0,0,0,0.08); }
body.theme-light .stat-item .stat-label { color: #52525b; }
body.theme-light .home-section { border-top-color: rgba(0,0,0,0.08); }
body.theme-light .panel-nav a { color: #52525b; }
body.theme-light .panel-nav a:hover { background: rgba(0,0,0,0.04); color: #18181b; }
body.theme-light .panel-nav a.active { background: rgba(37,99,235,0.08); color: var(--primary); }
body.theme-light .panel-nav-section { color: #a1a1aa; }
body.theme-light .panel-user { border-bottom-color: rgba(0,0,0,0.08); }
body.theme-light .panel-user-name { color: #18181b; }
body.theme-light .panel-user-email { color: #71717a; }
body.theme-light .panel-header { border-bottom-color: rgba(0,0,0,0.08); }
body.theme-light table th { background: #f9f9f9; color: #71717a; }
body.theme-light table td { color: #18181b; border-bottom-color: rgba(0,0,0,0.06); }
body.theme-light tr:hover td { background: rgba(0,0,0,0.02); }
body.theme-light .admin-main { background: #f4f4f5; }
body.theme-light .admin-header { border-bottom-color: rgba(0,0,0,0.08); }
body.theme-light .asb-logo-name { color: #18181b; }
body.theme-light .asb-group-label { color: #a1a1aa; }
body.theme-light .asb-footer { border-top-color: rgba(0,0,0,0.08); }

/* ── Referanslar — düz grid ── */
.refs-flat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1.5rem;
}
.ref-flat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--muted);
    transition: transform 0.2s, color 0.2s;
    padding: 0.5rem;
}
.ref-flat-item:hover { transform: translateY(-3px); color: var(--text); }
.ref-flat-logo {
    width: 64px; height: 64px;
    object-fit: contain; border-radius: 12px;
}
.ref-flat-placeholder {
    width: 64px; height: 64px;
    background: rgba(37,99,235,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--primary); font-size: 1.2rem;
}
.ref-flat-name {
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}
body.theme-light .ref-flat-item { color: #71717a; }
body.theme-light .ref-flat-item:hover { color: #18181b; }

/* ══════════════════════════════════════
   GENEL DÜZELTMELER
══════════════════════════════════════ */

/* Butonlarda alt çizgi yok */
a { text-decoration: none; }
.btn { text-decoration: none !important; }
.nav-links a { text-decoration: none; }
.dropdown a { text-decoration: none; }
.panel-nav a { text-decoration: none; }
.asb-item { text-decoration: none; }
.footer-col ul a { text-decoration: none; }

/* Admin sidebar logo büyüt */
.asb-logo-img {
    width: 44px !important; height: 44px !important;
    border-radius: 10px; object-fit: cover; flex-shrink: 0;
}
.asb-logo-icon {
    width: 44px !important; height: 44px !important;
    font-size: 1.1rem !important;
}

/* Referanslar — düz grid */
.refs-flat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 1.5rem 1rem;
}
.ref-flat-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.5rem;
    text-decoration: none; color: var(--muted);
    transition: transform 0.2s, color 0.2s;
    padding: 0.5rem; border-radius: 10px;
}
.ref-flat-item:hover { transform: translateY(-3px); color: var(--text); }
.ref-flat-logo {
    width: 60px; height: 60px;
    object-fit: contain; border-radius: 12px;
}
.ref-flat-placeholder {
    width: 60px; height: 60px;
    background: rgba(37,99,235,0.1); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--primary); font-size: 1.1rem;
}
.ref-flat-name {
    font-size: 0.75rem; font-weight: 600;
    text-align: center; line-height: 1.3;
}

/* ══════════════════════════════════════
   LIGHT TEMA — TAM DESTEK
══════════════════════════════════════ */
body.theme-light { color: #18181b; }
body.theme-light h1, body.theme-light h2, body.theme-light h3,
body.theme-light h4, body.theme-light h5 { color: #18181b; }
body.theme-light p { color: #52525b; }

/* Navbar */
body.theme-light .nav-links a { color: #52525b; }
body.theme-light .nav-links a:hover,
body.theme-light .nav-links a.active { color: #18181b; background: rgba(0,0,0,0.05); }
body.theme-light .profile-toggle { border-color: rgba(0,0,0,0.12); color: #18181b; }
body.theme-light .profile-toggle:hover { background: rgba(0,0,0,0.04); }
body.theme-light .logo-text { color: #18181b; }
body.theme-light .logo-text span { color: var(--primary); }

/* Dropdown */
body.theme-light .dropdown { background: #fff; border-color: rgba(0,0,0,0.1); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
body.theme-light .dropdown a { color: #18181b; }
body.theme-light .dropdown a:hover { background: rgba(0,0,0,0.04); }
body.theme-light .dropdown-divider { border-top-color: rgba(0,0,0,0.08); }

/* Custom Select */
body.theme-light .cs-selected { background: #fff; border-color: rgba(0,0,0,0.12); color: #18181b; }
body.theme-light .cs-options { background: #fff; border-color: rgba(0,0,0,0.1); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
body.theme-light .cs-option { color: #52525b; }
body.theme-light .cs-option:hover { background: rgba(0,0,0,0.04); color: #18181b; }
body.theme-light .cs-option.selected { background: rgba(37,99,235,0.08); color: var(--primary); }

/* Bildirim dropdown */
body.theme-light #notifDropdown { background: #fff; border-color: rgba(0,0,0,0.1); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
body.theme-light #notifDropdown a { color: #18181b; }

/* Formlar */
body.theme-light .form-control { background: #fff; border-color: rgba(0,0,0,0.12); color: #18181b; }
body.theme-light .form-control::placeholder { color: #a1a1aa; }
body.theme-light .form-group label { color: #52525b; }

/* Alert */
body.theme-light .alert-error { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.2); color: #1d4ed8; }
body.theme-light .alert-success { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.2); color: #166534; }
body.theme-light .alert-info { background: rgba(88,101,242,0.08); border-color: rgba(88,101,242,0.2); color: #3730a3; }

/* Badge */
body.theme-light .badge-green { background: rgba(34,197,94,0.12); color: #166534; }
body.theme-light .badge-red { background: rgba(37,99,235,0.12); color: #1d4ed8; }
body.theme-light .badge-blue { background: rgba(88,101,242,0.12); color: #3730a3; }
body.theme-light .role-badge { border-color: rgba(0,0,0,0.1) !important; }

/* Kartlar */
body.theme-light .card { background: #fff; border-color: rgba(0,0,0,0.08); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
body.theme-light .card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
body.theme-light .product-card-nourse { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light .featured-product-card { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light .review-card-nourse { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light .license-card { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light .stat-card { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light .feature-card { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light .feature-card:hover { border-color: rgba(37,99,235,0.3); }
body.theme-light .faq-item { border-color: rgba(0,0,0,0.1); }
body.theme-light .faq-btn { background: #f9f9f9; color: #18181b; }
body.theme-light .faq-btn:hover { background: #f0f0f0; }
body.theme-light .faq-body { color: #52525b; }

/* Mağaza */
body.theme-light .store-header h1 { color: #18181b; }
body.theme-light .filter-btn { border-color: rgba(0,0,0,0.12); color: #52525b; background: #fff; }
body.theme-light .filter-btn:hover,
body.theme-light .filter-btn.active { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.3); color: var(--primary); }
body.theme-light .card-tag { background: rgba(37,99,235,0.08); }

/* Anasayfa bölümleri */
body.theme-light .home-section { border-top-color: rgba(0,0,0,0.08); }
body.theme-light .section-label { color: var(--primary); }
body.theme-light .section-title { color: #18181b; }
body.theme-light .hero-nourse-title { background: linear-gradient(135deg, #18181b 40%, #52525b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.theme-light .hero-nourse-desc { color: #52525b; }
body.theme-light .hero-badge { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.2); }
body.theme-light .stats-section { border-top-color: rgba(0,0,0,0.08); }
body.theme-light .stat-item .stat-label { color: #52525b; }
body.theme-light .stat-item .stat-num { color: var(--primary); }

/* Referanslar */
body.theme-light .refs-marquee-wrap::before { background: linear-gradient(to right, #f4f4f5, transparent); }
body.theme-light .refs-marquee-wrap::after { background: linear-gradient(to left, #f4f4f5, transparent); }
body.theme-light .ref-marquee-item { background: #fff; border-color: rgba(0,0,0,0.08); color: #52525b; }
body.theme-light .ref-flat-item { color: #71717a; }
body.theme-light .ref-flat-item:hover { color: #18181b; }
body.theme-light .ref-flat-placeholder { background: rgba(37,99,235,0.08); }

/* Footer */
body.theme-light footer { background: #fff; border-top-color: rgba(0,0,0,0.08); }
body.theme-light .footer-brand p { color: #52525b; }
body.theme-light .footer-col h4 { color: #a1a1aa; }
body.theme-light .footer-col ul a { color: #52525b; }
body.theme-light .footer-col ul a:hover { color: #18181b; }
body.theme-light .footer-bottom { color: #71717a; border-top-color: rgba(0,0,0,0.08); }
body.theme-light .social-links a { background: #f4f4f5; border-color: rgba(0,0,0,0.08); color: #52525b; }
body.theme-light .social-links a:hover { background: rgba(37,99,235,0.08); color: var(--primary); }

/* Panel (profil/envanter) */
body.theme-light .panel-sidebar { background: rgba(0,0,0,0.02); border-right-color: rgba(0,0,0,0.08); }
body.theme-light .panel-user { border-bottom-color: rgba(0,0,0,0.08); }
body.theme-light .panel-user-name { color: #18181b; }
body.theme-light .panel-user-email { color: #71717a; }
body.theme-light .panel-nav a { color: #52525b; }
body.theme-light .panel-nav a:hover { background: rgba(0,0,0,0.04); color: #18181b; }
body.theme-light .panel-nav a.active { background: rgba(37,99,235,0.08); color: var(--primary); }
body.theme-light .panel-nav-section { color: #a1a1aa; }
body.theme-light .panel-nav-divider { border-top-color: rgba(0,0,0,0.08); }
body.theme-light .panel-header { border-bottom-color: rgba(0,0,0,0.08); }
body.theme-light .panel-header h2 { color: #18181b; }
body.theme-light .panel-content { background: #f4f4f5; }

/* Admin */
body.theme-light .admin-main { background: #f4f4f5; }
body.theme-light .admin-header { border-bottom-color: rgba(0,0,0,0.08); }
body.theme-light .admin-header h2 { color: #18181b; }
body.theme-light table { background: #fff; }
body.theme-light th { background: #f9f9f9; color: #71717a; }
body.theme-light td { color: #18181b; border-bottom-color: rgba(0,0,0,0.06); }
body.theme-light tr:hover td { background: rgba(0,0,0,0.02); }
body.theme-light .asb-logo-name { color: #18181b; }
body.theme-light .asb-logo-sub { color: #71717a; }
body.theme-light .asb-group-label { color: #a1a1aa; }
body.theme-light .asb-footer { border-top-color: rgba(0,0,0,0.08); }
body.theme-light .asb-user { background: rgba(0,0,0,0.02); border-bottom-color: rgba(0,0,0,0.08); }
body.theme-light .asb-user-name { color: #18181b; }
body.theme-light .asb-user-role { opacity: 0.9; }
body.theme-light .asb-item { color: #52525b; }
body.theme-light .asb-item:hover { background: rgba(0,0,0,0.04); color: #18181b; }
body.theme-light .asb-item.active { background: rgba(37,99,235,0.08); color: var(--primary); }
body.theme-light .asb-back { color: #71717a; }
body.theme-light .asb-logout { color: #1d4ed8; }

/* Auth */
body.theme-light .auth-title { color: #18181b; }
body.theme-light .auth-sub { color: #52525b; }
body.theme-light .divider { color: #a1a1aa; }
body.theme-light .divider::before,
body.theme-light .divider::after { border-bottom-color: rgba(0,0,0,0.1); }

/* Captcha */
body.theme-light .captcha-box { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.1); }
body.theme-light .captcha-q { background: rgba(37,99,235,0.06); border-color: rgba(37,99,235,0.15); color: #18181b; }

/* Yükleme ekranı */
body.theme-light #page-loader { background: #f4f4f5; }
body.theme-light .loader-name { color: #18181b; }
body.theme-light .loader-name span { color: var(--primary); }

/* Loader spinner light */
body.theme-light .loader-spinner { border-top-color: var(--primary); border-right-color: rgba(37,99,235,0.2); }

/* Site banner */
body.theme-light .site-banner { filter: none; }

/* Bg glow light */
body.theme-light .bg-glow { background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 65%); }
body.theme-light .bg-glow2 { background: radial-gradient(circle, rgba(56,189,248,0.04) 0%, transparent 65%); }

/* Page 404 */
body.theme-light .page-404 .code { color: var(--primary); }

/* Lisans */
body.theme-light .license-key { background: rgba(37,99,235,0.06); color: var(--primary); }

/* Yorum kartı */
body.theme-light .review-card { background: #fff; border-color: rgba(0,0,0,0.08); }

/* ══════════════════════════════════════
   HTML LEVEL LIGHT TEMA — FOUC önleme
   (JS çalışmadan önce de doğru tema)
══════════════════════════════════════ */
html.theme-light {
    --bg:           #f4f4f5;
    --bg2:          #e4e4e7;
    --card-bg:      rgba(255,255,255,0.9);
    --card-border:  rgba(0,0,0,0.08);
    --text:         #18181b;
    --muted:        #52525b;
    --muted2:       #71717a;
    --glass:        rgba(244,244,245,0.85);
    --input-bg:     rgba(0,0,0,0.04);
    background: #f4f4f5;
    color: #18181b;
}
html.theme-light body {
    background: #f4f4f5;
    color: #18181b;
}
html.theme-light header {
    background: rgba(244,244,245,0.9);
    border-bottom-color: rgba(0,0,0,0.08);
}
html.theme-light .card {
    background: #fff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
html.theme-light .dropdown { background: #fff; border-color: rgba(0,0,0,0.1); }
html.theme-light .form-control { background: #fff; border-color: rgba(0,0,0,0.12); color: #18181b; }
html.theme-light footer { background: #fff; border-top-color: rgba(0,0,0,0.08); }
html.theme-light .admin-sidebar { background: #fff; border-right-color: rgba(0,0,0,0.08); }
html.theme-light .panel-sidebar { background: rgba(0,0,0,0.02); border-right-color: rgba(0,0,0,0.08); }
html.theme-light .admin-main { background: #f4f4f5; }
html.theme-light .panel-content { background: #f4f4f5; }
html.theme-light .faq-btn { background: #f9f9f9; color: #18181b; }
html.theme-light .product-card-nourse,
html.theme-light .featured-product-card,
html.theme-light .review-card-nourse,
html.theme-light .feature-card,
html.theme-light .stat-card { background: #fff; border-color: rgba(0,0,0,0.08); }
html.theme-light .nav-links a { color: #52525b; }
html.theme-light .logo-text { color: #18181b; }
html.theme-light .home-section { border-top-color: rgba(0,0,0,0.08); }
html.theme-light .section-title { color: #18181b; }
html.theme-light .hero-nourse-title {
    background: linear-gradient(135deg, #18181b 40%, #52525b);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
html.theme-light .hero-nourse-desc { color: #52525b; }
html.theme-light .ref-flat-item { color: #71717a; }
html.theme-light .ref-flat-placeholder { background: rgba(37,99,235,0.08); }
html.theme-light .footer-col ul a { color: #52525b; }
html.theme-light .footer-bottom { color: #71717a; border-top-color: rgba(0,0,0,0.08); }
html.theme-light .social-links a { background: #f4f4f5; border-color: rgba(0,0,0,0.08); color: #52525b; }
html.theme-light .bg-glow { background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 65%); }
html.theme-light .bg-glow2 { background: radial-gradient(circle, rgba(56,189,248,0.04) 0%, transparent 65%); }
html.theme-light #page-loader { background: #f4f4f5; }
html.theme-light .loader-name { color: #18181b; }
html.theme-light .asb-logo-name { color: #18181b; }
html.theme-light .asb-item { color: #52525b; }
html.theme-light .asb-item:hover { background: rgba(0,0,0,0.04); color: #18181b; }
html.theme-light .asb-item.active { background: rgba(37,99,235,0.08); color: var(--primary); }
html.theme-light table th { background: #f9f9f9; color: #71717a; }
html.theme-light td { color: #18181b; border-bottom-color: rgba(0,0,0,0.06); }
html.theme-light .cs-selected { background: #fff; border-color: rgba(0,0,0,0.12); color: #18181b; }
html.theme-light .cs-options { background: #fff; border-color: rgba(0,0,0,0.1); }
html.theme-light .cs-option { color: #52525b; }
html.theme-light .cs-option:hover { background: rgba(0,0,0,0.04); color: #18181b; }
html.theme-light #notifDropdown { background: #fff; border-color: rgba(0,0,0,0.1); }
html.theme-light .filter-btn { border-color: rgba(0,0,0,0.12); color: #52525b; background: #fff; }
html.theme-light .filter-btn:hover,
html.theme-light .filter-btn.active { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.3); color: var(--primary); }
html.theme-light .refs-marquee-wrap::before { background: linear-gradient(to right, #f4f4f5, transparent); }
html.theme-light .refs-marquee-wrap::after { background: linear-gradient(to left, #f4f4f5, transparent); }
html.theme-light .ref-marquee-item { background: #fff; border-color: rgba(0,0,0,0.08); color: #52525b; }
html.theme-light .panel-nav a { color: #52525b; }
html.theme-light .panel-nav a:hover { background: rgba(0,0,0,0.04); color: #18181b; }
html.theme-light .panel-nav a.active { background: rgba(37,99,235,0.08); color: var(--primary); }
html.theme-light .panel-nav-section { color: #a1a1aa; }
html.theme-light .panel-user { border-bottom-color: rgba(0,0,0,0.08); }
html.theme-light .panel-user-name { color: #18181b; }
html.theme-light .panel-user-email { color: #71717a; }
html.theme-light .alert-error { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.2); color: #1d4ed8; }
html.theme-light .alert-success { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.2); color: #166534; }
html.theme-light .alert-info { background: rgba(88,101,242,0.08); border-color: rgba(88,101,242,0.2); color: #3730a3; }
html.theme-light .badge-green { background: rgba(34,197,94,0.12); color: #166534; }
html.theme-light .badge-red { background: rgba(37,99,235,0.12); color: #1d4ed8; }
html.theme-light .faq-item { border-color: rgba(0,0,0,0.1); }
html.theme-light .faq-body { color: #52525b; }
html.theme-light .profile-toggle { border-color: rgba(0,0,0,0.12); }
html.theme-light .theme-toggle { color: #18181b; border-color: rgba(0,0,0,0.15); }
html.theme-light h1, html.theme-light h2, html.theme-light h3,
html.theme-light h4, html.theme-light h5 { color: #18181b; }
html.theme-light p { color: #52525b; }

/* ── Hero Parlama Efekti (görsel yokken) ── */
.hero-glow-only {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%,
        rgba(37,99,235,0.35) 0%,
        rgba(56,189,248,0.2) 45%,
        transparent 70%
    );
    filter: blur(40px);
    animation: heroGlowPulse 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}
@keyframes heroGlowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}
/* Light temada daha soft parlama */
html.theme-light .hero-glow-only,
body.theme-light .hero-glow-only {
    background: radial-gradient(circle at 40% 40%,
        rgba(37,99,235,0.2) 0%,
        rgba(56,189,248,0.12) 45%,
        transparent 70%
    );
    filter: blur(50px);
}

/* ── Referanslar büyük grid (override) ── */
.refs-flat-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
    gap: 1.5rem 1.2rem !important;
}
.ref-flat-logo {
    width: 90px !important; height: 90px !important;
    object-fit: contain; border-radius: 14px;
}
.ref-flat-placeholder {
    width: 90px !important; height: 90px !important;
    font-size: 1.4rem !important;
    border-radius: 14px;
}
.ref-flat-name { font-size: 0.85rem !important; }
.ref-flat-item { padding: 0.8rem !important; gap: 0.7rem !important; }

/* Modal light tema */
html.theme-light #askModal > div,
body.theme-light #askModal > div {
    background: #fff !important;
    border-color: rgba(0,0,0,0.1) !important;
    color: #18181b !important;
}
html.theme-light #askModal > div label,
body.theme-light #askModal > div label { color: #52525b !important; }

/* ══════════════════════════════════════
   ADMIN PANEL — GRİ ARKA PLAN GİDERME
   Ödeme yöntemi kartları, gateway ayar
   blokları vb. için daha tutarlı stil
══════════════════════════════════════ */

/* Ayarlar sayfasındaki iç kartlar (Shopier, PayTR, Tebex vb.) */
.admin-main [id$="Settings"],
.admin-main [id$="bankSettings"],
#shopierSettings, #paytrSettings,
#tebexSettings, #weepaySettings,
#bankSettings {
    background: var(--card-bg) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 12px !important;
}

/* Branding kartları iç preview alanı */
.admin-main div[style*="background:rgba(0,0,0,0.1)"],
.admin-main div[style*="background: rgba(0,0,0,0.1)"],
.admin-main div[style*="background:rgba(0,0,0,0.15)"],
.admin-main div[style*="background: rgba(0,0,0,0.15)"] {
    background: var(--card-bg) !important;
    border-color: var(--card-border) !important;
}

/* Admin kartı genel — daha şık border */
.admin-main .card {
    border-color: var(--card-border);
    background: rgba(255,255,255,0.025);
}
.admin-main .card:hover {
    border-color: rgba(255,255,255,0.1);
}

/* Gri iç alanlar yerine zarif ayraçlar */
.admin-section-divider {
    border: none;
    border-top: 1px solid var(--card-border);
    margin: 1.5rem 0;
}

/* Ayar grupları için section header */
.admin-section-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 1.2rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}
.admin-section-head i {
    color: var(--primary);
}

/* ══════════════════════════════════════
   DESTEK — SPLIT PANEL ARAYÜZÜ
   Çok daha akıcı, keskin geçişsiz
══════════════════════════════════════ */

/* Ana wrapper */
.sp-wrap {
    display: flex;
    height: calc(100vh - 130px);
    max-height: 860px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: rgba(10,11,15,0.9);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 24px 64px rgba(0,0,0,0.35);
}

/* SOL PANEL */
.sp-sidebar {
    width: 290px;
    min-width: 290px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--card-border);
    background: rgba(255,255,255,0.015);
    overflow: hidden;
}

.sp-sidebar-top {
    padding: 1.1rem 1.2rem 0.8rem;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sp-sidebar-top h3 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}
.sp-new-btn {
    background: rgba(37,99,235,0.12);
    color: var(--primary);
    border: 1px solid rgba(37,99,235,0.25);
    border-radius: 8px;
    padding: 0.32rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: background 0.2s, border-color 0.2s;
}
.sp-new-btn:hover {
    background: rgba(37,99,235,0.2);
    border-color: rgba(37,99,235,0.4);
}

.sp-ticket-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}
.sp-ticket-scroll::-webkit-scrollbar { width: 3px; }
.sp-ticket-scroll::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 2px; }

/* Ticket öğesi */
.sp-ticket-item {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.25rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.18s, border-color 0.18s;
    cursor: pointer;
}
.sp-ticket-item:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.06);
}
.sp-ticket-item.is-active {
    background: rgba(37,99,235,0.07);
    border-color: rgba(37,99,235,0.22);
}
.sp-ticket-item .sp-t-subject {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}
.sp-ticket-item .sp-t-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.sp-t-status {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}
.sp-t-cat, .sp-t-time {
    font-size: 0.72rem;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.sp-sidebar-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    gap: 0.6rem;
}
.sp-sidebar-empty i { font-size: 2.2rem; opacity: 0.2; }
.sp-sidebar-empty p { font-size: 0.84rem; line-height: 1.5; }

/* SAĞ PANEL */
.sp-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

/* Panel başlık */
.sp-panel-head {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    flex-shrink: 0;
    min-height: 60px;
}
.sp-panel-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 420px;
}
.sp-panel-head-meta {
    font-size: 0.76rem;
    color: var(--muted);
    margin-top: 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* Mesaj alanı */
.sp-chat {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sp-chat::-webkit-scrollbar { width: 4px; }
.sp-chat::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 2px; }

/* Mesaj balonu */
.sp-msg {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    max-width: 72%;
}
.sp-msg.from-user { align-self: flex-end; flex-direction: row-reverse; }
.sp-msg.from-staff { align-self: flex-start; }

.sp-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--card-border);
}

.sp-msg-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.sp-msg.from-user .sp-msg-body { align-items: flex-end; }

.sp-msg-bubble {
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}
.sp-msg.from-user .sp-msg-bubble {
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.2);
    border-bottom-right-radius: 4px;
    color: var(--text);
}
.sp-msg.from-staff .sp-msg-bubble {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--card-border);
    border-bottom-left-radius: 4px;
    color: var(--text);
}
.sp-msg.is-customer .sp-msg-bubble {
    background: rgba(34,197,94,0.07);
    border-color: rgba(34,197,94,0.2);
    border-left: 3px solid #22c55e;
}

.sp-msg-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--muted);
    padding: 0 0.2rem;
    flex-wrap: wrap;
}
.sp-role-badge {
    padding: 0.05rem 0.4rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Yanıt kutusu */
.sp-reply {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--card-border);
    flex-shrink: 0;
    background: rgba(0,0,0,0.12);
}
.sp-reply-inner {
    display: flex;
    gap: 0.8rem;
    align-items: flex-end;
}
.sp-reply textarea {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    resize: none;
    outline: none;
    min-height: 44px;
    max-height: 120px;
    transition: border-color 0.2s;
    line-height: 1.5;
}
.sp-reply textarea:focus {
    border-color: rgba(37,99,235,0.4);
    background: rgba(255,255,255,0.06);
}
.sp-reply-send {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.sp-reply-send:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Kapalı banner */
.sp-closed {
    padding: 0.8rem 1.5rem;
    border-top: 1px solid var(--card-border);
    background: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.84rem;
    flex-shrink: 0;
}

/* Boş durum */
.sp-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    color: var(--muted);
    gap: 1rem;
}
.sp-empty i { font-size: 3rem; opacity: 0.15; }
.sp-empty h3 { color: var(--text); font-size: 1.1rem; margin: 0; }
.sp-empty p { font-size: 0.88rem; line-height: 1.6; max-width: 300px; }

/* Yeni ticket formu */
.sp-form-wrap {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}
.sp-form-wrap::-webkit-scrollbar { width: 3px; }
.sp-form-wrap::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 2px; }

/* Mobil */
@media (max-width: 768px) {
    .sp-wrap {
        flex-direction: column;
        height: auto;
        max-height: none;
        border-radius: 12px;
    }
    .sp-sidebar {
        width: 100%;
        min-width: unset;
        max-height: 260px;
        border-right: none;
        border-bottom: 1px solid var(--card-border);
    }
    .sp-chat { max-height: 55vh; }
    .sp-msg { max-width: 88%; }
}

/* ── Viewport and scroll controls for Admin and User panels on desktop ── */
@media (min-width: 769px) {
    html.admin-html, html.panel-html {
        height: 100vh !important;
        max-height: 100vh !important;
        overflow: hidden !important;
    }
    html.admin-html body, html.panel-html body {
        height: 100vh !important;
        max-height: 100vh !important;
        overflow: hidden !important;
        display: flex;
        flex-direction: column;
    }
    /* Constrain the full-height wrapper so children can stretch & scroll */
    html.admin-html .page-body-full, html.panel-html .page-body-full {
        flex: 1 !important;
        height: 100% !important;
        min-height: 0 !important;
        overflow: hidden !important;
        display: flex;
        flex-direction: column;
    }
    /* Layouts fill the container exactly */
    .admin-layout, .panel-layout {
        height: 100% !important;
        min-height: 0 !important;
        flex: 1 !important;
        display: flex !important;
        overflow: hidden !important;
    }
    /* Sidebars stay fixed & scroll independently */
    .admin-sidebar, .panel-sidebar {
        height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        flex-shrink: 0 !important;
    }
    /* Main content area takes the remaining space and scrolls smoothly */
    .admin-main, .panel-content {
        flex: 1 !important;
        height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        min-height: 0 !important;
        scroll-behavior: smooth;
    }
}

/* ==========================================================================
   MÜŞTERİ YORUMLARI — Premium Slider & Görsel Düzeltmeleri
   ========================================================================== */

/* Görsellerin flex box içinde sıkışmasını engelle */
.review-card-nourse img,
.review-card-nourse div[style*="border-radius:50%"],
.review-card-nourse div[style*="border-radius: 50%"],
.review-card-nourse .avatar-fallback {
    flex-shrink: 0 !important;
}

/* Carousel genişlik ve pozisyonlama */
.reviews-carousel-wrap {
    max-width: 860px; /* Genişletildi */
    margin: 2rem auto 0;
    position: relative;
    padding: 0; /* Oklar kaldırıldığı için padding sıfırlandı */
    box-sizing: border-box;
}
.reviews-carousel-track {
    cursor: grab; /* Grab cursor by default */
}
.reviews-carousel-track:active {
    cursor: grabbing; /* Grabbing cursor on drag */
}

/* Navigasyon Okları */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.carousel-nav-btn:hover {
    background: rgba(37,99,235, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 20px rgba(37,99,235, 0.25);
}

.carousel-nav-btn.prev {
    left: 0rem;
}

.carousel-nav-btn.next {
    right: 0rem;
}

/* Light Tema Uyumları */
body.theme-light .carousel-nav-btn {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
    color: #52525b;
}
body.theme-light .carousel-nav-btn:hover {
    background: rgba(37,99,235, 0.05);
    color: var(--primary);
}

/* Responsive Düzen */
@media (max-width: 600px) {
    .reviews-carousel-wrap {
        padding: 0 2.5rem;
    }
    .carousel-nav-btn {
        width: 36px;
        height: 36px;
    }
}

/* Custom Select Dropdown Overflow and Stacking Fixes */
.custom-select-wrap.open {
    z-index: 9999 !important;
}
.card:has(.custom-select-wrap.open), .card.has-open-select {
    z-index: 1000 !important;
    overflow: visible !important;
}
.form-group:has(.custom-select-wrap.open), .form-group.has-open-select {
    z-index: 1010 !important;
    overflow: visible !important;
}
.grid:has(.custom-select-wrap.open), .grid.has-open-select {
    overflow: visible !important;
}

/* ==========================================================================
   LOCALE DROPDOWN & CUSTOM SCROLLBARS — Premium Design & 2-Theme Support
   ========================================================================== */

/* Locale selector button */
.locale-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.65rem;
    height: auto;
    width: auto;
    border-radius: 8px;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.locale-btn:hover {
    background: rgba(37,99,235, 0.1);
    border-color: rgba(37,99,235, 0.3);
    color: var(--primary);
    transform: translateY(-1px);
}

/* Locale dropdown body */
.locale-dropdown {
    display: none;
    position: absolute !important;
    bottom: calc(100% + 8px) !important;
    top: auto !important;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    width: 160px;
    box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    height: 220px;
    overflow-y: auto;
    padding: 0.4rem 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.locale-dropdown.open {
    display: block;
}
/* Aligned to the left for vertical standard stacking under About Us */
.lang-selector .locale-dropdown {
    left: 0;
    right: auto;
    width: 190px;
}
.currency-selector .locale-dropdown {
    left: 0;
    right: auto;
    width: 160px;
}

.locale-dropdown a {
    display: block;
    padding: 0.45rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.82rem;
    transition: background 0.2s ease, color 0.2s ease;
    text-align: left;
}

.locale-dropdown a:hover {
    background: var(--input-bg);
    color: var(--primary);
}

/* Custom premium native scrollbars for locale dropdowns */
.locale-dropdown {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
html.theme-light .locale-dropdown,
body.theme-light .locale-dropdown {
    scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

.locale-dropdown::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}
.locale-dropdown::-webkit-scrollbar-track {
    background: transparent !important;
}
.locale-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18) !important;
    border-radius: 8px !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
}
.locale-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary) !important;
}
html.theme-light .locale-dropdown::-webkit-scrollbar-thumb,
body.theme-light .locale-dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25) !important;
}
html.theme-light .locale-dropdown::-webkit-scrollbar-thumb:hover,
body.theme-light .locale-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary) !important;
}

/* Light Theme overrides for dropdown shadows & scrollbar hover */
html.theme-light .locale-dropdown,
body.theme-light .locale-dropdown {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08) !important;
}
html.theme-light .locale-dropdown a {
    color: #18181b !important;
}
html.theme-light .locale-dropdown a:hover {
    background: #f4f4f5 !important;
    color: var(--primary) !important;
}

/* Smooth layout wrapping on footer bottom on mobile */
@media (max-width: 480px) {
    .footer-bottom {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 0.75rem !important;
    }
    .locale-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ── Premium Global Custom Scrollbar (Universal & Theme Aware) ── */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

/* Light Mode Firefox Scrollbar compatibility */
html.theme-light *,
body.theme-light *,
.theme-light * {
    scrollbar-color: rgba(0, 0, 0, 0.22) transparent;
}

/* WebKit Custom Scrollbars (Chrome, Safari, Edge, Opera) */
*::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
}

*::-webkit-scrollbar-track {
    background: transparent !important;
}

*::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16) !important;
    border-radius: 8px !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
    transition: background 0.3s ease !important;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--primary) !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
}

*::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* WebKit Light Mode Overrides */
html.theme-light *::-webkit-scrollbar-thumb,
body.theme-light *::-webkit-scrollbar-thumb,
.theme-light *::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.22) !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
}

html.theme-light *::-webkit-scrollbar-thumb:hover,
body.theme-light *::-webkit-scrollbar-thumb:hover,
.theme-light *::-webkit-scrollbar-thumb:hover {
    background: var(--primary) !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
}
/* ── Custom JavaScript Scrollbar Component (KENDİN YAP) ── */
.custom-scroll-container {
    position: relative !important;
    overflow: hidden !important;
}
.locale-dropdown.custom-scroll-container {
    position: absolute !important;
    bottom: calc(100% + 8px) !important;
    top: auto !important;
}

.custom-scroll-content {
    height: 100% !important;
    width: 100% !important;
    overflow-y: auto !important;
    scrollbar-width: none !important; /* Firefox */
}

.custom-scroll-content::-webkit-scrollbar {
    display: none !important; /* WebKit */
}

.custom-scrollbar-track {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    bottom: 4px !important;
    width: 6px !important;
    background: transparent !important;
    border-radius: 8px !important;
    z-index: 99999 !important;
    opacity: 0.4 !important;
    transition: opacity 0.3s ease !important;
    pointer-events: none !important;
}

.custom-scroll-container:hover .custom-scrollbar-track,
.custom-scrollbar-track:hover {
    opacity: 1 !important;
}

.custom-scrollbar-thumb {
    position: absolute !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: background 0.2s ease, width 0.2s ease !important;
}

.custom-scrollbar-thumb:hover,
.custom-scrollbar-thumb.active {
    background: var(--primary) !important;
}

/* Light Theme overrides for custom scrollbar */
html.theme-light .custom-scrollbar-thumb,
body.theme-light .custom-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25) !important;
}

/* ==========================================================================
   LUVIAPROJECT — KURUMSAL TEMA KATMANI
   Açık tema: mavi + beyaz · Koyu tema: mavi + siyah
   ========================================================================== */

:root {
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 14px rgba(2, 8, 23, 0.28);
    --shadow-md: 0 14px 38px rgba(2, 8, 23, 0.42);
    --shadow-glow: 0 10px 34px rgba(37, 99, 235, 0.32);
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
header,
footer,
.card,
.feature-card,
.service-card,
.step-card,
.faq-btn,
.form-control {
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

::selection { background: rgba(59, 130, 246, 0.35); color: #fff; }

/* ── Kaydırma çubuğu ── */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(96, 165, 250, 0.35) transparent;
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.3);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover { background: rgba(96, 165, 250, 0.5); background-clip: content-box; }

/* ── Logo ── */
.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    flex-shrink: 0;
    object-fit: contain;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
}
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.32rem;
    letter-spacing: -0.6px;
    line-height: 1;
}
.logo-text span { color: var(--primary); }
.footer-logo { margin-bottom: 1.2rem; }

/* ── Navbar ── */
header {
    box-shadow: 0 1px 0 rgba(120, 170, 255, 0.06);
}
.nav-links a {
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 500;
}
.nav-links a:hover {
    color: var(--text);
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.18);
}
.nav-links a.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.28);
    font-weight: 600;
}
.nav-buttons .btn { border-radius: 10px; }
.nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.nav-toggle:hover { color: var(--primary); border-color: rgba(59, 130, 246, 0.4); background: rgba(59, 130, 246, 0.08); }
.nav-auth-mobile { display: none; }

/* ── Butonlar ── */
.btn { border-radius: 10px; letter-spacing: 0.1px; }
.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.32);
}
.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
    filter: brightness(1.06);
}
.btn-outline {
    border: 1px solid var(--card-border);
    background: rgba(59, 130, 246, 0.04);
}
.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.45);
    color: var(--primary);
}
.btn-lg { border-radius: 12px; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ── Tipografi ── */
h1, .hero-nourse-title {
    background: linear-gradient(135deg, #ffffff 25%, #a8c7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    color: var(--primary);
}
.section-title { letter-spacing: -0.5px; }

/* ── Hero ── */
.hero-nourse { padding-top: 4.5rem; }
.hero-badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: #7fb3ff;
    font-weight: 600;
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.08);
}
.hero-nourse-desc { font-size: 1.02rem; }
.hero-custom-img {
    max-height: 520px;
    max-width: 560px;
    border-radius: 0;
    filter: drop-shadow(0 30px 70px rgba(37, 99, 235, 0.35));
}
.hero-glow-circle {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.32) 0%, transparent 68%);
    filter: blur(10px);
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    margin-top: 1.9rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--card-border);
}
.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
}
.hero-trust i { color: var(--primary); font-size: 0.85rem; }

/* ── Hizmet kartları ── */
.services-grid { margin-top: 2.5rem; }
.service-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at 100% 0%, rgba(59, 130, 246, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: var(--shadow-md);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
    margin-bottom: 1.3rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.75; margin-bottom: 1.2rem; }
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    transition: gap 0.2s ease;
}
.service-link:hover { gap: 0.75rem; }

/* ── 3 adım ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.step-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem 1.8rem;
    overflow: hidden;
}
.step-no {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(59, 130, 246, 0.28);
    margin-bottom: 0.8rem;
}
.step-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }

/* ── Güven şeridi ── */
.stats-section { border-top: 1px solid var(--card-border); }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-icon {
    font-size: 1.55rem;
    color: var(--primary);
    margin-bottom: 0.7rem;
    opacity: 0.95;
}
.stat-item .stat-label { font-size: 0.9rem; font-weight: 600; }

/* ── Kartlar / SSS ── */
.card { border-radius: var(--radius-lg); }
.feature-card { border-radius: var(--radius-md); }
.feature-card:hover { box-shadow: var(--shadow-sm); }
.faq-btn { border-radius: 12px; }
.faq-item { border-radius: 14px; overflow: hidden; }
.form-control { border-radius: 10px; }

/* ── Footer ── */
footer {
    border-top: 1px solid var(--card-border);
    padding: 3.5rem 2rem 1.6rem;
    margin-top: 2rem;
}
.footer-inner { gap: 2.5rem; }
.footer-tagline {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.75;
    max-width: 300px;
    margin-top: 1rem;
}
.social-box-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1.15rem;
    transition: all 0.2s ease;
}
.social-box-btn:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--primary);
    transform: translateY(-3px);
}
.footer-secure {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: var(--muted2);
}
.footer-secure i { color: var(--primary); }
.footer-col h4 { color: var(--muted2); }

/* ── Yükleme ekranı ── */
.loader-logo img { border-radius: 16px; }
.loader-name { letter-spacing: -0.5px; }

/* ── Açık tema (mavi + beyaz) ── */
body.theme-light,
html.theme-light {
    --bg: #f7faff;
    --bg2: #e8f0ff;
    --card-bg: #ffffff;
    --card-border: rgba(37, 99, 235, 0.14);
    --text: #0b1730;
    --muted: #5a6b88;
    --muted2: #8494ad;
    --glass: rgba(255, 255, 255, 0.86);
    --input-bg: rgba(37, 99, 235, 0.05);
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.18);
    background-color: #f7faff;
}
html.theme-light body { background-color: #f7faff; }
body.theme-light .bg-glow,
html.theme-light .bg-glow {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.13) 0%, transparent 65%);
}
body.theme-light .bg-glow2,
html.theme-light .bg-glow2 {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 65%);
}
body.theme-light header,
html.theme-light header {
    background: rgba(255, 255, 255, 0.86);
    border-bottom-color: rgba(37, 99, 235, 0.12);
}
body.theme-light .nav-links a { color: #4b5c78; }
body.theme-light .nav-links a:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.18);
}
body.theme-light .nav-links a.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.22);
}
body.theme-light h1,
body.theme-light .hero-nourse-title {
    background: linear-gradient(135deg, #0b1730 25%, #1d4ed8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.theme-light .hero-badge {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.22);
    color: #1d4ed8;
}
body.theme-light .card,
body.theme-light .service-card,
body.theme-light .step-card,
body.theme-light .feature-card,
body.theme-light .faq-btn {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.12);
}
body.theme-light .card { box-shadow: 0 8px 30px rgba(15, 38, 84, 0.07); }
body.theme-light .service-card:hover,
body.theme-light .feature-card:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 16px 36px rgba(15, 38, 84, 0.12);
}
body.theme-light .theme-toggle {
    color: #0b1730;
    border-color: rgba(37, 99, 235, 0.18);
}
body.theme-light .theme-toggle:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.4);
}
body.theme-light .nav-toggle { color: #0b1730; }
body.theme-light .form-control { background: #ffffff; border-color: rgba(37, 99, 235, 0.18); }
body.theme-light .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
body.theme-light footer,
html.theme-light footer {
    background: #ffffff;
    border-top-color: rgba(37, 99, 235, 0.12);
}
body.theme-light .footer-col ul a { color: #5a6b88; }
body.theme-light .footer-col ul a:hover { color: var(--primary); }
body.theme-light .footer-bottom { color: #7b8aa4; border-top-color: rgba(37, 99, 235, 0.12); }
body.theme-light .social-box-btn {
    background: #f4f8ff;
    border-color: rgba(37, 99, 235, 0.14);
    color: #3f527a;
}
body.theme-light .social-box-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.35);
    color: var(--primary);
}
body.theme-light .discord-section { background: transparent; }
body.theme-light .stats-section { border-top-color: rgba(37, 99, 235, 0.12); }
body.theme-light .home-section { border-top-color: rgba(37, 99, 235, 0.1); }
body.theme-light .section-label { color: var(--primary); }
body.theme-light .hero-trust { border-top-color: rgba(37, 99, 235, 0.12); }
body.theme-light .hero-trust span { color: #5a6b88; }
body.theme-light .step-card { background: linear-gradient(160deg, #ffffff, #f2f7ff); }
body.theme-light .step-no { color: rgba(37, 99, 235, 0.18); }
body.theme-light .theme-toggle i { color: inherit; }
body.theme-light #page-loader { background: #f7faff; }
body.theme-light .loader-name { color: #0b1730; }

/* ── Mobil menü ── */
@media (max-width: 768px) {
    .nav-toggle { display: inline-flex; }
    .nav-auth-desktop { display: none; }
    .nav-buttons { gap: 0.5rem; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.9rem 1.2rem 1.1rem;
        background: var(--bg2);
        border-bottom: 1px solid var(--card-border);
        box-shadow: 0 18px 40px rgba(2, 8, 23, 0.35);
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; padding: 0.7rem 0.9rem; font-size: 0.95rem; }
    .nav-auth-mobile { display: block; margin-top: 0.35rem; }
    .nav-auth-mobile + .nav-auth-mobile { margin-top: 0.15rem; }
    .nav-links .nav-auth-primary {
        background: linear-gradient(135deg, #3b82f6, #1d4ed8);
        color: #fff !important;
        justify-content: center;
        border-color: transparent;
    }
    .nav-links .nav-auth-primary:hover { filter: brightness(1.06); background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
    body.theme-light .nav-links {
        background: #ffffff;
        box-shadow: 0 18px 40px rgba(15, 38, 84, 0.14);
    }
    .hero-nourse { padding-top: 2.5rem; }
    .hero-trust { gap: 0.5rem 1rem; }
    .hero-custom-img { max-height: 320px; max-width: 100%; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
    .nav-container { padding: 0.8rem 1rem; }
    .logo-text { font-size: 1.15rem; }
    .logo-mark { width: 34px; height: 34px; }
    .hero-nourse-title { font-size: 1.85rem; }
}

/* ── Mağaza araç çubuğu ── */
.store-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 720px;
    margin: 0 auto 1.4rem;
}
.store-search { position: relative; flex: 1 1 300px; margin: 0; }
.store-search button {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 1rem;
}
.store-filters { justify-content: center; flex-wrap: wrap; }
.filter-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

.store-empty {
    max-width: 720px;
    margin: 2.5rem auto 0;
    padding: 4rem 2rem;
    text-align: center;
    background: var(--card-bg);
    border: 1px dashed var(--card-border);
    border-radius: var(--radius-lg);
}
.store-empty-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.22);
}
.store-empty h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.store-empty p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; max-width: 460px; margin: 0 auto 1.8rem; }
.store-empty-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ── Kredi yükleme ── */
.credit-card { text-align: center; padding: 3rem 2.5rem !important; }
.credit-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.4rem;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.35);
}
.credit-title {
    background: none !important;
    -webkit-text-fill-color: var(--text) !important;
    color: var(--text);
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    margin-bottom: 0.7rem;
}
.credit-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 2rem;
}
.credit-desc strong { color: var(--text); }
.credit-btn { width: 100%; max-width: 420px; }
.credit-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    margin: 2.4rem 0 1.8rem;
    text-align: left;
}
.credit-step {
    padding: 1.2rem 1.1rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.04);
}
.credit-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.16);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}
.credit-step p { color: var(--muted); font-size: 0.84rem; line-height: 1.65; margin: 0; }
.credit-note {
    color: var(--muted2);
    font-size: 0.82rem;
    line-height: 1.7;
    border-top: 1px solid var(--card-border);
    padding-top: 1.4rem;
    margin: 0;
}
.credit-note i { color: var(--primary); margin-right: 0.35rem; }
.credit-note a { color: var(--primary); font-weight: 600; }

body.theme-light .credit-step { background: rgba(37, 99, 235, 0.05); }
body.theme-light .store-empty { background: #ffffff; border-color: rgba(37, 99, 235, 0.2); }
body.theme-light .store-empty-icon { background: rgba(37, 99, 235, 0.08); }

/* ── Mobil taşma düzeltmeleri ── */
img, svg { max-width: 100%; }
.hero-nourse-content,
.hero-nourse-text,
.hero-nourse-img { min-width: 0; }

@media (max-width: 768px) {
    .hero-nourse-content { flex-direction: column; align-items: stretch; }
    .hero-nourse-text,
    .hero-nourse-img { width: 100%; max-width: 100%; }
    .hero-custom-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
    }
    .hero-nourse-btns { width: 100%; }
    .hero-nourse-btns .btn { flex: 1 1 100%; }
    .hero-trust { justify-content: flex-start; }
    .store-toolbar { flex-direction: column; align-items: stretch; }
    .store-toolbar > .btn { width: 100%; }
    .store-search { flex: 1 1 auto; }
    .credit-card { padding: 2.2rem 1.3rem !important; }
    .credit-steps { grid-template-columns: 1fr; }
    .sp-wrap { border-radius: 14px; }
}

/* ==========================================================================
   YÖNETİM PANELİ + PROFİL
   ========================================================================== */

/* ── Yönetici giriş kapısı ── */
.admin-gate {
    display: flex;
    justify-content: center;
    padding: 4rem 1.5rem;
}
.gate-card {
    width: 100%;
    max-width: 440px;
    text-align: center;
    padding: 2.8rem 2.2rem !important;
}
.gate-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.3rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.35);
}
.gate-card h1 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    background: none;
    -webkit-text-fill-color: var(--text);
    color: var(--text);
}
.gate-card > p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}
.gate-card form { text-align: left; }
.gate-card .form-control { margin-bottom: 0.9rem; }
.gate-card .btn { width: 100%; }
.gate-error {
    color: #f87171;
    font-size: 0.82rem;
    margin: -0.2rem 0 0.9rem;
}
.gate-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.4rem;
    color: var(--muted);
    font-size: 0.85rem;
    transition: color 0.2s;
}
.gate-back:hover { color: var(--primary); }

/* ── Panel iskeleti ── */
.admin-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2.5rem 2rem 4rem;
}
.admin-shell {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.admin-nav {
    position: sticky;
    top: 92px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 1rem 0.8rem;
    backdrop-filter: blur(10px);
}
.admin-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.5rem 1rem;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 0.7rem;
}
.admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    flex-shrink: 0;
}
.admin-user-name { font-size: 0.88rem; font-weight: 700; }
.admin-user-role {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    font-weight: 700;
}
.admin-menu { display: flex; flex-direction: column; gap: 0.15rem; }
.admin-menu-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.62rem 0.7rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: none;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.18s ease;
}
.admin-menu-item i { width: 18px; text-align: center; font-size: 0.85rem; }
.admin-menu-item:hover { color: var(--text); background: rgba(59, 130, 246, 0.08); }
.admin-menu-item.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.13);
    border-color: rgba(59, 130, 246, 0.25);
    font-weight: 600;
}
.admin-menu-foot {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.admin-menu-foot a,
.admin-menu-foot button {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.7rem;
    border: none;
    background: none;
    border-radius: 10px;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.83rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.18s ease;
}
.admin-menu-foot a:hover { color: var(--text); background: rgba(59, 130, 246, 0.08); }
.admin-menu-foot .danger { color: #f87171; }
.admin-menu-foot .danger:hover { background: rgba(248, 113, 113, 0.1); }

.admin-content { min-width: 0; }
.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 1.3rem;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 1.6rem;
}
.admin-topbar h1 {
    font-size: 1.55rem;
    margin-bottom: 0.2rem;
    background: none;
    -webkit-text-fill-color: var(--text);
    color: var(--text);
}
.admin-topbar p { color: var(--muted); font-size: 0.85rem; }
.admin-topbar-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.admin-panel { display: none; }
.admin-panel.active { display: block; animation: fadeUp 0.25s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    margin-bottom: 1.6rem;
}
.admin-stat {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.3rem 1.2rem;
    position: relative;
    overflow: hidden;
}
.admin-stat .admin-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.12);
    margin-bottom: 0.8rem;
}
.admin-stat .admin-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.1;
}
.admin-stat .admin-stat-label { color: var(--muted); font-size: 0.8rem; margin-top: 0.2rem; }
.admin-stat .admin-stat-trend {
    position: absolute;
    top: 1.2rem;
    right: 1.1rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 0.12rem 0.45rem;
    border-radius: 50px;
}

.admin-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.4rem;
    margin-bottom: 1.2rem;
}
.admin-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.admin-card-head h3 { font-size: 1rem; }
.admin-card-head a { font-size: 0.8rem; color: var(--primary); font-weight: 600; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.admin-table th, .admin-table td {
    padding: 0.75rem 0.7rem;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
    font-size: 0.84rem;
    white-space: nowrap;
}
.admin-table th {
    color: var(--muted2);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(59, 130, 246, 0.04); }
.admin-table .muted { color: var(--muted); }
.admin-table .strong { font-weight: 600; }

.admin-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; }

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.admin-form-grid .form-group { margin-bottom: 0.4rem; }
.admin-save { margin-top: 1rem; }

.admin-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--muted);
    font-size: 0.88rem;
}

/* ── Profil ── */
.profile-head {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 1.8rem;
}
.profile-avatar {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.32);
    flex-shrink: 0;
}
.profile-head-info { flex: 1; min-width: 220px; }
.profile-head-info h1 {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
    background: none;
    -webkit-text-fill-color: var(--text);
    color: var(--text);
}
.profile-head-info p { color: var(--muted); font-size: 0.88rem; }
.profile-head-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.profile-stat {
    text-align: left;
    padding: 1.5rem 1.4rem;
}
.profile-stat .p-label {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}
.profile-stat .p-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    margin: 0.35rem 0 0.7rem;
}
.profile-stat a { color: var(--primary); font-size: 0.83rem; font-weight: 600; }
.profile-stat a i { font-size: 0.7rem; }

.admin-access-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}
.admin-access-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    margin-bottom: 0.3rem;
}
.admin-access-card h3 { font-size: 1.05rem; }
.admin-access-card p { color: var(--muted); font-size: 0.86rem; line-height: 1.65; margin-bottom: 0.4rem; }
.admin-access-card .btn { margin-top: 0.2rem; }
.role-badge-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.18rem 0.55rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.28);
    color: #4ade80;
}

/* ── Açık tema uyumları ── */
body.theme-light .admin-nav,
body.theme-light .admin-stat,
body.theme-light .admin-card { background: #ffffff; border-color: rgba(37, 99, 235, 0.12); }
body.theme-light .admin-stat .admin-stat-icon { background: rgba(37, 99, 235, 0.08); }
body.theme-light .admin-menu-item:hover { background: rgba(37, 99, 235, 0.07); color: #0b1730; }
body.theme-light .admin-menu-item.active { background: rgba(37, 99, 235, 0.1); }
body.theme-light .admin-table tr:hover td { background: rgba(37, 99, 235, 0.04); }
body.theme-light .admin-stat .admin-stat-trend { color: #15803d; }
body.theme-light .badge-green { background: rgba(34, 197, 94, 0.12); color: #15803d; }
body.theme-light .badge-blue { background: rgba(37, 99, 235, 0.1); color: #1d4ed8; }
body.theme-light .badge-red { background: rgba(239, 68, 68, 0.1); color: #b91c1c; }

@media (max-width: 900px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-nav { position: static; }
    .admin-menu { flex-direction: row; flex-wrap: wrap; }
    .admin-menu-item { width: auto; }
    .admin-menu-foot { flex-direction: row; flex-wrap: wrap; }
    .admin-page { padding: 1.6rem 1rem 3rem; }
}


/* ── Panel ek stilleri ── */
.admin-gate[hidden], .admin-shell[hidden] { display: none !important; }
.badge-amber { background: rgba(245,158,11,0.12); color: #fbbf24; border: 1px solid rgba(245,158,11,0.25); }
.badge-danger { background: rgba(239,68,68,0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.25); }
body.theme-light .badge-amber { color: #b45309; }
body.theme-light .badge-danger { color: #b91c1c; }
.admin-ticket-list { display: flex; flex-direction: column; }
.admin-ticket { display: flex; align-items: center; gap: 0.8rem; padding: 0.72rem 0.15rem; border-bottom: 1px solid var(--card-border); }
.admin-ticket:last-child { border-bottom: none; }
.admin-ticket-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(59,130,246,0.12); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 0.78rem; flex-shrink: 0; }
.admin-ticket-body { flex: 1; min-width: 0; }
.admin-ticket-title { font-size: 0.84rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-ticket-meta { font-size: 0.73rem; color: var(--muted); }
.admin-ticket .badge { flex-shrink: 0; }
.profile-form .form-group { margin-bottom: 0.9rem; }
.profile-form .form-control { width: 100%; }
