:root {
    /* Ultra Modern Linear / Raycast Derin Grafit & Elektrik Mavisi Paleti */
    --bg-primary: #080b11;
    --bg-secondary: #0e131f;
    --bg-card: #141b2a;
    --bg-card-hover: #1b2438;
    --bg-elevated: #222d42;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(59, 130, 246, 0.35);
    --border-focus: rgba(37, 99, 235, 0.6);
    
    /* Vurgulu Fonksiyonel Renkler */
    --accent-blue: #3b82f6;
    --accent-blue-deep: #2563eb;
    --accent-blue-glow: rgba(37, 99, 235, 0.35);
    
    --accent-indigo: #6366f1;
    --accent-indigo-glow: rgba(99, 102, 241, 0.25);
    
    --accent-gold: #f59e0b;
    --accent-gold-glow: rgba(245, 158, 11, 0.25);
    
    --accent-emerald: #10b981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.25);
    
    --accent-rose: #f43f5e;
    --accent-rose-glow: rgba(244, 63, 94, 0.25);
    
    /* Dinlendirici & Kristal Netliğinde Tipografi Renkleri */
    --text-main: #f8fafc;
    --text-muted: #8492a6;
    --text-dim: #5a6881;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-glass: 0 10px 30px -5px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

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

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.06), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(99, 102, 241, 0.05), transparent 45%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
}

/* GÖRÜNÜR BEYAZ KAYDIRMA ÇUBUĞU (SCROLLBAR) */
html, body {
    scrollbar-color: #ffffff rgba(10, 15, 26, 0.9);
    scrollbar-width: auto;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(9, 13, 22, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 6px;
    border: 2.5px solid rgba(9, 13, 22, 0.95);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

::-webkit-scrollbar-thumb:hover {
    background: #f1f5f9;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.8);
}


/* APP LAYOUT */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: 250px;
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 12px 10px;
    position: fixed;
    height: 100vh;
    max-height: 100vh;
    z-index: 10;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}
.sidebar::-webkit-scrollbar {
    width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.brand-logo-img {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px;
    border-radius: 12px;
    object-fit: cover;
    border: 1.5px solid rgba(59, 130, 246, 0.45);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.logo-text h2 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.15;
    color: var(--text-main);
}

.logo-text h2 span {
    color: var(--accent-gold);
    font-size: 10px;
    background: rgba(245, 158, 11, 0.15);
    padding: 1px 5px;
    border-radius: 3px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.logo-text p {
    font-size: 11px;
    margin-top: 2px;
    color: var(--text-muted);
}

.sidebar-account-box {
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-account-box:hover {
    border-color: var(--accent-blue) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45) !important;
}

.sidebar-account-box.active {
    border-color: var(--accent-blue) !important;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(15, 23, 42, 0.95)) !important;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.25) !important;
}

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

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    height: 33px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    white-space: nowrap;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transform: translateX(2px);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.14), rgba(99, 102, 241, 0.05));
    border-color: rgba(56, 189, 248, 0.3);
    color: var(--accent-blue);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-item i {
    font-size: 13px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.badge-count {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.badge-count.gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    border-color: rgba(245, 158, 11, 0.3);
}

.badge-count.blue {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    border-color: rgba(56, 189, 248, 0.3);
}

.system-status-box {
    margin-top: auto;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-muted);
}

.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.license-mini-info {
    color: var(--text-muted);
}

/* MAIN CONTENT */
.main-content {
    margin-left: 250px;
    flex: 1;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* TOP BAR */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-search {
    position: relative;
    flex: 1;
    max-width: 480px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
}

.header-search input {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 11px 16px 11px 44px;
    color: var(--text-main);
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s;
}

.header-search input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
    background: var(--bg-card);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    box-shadow: 0 4px 14px var(--accent-blue-glow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.45);
    filter: brightness(1.08);
}

.btn-outline {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.08);
    color: #fff;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: var(--radius-md);
}

.btn-icon:hover {
    border-color: var(--border-highlight);
    background: var(--bg-card);
}


/* QUICK FILTER BAR */
.quick-filter-bar {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.filter-group select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    padding: 6px 12px;
    font-size: 13px;
    outline: none;
}

.stats-summary {
    margin-left: auto;
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.stats-summary strong {
    color: var(--accent-blue);
}

/* LISTINGS GRID */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.empty-state {
    grid-column: 1 / -1;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 48px;
    color: var(--text-dim);
    margin-bottom: 16px;
}

/* LISTING CARD */
.listing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
}

.listing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-glass);
}

