/*
 * Nihai Birleştirilmiş CSS Dosyası
 * (app.css, navbar.css, sidebar.css, auth.css, cards.css, 03.html stilleri ve 04.html stilleri)
 */

/* ==================================== */
/* 1. app.css (Root Variables & Base Styles) */
/* ==================================== */

:root {
    --sidebar-width: 350px;
    --primary-color: #6366f1bf;
    --primary-color02: rgba(155, 156, 241, 0.749);
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    --bg-color: #fafafa;
    --sidebar-bg: #ffffff;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.1);
    --hover-shadow: 0 4px 12px rgba(0,0,0,0.1);
    --aa-purple: #a082ff26;
    --aa-blue: #8ccdff26;
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(120deg, var(--aa-purple) 0%, var(--aa-blue) 70%, #ffffffb3 100%), #ffffff;
    background-attachment: fixed;
    line-height: 1.6;
	padding-top: 64px;
    transition: background-color 0.3s ease;
}

/* Common Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-info { color: var(--info-color) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }

/* Responsive Helpers */
.d-none-mobile { display: block; }
.d-only-mobile { display: none; }

@media (max-width: 768px) {
    .d-none-mobile { display: none !important; }
    .d-only-mobile { display: block !important; }
}


.table-sm>:not(caption)>*>* {
    padding: 1rem !important;
}

.btn-range{
    color: #fff;
    background: var(--primary-color);

}
.btn-range:hover{
    color: #fff;
    background: var(--primary-color02);

}

/* ==================================== */
/* 2. auth.css (Auth Page Styles) */
/* ==================================== */

/* Auth Page Styles */
body.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(120deg, var(--aa-purple) 0%, var(--aa-blue) 70%, #ffffffb3 100%), #ffffff;
    background-attachment: fixed;
}

.auth-container {
	display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: #ffffffb8;
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 2rem;
    backdrop-filter: blur(10px);
	max-width: 450px;
    width: 100%;
}

.auth-card:hover {
    box-shadow: var(--hover-shadow);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.auth-logo i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.auth-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Form Styles */
.form-control {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}


.btn-auth {
    background: var(--primary-color);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    color: white;
    font-size: 0.875rem;
}

.btn-auth:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    color: #ffffff;
	background-color:#9fa1df;

}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.divider span {
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-social {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-social:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Password Toggle */
.form-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 57px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 1rem;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    background: none;
    border: none;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    font-size: 0.875rem;
}

.auth-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.auth-content {
    display: none;
}

.auth-content.active {
    display: block;
}

/* Success Message */
.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.alert-success i {
    margin-right: 0.5rem;
}

/* Back to Login Link */
.back-to-login {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.back-to-login:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.back-to-login i {
    margin-right: 0.5rem;
}


/* ==================================== */
/* 3. sidebar.css (Sidebar Styles) */
/* ==================================== */

/* Main Layout */
.main {
    display: flex;
}

.sidebar {
    width: var(--sidebar-width);
    /*background: var(--sidebar-bg);*/
    transition: transform 0.3s ease-in-out;
}

.main-content {
    width: 100%;
    padding: 24px;
    min-height: calc(100vh - 64px);
    transition: margin-left 0.3s ease;
}

/* Section Titles */
.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #6366f187;
    letter-spacing: 0.05em;
    margin: 1.3rem 0 0.4rem 0;
    padding: 0 1.5rem;
}

/* Navigation Links - Sidebar Link */
.nav-link-Sub {
    padding: 0.45rem 0 !important;
}

.nav-link {
    color: #4b5563;
    padding: 0.45rem 1.5rem;
    border-radius: 8px;
    margin: 0.125rem 0.75rem;
    border: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    font-weight: 700;
    text-decoration: none;
}

.nav-link:hover {
    background-color: #6366f112;
    color: #6366f1;
    transform: translateX(2px);
}

.nav-link.active {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    box-shadow: var(--card-shadow);
}

.nav-link i {
    width: 20px;
    margin-right: 12px;
    font-size: 0.9rem;
}

/* Sidebar Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}


/* ==================================== */
/* 4. navbar.css (Navbar Styles) */
/* ==================================== */

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    height: 64px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.navbar-brand {
    display: flex !important;
    align-items: center;
    font-weight: 700;
    color: #000 !important;
    text-decoration: none;
}

.navbar-brand i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.navbar-nav .nav-link { /* Navbar navigation links */
    color: #4b5563;
    font-weight: 600;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link i {
    margin-right: 0.5rem;
}

/* Badge Notification */
.badge-notification {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 8px;
}

.dropdown-item {
    border-radius: 6px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
}

.dropdown-item i {
    margin-right: 0.5rem;
    width: 16px;
}

/* Mobile Navbar Toggler (Desktop'ta gizli) */
.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.5rem;
    font-size: 1.25rem;
    height: 40px;
    display: none; /* Desktop'ta gizli */
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    font-size: 15px;
}

/* Mobile Language Selector (Desktop'ta gizli) */
.nav-item.dropdown.mobile-lang {
    display: none;
}

.nav-link.dropdown-toggle.mobile-lang {
    display: none;
}

		
/* 3 Seviyeli Menü Stilleri */
.submenu {
    background: rgba(99, 102, 241, 0.03);
    border-left: 2px solid var(--primary-color);
    margin: 0.25rem 0 0.25rem 1.5rem;
    padding: 0.25rem 0;
}

.submenu-link {
    padding: 0.35rem 1.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    color: #4b5563 !important;
    position: relative;
    text-decoration: none;
}

.submenu-link:hover {
    background-color: rgba(99, 102, 241, 0.08) !important;
}

.submenu-link[aria-expanded="true"] {
    background-color: rgba(99, 102, 241, 0.1) !important;
    color: var(--primary-color) !important;
}

.sub-submenu {
    background: rgba(99, 102, 241, 0.02);
    border-left: 1px solid #e5e7eb;
    margin: 0.25rem 0 0.25rem 1rem;
    padding: 0.25rem 0;
}

.sub-submenu .nav-link {
    padding: 0.25rem 1rem 0.25rem 1.5rem !important;
    font-size: 0.75rem !important;
    color: #6b7280 !important;
    transition: all 0.2s ease;
}

.sub-submenu .nav-link:hover {
    background-color: rgba(99, 102, 241, 0.05) !important;
    color: var(--primary-color) !important;
}

.sub-submenu .nav-link.active {
    background-color: var(--primary-color) !important;
    color: white !important;
    font-weight: 600;
}

.sub-submenu .bi-dot {
    font-size: 1.2rem;
    margin-right: 0.25rem;
    color: var(--primary-color);
}

.sub-submenu .nav-link.active .bi-dot {
    color: white;
}

/* Chevron animasyonları */
.nav-link .bi-chevron-down {
    transition: transform 0.3s ease;
}

.nav-link[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

/* Aktif menü göstergesi */
.nav-link.active-parent {
    background-color: rgba(99, 102, 241, 0.15) !important;
    color: var(--primary-color) !important;
    font-weight: 700;
}

/* Sadece aktif menü açık, diğerleri kapalı */
.collapse:not(.show) {
    display: none;
}



/* Desktop Styles */
@media (min-width: 769px) {
    .navbar-toggler {
        display: none !important;
    }

    .nav-item.dropdown.mobile-lang {
        display: none !important;
    }
}


/* ==================================== */
/* 5. cards.css (Card & Button Styles) */
/* ==================================== */

/* Card Styles */
.card-modern {
    background: #ffffffb8;
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card-modern:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-2px);
}

.card-body {
    padding: 1.5rem;
}

/* Button Styles */
.btn-modern {
    background: var(--primary-color);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    color: white;
}

.btn-modern i {
    margin-right: 0.5rem;
}


/* ==================================== */
/* 6. 03.html (Dashboard Components) */
/* ==================================== */

.stat-card {
    /*padding: 1.5rem;*/
    border-left: 4px solid var(--primary-color);
}

.stat-card.success {
    border-left-color: var(--success-color);
}

.stat-card.warning {
    border-left-color: var(--warning-color);
}

.stat-card.danger {
    border-left-color: var(--danger-color);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
}

.stat-change {
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.stat-change.positive {
    color: var(--success-color);
}

.stat-change.negative {
    color: var(--danger-color);
}

.quick-action-card {
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-action-card:hover {
    background: rgba(99, 102, 241, 0.05);
}

.quick-action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.quick-action-icon.primary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.quick-action-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.quick-action-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.activity-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.activity-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.activity-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.activity-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Progress Bar */
.progress-modern {
    height: 8px;
    border-radius: 4px;
    background: #f3f4f6;
    overflow: hidden;
}

.progress-bar-modern {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}


/* ==================================== */
/* 7. 04.html (Reporting Components) */
/* ==================================== */

/* Raporlama Özel Stilleri */
.reporting-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.filter-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
}

.metric-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}
/* === RMF-8.1 | AdsAnalitix Metric Card === */
.metric-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    height: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
    overflow: hidden;
}

/* Sol gradient çizgi (marka vurgusu) */
.metric-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), #60a5fa);
    border-radius: 14px 0 0 14px;
}

