/* ===== CSS Variables ===== */
:root {
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --primary-light: #A78BFA;
    --primary-bg: #F5F3FF;

    --secondary: #EC4899;
    --secondary-dark: #DB2777;

    /*--success: #10B981;*/
    --success: #22b404;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    --dark: #1F2937;
    --dark-light: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;

    --sidebar-width: 280px;
    --sidebar-collapsed: 80px;
    --header-height: 72px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #F8F7FF 0%, #F0F0FF 50%, #F5F3FF 100%);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Sidebar ===== */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--dark) 0%, #1a1a2e 100%);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed);
}

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

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

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar.collapsed .logo-text {
    display: none;
}

.sidebar-toggle {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--gray-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.sidebar.collapsed .sidebar-toggle i {
    transform: rotate(180deg);
}

/* Company Switcher */
.company-switcher {
    padding: 16px 16px 0;
    margin-bottom: 4px;
}

.company-switcher-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding: 0 4px;
}

.company-switcher-label i {
    font-size: 12px;
}

.company-select-wrapper {
    position: relative;
}

.company-select {
    width: 100%;
    padding: 10px 36px 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: var(--transition);
}

.company-select:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(124, 58, 237, 0.5);
}

.company-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.company-select option {
    background: var(--dark);
    color: var(--white);
    padding: 8px;
}

.company-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 12px;
    pointer-events: none;
}

/* Sidebar collapsed durumunda gizle */
.sidebar.collapsed .company-switcher {
    display: none;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 20px 12px;
    overflow-y: auto;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: var(--gray-400);
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover::before {
    width: 4px;
    opacity: 1;
}

.nav-link.active {
    color: var(--white);
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.3) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.nav-link.active::before {
    width: 4px;
    opacity: 1;
    background: var(--primary);
}

.nav-link i {
    width: 22px;
    font-size: 18px;
    text-align: center;
    flex-shrink: 0;
}

.nav-link span {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.sidebar.collapsed .nav-link span {
    display: none;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 14px;
}

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

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    flex-shrink: 0;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: var(--white);
    font-size: 14px;
}

.user-role {
    font-size: 12px;
    color: var(--gray-500);
}

.sidebar.collapsed .user-details {
    display: none;
}

/* ===== Main Content ===== */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: var(--transition);
}

.sidebar.collapsed ~ .main-content {
    margin-left: var(--sidebar-collapsed);
}

/* Header */
.header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    color: var(--dark);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.page-title h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.breadcrumb {
    font-size: 13px;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--primary);
    transition: var(--transition);
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-100);
    padding: 10px 16px;
    border-radius: 50px;
    width: 280px;
    transition: var(--transition);
}

.search-box:focus-within {
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.search-box i {
    color: var(--gray-400);
}

.search-box input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    color: var(--dark);
}

.search-box input::placeholder {
    color: var(--gray-400);
}

.notification-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.notification-btn:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.notification-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    background: var(--danger);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-user img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    cursor: pointer;
    transition: var(--transition);
}

.header-user img:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

/* ===== Page Content ===== */
.page-content {
    padding: 32px;
    animation: fadeIn 0.3s ease;
}

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

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
}

.page-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== Stats Grid ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stats-grid.small {
    grid-template-columns: repeat(3, 1fr);
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.stat-card.gradient-purple::before {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.stat-card.gradient-blue::before {
    background: linear-gradient(90deg, var(--info) 0%, #06B6D4 100%);
}

.stat-card.gradient-green::before {
    background: linear-gradient(90deg, var(--success) 0%, #34D399 100%);
}

.stat-card.gradient-orange::before {
    background: linear-gradient(90deg, var(--warning) 0%, #FB923C 100%);
}

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

.gradient-purple .stat-icon {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    color: var(--primary);
}

.gradient-blue .stat-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    color: var(--info);
}

.gradient-green .stat-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.15) 100%);
    color: var(--success);
}

.gradient-orange .stat-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(251, 146, 60, 0.15) 100%);
    color: var(--warning);
}

.stat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

.stat-trend {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 50px;
}