.listing-card.new-alert {
    border-color: var(--accent-gold);
    animation: glow-border 2s infinite alternate;
}

@keyframes glow-border {
    from { box-shadow: 0 0 5px rgba(245, 158, 11, 0.2); }
    to { box-shadow: 0 0 20px rgba(245, 158, 11, 0.6); }
}

.card-image-wrap {
    position: relative;
    height: 200px;
    background: #0f172a;
    overflow: hidden;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.listing-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.badge-deal {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.badge-deal.success {
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
}

.badge-deal.warning {
    background: rgba(245, 158, 11, 0.9);
    color: #fff;
}

.badge-deal.danger {
    background: rgba(244, 63, 94, 0.9);
    color: #fff;
}

.badge-deal.info {
    background: rgba(56, 189, 248, 0.9);
    color: #fff;
}

.fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.fav-btn.active {
    color: var(--accent-gold);
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.card-price {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-blue);
}

.card-specs {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.card-specs item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.keywords-matched {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-kw {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.dealer-note-area {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.dealer-note-area input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: 12px;
    color: var(--text-main);
}

.btn-view-link {
    width: 100%;
    margin-top: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    padding: 10px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-view-link:hover {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

/* MODALS */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 14, 0.78);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: linear-gradient(180deg, #141b2a, #0e131f);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 92%;
    max-width: 680px;
    max-height: 86vh;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-lg {
    max-width: 680px;
}

.modal-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    flex-shrink: 0;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-btn:hover {
    background: rgba(244, 63, 94, 0.15);
    color: var(--accent-rose);
    border-color: rgba(244, 63, 94, 0.3);
}

.modal-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    flex: 1;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.5);
}

/* ========================================================
   SADECE DETAYLI FİLTRE PANELİ (WIZARD STEP 2)
   1. 2. VE 3. ADIMLARA KESİNLİKLE DOKUNULMAZ!
   ======================================================== */
.modal-body.step2-active {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 540px !important;
    max-height: 82vh !important;
    padding: 16px 20px 14px 20px !important;
}

.modal-body.step2-active #form-rule {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    flex: 1 !important;
}

.modal-body.step2-active #wizard-step-2 {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    flex: 1 !important;
    overflow: hidden !important;
}

.step2-fixed-header {
    flex-shrink: 0 !important;
    margin-bottom: 10px !important;
}

.wizard-step2-scroll {
    max-height: 350px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important; /* Sağa-sola kayma KESİNLİKLE YOK! */
    padding-right: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.wizard-step2-scroll::-webkit-scrollbar {
    width: 6px;
}

.wizard-step2-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.wizard-step2-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

.wizard-step2-scroll::-webkit-scrollbar-thumb:hover {
    background: #38bdf8;
}

.wizard-step2-scroll * {
    max-width: 100%;
    box-sizing: border-box;
}

.wizard-step2-footer {
    flex-shrink: 0 !important;
    margin-top: 10px !important;
    padding-top: 12px !important;
    border-top: 1px solid var(--border-color) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: inherit !important;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 100%;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    flex: 100%;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, .form-group select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--accent-blue);
}

.help-text {
    font-size: 11px;
    color: var(--text-dim);
}

.modal-footer {
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
    flex-shrink: 0;
}


.divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 12px 0;
}

/* TABLES */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.data-table th, .data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-muted);
    font-weight: 600;
}

.license-card-box {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(245, 158, 11, 0.1));
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.lic-icon {
    font-size: 36px;
    color: var(--accent-gold);
}

.badge-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-emerald);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
}

.margin-top {
    margin-top: 16px;
}

/* ========================================================
   VEHICLE SEARCH WIZARD (ARAÇ BUL SİHİRBAZI) STYLES
======================================================== */
.wizard-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
}


.wizard-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.wizard-step-item.active {
    color: var(--accent-blue);
}

.wizard-step-item.completed {
    color: var(--accent-emerald);
}

.wizard-step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.wizard-step-item.active .wizard-step-circle {
    border-color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.2);
    color: var(--accent-blue);
}

.wizard-step-item.completed .wizard-step-circle {
    border-color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-emerald);
}

.wizard-step-divider {
    width: 40px;
    height: 2px;
    background: var(--border-color);
}

.search-input-wrap {
    position: relative;
    margin-bottom: 10px;
}

.search-input-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.search-input-wrap input {
    width: 100%;
    padding-left: 36px !important;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 14px;
}

