/* ============================================================
   CRM-PENNE | Premium Pastel Admin Panel CSS
   Apple + Stripe + Linear + Notion kalitesinde UI
   ============================================================ */

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

/* ============================================================
   CSS CUSTOM PROPERTIES (TOKENS)
   ============================================================ */
:root {
    /* Pastel Renk Paleti */
    --pastel-blue:    #A7C7E7;
    --pastel-green:   #B7E4C7;
    --pastel-orange:  #FFD6A5;
    --pastel-purple:  #D8B4FE;
    --pastel-pink:    #FFC8DD;
    --pastel-cream:   #FFF8E7;
    --pastel-gray:    #F7F9FC;

    /* Ana Renkler */
    --primary:        #6C8EBD;
    --primary-light:  #A7C7E7;
    --primary-dark:   #4A6FA5;
    --secondary:      #8B7EC8;
    --success:        #52B788;
    --warning:        #F4A261;
    --danger:         #E76F51;
    --info:           #4895EF;

    /* Gradient'ler */
    --gradient-primary:   linear-gradient(135deg, #A7C7E7 0%, #6C8EBD 100%);
    --gradient-success:   linear-gradient(135deg, #B7E4C7 0%, #52B788 100%);
    --gradient-warning:   linear-gradient(135deg, #FFD6A5 0%, #F4A261 100%);
    --gradient-purple:    linear-gradient(135deg, #D8B4FE 0%, #8B7EC8 100%);
    --gradient-pink:      linear-gradient(135deg, #FFC8DD 0%, #E76F51 100%);
    --gradient-sidebar:   linear-gradient(180deg, #F8FAFF 0%, #EEF2FF 100%);
    --gradient-hero:      linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-card1:     linear-gradient(135deg, #A7C7E7 0%, #8BB8D4 100%);
    --gradient-card2:     linear-gradient(135deg, #B7E4C7 0%, #8FD3A8 100%);
    --gradient-card3:     linear-gradient(135deg, #FFD6A5 0%, #FFC07A 100%);
    --gradient-card4:     linear-gradient(135deg, #D8B4FE 0%, #C084FC 100%);
    --gradient-card5:     linear-gradient(135deg, #FFC8DD 0%, #FFA0BF 100%);
    --gradient-card6:     linear-gradient(135deg, #FFF8E7 0%, #FFE9B0 100%);

    /* Arkaplan */
    --bg-body:        #F0F4FF;
    --bg-card:        rgba(255, 255, 255, 0.85);
    --bg-sidebar:     rgba(255, 255, 255, 0.95);
    --bg-topbar:      rgba(255, 255, 255, 0.90);
    --bg-glass:       rgba(255, 255, 255, 0.60);
    --bg-glass-hover: rgba(255, 255, 255, 0.80);

    /* Metin */
    --text-primary:   #1E293B;
    --text-secondary: #64748B;
    --text-muted:     #94A3B8;
    --text-white:     #FFFFFF;

    /* Kenarlık */
    --border-color:   rgba(148, 163, 184, 0.20);
    --border-light:   rgba(255, 255, 255, 0.60);
    --border-glass:   rgba(255, 255, 255, 0.30);

    /* Gölge */
    --shadow-xs:   0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.10);
    --shadow-xl:   0 16px 48px rgba(0,0,0,0.12);
    --shadow-2xl:  0 24px 64px rgba(0,0,0,0.14);
    --shadow-card: 0 4px 24px rgba(108, 142, 189, 0.12);
    --shadow-glow: 0 0 20px rgba(108, 142, 189, 0.30);

    /* Boyutlar */
    --sidebar-width:        280px;
    --sidebar-collapsed:    70px;
    --topbar-height:        70px;
    --border-radius-xs:     6px;
    --border-radius-sm:     10px;
    --border-radius-md:     16px;
    --border-radius-lg:     20px;
    --border-radius-xl:     24px;
    --border-radius-2xl:    32px;
    --border-radius-full:   9999px;

    /* Geçişler */
    --transition-fast:   all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:   all 0.40s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.40s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Font */
    --font-primary:  'Inter', 'Poppins', sans-serif;
    --font-display:  'Manrope', 'Poppins', sans-serif;
    --font-mono:     'JetBrains Mono', 'Fira Code', monospace;
}

/* Dark Mode Değişkenleri */
[data-theme="dark"] {
    --bg-body:        #0F172A;
    --bg-card:        rgba(30, 41, 59, 0.90);
    --bg-sidebar:     rgba(15, 23, 42, 0.98);
    --bg-topbar:      rgba(15, 23, 42, 0.95);
    --bg-glass:       rgba(30, 41, 59, 0.60);
    --bg-glass-hover: rgba(30, 41, 59, 0.80);
    --text-primary:   #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted:     #64748B;
    --border-color:   rgba(148, 163, 184, 0.15);
    --border-light:   rgba(255, 255, 255, 0.08);
    --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.40);
    --gradient-sidebar: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

/* Arkaplan dekoratif şekiller */
body::before {
    content: '';
    position: fixed;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167, 199, 231, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(216, 180, 254, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--pastel-blue);
    border-radius: var(--border-radius-full);
}

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

/* ============================================================
   LAYOUT
   ============================================================ */
.app-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-sidebar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: var(--transition-normal);
    overflow: hidden;
}

/* Sidebar Logo */
.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    flex-shrink: 0;
}

.sidebar-logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(108, 142, 189, 0.35);
    flex-shrink: 0;
}

.sidebar-logo-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.sidebar-logo-text {
    display: flex;
    flex-direction: column;
}

.sidebar-logo-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.sidebar-logo-subtitle {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Sidebar Kullanıcı */
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin: 12px 12px 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 16px rgba(108, 142, 189, 0.25);
}

.sidebar-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.sidebar-user-name {
    font-size: 13px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 10px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sidebar Nav */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 12px;
    scrollbar-width: thin;
}

.sidebar-section {
    margin-bottom: 4px;
}

.sidebar-section-title {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 8px 4px;
    display: block;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    margin-bottom: 2px;
    white-space: nowrap;
}

.sidebar-item:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
    transform: translateX(4px);
}

.sidebar-item.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(108, 142, 189, 0.30);
}

.sidebar-item.active::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--primary-dark);
    border-radius: 0 4px 4px 0;
}

.sidebar-item-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-item svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

.sidebar-item-badge {
    margin-left: auto;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--border-radius-full);
    min-width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-item.active .sidebar-item-badge {
    background: rgba(255,255,255,0.25);
}

/* Sidebar Alt Bölüm */
.sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.sidebar-footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.sidebar-footer-item:hover {
    background: var(--bg-glass);
    color: var(--danger);
}

.sidebar-footer-item svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

/* ============================================================
   ANA İÇERİK ALANI
   ============================================================ */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--topbar-height);
    background: var(--bg-topbar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
}

/* Arama kutusu */
.topbar-search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.topbar-search input {
    width: 100%;
    padding: 8px 16px 8px 42px;
    background: var(--pastel-gray);
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-full);
    font-family: var(--font-primary);
    font-size: 13.5px;
    color: var(--text-primary);
    transition: var(--transition-fast);
    outline: none;
}

.topbar-search input:focus {
    background: white;
    border-color: var(--pastel-blue);
    box-shadow: 0 0 0 3px rgba(167, 199, 231, 0.25);
}

.topbar-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 16px;
    height: 16px;
}

/* Topbar sağ araçlar */
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.topbar-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    background: var(--pastel-gray);
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    text-decoration: none;
    color: var(--text-secondary);
}