.stat-trend.up {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.stat-trend.down {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* ===== Dashboard Grid ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

/* ===== Cards ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

.card-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

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

.view-all {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--primary-dark);
}

.card-body {
    padding: 24px;
}

.chart-card .card-body {
    height: 320px;
}

/* Time Filter */
.time-filter {
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--gray-600);
    background: var(--white);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.time-filter:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Winner List */
.winner-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.winner-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.winner-item:hover {
    background: var(--gray-50);
}

.winner-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.winner-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.winner-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.winner-prize {
    font-size: 13px;
    color: var(--gray-500);
}

.winner-date {
    font-size: 12px;
    color: var(--gray-400);
}

/* ===== Data Tables ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
    font-size: 13px;
}

.data-table th {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gray-50);
}

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

.data-table tbody tr:hover {
    background: var(--gray-50);
}

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

/* Cell Types */
.business-cell,
.product-cell,
.user-cell,
.prize-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0; /* flexbox text overflow için gerekli */
}

.business-logo {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.product-cell img,
.user-cell img,
.prize-cell img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.product-cell div,
.user-cell div {
    display: flex;
    flex-direction: column;
    min-width: 0; /* text overflow için */
    flex: 1;
}

.product-name{
    font-weight: 600;
    color: var(--dark);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.user-name,.logout-link {
    font-weight: 600;
    /*color: var(--dark);*/
    color: #e8e8e8;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.product-desc,
.user-birth {
    font-size: 11px;
    color: var(--gray-500);
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.balloon-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(236, 72, 153, 0.1) 100%);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 11px;
    white-space: nowrap;
}

.time-remaining {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 50px;
    white-space: nowrap;
}

.time-remaining.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.time-remaining.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.time-remaining.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Action Buttons */
.action-btns {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.icon-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 12px;
    flex-shrink: 0;
}

.icon-btn:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.icon-btn.danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.icon-btn.success:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-badge.inactive {
    background: rgba(107, 114, 128, 0.1);
    color: var(--gray-500);
}

/* Trend Indicators */
.trend-up {
    color: var(--success);
    font-weight: 600;
    font-size: 13px;
}

.trend-down {
    color: var(--danger);
    font-weight: 600;
    font-size: 13px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--gray-100);
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.pagination-info {
    font-size: 14px;
    color: var(--gray-500);
}

.pagination-info strong {
    color: var(--dark);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0 12px;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

.pagination-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    color: var(--gray-400);
    padding: 0 4px;
}

.pagination-select {
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-600);
    background: var(--white);
    cursor: pointer;
    outline: none;
}

/* ===== Business Cards ===== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.business-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.business-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.business-card-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.business-card-actions {
    display: flex;
    gap: 8px;
}

.business-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.business-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.business-card-stats {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 16px;
}

.business-card-stats .stat {
    display: flex;
    flex-direction: column;
}

.business-card-stats .stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.business-card-stats .stat-txt {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===== Rewards Grid ===== */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.reward-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.reward-images {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.reward-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reward-content {
    padding: 20px;
}

.reward-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.reward-header h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.reward-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.reward-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.5;
}

.reward-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-600);
}

.meta-item i {
    color: var(--primary);
}

.reward-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.reward-actions {
    display: flex;
    gap: 8px;
}

/* ===== Filter Groups ===== */
.filter-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.filter-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.filter-form .form-group {
    min-width: 180px;
    flex: 1;
}

/* Chart Legend */
.chart-legend {
    display: flex;
    gap: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-600);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.purple {
    background: var(--primary);
}

.legend-dot.blue {
    background: var(--info);
}

/* ===== Reports ===== */
.reports-header {
    margin-bottom: 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-mini {
    padding:3px 14px!important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: var(--gray-600);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--dark);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #fccb02 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgb(213, 95, 2);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(210, 99, 5);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #DC2626 100%);
    color: var(--white);
}

.btn-danger:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* ===== Forms ===== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.form-group label .required {
    color: var(--danger);
}

.form-input,
.form-select,
.form-textarea,
.form-control {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    font-family: inherit;
    width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-400);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--danger);
}

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

/* ===== FORM DISABLED & READONLY STATES ===== */