.search-input-wrap input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.selection-scroll-box {
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.selection-chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
    gap: 6px;
    height: 172px;
    min-height: 172px;
    max-height: 172px;
    overflow-y: auto;
    padding: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.selection-chip.special-chip {
    border-color: rgba(56, 189, 248, 0.4);
    color: var(--accent-blue);
    font-weight: 600;
    background: rgba(56, 189, 248, 0.08);
}

.selection-chip.special-chip:hover {
    background: rgba(56, 189, 248, 0.2);
    color: #fff;
}


/* Koyu temaya uygun ince ve modern kaydırma çubuğu */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.5);
}

.selection-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    height: 34px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selection-chip:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: var(--accent-blue);
    color: #fff;
    transform: translateY(-1px);
}

.selection-chip.selected {
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    color: #fff;
    font-weight: 700;
    border-color: var(--accent-blue);
    box-shadow: 0 2px 10px var(--accent-blue-glow);
}

.multi-select-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.multi-select-toolbar .toolbar-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.multi-select-toolbar .toolbar-actions {
    display: flex;
    gap: 6px;
}

.checkbox-multi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 6px;
    max-height: 168px;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px;
}


.checkbox-multi-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    height: 34px;
    padding: 0 8px;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-main);
    transition: background 0.15s ease;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.checkbox-multi-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(56, 189, 248, 0.3);
}

.checkbox-multi-item input[type="checkbox"] {
    accent-color: var(--accent-blue);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.selected-badge-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.selected-badge-box .badge-title {
    font-size: 12px;
    color: var(--accent-emerald);
    font-weight: 700;
}

.selected-badge-box .badge-val {
    font-size: 13px;
    color: var(--text-main);
    font-weight: 600;
}

.selected-badge-box .badge-remove {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
}

.selected-badge-box .badge-remove:hover {
    color: var(--accent-rose);
}

.step-card-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px 14px 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}



.step-card-box h4 {
    font-size: 14px;
    color: var(--accent-blue);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =============================================
   OTOTAKIP.NET v7 — KULLANICI PANELİ STİLLERİ
   ============================================= */

/* Sidebar action button */
.sidebar-action-wrap {
    margin-bottom: 8px;
}

.btn-sidebar-cta {
    width: 100%;
    justify-content: center;
    padding: 8px 12px !important;
    font-size: 12.5px !important;
    height: 36px !important;
    font-weight: 700;
    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(56, 189, 248, 0.25);
}

/* Sidebar footer */
.sidebar-footer {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--border-color);
}

.nav-settings-btn {
    background: rgba(245, 158, 11, 0.08) !important;
    border: 1px solid rgba(245, 158, 11, 0.22) !important;
    color: var(--text-main) !important;
    font-weight: 600 !important;
    height: 33px !important;
    border-radius: 6px !important;
    padding: 7px 10px !important;
}

.nav-settings-btn:hover, .nav-settings-btn.active {
    background: rgba(245, 158, 11, 0.18) !important;
    border-color: rgba(245, 158, 11, 0.45) !important;
    color: var(--accent-gold) !important;
}

.sidebar-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.sidebar-status-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    padding-left: 4px;
}

.nav-logout {
    color: var(--text-muted) !important;
    padding: 4px 10px !important;
    font-size: 11.5px !important;
    height: 28px !important;
    border-radius: 5px !important;
}

.nav-logout:hover {
    background: rgba(244, 63, 94, 0.1) !important;
    color: var(--accent-rose) !important;
    border-color: rgba(244, 63, 94, 0.3) !important;
}

/* Tab Panels */
.tab-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tab section header (Tüm Filtreler) */
.tab-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tab-desc {
    color: var(--text-muted);
    font-size: 13px;
}

/* Centered tab content (Telegram, Usage) */
.tab-centered-content {
    padding: 20px 0;
}

/* Favorites toggle */
.fav-toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 13px;
    user-select: none;
}

.fav-toggle-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 15px;
}

.fav-toggle-box.active {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
    color: var(--accent-gold);
}

/* Usage Guide */
.usage-guide {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.usage-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(56,189,248,0.1), rgba(245,158,11,0.06));
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.usage-hero-icon {
    font-size: 40px;
    color: var(--accent-blue);
    background: rgba(56,189,248,0.15);
    border-radius: var(--radius-md);
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.usage-hero h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 8px;
}

.usage-hero p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.usage-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.usage-step-card {
    display: flex;
    gap: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: border-color 0.2s;
}

.usage-step-card:hover {
    border-color: var(--border-highlight);
}

.usage-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.usage-step-body {
    flex: 1;
}

.usage-step-body h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--accent-blue);
}

.usage-step-body p, .usage-step-body li {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8;
}