.topbar-btn:hover {
    background: var(--pastel-blue);
    border-color: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.topbar-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

.topbar-btn-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: var(--danger);
    color: white;
    font-size: 9px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-body);
}

/* Topbar kullanıcı */
.topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1.5px solid var(--border-color);
    background: var(--pastel-gray);
    text-decoration: none;
}

.topbar-user:hover {
    background: var(--bg-glass);
    border-color: var(--pastel-blue);
}

.topbar-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    overflow: hidden;
    flex-shrink: 0;
}

.topbar-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topbar-user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-content {
    flex: 1;
    padding: 24px;
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-title-section {}

.page-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Breadcrumb */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.breadcrumb-item {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb-item:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-size: 12px;
}

.breadcrumb-item.active {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================================
   KARTLAR
   ============================================================ */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
    overflow: hidden;
}

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

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

.card-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.card-body {
    padding: 24px;
}

.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: rgba(247, 249, 252, 0.5);
}

/* ============================================================
   İSTATİSTİK KARTLARI
   ============================================================ */
.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: var(--transition-bounce);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.08;
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-xl);
}

.stat-card:hover::before {
    transform: scale(1.4);
}

.stat-card-1 { background: linear-gradient(135deg, rgba(167,199,231,0.20) 0%, rgba(255,255,255,0.95) 100%); }
.stat-card-1::before { background: var(--pastel-blue); }
.stat-card-2 { background: linear-gradient(135deg, rgba(183,228,199,0.20) 0%, rgba(255,255,255,0.95) 100%); }
.stat-card-2::before { background: var(--pastel-green); }
.stat-card-3 { background: linear-gradient(135deg, rgba(255,214,165,0.20) 0%, rgba(255,255,255,0.95) 100%); }
.stat-card-3::before { background: var(--pastel-orange); }
.stat-card-4 { background: linear-gradient(135deg, rgba(216,180,254,0.20) 0%, rgba(255,255,255,0.95) 100%); }
.stat-card-4::before { background: var(--pastel-purple); }
.stat-card-5 { background: linear-gradient(135deg, rgba(255,200,221,0.20) 0%, rgba(255,255,255,0.95) 100%); }
.stat-card-5::before { background: var(--pastel-pink); }
.stat-card-6 { background: linear-gradient(135deg, rgba(255,248,231,0.40) 0%, rgba(255,255,255,0.95) 100%); }
.stat-card-6::before { background: var(--pastel-cream); }

.stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-bounce);
}

.stat-card:hover .stat-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.stat-card-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.stat-icon-1 { background: var(--gradient-card1); box-shadow: 0 4px 12px rgba(167,199,231,0.50); }
.stat-icon-2 { background: var(--gradient-card2); box-shadow: 0 4px 12px rgba(183,228,199,0.50); }
.stat-icon-3 { background: var(--gradient-card3); box-shadow: 0 4px 12px rgba(255,214,165,0.50); }
.stat-icon-4 { background: var(--gradient-card4); box-shadow: 0 4px 12px rgba(216,180,254,0.50); }
.stat-icon-5 { background: var(--gradient-card5); box-shadow: 0 4px 12px rgba(255,200,221,0.50); }
.stat-icon-6 { background: var(--gradient-card6); box-shadow: 0 4px 12px rgba(255,248,231,0.50); }

.stat-card-info {
    flex: 1;
    min-width: 0;
}

.stat-card-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.stat-card-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-card-change {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--border-radius-full);
    margin-top: 6px;
}

.stat-card-change.up {
    background: rgba(82, 183, 136, 0.12);
    color: var(--success);
}

.stat-card-change.down {
    background: rgba(231, 111, 81, 0.12);
    color: var(--danger);
}

.stat-card-change svg {
    width: 12px;
    height: 12px;
}

/* ============================================================
   DASHBOARD HERO
   ============================================================ */
.dashboard-hero {
    background: var(--gradient-hero);
    border-radius: var(--border-radius-xl);
    padding: 32px 40px;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.dashboard-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: 100px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.dashboard-hero-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.dashboard-hero-subtitle {
    font-size: 14px;
    opacity: 0.85;
    font-weight: 400;
}

.dashboard-hero-time {
    font-size: 13px;
    opacity: 0.75;
    margin-top: 4px;
}

/* ============================================================
   BUTONLAR
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-bounce);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.20);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(108, 142, 189, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(108, 142, 189, 0.50);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 4px 12px rgba(82, 183, 136, 0.35);
}

.btn-warning {
    background: var(--gradient-warning);
    color: white;
    box-shadow: 0 4px 12px rgba(244, 162, 97, 0.35);
}

.btn-danger {
    background: linear-gradient(135deg, #E76F51, #C0392B);
    color: white;
    box-shadow: 0 4px 12px rgba(231, 111, 81, 0.35);
}

.btn-purple {
    background: var(--gradient-purple);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 126, 200, 0.35);
}

.btn-light {
    background: white;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-xs);
}

.btn-light:hover {
    background: var(--pastel-gray);
    border-color: var(--pastel-blue);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12.5px;
    border-radius: var(--border-radius-sm);
}

.btn-sm svg {
    width: 14px;
    height: 14px;
}

.btn-lg {
    padding: 12px 28px;
    font-size: 15px;
    border-radius: var(--border-radius-lg);
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
}

.btn-icon svg {
    width: 16px;
    height: 16px;
}

/* ============================================================
   FORMLAR
   ============================================================ */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label .required {
    color: var(--danger);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 11px 16px;
    background: var(--pastel-gray);
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: 13.5px;
    color: var(--text-primary);
    transition: var(--transition-fast);
    outline: none;
    appearance: none;
}

.form-control:focus {
    background: white;
    border-color: var(--pastel-blue);
    box-shadow: 0 0 0 3px rgba(167, 199, 231, 0.25);
}

.form-control::placeholder {
    color: var(--text-muted);
    font-size: 13px;
}

.form-control:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2394A3B8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-control.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.15);
}