/* Disabled Input/Select/Textarea */
.form-control:disabled,
.form-control[disabled],
input:disabled,
select:disabled,
textarea:disabled {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Disabled with icon */
.input-group:has(.form-control:disabled) .input-icon {
    color: #bbb;
}

/* Readonly focus state - hafif göster */
.form-control:read-only:focus,
input:read-only:focus,
textarea:read-only:focus {
    border-color: #d0d0d0;
    box-shadow: none;
    outline: none;
}

/* Disabled focus state - hiç gösterme */
.form-control:disabled:focus,
input:disabled:focus {
    border-color: #e0e0e0;
    box-shadow: none;
    outline: none;
}

/* Disabled/Readonly Select arrow
select:disabled,
select:read-only {
    background-image: linear-gradient(45deg, transparent 50%, #bbb 50%),
    linear-gradient(135deg, #bbb 50%, transparent 50%);
}
*/

/* Disabled Checkbox & Radio */
input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

input[type="checkbox"]:disabled + label,
input[type="radio"]:disabled + label {
    color: #999;
    cursor: not-allowed;
}

/* Disabled Button */
.btn:disabled,
.btn[disabled],
button:disabled {
    background-color: #ccc;
    border-color: #bbb;
    color: #888;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.btn-primary:disabled {
    background-color: #c9a3c9;
    border-color: #c9a3c9;
}

.btn-success:disabled {
    background-color: #a3d9a3;
    border-color: #a3d9a3;
}

.btn-danger:disabled {
    background-color: #e6a3a3;
    border-color: #e6a3a3;
}

/* Readonly/Disabled ile birlikte label stili */
.form-group.disabled label,
.form-group.readonly label {
    color: #888;
}

/* Readonly bilgi göstergesi */
.form-control:read-only + .readonly-hint,
.readonly-hint {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
    font-style: italic;
}

/* File input disabled */
input[type="file"]:disabled {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
    cursor: not-allowed;
}

input[type="file"]:disabled::file-selector-button {
    background-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

.form-hint {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.form-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.form-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    color: var(--primary);
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    background: var(--gray-50);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.file-upload:hover .file-upload-label {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.file-upload-label i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}

.file-upload-label span {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.file-upload-label small {
    font-size: 12px;
    color: var(--gray-400);
}

.file-upload.multi .file-upload-label {
    padding: 48px;
}

.uploaded-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.uploaded-image {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.uploaded-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uploaded-image .remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(239, 68, 68, 0.9);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.uploaded-image .remove-btn:hover {
    background: var(--danger);
    transform: scale(1.1);
}

.uploaded-image .image-order {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Single Image Preview */
.image-preview {
    width: 200px;
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--gray-200);
    margin-top: 12px;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Box */
.info-box {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--primary-bg);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.info-box.warning {
    background: rgba(245, 158, 11, 0.1);
}

.info-box.danger {
    background: rgba(239, 68, 68, 0.1);
}

.info-box i {
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box.warning i {
    color: var(--warning);
}

.info-box.danger i {
    color: var(--danger);
}

.info-box-content strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 4px;
}

.info-box-content p {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

.info-box code {
    background: rgba(124, 58, 237, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--primary);
    font-family: 'Fira Code', monospace;
}

/* ===== Edit Page Specific ===== */
.edit-form-container {
    max-width: 900px;
}

.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px;
    margin-bottom: 24px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    margin-top: 24px;
}

/* Switch/Toggle */
.switch-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.switch {
    position: relative;
    width: 48px;
    height: 26px;
}

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

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-300);
    border-radius: 26px;
    transition: var(--transition);
}

.switch-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.switch input:checked + .switch-slider {
    background: var(--primary);
}

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

.switch-label {
    font-size: 14px;
    color: var(--gray-600);
}

/* ===== Modals ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.3s ease;
}

.modal-content.large {
    max-width: 720px;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

/* ===== Notification ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid var(--success);
}

.notification-success i {
    color: var(--success);
}

.notification-error {
    border-left: 4px solid var(--danger);
}

.notification-error i {
    color: var(--danger);
}

.notification-warning {
    border-left: 4px solid var(--warning);
}

.notification-warning i {
    color: var(--warning);
}

.notification-info {
    border-left: 4px solid var(--info);
}

.notification-info i {
    color: var(--info);
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.empty-state h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* ===== Responsive ===== */
@media (max-width: 1400px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    /* 13" Laptop için tablo kompakt */
    .data-table th,
    .data-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .product-cell,
    .user-cell,
    .prize-cell {
        gap: 8px;
    }

    .product-cell img,
    .user-cell img,
    .prize-cell img {
        width: 36px;
        height: 36px;
    }

    .product-name,
    .user-name {
        font-size: 12px;
        max-width: 140px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-desc,
    .user-birth {
        font-size: 10px;
        max-width: 140px;
        /*white-space: nowrap;*/
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .icon-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .action-btns {
        gap: 4px;
    }

    .badge,
    .status-badge {
        padding: 3px 8px;
        font-size: 10px;
    }

    .balloon-count {
        padding: 3px 8px;
        font-size: 11px;
    }

    .time-remaining {
        padding: 3px 6px;
        font-size: 10px;
    }

    .business-logo {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* ===== 13" Laptop (1280px - 1400px) ===== */
@media (max-width: 1280px) {
    /* Sidebar biraz daralt */
    .sidebar {
        width: 240px;
    }

    .main-content {
        margin-left: 240px;
    }

    .sidebar.collapsed + .main-content {
        margin-left: var(--sidebar-collapsed);
    }

    /* Header kompakt */
    .header {
        padding: 0 16px;
    }

    .page-title h1 {
        font-size: 20px;
    }

    .page-content {
        padding: 16px;
    }

    /* Stats kompakt */
    .stats-grid {
        gap: 12px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-value {
        font-size: 22px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* Filter kompakt */
    .filter-card {
        padding: 14px;
    }

    .filter-form .form-group {
        min-width: 120px;
    }

    /* Tablo daha da kompakt */
    .data-table th,
    .data-table td {
        padding: 8px 6px;
        font-size: 11px;
    }

    .product-cell,
    .user-cell,
    .prize-cell {
        gap: 6px;
    }

    .product-cell img,
    .user-cell img,
    .prize-cell img {
        width: 32px;
        height: 32px;
    }

    .product-name,
    .user-name {
        font-size: 11px;
        max-width: 120px;
    }

    .product-desc,
    .user-birth {
        font-size: 9px;
        max-width: 120px;
    }

    .icon-btn {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }

    .action-btns {
        gap: 3px;
    }

    .badge,
    .status-badge {
        padding: 2px 6px;
        font-size: 9px;
    }

    .business-logo {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    /* Card kompakt */
    .card-header {
        padding: 12px 14px;
    }

    .card-header h3 {
        font-size: 14px;
    }

    .card-body {
        padding: 14px;
    }

    /* Pagination kompakt */
    .pagination {
        padding-top: 12px;
    }

    .pagination-info {
        font-size: 11px;
    }

    .pagination-btn {
        min-width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .pagination-select {
        padding: 5px 8px;
        font-size: 11px;
    }
}

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

    .sidebar.active {
        transform: translateX(0);
    }

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

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 992px) {
    .header {
        padding: 0 16px;
    }

    .page-content {
        padding: 16px;
    }

    .search-box {
        display: none;
    }

    .filter-group {
        flex-direction: column;
        width: 100%;
    }

    .filter-form {
        flex-direction: column;
    }

    .filter-form .form-group {
        width: 100%;
        min-width: auto;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rewards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 1200px) {
    .sidebar-overlay.active {
        display: block;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stats-grid.small {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .stat-value {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-trend {
        font-size: 10px;
        padding: 2px 6px;
        top: 12px;
        right: 12px;
    }

    /* Data Table Mobile */
    .data-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table th,
    .data-table td {
        padding: 12px 10px;
        font-size: 13px;
        /*white-space: nowrap;*/
    }

    .product-cell img,
    .user-cell img,
    .prize-cell img {
        width: 36px;
        height: 36px;
    }

    .product-name,
    .user-name {
        font-size: 13px;
    }

    .product-desc,
    .user-birth {
        font-size: 11px;
    }

    .action-btns {
        gap: 4px;
    }

    .icon-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    /* Pagination Mobile */
    .pagination {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .pagination-info {
        text-align: center;
        font-size: 13px;
    }

    .pagination-controls {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 10px;
    }

    .pagination-select {
        padding: 6px 10px;
        font-size: 13px;
    }

    /* Modal Mobile */
    .modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
        border-radius: var(--radius);
    }

    .modal-header {
        padding: 16px 20px;
    }

    .modal-header h3 {
        font-size: 18px;
    }

    .modal-body {
        padding: 16px 20px;
    }

    .modal-footer {
        padding: 16px 20px;
        flex-direction: column;
        gap: 8px;
    }

    .modal-footer .btn {
        width: 100%;
    }

    /* Page Header Mobile */
    .page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .page-header h2 {
        font-size: 18px;
    }

    .page-actions {
        width: 100%;
        flex-direction: column;
    }

    .page-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Cards Mobile */
    .card {
        border-radius: var(--radius);
    }

    .card-header {
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .card-header h3 {
        font-size: 16px;
    }

    .card-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .card-body {
        padding: 16px;
    }

    .chart-card .card-body {
        height: 260px;
    }

    /* Form Card Mobile */
    .form-card {
        padding: 16px;
        border-radius: var(--radius);
    }

    .form-section {
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    .form-section-title {
        font-size: 16px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 14px;
        font-size: 14px;
    }

    .form-actions {
        flex-direction: column;
        gap: 8px;
        padding-top: 16px;
        margin-top: 16px;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Filter Card Mobile */
    .filter-card {
        padding: 16px;
        border-radius: var(--radius);
    }

    .filter-card h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .filter-form {
        gap: 12px;
    }

    .filter-form .btn {
        width: 100%;
        margin-top: 4px;
    }

    /* Business Grid Mobile */
    .business-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .business-card {
        padding: 16px;
    }

    .business-card-logo {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .business-card h4 {
        font-size: 16px;
    }

    .business-card p {
        font-size: 13px;
    }

    .business-card-stats {
        gap: 16px;
        padding: 12px 0;
    }

    .business-card-stats .stat-num {
        font-size: 16px;
    }

    .business-card-stats .stat-txt {
        font-size: 11px;
    }

    /* Rewards Grid Mobile */
    .rewards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .reward-card {
        border-radius: var(--radius);
    }

    .reward-images {
        height: 160px;
    }

    .reward-content {
        padding: 16px;
    }

    .reward-header h4 {
        font-size: 15px;
    }

    .reward-price {
        font-size: 15px;
    }

    .reward-desc {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .reward-meta {
        gap: 12px;
        margin-bottom: 12px;
    }

    .meta-item {
        font-size: 12px;
    }

    .reward-footer {
        padding-top: 12px;
    }

    /* Winner List Mobile */
    .winner-list {
        gap: 12px;
    }

    .winner-item {
        padding: 10px;
        flex-wrap: wrap;
    }

    .winner-avatar img {
        width: 40px;
        height: 40px;
    }

    .winner-name {
        font-size: 13px;
    }

    .winner-prize {
        font-size: 12px;
    }

    .winner-date {
        font-size: 11px;
        width: 100%;
        text-align: right;
        margin-top: 4px;
    }

    /* Dashboard Grid Mobile */
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Info Box Mobile */
    .info-box {
        padding: 12px;
        flex-direction: column;
        text-align: center;
    }

    .info-box i {
        margin-bottom: 8px;
    }

    .info-box-content strong {
        font-size: 13px;
    }

    .info-box-content p {
        font-size: 12px;
    }

    /* Uploaded Images Mobile */
    .uploaded-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* File Upload Mobile */
    .file-upload-label {
        padding: 24px 16px;
    }

    .file-upload-label i {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .file-upload-label span {
        font-size: 13px;
    }

    .file-upload-label small {
        font-size: 11px;
    }

    /* Image Preview Mobile */
    .image-preview {
        width: 150px;
        height: 150px;
    }

    /* Switch Group Mobile */
    .switch-group {
        margin-top: 0 !important;
    }

    .switch-label {
        font-size: 13px;
    }

    /* Badge Mobile */
    .badge {
        padding: 4px 10px;
        font-size: 11px;
    }

    .status-badge {
        padding: 4px 10px;
        font-size: 11px;
    }

    .balloon-count {
        padding: 3px 8px;
        font-size: 12px;
    }

    .time-remaining {
        font-size: 11px;
        padding: 4px 8px;
    }

    /* Button Mobile */
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }

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

    /* Edit Form Container Mobile */
    .edit-form-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    /* Header Mobile */
    .header {
        padding: 0 12px;
        height: 60px;
    }

    .page-title h1 {
        font-size: 18px;
    }

    .breadcrumb {
        font-size: 11px;
    }

    .notification-btn {
        width: 36px;
        height: 36px;
    }

    .header-user img {
        width: 36px;
        height: 36px;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }

    /* Page Content Mobile */
    .page-content {
        padding: 12px;
    }

    /* Stats Grid Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 14px;
        flex-direction: row;
        align-items: center;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-trend {
        position: static;
        margin-left: auto;
    }

    /* Card Mobile */
    .card-header {
        padding: 12px;
    }

    .card-header h3 {
        font-size: 15px;
    }

    .card-body {
        padding: 12px;
    }

    .chart-card .card-body {
        height: 220px;
    }

    /* Data Table Mobile Extra Small */
    .data-table th,
    .data-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .product-cell,
    .user-cell,
    .prize-cell {
        gap: 8px;
    }

    .product-cell img,
    .user-cell img,
    .prize-cell img {
        width: 32px;
        height: 32px;
    }

    .product-name,
    .user-name {
        font-size: 12px;
    }

    .product-desc,
    .user-birth {
        font-size: 10px;
    }

    .business-logo {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .icon-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    /* Pagination Extra Small */
    .pagination-btn {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 8px;
    }

    .pagination-ellipsis {
        padding: 0 2px;
    }

    /* Form Mobile Extra Small */
    .form-card {
        padding: 12px;
    }

    .form-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .form-section-title {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: var(--radius-sm);
    }

    .form-hint {
        font-size: 11px;
    }

    .form-error {
        font-size: 11px;
    }

    /* Filter Card Extra Small */
    .filter-card {
        padding: 12px;
    }

    .filter-card h4 {
        font-size: 13px;
    }

    .filter-form {
        gap: 10px;
    }

    /* Business Card Extra Small */
    .business-card {
        padding: 14px;
    }

    .business-card-logo {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .business-card h4 {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .business-card p {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .business-card-stats {
        gap: 12px;
        padding: 10px 0;
        margin-bottom: 12px;
    }

    .business-card-stats .stat-num {
        font-size: 15px;
    }

    /* Reward Card Extra Small */
    .reward-images {
        height: 140px;
    }

    .image-count {
        padding: 4px 10px;
        font-size: 11px;
    }

    .reward-content {
        padding: 14px;
    }

    .reward-header h4 {
        font-size: 14px;
    }

    .reward-price {
        font-size: 14px;
    }

    .reward-desc {
        font-size: 12px;
        line-height: 1.4;
    }

    .meta-item {
        font-size: 11px;
        gap: 6px;
    }

    /* Modal Extra Small */
    .modal-content {
        margin: 8px;
        max-height: calc(100vh - 16px);
    }

    .modal-header {
        padding: 14px 16px;
    }

    .modal-header h3 {
        font-size: 16px;
    }

    .modal-close {
        width: 32px;
        height: 32px;
    }

    .modal-body {
        padding: 14px 16px;
    }

    .modal-footer {
        padding: 14px 16px;
    }

    /* Info Box Extra Small */
    .info-box {
        padding: 10px;
    }

    .info-box i {
        font-size: 16px;
    }

    .info-box-content strong {
        font-size: 12px;
    }

    .info-box-content p {
        font-size: 11px;
    }

    .info-box code {
        font-size: 10px;
        padding: 1px 4px;
    }

    /* Uploaded Images Extra Small */
    .uploaded-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .uploaded-image .remove-btn {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .uploaded-image .image-order {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    /* File Upload Extra Small */
    .file-upload-label {
        padding: 20px 12px;
    }

    .file-upload-label i {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .file-upload-label span {
        font-size: 12px;
    }

    .file-upload-label small {
        font-size: 10px;
    }

    /* Image Preview Extra Small */
    .image-preview {
        width: 120px;
        height: 120px;
    }

    /* Winner List Extra Small */
    .winner-item {
        padding: 8px;
    }

    .winner-avatar img {
        width: 36px;
        height: 36px;
    }

    .winner-name {
        font-size: 12px;
    }

    .winner-prize {
        font-size: 11px;
    }

    /* Button Extra Small */
    .btn {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: var(--radius-sm);
    }

    .btn i {
        font-size: 12px;
    }

    .btn-sm {
        padding: 6px 10px;
        font-size: 11px;
    }

    /* Notification Toast Mobile */
    .notification {
        left: 10px;
        right: 10px;
        max-width: none;
        top: 10px;
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Empty State Mobile */
    .empty-state {
        padding: 40px 16px;
    }

    .empty-state i {
        font-size: 48px;
    }

    .empty-state h4 {
        font-size: 16px;
    }

    .empty-state p {
        font-size: 13px;
    }

    /* Trend Indicators Mobile */
    .trend-up,
    .trend-down {
        font-size: 11px;
    }

    /* Chart Legend Mobile */
    .chart-legend {
        gap: 12px;
        flex-wrap: wrap;
    }

    .legend-item {
        font-size: 11px;
    }

    .legend-dot {
        width: 8px;
        height: 8px;
    }

    /* Time Filter Mobile */
    .time-filter {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* ===== Touch Friendly Enhancements ===== */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .icon-btn {
        min-width: 44px;
        min-height: 44px;
    }

    .pagination-btn {
        min-width: 44px;
        min-height: 44px;
    }

    .nav-link {
        padding: 16px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        min-height: 48px;
    }

    .btn {
        min-height: 48px;
    }

    /* Remove hover effects on touch */
    .stat-card:hover,
    .business-card:hover,
    .reward-card:hover {
        transform: none;
    }

    .icon-btn:hover {
        background: var(--gray-100);
        color: var(--gray-600);
    }

    /* Add active states for touch */
    .btn:active {
        transform: scale(0.98);
    }

    .icon-btn:active {
        background: var(--primary-bg);
        color: var(--primary);
    }

    .nav-link:active {
        background: rgba(255, 255, 255, 0.1);
    }

    .stat-card:active,
    .business-card:active,
    .reward-card:active {
        transform: scale(0.99);
    }
}

/* ===== Landscape Mode Mobile ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .sidebar {
        overflow-y: auto;
    }

    .sidebar-header {
        padding: 12px 16px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .logo-text {
        font-size: 18px;
    }

    .nav-link {
        padding: 10px 14px;
    }

    .sidebar-footer {
        padding: 12px;
    }

    .modal-content {
        max-height: 95vh;
    }

    .chart-card .card-body {
        height: 180px;
    }
}

/* ===== Auth Pages ===== */
body.auth-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.auth-brand {
    flex: 1;
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.auth-brand::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
}

.auth-brand-content {
    position: relative;
    z-index: 1;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.auth-logo .logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.auth-logo .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.auth-brand h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.auth-brand > p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.auth-feature i {
    width: 36px;
    height: 36px;
    background: rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.auth-brand-footer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    position: relative;
    z-index: 1;
}

.auth-form-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: var(--white);
}

.auth-form-container {
    width: 100%;
    max-width: 360px;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-form-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.auth-form-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 16px;
}

.input-icon-wrapper .form-input {
    padding-left: 44px;
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: var(--gray-400);
}

.password-toggle:hover {
    color: var(--gray-600);
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--gray-600);
}

.checkbox-wrapper input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    position: relative;
}

.checkbox-wrapper input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-wrapper input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: var(--white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.forgot-link {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

.forgot-link:hover {
    color: var(--primary-dark);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    padding: 0 16px;
    font-size: 13px;
    color: var(--gray-400);
}

.btn-social {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
}

.btn-google {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--dark);
}

.btn-google:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.btn-google i {
    color: #EA4335;
}

.auth-footer {
    text-align: center;
    margin-top: 32px;
}

.auth-footer p {
    font-size: 14px;
    color: var(--gray-500);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 900px) {
    .auth-container {
        flex-direction: column;
        max-width: 480px;
    }

    .auth-brand {
        padding: 32px;
    }

    .auth-brand h1 {
        font-size: 24px;
    }

    .auth-brand > p {
        display: none;
    }

    .auth-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .auth-feature {
        flex: 1;
        min-width: 100px;
        font-size: 12px;
    }

    .auth-brand-footer {
        display: none;
    }

    .auth-form-wrapper {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    body.auth-page {
        padding: 12px;
    }

    .auth-container {
        border-radius: var(--radius-lg);
    }

    .auth-brand {
        padding: 24px;
    }

    .auth-logo .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .auth-logo .logo-text {
        font-size: 24px;
    }

    .auth-brand h1 {
        font-size: 20px;
    }

    .auth-features {
        display: none;
    }

    .auth-form-wrapper {
        padding: 24px 20px;
    }

    .auth-form-header h2 {
        font-size: 24px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ===== Mobile Card Table ===== */
@media (max-width: 768px) {
    /* Hide checkbox column on mobile */
    .data-table.mobile-cards th:first-child,
    .data-table.mobile-cards td:first-child {
        /*display: none;*/
    }

    .data-table.mobile-cards {
        display: block;
        min-width: auto !important;
        border: none;
        background: transparent;
    }

    .data-table.mobile-cards thead {
        display: none;
    }

    .data-table.mobile-cards tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .data-table.mobile-cards tr {
        display: flex;
        flex-direction: column;
        background: var(--white);
        border: 1px solid var(--gray-200);
        border-radius: var(--radius);
        padding: 16px;
        gap: 10px;
        box-shadow: var(--shadow-sm);
    }

    .data-table.mobile-cards tr:hover {
        background: var(--white);
        transform: none;
    }

    .data-table.mobile-cards td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        border: none;
        gap: 12px;
        font-size: 14px;
    }

    .data-table.mobile-cards td::before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: 600;
        color: var(--gray-500);
        flex-shrink: 0;
        min-width: 90px;
    }

    /* Primary cell (product/user) - full width header style */
    .data-table.mobile-cards td[data-label="Ürün"],
    .data-table.mobile-cards td[data-label="Kullanıcı"],
    .data-table.mobile-cards td[data-label="Kazanan"],
    .data-table.mobile-cards td[data-label="Ödül"] {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 12px;
        margin-bottom: 4px;
        border-bottom: 1px solid var(--gray-100);
    }

    .data-table.mobile-cards td[data-label="Ürün"]::before,
    .data-table.mobile-cards td[data-label="Kullanıcı"]::before,
    .data-table.mobile-cards td[data-label="Kazanan"]::before,
    .data-table.mobile-cards td[data-label="Ödül"]::before {
        display: none;
    }

    /* Actions cell - full width footer style */
    .data-table.mobile-cards td[data-label="İşlemler"] {
        padding-top: 12px;
        margin-top: 4px;
        border-top: 1px solid var(--gray-100);
        justify-content: flex-end;
    }

    .data-table.mobile-cards td[data-label="İşlemler"]::before {
        display: none;
    }

    .data-table.mobile-cards td[data-label="İşlemler"] .action-btns {
        width: 100%;
        justify-content: flex-end;
        gap: 8px;
    }

    /* Product/User/Prize Cell Mobile */
    .data-table.mobile-cards .product-cell,
    .data-table.mobile-cards .user-cell,
    .data-table.mobile-cards .prize-cell {
        width: 100%;
    }

    .data-table.mobile-cards .product-cell img,
    .data-table.mobile-cards .user-cell img,
    .data-table.mobile-cards .prize-cell img {
        width: 50px;
        height: 50px;
    }

    .data-table.mobile-cards .product-name,
    .data-table.mobile-cards .user-name {
        font-size: 15px;
        font-weight: 600;
    }

    .data-table.mobile-cards .product-desc,
    .data-table.mobile-cards .user-birth {
        font-size: 13px;
    }

    /* Badge alignment */
    .data-table.mobile-cards .badge,
    .data-table.mobile-cards .status-badge {
        margin-left: auto;
    }

    /* Balloon count */
    .data-table.mobile-cards .balloon-count {
        margin-left: auto;
    }

    /* Time remaining */
    .data-table.mobile-cards .time-remaining {
        margin-left: auto;
    }

    /* Action buttons */
    .data-table.mobile-cards .icon-btn {
        width: 40px;
        height: 40px;
    }

    /* Card body padding adjustment */
    .card-body:has(.data-table.mobile-cards) {
        padding: 12px;
        background: transparent;
    }

    .card:has(.data-table.mobile-cards) {
        background: transparent;
        box-shadow: none;
    }

    .card:has(.data-table.mobile-cards) .card-header {
        background: var(--white);
        border-radius: var(--radius);
        margin-bottom: 12px;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

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

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

/* ===== Selection ===== */
::selection {
    background: var(--primary);
    color: var(--white);
}


/* ===== Submenu Styles ===== */

.nav-item.has-submenu > .nav-link {
    position: relative;
}

.nav-item.has-submenu > .nav-link::after {
    content: "\f078";

    font-family: "Font Awesome 6 Free";

    font-weight: 900;

    font-size: 10px;

    margin-left: auto;

    transition: transform 0.3s ease;
}

.nav-item.has-submenu.open > .nav-link::after {
    transform: rotate(180deg);
}

.submenu {
    max-height: 0;

    overflow: hidden;

    transition: max-height 0.3s ease;

    background: rgba(0, 0, 0, 0.15);
}

.nav-item.has-submenu.open > .submenu {
    max-height: 500px;
}

.submenu .nav-link {
    /*padding: 12px 20px 12px 52px;*/

    padding: 9px 10px 9px 20px;

    font-size: 13px;

    color: rgba(255, 255, 255, 0.6);

    border-left: 2px solid transparent;

    margin: 0;
}

.submenu .nav-link:hover {
    color: rgba(255, 255, 255, 0.9);

    background: rgba(255, 255, 255, 0.05);

    border-left-color: var(--primary-light);
}

.submenu .nav-link.active {
    color: var(--white);

    background: rgba(124, 58, 237, 0.2);

    border-left-color: var(--primary);
}

.submenu .nav-link i {
    font-size: 6px;

    margin-right: 0px;

    opacity: 0.7;
}

/* Collapsed Sidebar Submenu */
.sidebar.collapsed .submenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background: var(--dark);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
}

.sidebar.collapsed .nav-item.has-submenu:hover > .submenu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
}

.sidebar.collapsed .nav-item.has-submenu > .nav-link::after {
    content: "\f054";
    position: absolute;
    right: 8px;
    transform: none;
}
.sidebar.collapsed .submenu .nav-link {
    padding: 12px 20px;
}

.sidebar.collapsed .submenu .nav-link i {
    display: none;
}

/* Mobile Submenu */

@media (max-width: 1200px) {
    .submenu .nav-link {
        padding-left: 56px;
    }
}

/* ===== Page Alerts ===== */

.page-alert {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 18px;

    border-radius: var(--radius);

    margin-bottom: 20px;

    font-size: 14px;

    font-weight: 500;

    animation: alertSlideIn 0.3s ease;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;

        transform: translateY(-10px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}

.page-alert i {
    font-size: 18px;

    flex-shrink: 0;
}

.page-alert .alert-message {
    flex: 1;
}

.page-alert .alert-close {
    background: none;

    border: none;

    cursor: pointer;

    padding: 4px;

    opacity: 0.7;

    transition: opacity 0.2s;

    color: inherit;
}

.page-alert .alert-close:hover {
    opacity: 1;
}

/* Success */
.page-alert.success {
    background: linear-gradient(
            135deg,
            rgba(16, 185, 129, 0.1) 0%,
            rgba(16, 185, 129, 0.05) 100%
    );
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
}

/* Danger / Error */
.page-alert.danger {
    background: linear-gradient(
            135deg,
            rgba(239, 68, 68, 0.1) 0%,
            rgba(239, 68, 68, 0.05) 100%
    );
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

/* Warning */
.page-alert.warning {
    background: linear-gradient(
            135deg,
            rgba(245, 158, 11, 0.1) 0%,
            rgba(245, 158, 11, 0.05) 100%
    );
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #d97706;
}
/* Info */
.page-alert.info {
    background: linear-gradient(
            135deg,
            rgba(59, 130, 246, 0.1) 0%,
            rgba(59, 130, 246, 0.05) 100%
    );
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #2563eb;
}


/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--gray-100);
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.pagination-info {
    font-size: 14px;
    color: var(--gray-500);
}

.pagination-info strong {
    color: var(--dark);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0 12px;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

.pagination-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    color: var(--gray-400);
    padding: 0 4px;
}

.pagination-select {
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-600);
    background: var(--white);
    cursor: pointer;
    outline: none;
}


/* ===== Time Slots ===== */
.time-slots-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.time-slot-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}

.time-inputs {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex: 1;
}

.time-input-group {
    flex: 1;
}

.time-input-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time-input-group .form-input {
    width: 100%;
}

.time-separator {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-400);
    padding-bottom: 10px;
}

.btn-remove-slot {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-remove-slot:hover {
    background: var(--danger);
    color: var(--white);
}

.btn-add-slot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-bg);
    color: var(--primary);
    border: 1px dashed var(--primary);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-slot:hover {
    background: var(--primary);
    color: var(--white);
    border-style: solid;
}

/* Time slot tek satır kalınca sil butonu gizle
.time-slots-container .time-slot-row:only-child .btn-remove-slot {
    opacity: 0.3;
    pointer-events: none;
}
 */

/* Mobile */
@media (max-width: 576px) {
    .time-slot-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .time-inputs {
        flex-direction: row;
    }

    .btn-remove-slot {
        align-self: flex-end;
    }
}


/* Tarih Aralığı Tek Form-group'ta */
/* Date Range Group */
.date-range-group {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.date-input-wrapper {
    flex: 1;
}

.date-input-wrapper .input-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.range-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    flex-shrink: 0;
    margin-bottom: 4px;
}

@media (max-width: 576px) {
    .date-range-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .range-icon {
        display: none;
    }
}

/* Ödül verme gün aralık seçimi */
/* ===== Day Selector ===== */
.day-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.day-checkbox {
    cursor: pointer;
}

.day-checkbox input {
    display: none;
}

.day-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    transition: var(--transition);
}

.day-checkbox:hover .day-box {
    border-color: var(--primary-light);
    background: var(--primary-bg);
}

.day-checkbox input:checked + .day-box {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Kısayol butonları */
.day-shortcuts {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.shortcut-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.shortcut-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

/* Mobile */
@media (max-width: 480px) {
    .day-box {
        width: 42px;
        height: 42px;
        font-size: 11px;
    }

    .day-selector {
        gap: 6px;
    }
}

/* ===== PROFILE DROPDOWN ===== */
.header-profile {
    position: relative;
}

.profile-dropdown {
    position: relative;
}

.profile-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.profile-toggle:hover {
    background-color: rgba(128, 0, 128, 0.08);
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #800080, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.profile-name {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.profile-arrow {
    font-size: 10px;
    color: #666;
    transition: transform 0.2s ease;
}

.profile-dropdown.active .profile-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menü */
.profile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.profile-dropdown.active .profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(128, 0, 128, 0.05), rgba(168, 85, 247, 0.05));
}

.profile-avatar-lg {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #800080, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-info strong {
    font-size: 14px;
    color: #333;
}

.profile-info span {
    font-size: 12px;
    color: #888;
}

.profile-menu-divider {
    height: 1px;
    background: #eee;
    margin: 0;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.profile-menu-item:hover {
    background-color: rgba(128, 0, 128, 0.06);
    color: #800080;
}

.profile-menu-item i {
    width: 18px;
    font-size: 14px;
    color: #888;
    transition: color 0.2s ease;
}

.profile-menu-item:hover i {
    color: #800080;
}

.profile-menu-item.logout {
    color: #dc3545;
}

.profile-menu-item.logout:hover {
    background-color: rgba(220, 53, 69, 0.06);
    color: #dc3545;
}

.profile-menu-item.logout i {
    color: #dc3545;
}

/* Mobil uyum */
@media (max-width: 768px) {
    .profile-name {
        display: none;
    }

    .profile-arrow {
        display: none;
    }

    .profile-toggle {
        padding: 8px;
    }

    .profile-menu {
        right: -10px;
        width: 240px;
    }
}