.usage-step-body ol, .usage-step-body ul {
    padding-left: 18px;
}

.usage-step-body code {
    background: rgba(255,255,255,0.1);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.usage-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-right: 6px;
}

.usage-badge.auto {
    background: rgba(16,185,129,0.2);
    color: var(--accent-emerald);
    border: 1px solid rgba(16,185,129,0.3);
}

.usage-badge.manual {
    background: rgba(56,189,248,0.2);
    color: var(--accent-blue);
    border: 1px solid rgba(56,189,248,0.3);
}

/* btn-sm */
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* text colors */
.text-danger { color: var(--accent-rose); }
.text-warning { color: var(--accent-gold); }
.text-success { color: var(--accent-emerald); }
.text-blue { color: var(--accent-blue); }
.text-gold { color: var(--accent-gold); }

/* ========================================================
   KELEPİR ROZETİ, GALERİ NOT DEFTERİ & MÜŞTERİ PDF STİLLERİ
   ======================================================== */
.badge-deal.kelepir {
    background: linear-gradient(135deg, #dc2626, #f59e0b) !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

.dealer-textarea-note {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    padding: 8px 10px;
    font-size: 12px;
    font-family: inherit;
    resize: vertical;
    min-height: 54px;
    line-height: 1.4;
    transition: all 0.2s;
}

.dealer-textarea-note:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px var(--accent-blue-glow);
}

.btn-contact-seller {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-contact-seller:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: var(--accent-blue);
    color: #fff;
}

/* PDF Rapor Sayfası (Beyaz Sayfa Görünümü) */
.pdf-preview-sheet {
    background: #ffffff;
    color: #1e293b;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #0284c7;
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.pdf-brand-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.pdf-meta-box {
    text-align: right;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
}

.pdf-main-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

.pdf-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 13px;
}

.pdf-specs-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.pdf-specs-table tr:nth-child(even) {
    background: #f8fafc;
}

.pdf-spec-label {
    font-weight: 700;
    color: #64748b;
    width: 35%;
}

.pdf-spec-val {
    font-weight: 600;
    color: #0f172a;
}

.pdf-price-banner {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    border-radius: 6px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.pdf-price-banner .price-lbl {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
}

.pdf-price-banner .price-num {
    font-size: 24px;
    font-weight: 800;
}

.pdf-footer-note {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    border-top: 1px dashed #cbd5e1;
    padding-top: 10px;
    line-height: 1.4;
}

/* YAZDIRMA (PRINT TO PDF) MODU */
@media print {
    body * {
        visibility: hidden !important;
    }
    #pdf-preview-content, #pdf-preview-content * {
        visibility: visible !important;
    }
    #pdf-preview-content {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
    }
    .modal-backdrop, .modal-card, .modal-header, .modal-footer {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }
}

/* KVKK Aydınlatma Metni Stilleri */
.kvkk-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 40px;
}

.kvkk-hero {
    display: flex;
    align-items: center;
    gap: 22px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(99, 102, 241, 0.08));
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.kvkk-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.3));
    border: 1px solid rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.kvkk-hero-content h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 6px;
}

.kvkk-hero-content p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.kvkk-meta-tags {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.kvkk-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 5px;
}

.kvkk-tag.law {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
    color: var(--accent-blue);
}

.kvkk-tag.verified {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent-emerald);
}

.kvkk-section-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    transition: all 0.2s ease;
}

.kvkk-section-card:hover {
    border-color: var(--border-highlight);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.kvkk-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.kvkk-sec-badge {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.kvkk-section-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.kvkk-section-body p, .kvkk-section-body li {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

.kvkk-section-body ul, .kvkk-section-body ol {
    padding-left: 20px;
    margin-top: 8px;
}

.kvkk-highlight-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-left: 3px solid var(--accent-blue);
    border-radius: 6px;
    padding: 12px 16px;
    margin: 12px 0;
    font-size: 12px;
    color: var(--text-main);
}

/* Çerez Onay Bildirimi (Cookie Consent Banner) */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 460px;
    background: rgba(14, 19, 31, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75);
    z-index: 10000;
    display: none;
    flex-direction: column;
    gap: 12px;
    animation: slideUpFade 0.3s ease-out;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-banner-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.cookie-banner-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Hakkımızda & İletişim Stilleri */
.about-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 40px;
}

.about-hero {
    display: flex;
    align-items: center;
    gap: 22px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(56, 189, 248, 0.08));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: var(--radius-lg);
    padding: 26px;
}