/* Hover efekti */
.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Değer kısmı */
.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

/* Başlık kısmı */
.metric-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.metric-label i {
    font-size: 0.9rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease;
}
.metric-label i:hover {
    color: var(--primary-color);
}

/* Açıklama metni */
.metric-label01 {
    flex-grow: 1;
    font-size: 13px;
    color: #9fa2af;
    font-weight: 500;
    line-height: 1.4;
    margin: 0.5rem 0 0.75rem;
}

/* Alt oran değişimi */
.metric-change {
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.metric-change.positive {
    color: var(--success-color);
}
.metric-change.negative {
    color: var(--danger-color);
}

/* === Tip bazlı renk varyantları === */
.metric-card.impressions::before {
    background: linear-gradient(180deg, #6366f1, #818cf8);
}
.metric-card.clicks::before {
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
}
.metric-card.ctr::before {
    background: linear-gradient(180deg, #f59e0b, #fbbf24);
}
.metric-card.cpc::before {
    background: linear-gradient(180deg, #10b981, #34d399);
}

/* Responsive: küçük ekranlarda iki sütun */
@media (max-width: 768px) {
    .metric-card {
        min-height: 200px;
        padding: 1.25rem;
    }
}

.chart-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
    position: relative; /* 03.html'den eklendi */
    height: 250px; /* 03.html'den eklendi */
    width: 100%; /* 03.html'den eklendi */
}

.data-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
}

.export-btn {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.export-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.tab-content {
    background: white;
    border-radius: 0 0 12px 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

.nav-tabs .nav-link {
    border: none;
    color: #6b7280;
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.nav-tabs .nav-link.active {
    background: white;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.comparison-badge {
    background: var(--info-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.kpi-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.kpi-positive { background: var(--success-color); }
.kpi-warning { background: var(--warning-color); }
.kpi-negative { background: var(--danger-color); }

/* Gauge Chart */
.gauge-container {
    position: relative;
    width: 120px;
    height: 60px;
}

.gauge-value {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 1.25rem;
}


/* ==================================== */
/* 8. Responsive Styles (03.html ve 04.html'den Güncellendi) */
/* ==================================== */

@media (max-width: 768px) {
    /* Genel Responsive Helper'lar */
    .d-none-mobile { display: none !important; }
    .d-only-mobile { display: block !important; }

    /* Ana Yapı */
    body {
        padding-top: 64px;
        overflow-x: hidden; /* Olası yatay kaydırmayı engellemek için */
    }

    /* Sidebar Mobil Görünümü */
    .sidebar {
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(10px);
        position: fixed;
        top: 64px;
        left: 0;
        height: calc(100vh - 64px);
        width: 80%;
        max-width: 320px;
        overflow-y: auto;
        transition: transform 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        z-index: 1050;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .main-content {
        padding: 16px;
        margin-left: 0;
    }

    /* Navbar Mobil Düzeni - 03.html'den gelen detaylar eklendi */
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        height: 64px;
    }

    .navbar .navbar-brand {
        display: flex !important;
        align-items: center;
        margin-right: 0;
        flex: 1;
        height: 100%;
        font-size: 20px;
    }

    .navbar-toggler {
        display: flex !important;
        align-items: center;
        order: 3;
        margin-left: 10px;
        height: 40px;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar .navbar-collapse:not(.show) {
        display: none !important;
    }

    .navbar-nav.desktop-only {
        display: none !important;
    }

    /* Mobil Dil Seçici (Visible on mobile) */
    .nav-item.dropdown.mobile-lang {
        display: flex !important;
        align-items: center;
        order: 2;
        margin: 0;
        height: 100%;
    }

    .nav-link.dropdown-toggle.mobile-lang {
        display: flex !important;
        align-items: center;
        padding: 0.5rem 0.5rem;
        color: #000;
        font-weight: 600;
        font-size: 0.875rem;
        white-space: nowrap;
        height: 40px;
        margin: 0;
    }

    .nav-link.dropdown-toggle.mobile-lang::after {
        display: inline-block !important;
        margin-left: 0.25rem;
    }

    .navbar .dropdown-menu {
        position: absolute;
        left: -20px;
        right: auto;
        min-width: 130px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .navbar .container > * {
        display: flex;
        align-items: center;
        height: 100%;
    }

    /* Sidebar ve Navbar Linkleri */
    .nav-link {
        padding: 0.45rem 1.5rem;
    }

    /* Raporlama Sayfası Responsive Düzenlemeleri */
    .reporting-header {
        padding: 1.5rem;
    }

    .metric-value {
        font-size: 1.5rem;
    }
}


/* Dashboard Özelleştirme Stilleri */
.dashboard-customization {
	position: fixed;
	top: 64px;
	right: 0;
	width: 300px;
	height: calc(100vh - 64px);
	background: white;
	box-shadow: -2px 0 10px rgba(0,0,0,0.1);
	z-index: 1040;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
	padding: 1.5rem;
}

.dashboard-customization.show {
	transform: translateX(0);
}

.customization-toggle {
	position: fixed;
	top: 80px;
	right: 20px;
	z-index: 1050;
	background: var(--primary-color);
	color: white;
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
	transition: all 0.3s ease;
}

.customization-toggle:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.widget-list {
	margin-top: 1.5rem;
}

.widget-item {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 1rem;
	margin-bottom: 0.75rem;
	cursor: grab;
	transition: all 0.2s ease;
}

.widget-item:hover {
	background: #f1f5f9;
	border-color: var(--primary-color);
}

.widget-item:active {
	cursor: grabbing;
}

.widget-item i {
	margin-right: 0.5rem;
	color: var(--primary-color);
}

.dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.dashboard-widget {
	background: white;
	border-radius: 12px;
	box-shadow: var(--card-shadow);
	padding: 1.5rem;
	transition: all 0.3s ease;
	position: relative;
	min-height: 200px;
}

.dashboard-widget:hover {
	box-shadow: var(--hover-shadow);
}

.widget-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.widget-title {
	font-weight: 600;
	margin: 0;
}

.widget-controls {
	display: flex;
	gap: 0.5rem;
}

.widget-control {
	background: none;
	border: none;
	color: #6b7280;
	cursor: pointer;
	transition: color 0.2s ease;
}

.widget-control:hover {
	color: var(--primary-color);
}

.widget-placeholder {
	border: 2px dashed #d1d5db;
	background: #f9fafb;
	border-radius: 12px;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
	font-weight: 500;
}

.widget-placeholder i {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.widget-resize-handle {
	position: absolute;
	bottom: 5px;
	right: 5px;
	width: 15px;
	height: 15px;
	cursor: se-resize;
	opacity: 0.5;
	transition: opacity 0.2s ease;
}

.widget-resize-handle:hover {
	opacity: 1;
}

.widget-resize-handle::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 10px 10px;
	border-color: transparent transparent #9ca3af transparent;
}

/* Grid boyutları için sınıflar */
.widget-size-1 {
	grid-column: span 1;
}

.widget-size-2 {
	grid-column: span 2;
}

.widget-size-3 {
	grid-column: span 3;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
	.dashboard-customization {
		width: 100%;
	}
	
	.dashboard-grid {
		grid-template-columns: 1fr;
	}
	
	.widget-size-2, .widget-size-3 {
		grid-column: span 1;
	}
}



/* Profile Specific Styles */
.avatar-container {
    position: relative;
    display: inline-block;
}

.avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--card-shadow);
}

.avatar-upload-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-upload-btn:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-control, .form-select {
    border: 2px solid #f3f4f6;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control[readonly] {
    background-color: #f9fafb;
    color: #6b7280;
}

.plan-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.usage-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.usage-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Progress Bar */
.progress-modern {
    height: 8px;
    border-radius: 4px;
    background: #f3f4f6;
    overflow: hidden;
}

.progress-bar-modern {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

/*  Security  */


/* Form Styles */

.password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.password-strength.weak {
    background: var(--danger-color);
    width: 25%;
}

.password-strength.fair {
    background: var(--warning-color);
    width: 50%;
}

.password-strength.good {
    background: var(--success-color);
    width: 75%;
}

.password-strength.strong {
    background: var(--success-color);
    width: 100%;
}

/* Session Styles */
.session-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid #f3f4f6;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.session-item:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.02);
}

.session-item.current {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

.session-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.session-icon.primary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.session-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.session-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.session-content {
    flex: 1;
}

.session-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.session-details {
    font-size: 0.75rem;
    color: #6b7280;
}

.session-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
}

.session-badge.current {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

/* 🔹 Flash Alert Animasyonu */
@keyframes alertSlideOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    80% {
        opacity: 0.2;
        transform: translateY(-10px);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.alert.fade-out {
    animation: alertSlideOut 0.5s ease forwards;
}
/* Billing Page Specific Styles */
.pricing-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
    transform: translateY(-5px);
}

.pricing-card.active::before {
    content: "Current Plan";
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 5px 30px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-card .display-6 {
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-feature-list {
    min-height: 200px;
}

.pricing-feature-list li {
    padding: 0.25rem 0;
    font-size: 0.875rem;
}

.credit-progress {
    height: 8px;
    border-radius: 4px;
}

.billing-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

/* Annual Toggle Styles */
.billing-toggle {
    display: inline-flex;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 4px;
    position: relative;
}

.billing-toggle-option {
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.billing-toggle-option.active {
    color: white;
}

.billing-toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: calc(50% - 4px);
    background: var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.billing-toggle.annual .billing-toggle-slider {
    transform: translateX(100%);
}

.savings-badge {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 4px;
}

/* Modal Styles */
.plan-change-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.plan-change-modal .modal-footer {
    border-top: none;
    padding-top: 0;
}

.plan-comparison {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.plan-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.plan-detail-row:last-child {
    border-bottom: none;
}

.price-difference {
    font-weight: 600;
}

.price-difference.positive {
    color: var(--success-color);
}

.price-difference.negative {
    color: var(--danger-color);
}

/* Dashboard Specific Styles */
.dashboard-header-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-header-card-red {
    background: linear-gradient(135deg, #f14343bf, #f54e4e);
    color: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-header-card-green {
    background: linear-gradient(135deg, #1d9b39bf, #11702b);
    color: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.dashboard-header-card-yellow {
    background: linear-gradient(135deg, #bfb142bf, #998f36);
    color: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.stats-filter {
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
    width: fit-content;
    margin-left: auto; /* sağa yaslar */
    display: flex;
    justify-content: flex-end;
}

.ai-insight-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.account-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.health-score-bar {
    height: 8px;
    border-radius: 4px;
    background: #f3f4f6;
    overflow: hidden;
    margin: 0.5rem 0;
}

.health-score-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.health-excellent { background: var(--success-color); }
.health-good { background: var(--warning-color); }
.health-poor { background: var(--danger-color); }

.kpi-table {
    width: 100%;
    font-size: 0.75rem;
}

.kpi-table td {
    padding: 0.25rem 0.5rem;
    text-align: center;
}

.kpi-table th {
    font-weight: 600;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    text-align: center;
}

.trend-chart-container {
    height: 100px;
    margin: 0.5rem 0;
}

.ai-suggestion {
    background: rgba(99, 102, 241, 0.05);
    border-left: 3px solid var(--primary-color);
    padding: 0.75rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.875rem;
    margin: 0.75rem 0;
}

.quick-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.plan-usage-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-color);
}

.status-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.sync-info {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}


/* Accounts Overview Specific Styles */
.page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}
.bl-success {
    border-left: 4px solid var(--success-color);
}
.bl-danger {
    border-left: 4px solid var(--danger-color);
}
.bl-info {
    border-left: 4px solid var(--info-color);
}
.bl-warning {
    border-left: 4px solid var(--warning-color);
}

.summary-cards .card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 12px;
}

.summary-cards .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.account-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.status-toggle {
    width: 50px;
    height: 24px;
    background: #e5e7eb;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.status-toggle.active {
    background: var(--success-color);
}

.status-toggle-handle {
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
}

.status-toggle.active .status-toggle-handle {
    left: 29px;
}

.sync-btn, .view-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
}

.account-name {
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.account-name:hover {
    color: var(--primary-color);
}

.customer-id {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #6b7280;
}

.last-sync {
    font-size: 0.875rem;
    color: #374151;
}

.table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    padding: 1rem 0.75rem;
    font-size: 0.875rem;
}

.table td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border-color: #f3f4f6;
}

.actions-column {
    white-space: nowrap;
}

.ai-insight {
    font-size: 0.75rem;
    color: var(--success-color);
    font-style: italic;
}

.ai-insight.negative {
    color: var(--danger-color);
}

.sync-status {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.sync-status.syncing {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.sync-status.failed {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

#healthTrend, #healthAbsolute, #healthCombined {
  max-width: 200px;
  margin: 0 auto;
}

body::after {
    content: "Demo Data";
    position: fixed;
    bottom: 10px;
    right: 10px;
    opacity: 0.25;
    font-size: 16px;
    color: #ff0000;
    font-weight: 900;
    pointer-events: none;
}

.btn-severity {
  border: none;
  font-weight: 600;
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.btn-severity.critical {
  background: linear-gradient(135deg, #ef4444, #f87171);
}
.btn-severity.major {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  /*color: #1f2937;*/
}
.btn-severity.minor {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}
.btn-severity.active {
  box-shadow: 0 0 0 3px rgba(59,130,246,0.3);
  transform: translateY(-1px);
}
.btn-severity:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.badge {
  font-size: 0.7rem;
  border-radius: 6px;
}

/* Alert styling */
.alert {
  border-radius: 10px;
  font-size: 0.9rem;
}

.ai-weekly-summary {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.ai-weekly-summary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.ai-weekly-summary h5 i {
  font-size: 1.2rem;
}

.ai-signature {
  border-top: 1px dashed #d1d5db;
  padding-top: 0.5rem;
}

.ai-weekly-summary ul li {
  font-weight: 500;
  color: #374151;
}
.ai-weekly-summary ul li strong {
  color: #111827;
}
.ai-weekly-summary button.btn-light:hover {
  background: #f3f4f6;
}


        .blog-content {
            max-height: 600px;
            overflow-y: auto;
            line-height: 1.7;
        }
        .sticky-sidebar {
            position: sticky;
            top: 100px;
        }
        .ai-insight-card {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
            border-left: 3px solid var(--primary-color);
        }
        .blog-placeholder {
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            background: #f8fafc;
            border-radius: 12px;
            border: 2px dashed #e5e7eb;
        }
        .typing-animation {
            overflow: hidden;
            border-right: .15em solid var(--primary-color);
            white-space: nowrap;
            margin: 0 auto;
            animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
        }
        @keyframes typing {
            from { width: 0 }
            to { width: 100% }
        }
        @keyframes blink-caret {
            from, to { border-color: transparent }
            50% { border-color: var(--primary-color); }
        }



        /* Knowledge Base Detail Specific Styles */
        .article-container {
            max-width: 850px;
            margin: 0 auto;
        }
        
        .article-header {
            border-bottom: 1px solid #e5e7eb;
            padding-bottom: 2rem;
            margin-bottom: 2rem;
        }
        
        .article-actions {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }
        
        .article-content {
            line-height: 1.7;
            font-size: 1.0625rem;
        }
        
        .article-content h2 {
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            color: #1f2937;
            font-weight: 700;
        }
        
        .article-content h3 {
            margin-top: 2rem;
            margin-bottom: 0.75rem;
            color: #374151;
            font-weight: 600;
        }
        
        .article-content p {
            margin-bottom: 1.5rem;
            color: #4b5563;
        }
        
        .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin: 1.5rem 0;
        }
        
        .code-block {
            background: #1f2937;
            color: #f3f4f6;
            padding: 1.5rem;
            border-radius: 8px;
            margin: 1.5rem 0;
            overflow-x: auto;
            font-family: 'Courier New', monospace;
            font-size: 0.875rem;
        }
        
        .step-list {
            margin: 1.5rem 0;
            padding-left: 1.5rem;
        }
        
        .step-list li {
            margin-bottom: 0.75rem;
            color: #4b5563;
        }
        
        .feedback-section {
            background: #f8fafc;
            border-radius: 12px;
            padding: 2rem;
            margin: 3rem 0;
            text-align: center;
            border: 1px solid #e5e7eb;
        }
        
        .feedback-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-top: 1rem;
            flex-wrap: wrap;
        }
        
        .feedback-btn {
            padding: 0.75rem 1.5rem;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            background: white;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 1.1rem;
        }
        
        .feedback-btn:hover {
            border-color: var(--primary-color);
            transform: translateY(-2px);
        }
        
        .feedback-btn.active {
            border-color: var(--primary-color);
            background: rgba(99, 102, 241, 0.05);
        }
        
        .related-articles {
            margin-top: 3rem;
        }
        
        .related-article-item {
            display: block;
            padding: 1rem;
            border-radius: 8px;
            text-decoration: none;
            color: inherit;
            transition: all 0.2s ease;
            border-left: 3px solid transparent;
        }
        
        .related-article-item:hover {
            background: rgba(99, 102, 241, 0.05);
            border-left-color: var(--primary-color);
            color: inherit;
        }
        
        .ai-suggestions-card {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
            border-left: 3px solid var(--primary-color);
            margin: 2rem 0;
        }
        
        .breadcrumb {
            background: transparent;
            padding: 0;
            margin-bottom: 1.5rem;
        }
        
        .breadcrumb-item a {
            color: var(--primary-color);
            text-decoration: none;
        }
        
        .breadcrumb-item.active {
            color: #6b7280;
        }
        
        .category-badge {
            font-size: 0.8rem;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary-color);
            font-weight: 500;
        }
        
        .meta-info {
            display: flex;
            gap: 1.5rem;
            margin-top: 1rem;
            color: #6b7280;
            font-size: 0.875rem;
        }
        
        @media (max-width: 768px) {
            .article-actions {
                flex-direction: column;
            }
            
            .article-actions .btn {
                width: 100%;
            }
            
            .feedback-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .feedback-btn {
                width: 200px;
            }
            
            .meta-info {
                flex-direction: column;
                gap: 0.5rem;
            }
        }
        
        /* Alert styles */
        .alert-custom {
            border-radius: 8px;
            padding: 1rem 1.5rem;
            margin: 1.5rem 0;
            border-left: 4px solid;
        }
        
        .alert-info {
            background: rgba(59, 130, 246, 0.05);
            border-color: #3b82f6;
            color: #1e40af;
        }
        
        .alert-warning {
            background: rgba(245, 158, 11, 0.05);
            border-color: #f59e0b;
            color: #92400e;
        }
        

                /* User Detail Page Specific Styles */
        .page-header {
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 2rem;
            border-left: 4px solid var(--primary-color);
        }
        
        .user-avatar-large {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 2rem;
            margin-right: 1.5rem;
        }
        
        .user-header-info {
            flex: 1;
        }
        
        .user-actions {
            display: flex;
            gap: 0.5rem;
        }
        
        .detail-tabs .nav-link {
            border: none;
            color: #6b7280;
            font-weight: 600;
            padding: 1rem 1.5rem;
        }
        
        .detail-tabs .nav-link.active {
            background: white;
            color: var(--primary-color);
            border-bottom: 3px solid var(--primary-color);
        }
        
        .info-card {
            background: white;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }
        
        .info-item {
            margin-bottom: 1rem;
        }
        
        .info-label {
            font-weight: 600;
            color: #374151;
            margin-bottom: 0.25rem;
            font-size: 0.875rem;
        }
        
        .info-value {
            color: #6b7280;
        }
        
        .status-badge {
            font-size: 0.7rem;
            padding: 0.25rem 0.75rem;
            border-radius: 12px;
            font-weight: 600;
        }
        
        .status-active {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success-color);
        }
        
        .status-suspended {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger-color);
        }
        
        .status-pending {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning-color);
        }
        
        .plan-badge {
            font-size: 0.7rem;
            padding: 0.25rem 0.75rem;
            border-radius: 12px;
            font-weight: 600;
        }
        
        .plan-growth {
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary-color);
        }
        
        .plan-pro {
            background: rgba(168, 85, 247, 0.1);
            color: #8b5cf6;
        }
        
        .plan-enterprise {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning-color);
        }
        
        .role-badge {
            font-size: 0.7rem;
            padding: 0.25rem 0.75rem;
            border-radius: 12px;
            font-weight: 600;
        }
        
        .role-owner {
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary-color);
        }
        
        .metric-card {
            text-align: center;
            padding: 1.5rem;
            border-radius: 12px;
            background: white;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
        }
        
        .metric-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.1);
        }
        
        .metric-number {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        
        .metric-label {
            font-size: 0.875rem;
            color: #6b7280;
            font-weight: 600;
        }
        
        .chart-container {
            background: white;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .account-item {
            display: flex;
            align-items: center;
            padding: 1rem;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            margin-bottom: 0.75rem;
            transition: all 0.2s ease;
        }
        
        .account-item:hover {
            border-color: var(--primary-color);
            background: rgba(99, 102, 241, 0.02);
        }
        
        .account-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            flex-shrink: 0;
        }
        
        .account-icon.google {
            background: rgba(66, 133, 244, 0.1);
            color: #4285f4;
        }
        
        .account-icon.analytics {
            background: rgba(251, 188, 5, 0.1);
            color: #fbbc05;
        }
        
        .account-content {
            flex: 1;
        }
        
        .account-name {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        
        .account-meta {
            font-size: 0.75rem;
            color: #6b7280;
        }
        
        .activity-item {
            display: flex;
            align-items: flex-start;
            padding: 0.75rem 0;
            border-bottom: 1px solid #f3f4f6;
        }
        
        .activity-item:last-child {
            border-bottom: none;
        }
        
        .activity-icon {
            width: 24px;
            height: 24px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 0.75rem;
            flex-shrink: 0;
        }
        
        .activity-icon.success {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success-color);
        }
        
        .activity-icon.warning {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning-color);
        }
        
        .activity-icon.info {
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary-color);
        }
        
        .activity-icon.danger {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger-color);
        }
        
        .activity-content {
            flex: 1;
        }
        
        .activity-title {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        
        .activity-time {
            font-size: 0.75rem;
            color: #6b7280;
        }
        
        .ai-insight-card {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
            border-left: 3px solid var(--primary-color);
            border-radius: 0 12px 12px 0;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .ticket-item {
            display: flex;
            align-items: center;
            padding: 1rem;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            margin-bottom: 0.75rem;
            transition: all 0.2s ease;
        }
        
        .ticket-item:hover {
            border-color: var(--primary-color);
            background: rgba(99, 102, 241, 0.02);
        }
        
        .ticket-status {
            width: 8px;
            height: 40px;
            border-radius: 4px;
            margin-right: 1rem;
            flex-shrink: 0;
        }
        
        .ticket-status.resolved {
            background: var(--success-color);
        }
        
        .ticket-status.open {
            background: var(--warning-color);
        }
        
        .ticket-status.pending {
            background: var(--info-color);
        }
        
        .ticket-content {
            flex: 1;
        }
        
        .ticket-title {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        
        .ticket-meta {
            font-size: 0.75rem;
            color: #6b7280;
        }
        
        .log-item {
            padding: 0.75rem 0;
            border-bottom: 1px solid #f3f4f6;
        }
        
        .log-item:last-child {
            border-bottom: none;
        }
        
        .log-time {
            font-size: 0.75rem;
            color: #6b7280;
            margin-bottom: 0.25rem;
        }
        
        .log-event {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        
        .log-details {
            font-size: 0.875rem;
            color: #6b7280;
        }
        
        .alert-item {
            display: flex;
            align-items: center;
            padding: 1rem;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            margin-bottom: 0.75rem;
            transition: all 0.2s ease;
        }
        
        .alert-item:hover {
            border-color: var(--primary-color);
            background: rgba(99, 102, 241, 0.02);
        }
        
        .alert-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            flex-shrink: 0;
        }
        
        .alert-icon.lockout {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger-color);
        }
        
        .alert-icon.billing {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning-color);
        }
        
        .alert-icon.resolved {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success-color);
        }
        
        .alert-content {
            flex: 1;
        }
        
        .alert-title {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        
        .alert-meta {
            font-size: 0.75rem;
            color: #6b7280;
        }