.form-control.is-valid {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
}

.invalid-feedback {
    font-size: 12px;
    color: var(--danger);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Input Grubu */
.input-group {
    display: flex;
    align-items: stretch;
}

.input-group-text {
    padding: 10px 14px;
    background: var(--pastel-blue);
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    color: var(--primary-dark);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-right: none;
    white-space: nowrap;
}

.input-group .form-control {
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

/* Input Checkbox / Radio */
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-check-input {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid var(--border-color);
    background: white;
    cursor: pointer;
    appearance: none;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.form-check-input:checked {
    background: var(--gradient-primary);
    border-color: transparent;
}

.form-check-label {
    font-size: 13.5px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

/* ============================================================
   TABLOLAR
   ============================================================ */
.table-container {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 12px;
}

.table-toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-search {
    position: relative;
}

.table-search input {
    padding: 8px 14px 8px 38px;
    background: var(--pastel-gray);
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-full);
    font-family: var(--font-primary);
    font-size: 13px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-fast);
    width: 220px;
}

.table-search input:focus {
    background: white;
    border-color: var(--pastel-blue);
    box-shadow: 0 0 0 3px rgba(167,199,231,0.20);
}

.table-search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: var(--text-muted);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(247,249,252,0.6);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.table td {
    padding: 14px 16px;
    font-size: 13.5px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tbody tr {
    transition: var(--transition-fast);
}

.table tbody tr:hover {
    background: rgba(167, 199, 231, 0.06);
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

/* ============================================================
   BADGE / ETİKET
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--border-radius-full);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-primary { background: rgba(167,199,231,0.20); color: var(--primary-dark); }
.badge-success { background: rgba(82,183,136,0.15); color: #2E7D50; }
.badge-warning { background: rgba(244,162,97,0.15); color: #B45309; }
.badge-danger  { background: rgba(231,111,81,0.15); color: #B91C1C; }
.badge-info    { background: rgba(72,149,239,0.15); color: #1D4ED8; }
.badge-purple  { background: rgba(216,180,254,0.20); color: #6D28D9; }
.badge-gray    { background: rgba(148,163,184,0.15); color: #475569; }

/* ============================================================
   ALERTler
   ============================================================ */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    font-size: 13.5px;
    border: 1px solid;
    margin-bottom: 16px;
}

.alert-success {
    background: rgba(82,183,136,0.10);
    border-color: rgba(82,183,136,0.25);
    color: #166534;
}

.alert-danger {
    background: rgba(231,111,81,0.10);
    border-color: rgba(231,111,81,0.25);
    color: #991B1B;
}

.alert-warning {
    background: rgba(244,162,97,0.10);
    border-color: rgba(244,162,97,0.25);
    color: #92400E;
}

.alert-info {
    background: rgba(72,149,239,0.10);
    border-color: rgba(72,149,239,0.25);
    color: #1E40AF;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-2xl);
}

.modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* ============================================================
   GRAFİK KARTLARI
   ============================================================ */
.chart-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition-normal);
}

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

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border-color);
}

.chart-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-title svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.chart-body {
    padding: 20px;
}

/* ============================================================
   PLATFORM KARTLARI
   ============================================================ */
.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-sm);
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

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

.platform-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.platform-card-name {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--text-primary);
}

.platform-card-commission {
    font-size: 12px;
    color: var(--text-muted);
}

.platform-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

.platform-stat-row:last-child {
    border-bottom: none;
}

.platform-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.platform-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================================
   PROFİL KARTLARI
   ============================================================ */
.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-sm);
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.profile-card-banner {
    height: 80px;
    background: var(--gradient-primary);
    position: relative;
}