.about-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(99, 102, 241, 0.3));
    border: 1px solid rgba(168, 85, 247, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #c084fc;
    flex-shrink: 0;
}

.founder-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.founder-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.contact-card-item {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.contact-card-item:hover {
    border-color: var(--border-highlight);
    background: rgba(56, 189, 248, 0.05);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* Zengin Footer (Alt Bilgi) */
.rich-footer {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rich-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 14px;
}

.rich-footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.rich-footer-links a {
    color: var(--text-muted);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s;
}

.rich-footer-links a:hover {
    color: var(--accent-blue);
}

.rich-footer-socials {
    display: flex;
    gap: 12px;
}

.rich-footer-socials a {
    color: var(--text-muted);
    font-size: 15px;
    transition: all 0.2s;
}

.rich-footer-socials a:hover {
    color: var(--text-main);
    transform: scale(1.15);
}

.rich-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: var(--text-dim);
}

/* ======================================================
   AYARLAR (SETTINGS) STİLLERİ
====================================================== */
.settings-wrapper {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 40px;
    width: 100%;
}

.settings-hero {
    display: flex;
    align-items: center;
    gap: 22px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(56, 189, 248, 0.08));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.settings-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.35));
    border: 1px solid rgba(245, 158, 11, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent-gold);
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 20px;
}

.settings-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.settings-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.settings-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-card-title h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.settings-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.settings-badge.blue {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.settings-badge.gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.settings-badge.green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.settings-badge.red {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.settings-help-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 14px 0;
}

/* Pref Items (Toggles) */
.pref-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.pref-item:hover {
    border-color: var(--border-highlight);
    background: rgba(255, 255, 255, 0.02);
}

.pref-item-info {
    flex: 1;
}

.pref-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.pref-item-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* iOS/Modern Style Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--accent-blue), #2563eb);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

/* License Info Box */
.license-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.lic-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.lic-lbl {
    font-size: 11px;
    color: var(--text-muted);
}

.lic-stat strong {
    font-size: 13px;
    color: var(--text-main);
}

/* Header User Badge & Subnav Hover */
.header-user-badge:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
}

.settings-subnav-bar a:hover {
    background: rgba(56, 189, 248, 0.15) !important;
    border-color: var(--accent-blue) !important;
}

html {
    scroll-behavior: smooth;
}

.sidebar-account-box:hover {
    border-color: rgba(56, 189, 248, 0.6) !important;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.24), rgba(15, 23, 42, 0.9)) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.25) !important;
}

/* ======================================================
   AYARLAR KATEGORİ SEKMELERİ (TABBED SETTINGS)
====================================================== */
.settings-category-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin-bottom: 22px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.settings-cat-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.settings-cat-btn i {
    font-size: 18px;
    min-width: 22px;
    text-align: center;
    transition: transform 0.2s ease;
}

.settings-cat-btn .scat-btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.settings-cat-btn .scat-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.settings-cat-btn .scat-desc {
    font-size: 10.5px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.settings-cat-btn:hover {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.35);
    color: var(--text-main);
    transform: translateY(-1px);
}

.settings-cat-btn:hover i {
    transform: scale(1.1);
}

.settings-cat-btn.active {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.22), rgba(56, 189, 248, 0.12));
    border-color: var(--accent-blue);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.settings-cat-btn.active .scat-title {
    color: #38bdf8;
}

.settings-cat-btn.active i {
    transform: scale(1.1);
}

.settings-cat-btn.scat-logout:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.45);
}

.settings-cat-btn.scat-logout.active {
    background: rgba(239, 68, 68, 0.18);
    border-color: #ef4444;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.settings-cat-btn.scat-logout.active .scat-title {
    color: #fca5a5;
}

.profile-cat-panel {
    animation: fadeInPanel 0.2s ease-in-out;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SABİT 0 ÖNEKLİ TELEFON GİRİŞ ALANI */
.phone-input-group {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.2s ease;
}

.phone-input-group:focus-within {
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px var(--accent-blue-glow);
    background: rgba(0, 0, 0, 0.5);
}

.phone-prefix {
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 800;
    color: var(--accent-blue);
    border-right: 1px solid var(--border-color);
    font-family: monospace;
    font-size: 15px;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.phone-input-group input[type="tel"] {
    border: none !important;
    background: transparent !important;
    flex: 1;
    padding: 9px 12px !important;
    font-family: monospace;
    font-size: 13.5px;
    outline: none !important;
    color: var(--text-main) !important;
    box-shadow: none !important;
}

.phone-input-group input[type="tel"]::placeholder {
    color: var(--text-dim);
    font-family: monospace;
}
