/**
 * MISTCLOAKER - Modern Stil Dosyası
 * Dark/Light Mode Destekli Modern Tasarım
 */

:root {
    /* Modern Color Palette */
    --primary-color: #1A2035;
    --secondary-color: #2C3E50;
    --accent-color: #3498DB;
    --success-color: #27AE60;
    --warning-color: #F39C12;
    --danger-color: #E74C3C;
    --info-color: #17A2B8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1A2035, #2C3E50);
    --gradient-accent: linear-gradient(135deg, #3498DB, #2980B9);
    --gradient-success: linear-gradient(135deg, #27AE60, #2ECC71);
    --gradient-warning: linear-gradient(135deg, #F39C12, #E67E22);
    --gradient-danger: linear-gradient(135deg, #E74C3C, #C0392B);
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #E9ECEF;
    --bg-dark: #1A2035;
    --sidebar-bg: #1A2035;
    --sidebar-hover: rgba(255, 255, 255, 0.1);
    
    /* Text Colors */
    --text-primary: #1A2035;
    --text-secondary: #6C757D;
    --text-muted: #ADB5BD;
    --text-white: #FFFFFF;
    --sidebar-text: rgba(255, 255, 255, 0.9);
    --sidebar-text-muted: rgba(255, 255, 255, 0.6);
    
    /* Border & Shadow */
    --border-color: #DEE2E6;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 2px 10px rgba(26, 32, 53, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 32, 53, 0.12);
    --shadow-lg: 0 10px 40px rgba(26, 32, 53, 0.15);
    
    /* Layout */
    --sidebar-width: 280px;
    --navbar-height: 70px;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 3rem;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #1A2035;
    --bg-secondary: #2C3E50;
    --bg-tertiary: #34495E;
    --bg-dark: #0F1419;
    --sidebar-bg: #0F1419;
    
    --text-primary: #FFFFFF;
    --text-secondary: #BDC3C7;
    --text-muted: #95A5A6;
    
    --border-color: #34495E;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Modern Sidebar */
.modern-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    transform: translateX(0);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-brand {
    color: var(--text-white);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.brand-text {
    margin-left: 8px;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: var(--sidebar-hover);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.user-info {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
}

.user-details {
    flex: 1;
}

.user-name {
    color: var(--sidebar-text);
    font-weight: 600;
    font-size: 1rem;
}

.user-balance {
    color: var(--sidebar-text-muted);
    font-size: 0.9rem;
    margin-top: 2px;
}

.sidebar-nav {
    padding: 0 10px;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--sidebar-text);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    background: var(--sidebar-hover);
    color: var(--text-white);
    transform: translateX(5px);
}

.nav-link.active {
    background: var(--gradient-accent);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.nav-link i {
    width: 20px;
    margin-right: 15px;
    font-size: 1.1rem;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-toggle {
    margin-bottom: 15px;
}

.btn-theme-toggle {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    color: var(--sidebar-text);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: var(--gradient-danger);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: var(--gradient-danger);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Top Navbar */
.top-navbar {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    height: var(--navbar-height);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1040;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.navbar-content {
    height: 100%;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span {
    background: var(--accent-color);
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.balance-display {
    background: var(--gradient-success);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    padding-top: var(--navbar-height);
    min-height: 100vh;
    transition: all 0.3s ease;
}

.content-wrapper {
    padding: 30px;
    padding-bottom: 100px;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1030;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Modern Cards */
.card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    padding: 20px 24px;
}

.card-body {
    padding: 24px;
}

/* Modern Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stats-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stats-card:hover::before {
    top: -30%;
    right: -30%;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    position: relative;
    z-index: 2;
}

.stats-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.stats-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
    z-index: 1;
}

/* Modern Buttons */
.btn {
    border-radius: 10px;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-success {
    background: var(--gradient-success);
    color: white;
}

.btn-success:hover {
    background: var(--gradient-success);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-warning {
    background: var(--gradient-warning);
    color: white;
}

.btn-warning:hover {
    background: var(--gradient-warning);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-danger {
    background: var(--gradient-danger);
    color: white;
}

.btn-danger:hover {
    background: var(--gradient-danger);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Modern Forms */
.form-control {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-weight: 400;
}

.form-control:focus {
    background-color: var(--bg-primary);
    border-color: var(--accent-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.15);
}

.form-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-select {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    padding: 12px 16px;
}

/* Modern Tables */
.table {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table th {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
    padding: 16px;
}

.table td {
    border-color: var(--border-color);
    vertical-align: middle;
    padding: 16px;
}

.table-hover tbody tr:hover {
    background-color: var(--bg-secondary);
}

/* Modern Package Cards */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.package-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.package-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.02);
}

.package-card.featured::before {
    content: 'En Popüler';
    position: absolute;
    top: 15px;
    right: -25px;
    background: var(--gradient-accent);
    color: white;
    padding: 5px 35px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.package-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.package-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 500;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Domain Selection */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.domain-option {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.domain-option:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.domain-option.selected {
    border-color: var(--success-color);
    background: rgba(39, 174, 96, 0.05);
}

.domain-extension {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.domain-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--success-color);
}

/* Modern Badges */
.badge {
    font-size: 0.75rem;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* Modern Alerts */
.alert {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-sm);
    padding: 16px 20px;
}

/* Accordion Styles */
.accordion-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg) !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: none;
    padding: 20px 25px;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: none;
}

.accordion-button:not(.collapsed) .badge {
    background-color: var(--text-primary) !important;
    color: var(--bg-primary) !important;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

.accordion-button:not(.collapsed) .badge {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 25px;
    background: var(--bg-primary);
}

.sites-table {
    margin-top: 20px;
}

.add-site-form {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

/* Button Group Fixes */
.btn-group .btn {
    background-color: var(--bg-primary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-group .btn:hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent-color);
    color: var(--text-primary);
}

.btn-group .btn-primary {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

.btn-group .btn-primary:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.btn-group .btn-outline-warning {
    background-color: transparent;
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.btn-group .btn-outline-warning:hover {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: white;
}

.btn-group .btn-info {
    background: var(--gradient-accent);
    border-color: var(--accent-color);
    color: white;
}

.btn-group .btn-info:hover {
    background: var(--gradient-accent);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-1px);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 60px 30px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.1;
}

.auth-card {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.auth-header {
    background: var(--gradient-primary);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.auth-body {
    padding: 40px 30px;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* Modern Footer */
.modern-footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 20px 0;
    margin-left: var(--sidebar-width);
    transition: all 0.3s ease;
    margin-top: auto;
}

/* Landing Page Navbar Fix */
.landing-navbar {
    background: rgba(26, 32, 53, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    z-index: 1070;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.landing-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.landing-navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px !important;
}

.landing-navbar .nav-link:hover {
    color: white !important;
    transform: translateY(-1px);
}

.landing-navbar .navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 12px;
    z-index: 1090;
    position: relative;
    z-index: 1060;
}

.landing-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.landing-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.landing-navbar .navbar-collapse {
    background: rgba(26, 32, 53, 0.98);
    margin-top: 15px;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1080;
    position: relative;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .modern-sidebar {
        transform: translateX(-100%);
        z-index: 1060;
    }
    
    .modern-sidebar.show {
        transform: translateX(0);
    }
    
    .top-navbar {
        left: 0;
        z-index: 1050;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .modern-footer {
        margin-left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .mobile-overlay.show {
        opacity: 1;
        visibility: visible;
        z-index: 1055;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 20px 15px;
        padding-bottom: 100px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-card {
        margin: 20px;
    }
    
    .auth-header,
    .auth-body {
        padding: 30px 25px;
    }
    
    .navbar-content {
        padding: 0 15px;
    }
    
    .page-title {
        font-size: 1.2rem;
    }
    
    .balance-display {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .navbar-actions {
        flex-direction: column;
        gap: 8px;
        align-items: flex-end;
    }
    
    .domain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-number {
        font-size: 2rem;
    }
    
    .package-price {
        font-size: 2.5rem;
    }
    
    .domain-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar-actions {
        flex-direction: row;
        gap: 8px;
    }
    
    .balance-display {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

.bg-gradient-success {
    background: var(--gradient-success);
}

/* Status Indicators */
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-active { background-color: var(--success-color); }
.status-pending { background-color: var(--warning-color); }
.status-error { background-color: var(--danger-color); }
.status-info { background-color: var(--info-color); }

/* Modern Modal */
.modal-content {
    border-radius: var(--border-radius-lg);
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

/* Progress Bars */
.progress {
    height: 8px;
    border-radius: 10px;
    background-color: var(--bg-tertiary);
}

.progress-bar {
    border-radius: 10px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Landing Page Hero Section */
.hero-section {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn-hero {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px 10px 0;
}

.btn-hero-primary {
    background: var(--gradient-accent);
    color: white;
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
    color: white;
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-3px);
}

.features-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

.packages-section {
    padding: 100px 0;
    background: white;
}

.contact-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
}

.lang-switcher {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.lang-btn {
    display: block;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    margin: 5px 0;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-elements::after {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.stats-counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Mobile Landing Page Fixes */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .lang-switcher {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin: 20px auto;
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    
    .lang-btn {
        margin: 0;
    }
    
    .landing-navbar {
        padding: 10px 0;
    }
    
    .landing-navbar .navbar-collapse {
        background: rgba(26, 32, 53, 0.98);
        margin-top: 15px;
        border-radius: 10px;
        padding: 20px;
        position: relative;
        z-index: 1070;
    }
    
    .landing-navbar .navbar-toggler {
        position: relative;
        z-index: 1080;
    }
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .modern-sidebar {
    left: auto;
    right: 0;
}

[dir="rtl"] .top-navbar {
    left: 0;
    right: var(--sidebar-width);
}

[dir="rtl"] .main-content {
    margin-left: 0;
    margin-right: var(--sidebar-width);
}

[dir="rtl"] .nav-link:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .modern-footer {
    margin-left: 0;
    margin-right: var(--sidebar-width);
}

@media (max-width: 1200px) {
    [dir="rtl"] .modern-footer {
        margin-right: 0;
    }
}

/* Platform Selection */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.platform-item {
    position: relative;
}

.platform-item input[type="radio"] {
    display: none;
}

.platform-label {
    display: block;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: var(--bg-primary);
}

.platform-label:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.platform-item input[type="radio"]:checked + .platform-label {
    border-color: var(--success-color);
    background: rgba(39, 174, 96, 0.05);
}

.platform-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.platform-item input[type="radio"]:checked + .platform-label .platform-icon {
    color: var(--success-color);
}

.platform-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.platform-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Traffic Log Styles */
.traffic-logs {
    max-height: 300px;
    overflow-y: auto;
}

.log-item {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 8px;
    border-radius: var(--border-radius);
    background: var(--bg-secondary);
}

.log-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.log-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 8px;
}

.log-country {
    background: var(--accent-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.log-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.log-details {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.log-reason {
    margin-top: 6px;
    font-size: 0.8rem;
}

.log-reason .badge {
    font-size: 0.7rem;
    margin-right: 4px;
    margin-bottom: 2px;
}
/* =========================================================
   MISTCLOAKER — CSS v2 PATCH
   Modern, okunabilir, dark-mode uyumlu
   ========================================================= */

/* ── Temel tipografi ve boşluk ── */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-weight: 700; letter-spacing: -0.02em; }
p, li, td, th, label, span, div { line-height: 1.65; }

/* ── Sidebar v2 ── */
.modern-sidebar {
    background: linear-gradient(170deg, #0f1523 0%, #1a2035 60%, #1e2a47 100%) !important;
    border-right: 1px solid rgba(255,255,255,0.06) !important;
    box-shadow: 4px 0 24px rgba(0,0,0,0.25) !important;
}
.sidebar-brand { letter-spacing: -0.03em; }
.nav-link {
    border-radius: 10px !important;
    margin: 2px 8px !important;
    padding: 11px 16px !important;
    font-size: 0.875rem !important;
    color: rgba(255,255,255,0.7) !important;
    transition: all .18s ease !important;
}
.nav-link:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
    transform: none !important;
}
.nav-link.active {
    background: linear-gradient(135deg,#3498DB,#2980b9) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(52,152,219,0.35) !important;
}
.nav-link i { width: 18px !important; font-size: 0.95rem !important; }

/* ── Top Navbar v2 ── */
.top-navbar {
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    background: rgba(255,255,255,0.9) !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}
body.dark-mode .top-navbar {
    background: rgba(20,26,42,0.92) !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}
.page-title { font-size: 1.2rem !important; font-weight: 700 !important; }
.balance-display {
    background: linear-gradient(135deg,#27AE60,#2ECC71) !important;
    border-radius: 24px !important;
    font-size: 0.82rem !important;
    padding: 6px 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 10px rgba(39,174,96,0.3) !important;
}

/* ── Modern Cards v2 ── */
.card {
    border-radius: 16px !important;
    border: 1px solid rgba(0,0,0,0.07) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    transition: box-shadow .2s, transform .2s !important;
    background: #fff !important;
}
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1) !important; transform: translateY(-1px) !important; }
.card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(0,0,0,0.07) !important;
    padding: 16px 20px !important;
    font-weight: 600 !important;
}

/* Dark mode cards */
body.dark-mode .card {
    background: #1c2236 !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.3) !important;
    color: #e8edf5 !important;
}
body.dark-mode .card:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.4) !important; }
body.dark-mode .card-header { border-bottom: 1px solid rgba(255,255,255,0.07) !important; color: #e8edf5 !important; }
body.dark-mode .card-body { color: #e8edf5 !important; }
body.dark-mode .card * { color: inherit; }

/* ── Stats Cards ── */
.stats-card {
    border-radius: 16px !important;
    border: none !important;
    position: relative; overflow: hidden;
}
.stats-card::after {
    content:''; position:absolute; width:100px; height:100px;
    border-radius:50%; background:rgba(255,255,255,.08);
    bottom:-20px; right:-20px;
}
.stats-number { font-size:2rem !important; font-weight:800 !important; }

/* ── Buttons v2 ── */
.btn {
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 9px 20px !important;
    letter-spacing: -0.01em !important;
    transition: all .15s ease !important;
    border: none !important;
}
.btn:active { transform: scale(0.98) !important; }
.btn-primary { background: linear-gradient(135deg,#3498DB,#2980B9) !important; color:#fff !important; box-shadow: 0 2px 10px rgba(52,152,219,.35) !important; }
.btn-primary:hover { background: linear-gradient(135deg,#2980B9,#1f6691) !important; color:#fff !important; box-shadow: 0 4px 16px rgba(52,152,219,.4) !important; transform:translateY(-1px) !important; }
.btn-success { background: linear-gradient(135deg,#27AE60,#2ECC71) !important; color:#fff !important; box-shadow: 0 2px 10px rgba(39,174,96,.3) !important; }
.btn-success:hover { background: linear-gradient(135deg,#1e8449,#27AE60) !important; color:#fff !important; transform:translateY(-1px) !important; }
.btn-danger { background: linear-gradient(135deg,#E74C3C,#C0392B) !important; color:#fff !important; }
.btn-danger:hover { background: linear-gradient(135deg,#C0392B,#a93226) !important; color:#fff !important; transform:translateY(-1px) !important; }
.btn-warning { background: linear-gradient(135deg,#F39C12,#E67E22) !important; color:#fff !important; }
.btn-warning:hover { color:#fff !important; transform:translateY(-1px) !important; }
.btn-secondary { background: #6c757d !important; color:#fff !important; }
.btn-outline-primary { border: 2px solid #3498DB !important; color:#3498DB !important; background:transparent !important; }
.btn-outline-primary:hover { background:#3498DB !important; color:#fff !important; }
.btn-outline-secondary { border: 2px solid #6c757d !important; color:#6c757d !important; background:transparent !important; }
.btn-outline-secondary:hover { background:#6c757d !important; color:#fff !important; }
.btn-outline-danger { border: 2px solid #E74C3C !important; color:#E74C3C !important; background:transparent !important; }
.btn-outline-danger:hover { background:#E74C3C !important; color:#fff !important; }
.btn-outline-success { border: 2px solid #27AE60 !important; color:#27AE60 !important; background:transparent !important; }
.btn-outline-success:hover { background:#27AE60 !important; color:#fff !important; }
.btn-sm { padding: 6px 14px !important; font-size: 0.8rem !important; border-radius: 8px !important; }
.btn-lg { padding: 13px 28px !important; font-size: 1rem !important; border-radius: 12px !important; }
body.dark-mode .btn-outline-secondary { border-color: rgba(255,255,255,0.25) !important; color: rgba(255,255,255,0.7) !important; }
body.dark-mode .btn-outline-secondary:hover { background: rgba(255,255,255,0.1) !important; color:#fff !important; }

/* ── Form Controls v2 ── */
.form-control, .form-select {
    border-radius: 10px !important;
    border: 1.5px solid #dee2e6 !important;
    padding: 10px 14px !important;
    font-size: 0.875rem !important;
    transition: border-color .15s, box-shadow .15s !important;
    background: #fff !important;
    color: #1A2035 !important;
}
.form-control:focus, .form-select:focus {
    border-color: #3498DB !important;
    box-shadow: 0 0 0 3px rgba(52,152,219,.15) !important;
    outline: none !important;
}
.form-label { font-size: 0.82rem !important; font-weight: 600 !important; color: #495057 !important; text-transform: uppercase; letter-spacing: 0.04em !important; margin-bottom: 6px !important; }
body.dark-mode .form-control, body.dark-mode .form-select {
    background: #252d42 !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: #e8edf5 !important;
}
body.dark-mode .form-control::placeholder { color: rgba(255,255,255,0.35) !important; }
body.dark-mode .form-control:focus, body.dark-mode .form-select:focus {
    background: #2a3350 !important;
    border-color: #3498DB !important;
    box-shadow: 0 0 0 3px rgba(52,152,219,.2) !important;
    color: #fff !important;
}
body.dark-mode .form-label { color: rgba(255,255,255,0.6) !important; }
.input-group .form-control { border-radius: 10px 0 0 10px !important; }
.input-group .btn { border-radius: 0 10px 10px 0 !important; }

/* ── Tables v2 ── */
.table { border-radius: 12px; overflow: hidden; border: none !important; }
.table th { font-size: 0.75rem !important; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; padding: 14px 16px !important; background: #f8f9fa !important; color: #6c757d !important; border: none !important; }
.table td { padding: 14px 16px !important; vertical-align: middle; border-color: rgba(0,0,0,0.05) !important; font-size: 0.875rem; }
.table tbody tr:last-child td { border-bottom: none !important; }
body.dark-mode .table { color: #e8edf5 !important; }
body.dark-mode .table th { background: #1c2236 !important; color: rgba(255,255,255,0.5) !important; border-color: rgba(255,255,255,0.07) !important; }
body.dark-mode .table td { border-color: rgba(255,255,255,0.05) !important; color: #e8edf5 !important; }
body.dark-mode .table tbody tr:hover td { background: rgba(255,255,255,0.04) !important; }
body.dark-mode .table-striped tbody tr:nth-of-type(odd) td { background: rgba(255,255,255,0.02) !important; }

/* ── Badges v2 ── */
.badge { border-radius: 8px !important; font-size: 0.72rem !important; font-weight: 600 !important; padding: 4px 9px !important; letter-spacing: 0.02em !important; }
.badge.bg-primary { background: linear-gradient(135deg,#3498DB,#2980B9) !important; }
.badge.bg-success { background: linear-gradient(135deg,#27AE60,#2ECC71) !important; }
.badge.bg-danger { background: linear-gradient(135deg,#E74C3C,#C0392B) !important; }
.badge.bg-warning { background: linear-gradient(135deg,#F39C12,#E67E22) !important; }

/* ── Alerts v2 ── */
.alert { border-radius: 12px !important; border: none !important; font-size: 0.875rem !important; font-weight: 500; }
.alert-success { background: rgba(39,174,96,0.12) !important; color: #1e8449 !important; }
.alert-danger  { background: rgba(231,76,60,0.12) !important; color: #c0392b !important; }
.alert-warning { background: rgba(243,156,18,0.12) !important; color: #9a6200 !important; }
.alert-info    { background: rgba(52,152,219,0.12) !important; color: #1a5276 !important; }
body.dark-mode .alert-success { background: rgba(39,174,96,0.15) !important; color: #58d68d !important; }
body.dark-mode .alert-danger  { background: rgba(231,76,60,0.15) !important; color: #f1948a !important; }
body.dark-mode .alert-warning { background: rgba(243,156,18,0.15) !important; color: #f8c471 !important; }
body.dark-mode .alert-info    { background: rgba(52,152,219,0.15) !important; color: #85c1e9 !important; }

/* ── Modals v2 ── */
.modal-content { border-radius: 18px !important; border: none !important; box-shadow: 0 20px 60px rgba(0,0,0,0.2) !important; }
.modal-header { border-radius: 18px 18px 0 0 !important; padding: 20px 24px !important; border-bottom: 1px solid rgba(0,0,0,0.07) !important; background: transparent !important; }
.modal-body { padding: 24px !important; }
.modal-footer { padding: 16px 24px !important; border-top: 1px solid rgba(0,0,0,0.07) !important; border-radius: 0 0 18px 18px !important; }
body.dark-mode .modal-content { background: #1c2236 !important; color: #e8edf5 !important; border: 1px solid rgba(255,255,255,0.08) !important; }
body.dark-mode .modal-header { border-color: rgba(255,255,255,0.07) !important; }
body.dark-mode .modal-footer { border-color: rgba(255,255,255,0.07) !important; }

/* ── Dark mode genel metin ve zemin ── */
body.dark-mode { background: #111827 !important; color: #e8edf5 !important; }
body.dark-mode .main-content { background: #111827 !important; }
body.dark-mode .content-wrapper { color: #e8edf5; }
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 { color: #f0f4ff !important; }
body.dark-mode p, body.dark-mode li, body.dark-mode span:not(.badge):not(.mp-badge) { color: #c9d1e0; }
body.dark-mode .text-muted { color: #7b8aa0 !important; }
body.dark-mode .text-primary { color: #5dade2 !important; }
body.dark-mode .text-success { color: #58d68d !important; }
body.dark-mode .text-danger  { color: #f1948a !important; }
body.dark-mode .text-warning { color: #f8c471 !important; }
body.dark-mode .border, body.dark-mode [class*="border-"] { border-color: rgba(255,255,255,0.08) !important; }
body.dark-mode .bg-light { background: #1c2236 !important; }
body.dark-mode .bg-white { background: #1c2236 !important; }
body.dark-mode .bg-secondary { background: #252d42 !important; }
body.dark-mode hr { border-color: rgba(255,255,255,0.08) !important; }
body.dark-mode .list-group-item { background: #1c2236 !important; border-color: rgba(255,255,255,0.07) !important; color: #e8edf5 !important; }
body.dark-mode .dropdown-menu { background: #1c2236 !important; border-color: rgba(255,255,255,0.1) !important; }
body.dark-mode .dropdown-item { color: #c9d1e0 !important; }
body.dark-mode .dropdown-item:hover { background: rgba(255,255,255,0.06) !important; color: #fff !important; }
body.dark-mode small, body.dark-mode .small { color: #8a97ad !important; }
body.dark-mode .accordion-item { background: #1c2236 !important; border-color: rgba(255,255,255,0.07) !important; }
body.dark-mode .accordion-button { background: #1c2236 !important; color: #e8edf5 !important; }
body.dark-mode .accordion-button:not(.collapsed) { background: #252d42 !important; color: #fff !important; }
body.dark-mode .accordion-body { background: #1c2236 !important; color: #c9d1e0 !important; }

/* ── Marketplace sayfaları ── */
body.dark-mode .mp-subnav { border-color: rgba(255,255,255,0.08) !important; }
body.dark-mode .mp-subnav-link { color: rgba(255,255,255,0.5) !important; }
body.dark-mode .mp-subnav-link:hover { background: rgba(255,255,255,0.06) !important; color:#3498DB !important; }
body.dark-mode .mp-subnav-link.active { background: #3498DB !important; color: #fff !important; }

/* ── Genel dark input-group ── */
body.dark-mode .input-group-text { background: #252d42 !important; border-color: rgba(255,255,255,0.12) !important; color: rgba(255,255,255,0.6) !important; }

/* ── Scrollbar v2 ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(100,120,160,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(100,120,160,0.5); }

/* ── Content wrapper breathing room ── */
.content-wrapper { padding: 28px 32px 80px !important; }
@media(max-width:768px){ .content-wrapper { padding: 16px 14px 80px !important; } }

/* ── Nav tabs v2 ── */
.nav-tabs { border-bottom: 2px solid rgba(0,0,0,0.08) !important; gap: 4px; }
.nav-tabs .nav-link { border: none !important; border-radius: 10px 10px 0 0 !important; padding: 10px 18px !important; font-size: 0.875rem !important; font-weight: 600 !important; color: #6c757d !important; background: transparent !important; }
.nav-tabs .nav-link.active { color: #3498DB !important; background: rgba(52,152,219,.08) !important; border-bottom: 2px solid #3498DB !important; }
.nav-tabs .nav-link:hover { color: #3498DB !important; background: rgba(52,152,219,.05) !important; }
body.dark-mode .nav-tabs { border-color: rgba(255,255,255,0.08) !important; }
body.dark-mode .nav-tabs .nav-link { color: rgba(255,255,255,0.5) !important; }
body.dark-mode .nav-tabs .nav-link.active { color: #5dade2 !important; background: rgba(52,152,219,.12) !important; border-color: #5dade2 !important; }

/* ── Marketplace kart ── */
body.dark-mode .action-card, body.dark-mode [class*="-card"] {
    background: #1c2236 !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e8edf5 !important;
}
body.dark-mode .order-row { background: #1c2236 !important; border-color: rgba(255,255,255,0.07) !important; color: #e8edf5 !important; }
body.dark-mode .order-row:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important; }
body.dark-mode .order-row.has-unread { background: rgba(52,152,219,0.08) !important; border-color: #3498DB !important; }