.profile-card-avatar {
    position: absolute;
    bottom: -30px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.profile-card-body {
    padding: 40px 20px 20px;
}

.profile-card-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.profile-card-role {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================================
   İLERLEME ÇUBUĞU
   ============================================================ */
.progress {
    height: 8px;
    background: var(--pastel-gray);
    border-radius: var(--border-radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: var(--border-radius-full);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--gradient-primary);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-dot {
    position: absolute;
    left: -20px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

.timeline-content {
    background: var(--pastel-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 12px 16px;
}

.timeline-time {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.timeline-text {
    font-size: 13.5px;
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================================
   DROPDOWN
   ============================================================ */
.dropdown-menu {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    min-width: 180px;
    animation: dropdownIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes dropdownIn {
    from { opacity: 0; transform: scale(0.95) translateY(-8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 13.5px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    font-family: var(--font-primary);
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--pastel-gray);
    color: var(--primary);
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

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

/* ============================================================
   SAYFALAMA
   ============================================================ */
.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.page-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    background: var(--pastel-gray);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
    cursor: pointer;
}

.page-link:hover {
    background: var(--pastel-blue);
    color: var(--primary-dark);
}

.page-link.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(108,142,189,0.35);
}

/* ============================================================
   TAB MENÜ
   ============================================================ */
.nav-tabs-custom {
    display: flex;
    gap: 4px;
    background: var(--pastel-gray);
    padding: 6px;
    border-radius: var(--border-radius-md);
    margin-bottom: 24px;
}

.nav-tab-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-primary);
}

.nav-tab-item:hover {
    background: rgba(255,255,255,0.7);
    color: var(--text-primary);
}

.nav-tab-item.active {
    background: white;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.nav-tab-item svg {
    width: 16px;
    height: 16px;
}

/* ============================================================
   ANİMASYONLAR
   ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fadeIn     { animation: fadeIn 0.4s ease; }
.animate-fadeInUp   { animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.animate-slideLeft  { animation: slideInLeft 0.4s ease; }
.animate-scaleIn    { animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* Staggered animasyonlar */
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.10s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.20s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.30s; }
.stagger-7 { animation-delay: 0.35s; }
.stagger-8 { animation-delay: 0.40s; }

/* Skeleton loader */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--border-radius-sm);
}

/* ============================================================
   LOGIN SAYFASI
   ============================================================ */
.login-page {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.login-page::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.login-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.30);
    border-radius: var(--border-radius-2xl);
    box-shadow: 0 32px 80px rgba(0,0,0,0.25);
    padding: 48px;
    width: 100%;
    max-width: 440px;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    position: relative;
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-xl);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(108,142,189,0.40);
}

.login-logo-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.login-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.login-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .stat-card-value {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .mobile-overlay.active {
        display: block;
    }
}

@media (max-width: 768px) {
    .page-content {
        padding: 16px;
    }

    .topbar {
        padding: 0 16px;
    }

    .topbar-search {
        display: none;
    }

    .dashboard-hero {
        padding: 24px;
    }

    .dashboard-hero-title {
        font-size: 20px;
    }

    .login-card {
        padding: 32px 24px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-card-value {
        font-size: 18px;
    }

    .card-body {
        padding: 16px;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   YARDIMCI SINIFLAR
   ============================================================ */
.text-primary-color  { color: var(--primary) !important; }
.text-success-color  { color: var(--success) !important; }
.text-warning-color  { color: var(--warning) !important; }
.text-danger-color   { color: var(--danger) !important; }
.text-muted-color    { color: var(--text-muted) !important; }
.bg-glass            { background: var(--bg-glass) !important; }
.rounded-xl          { border-radius: var(--border-radius-xl) !important; }
.rounded-full        { border-radius: var(--border-radius-full) !important; }
.shadow-card         { box-shadow: var(--shadow-card) !important; }
.border-glass        { border: 1px solid var(--border-color) !important; }
.font-display        { font-family: var(--font-display) !important; }
.font-weight-800     { font-weight: 800 !important; }
.letter-tight        { letter-spacing: -0.5px !important; }

/* Divider */
.divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 16px 0;
}

/* Avatar */
.avatar {
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.avatar-sm  { width: 32px; height: 32px; font-size: 12px; }
.avatar-md  { width: 44px; height: 44px; font-size: 16px; }
.avatar-lg  { width: 56px; height: 56px; font-size: 20px; }
.avatar-xl  { width: 80px; height: 80px; font-size: 28px; }

/* Satır boşlukları */
.gap-4  { gap: 4px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* Flex yardımcılar */
.d-flex         { display: flex; }
.align-center   { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap      { flex-wrap: wrap; }
.flex-1         { flex: 1; }
.flex-column    { flex-direction: column; }

/* Tooltip */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: white;
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    z-index: 9999;
}

[data-tooltip]:hover::after {
    opacity: 1;
}

/* Print stili */
@media print {
    .sidebar, .topbar, .page-actions, .btn { display: none !important; }
    .main-content { margin-left: 0 !important; }
    .card { box-shadow: none !important; border: 1px solid #eee !important; }
}
