/* JUMP Platform - Complete Stylesheet */

/* Import Agenda font */
@import url('https://fonts.googleapis.com/css2?family=Agenda:wght@400;500;600;700&display=swap');

/* JUMP Color Variables - Minimalist Palette */
:root {
    --jump-green: #10B981;
    --jump-green-light: #34D399;
    --jump-green-subtle: #F0FDF4;
    --jump-green-border: #D1FAE5;
    --dark-bg: #0F172A;
    --dark-sidebar: #1E293B;
    --dark-card: #334155;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --text-light: #ffffff;
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;
    --surface-white: #FFFFFF;
    --surface-gray: #F8FAFC;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --red-danger: #EF4444;
    --red-light: #FEF2F2;
    --blue-primary: #3B82F6;
    --blue-light: #EFF6FF;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--surface-gray);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background: linear-gradient(135deg, var(--dark-sidebar) 0%, #1f1f1f 100%);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar.collapsed .nav-item span,
.sidebar.collapsed .nav-badge,
.sidebar.collapsed .logo-text,
.sidebar.collapsed .logo {
    opacity: 0;
    visibility: hidden;
}

.sidebar.collapsed .nav-section-title {
    opacity: 0;
    visibility: hidden;
}

.sidebar.collapsed .sidebar-header {
    justify-content: center;
    padding: 1rem 0.5rem;
    display: flex;
    align-items: center;
    position: relative;
}

.sidebar.collapsed .sidebar-toggle {
    margin-left: 0;
    position: absolute;
    top: 1rem;
    right: 0.5rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1000;
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: auto;
    position: relative;
}

.sidebar-toggle i {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

/* Extra visual feedback for collapsed state */
.sidebar.collapsed .sidebar-toggle {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.sidebar.collapsed .sidebar-toggle:hover {
    background: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
    transform: scale(1.05);
}

/* Pulse animation for collapsed toggle button to draw attention */
.sidebar.collapsed .sidebar-toggle {
    animation: pulse-subtle 2s infinite;
}

/* Ensure collapsed sidebar shows toggle button properly */
.sidebar.collapsed .sidebar-header {
    position: relative;
    min-height: 60px;
    justify-content: center;
}

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

/* Sidebar expand button (only visible when collapsed) */
.sidebar-expand-btn {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: absolute;
    top: 1rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    animation: pulse-subtle 2s infinite;
}

.sidebar-expand-btn:hover {
    background: rgba(16, 185, 129, 0.4);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
    transform: scale(1.1);
    animation: none;
}

.sidebar.collapsed .sidebar-expand-btn {
    display: flex;
}

.sidebar.collapsed .sidebar-toggle {
    display: none;
}

@keyframes pulse-subtle {
    0%, 100% {
        box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    }
    50% {
        box-shadow: 0 2px 4px rgba(16, 185, 129, 0.4), 0 0 0 4px rgba(16, 185, 129, 0.1);
    }
}

/* Stop animation on hover */
.sidebar.collapsed .sidebar-toggle:hover {
    animation: none;
}

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

.sidebar-header {
    padding: 0.5rem;
    border-bottom: 1px solid #404040;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--jump-green) 0%, var(--spotlight-green) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

.logo-text {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.sidebar-nav {
    flex: 1;
    padding: 0.5rem 0;
}

.nav-section {
    margin-bottom: 2rem;
}

.nav-section-title {
    color: #888;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #ccc;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0;
    margin: 0 0.5rem;
    position: relative;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 8px;
}

.nav-item.active {
    color: var(--text-light);
    border-radius: 8px;
}

.nav-item i {
    width: 20px;
    margin-right: 0.75rem;
    text-align: center;
}

.nav-badge {
    background: var(--spotlight-green);
    color: var(--dark-bg);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-left: auto;
    font-weight: 600;
}

/* Main Content */
.main-content {
    margin-left: 0;
    min-height: 100vh;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-content.sidebar-open {
    margin-left: 280px;
}

.main-content.sidebar-collapsed {
    margin-left: 70px;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: var(--surface-green);
}

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

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Header */
.header {
    background: white;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.breadcrumb {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--surface-green);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.user-profile:hover {
    background: var(--jump-green);
    color: white;
}

/* User Profile Styles */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-color);
    min-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
}

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

.dropdown-header {
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--surface-green);
    border-radius: 12px 12px 0 0;
}

.dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-avatar {
    width: 48px;
    height: 48px;
    background: var(--jump-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.dropdown-user-details h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.dropdown-user-details p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.dropdown-section {
    padding: 0.5rem 0;
}

.dropdown-section-title {
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 0.25rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: var(--surface-green);
}

.dropdown-item.danger {
    color: var(--red-danger);
}

.dropdown-item.danger:hover {
    background: var(--red-light);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.club-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.club-item:hover {
    background: var(--surface-green);
}

.club-item.active {
    background: var(--jump-green);
    color: white;
}

.club-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.club-info h4 {
    color: #1f1f1f;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.club-info p {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Club specific colors */
.club-gae { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }
.club-knltb { background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%); }
.club-tennis { background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%); }
.club-hockey { background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%); }

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--jump-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--blue-primary) 0%, #1d4ed8 100%);
    color: white;
    padding: 0.5rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    opacity: 0.9;
    font-size: 1rem;
}

/* Content Area */
.content-area {
    padding: 0.5rem;
}

/* Filters and Search */
.filters-section {
    background: white;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.add-button {
    background: var(--jump-green);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.add-button:hover {
    background: var(--jump-green-light);
    transform: translateY(-1px);
    color: white;
}

/* Column Filter Dropdown */
.column-filter {
    position: relative;
    display: inline-block;
}

.filter-button {
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 160px;
}

.filter-button:hover {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    min-width: 220px;
    z-index: 1000;
    margin-top: 0.25rem;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.filter-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s ease;
    gap: 0.75rem;
}

.filter-option:hover {
    background: var(--surface-green);
}

.filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-option label {
    cursor: pointer;
    flex: 1;
}

.filter-actions {
    border-top: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.filter-action-btn {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reset {
    background: var(--surface-green);
    color: var(--text-primary);
}

.btn-reset:hover {
    background: var(--jump-green);
    color: white;
}

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

.btn-apply:hover {
    background: #1d4ed8;
}

/* View Toggle Buttons */
.view-toggle {
    display: flex;
    background: var(--border-color);
    border-radius: 8px;
    padding: 2px;
    gap: 2px;
}

.view-toggle-btn {
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.view-toggle-btn.active {
    background: white;
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.view-toggle-btn:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.5);
}

/* Video Grid Layout */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

/* Video List Layout */
.videos-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0;
}

.videos-list .video-card {
    display: flex;
    flex-direction: row;
    height: 180px;
    max-width: none;
}

.videos-list .video-thumbnail {
    width: 320px;
    flex-shrink: 0;
    aspect-ratio: 16/9;
}

.videos-list .video-info {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.videos-list .video-header {
    margin-bottom: 0.5rem;
}

.videos-list .video-title {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.videos-list .video-stats {
    display: flex;
    gap: 2rem;
    margin: 0.75rem 0;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 6px;
}

.videos-list .stat-item {
    text-align: left;
}

.videos-list .video-controls {
    margin-top: 0.75rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--jump-green) 0%, var(--spotlight-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.video-info {
    padding: 0.5rem;
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.video-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}
.stat-change.positive {
    background: var(--jump-green-subtle);
    color: var(--jump-green);
    width: 99px !important;
}

.stat-change.neutral {
    width: 99px !important;
}

.stat-change.neutral {
    width: 99px !important;
}
.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
}

.control-button {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.control-button:hover {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
}

.publish-toggle {
    margin-left: auto;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-switch.active {
    background: var(--jump-green);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle-switch.active::after {
    transform: translateX(20px);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.live-indicator {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--red-danger);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: #f1f5f9;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.btn-manage {
    background: var(--blue-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-manage:hover {
    background: #1d4ed8;
}

.btn-delete {
    background: var(--red-light);
    color: var(--red-danger);
    border: 1px solid var(--red-danger);
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-delete:hover {
    background: var(--red-danger);
    color: white;
}

/* Tags Selection Interface */
.tags-section {
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.tags-section h3 {
    font-family: 'Agenda', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tags-section h3 i {
    color: var(--jump-green);
}

.tags-search-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tags-search {
    position: relative;
    width: 100%;
}

.tags-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.tags-search input:focus {
    outline: none;
    border-color: var(--jump-green);
    box-shadow: 0 0 0 3px rgba(70, 177, 110, 0.1);
}

.tags-search i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.tags-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    background: #fafafa;
}

.tag-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.tag-item:hover {
    background: var(--surface-green);
}

.tag-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--jump-green);
}

.tag-item label {
    cursor: pointer;
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.selected-tags {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.selected-tags h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.selected-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.selected-tag {
    background: linear-gradient(135deg, var(--jump-green) 0%, var(--spotlight-green) 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.selected-tag .remove-tag {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.selected-tag .remove-tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

.no-tags-message {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

/* Mobile responsiveness for tags */
@media (max-width: 768px) {
    .tags-list {
        grid-template-columns: 1fr;
        max-height: 200px;
    }
    
    .selected-tags-list {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Dashboard Styles */
.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-title {
    font-family: 'Agenda', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* Dashboard Stats Grid */
.dashboard-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stats-section {
    margin-bottom: 1.5rem;
}

.stats-section-title {
    font-family: 'Agenda', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    justify-content: start;
}

.stat-card {
    background: var(--surface-white);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 250px;
}

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

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: white;
    flex-shrink: 0;
}

.stat-icon.users {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-icon.videos {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-icon.live {
    background: linear-gradient(135deg, var(--jump-green) 0%, var(--jump-green-light) 100%);
}

.stat-icon.revenue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-change {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.stat-change.positive {
    background: var(--jump-green-subtle);
    color: var(--jump-green);
}

.stat-change.negative {
    background: var(--red-light);
    color: var(--red-danger);
}

.stat-change.neutral {
    background: var(--border-light);
    color: var(--text-secondary);
}

/* Dashboard Sections */
.dashboard-section {
    background: var(--surface-white);
    border-radius: 16px;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.section-header {
    background: var(--surface-green);
    padding: 7px !important;
    display: flex
;
    align-items: center;
    gap: 1rem;
    justify-content: flex-start;
}

.section-title {
    font-family: 'Agenda', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.section-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--jump-green);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.section-link:hover {
    color: var(--jump-green-light);
    transform: translateX(2px);
}

/* Live Streams Grid */
.live-streams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.live-stream-card {
    background: var(--surface-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.stream-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-image: url('https://sportphotobooth.nl/jump/jump-new-1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    overflow: hidden;
}

.live-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--red-danger);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    animation: pulse 2s infinite;
}

.live-badge i {
    font-size: 0.5rem;
}

.stream-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.live-stream-card:hover .stream-overlay {
    opacity: 1;
}

.play-button {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.stream-info {
    padding: 0.5rem;
}

.stream-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.stream-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stream-viewers,
.stream-duration {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stream-viewers i,
.stream-duration i {
    font-size: 0.75rem;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    background: var(--surface-gray);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.action-card:hover {
    background: var(--surface-white);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.action-card.primary {
    background: var(--jump-green-subtle);
    border-color: var(--jump-green-border);
}

.action-card.primary:hover {
    background: var(--jump-green);
    color: white;
}

.action-card.primary .action-icon {
    background: var(--jump-green);
    color: white;
}

.action-card.primary:hover .action-icon {
    background: white;
    color: var(--jump-green);
}

.action-icon {
    width: 40px;
    height: 40px;
    background: var(--surface-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.action-image {
    width: 60px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.action-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.action-content h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: inherit;
    margin-bottom: 0.25rem;
}

.action-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.action-card.primary .action-content p {
    color: var(--text-secondary);
}

.action-card.primary:hover .action-content p {
    color: rgba(255, 255, 255, 0.8);
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    background: var(--surface-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: var(--surface-white);
    box-shadow: var(--shadow-sm);
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: white;
    flex-shrink: 0;
}

.activity-icon.live {
    background: var(--red-danger);
}

.activity-icon.success {
    background: var(--jump-green);
}

.activity-icon.info {
    background: var(--blue-primary);
}

.activity-icon.revenue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

.activity-status {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-status.live {
    background: var(--red-light);
    color: var(--red-danger);
}

.activity-status.completed {
    background: var(--jump-green-subtle);
    color: var(--jump-green);
}

.activity-status.info {
    background: var(--blue-light);
    color: var(--blue-primary);
}

.activity-status.revenue {
    background: #e0f7ff;
    color: #0891b2;
}

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Medium screens - 2 columns */
@media (max-width: 1000px) and (min-width: 769px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        min-width: 300px;
    }
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .stat-card {
        padding: 0.5rem;
        width: auto;
        min-width: 140px;
    }
    
    .stat-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-change {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
    }
    
    .live-streams-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .activity-status {
        align-self: flex-start;
    }
}

/* Tags Section Styles */
.tags-section {
    background: var(--surface-gray);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.5rem;
}

.tags-search {
    position: relative;
    margin-bottom: 1.5rem;
}

.tags-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--surface-white);
    transition: all 0.2s ease;
}

.tags-search-input:focus {
    outline: none;
    border-color: var(--jump-green);
    box-shadow: 0 0 0 3px var(--jump-green-subtle);
}

.tags-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.tags-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
}

.tag-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tag-item:hover {
    background: var(--jump-green-subtle);
}

.tag-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--jump-green);
    cursor: pointer;
}

.tag-item label {
    font-size: 0.875rem;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
    flex: 1;
}

.selected-tags {
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.selected-tags-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.selected-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 32px;
}

.selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--jump-green);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.selected-tag button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.selected-tag button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.selected-tag button i {
    font-size: 0.625rem;
}

/* Empty state for tags */
.tags-list:empty::after {
    content: "Geen tags gevonden. Probeer een andere zoekterm.";
    display: block;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem;
}

.selected-tags-container:empty::after {
    content: "Geen tags geselecteerd";
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    height: 32px;
}

/* Responsive tags */
@media (max-width: 768px) {
    .tags-list {
        grid-template-columns: 1fr;
        max-height: 200px;
    }
    
    .selected-tags-container {
        justify-content: flex-start;
    }
}

/* Pricing Section Styles */
.pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pricing-card {
    background: var(--surface-white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.pricing-card:hover {
    border-color: var(--jump-green-border);
    box-shadow: var(--shadow-sm);
}

.pricing-card.selected {
    border-color: var(--jump-green);
    background: var(--jump-green-subtle);
    box-shadow: 0 0 0 3px var(--jump-green-subtle);
}

.pricing-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.pricing-details {
    background: var(--surface-gray);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--jump-green);
    margin-right: 0.75rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
}

.checkbox-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 2.25rem;
    line-height: 1.4;
}

.predefined-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.predefined-plan-card {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.predefined-plan-card:hover {
    border-color: var(--jump-green-border);
    background: var(--jump-green-subtle);
}

.plan-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--jump-green);
}

.plan-content {
    flex: 1;
}

.plan-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.plan-price {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--jump-green);
}

/* Responsive pricing */
@media (max-width: 768px) {
    .pricing-options {
        grid-template-columns: 1fr;
    }
    
    .predefined-plans-grid {
        grid-template-columns: 1fr;
    }
}

/* Settings Page Styles */
.settings-container {
    max-width: 800px;
    margin: 0 auto;
}

.settings-section {
    margin-bottom: 2rem;
}

.settings-section.danger-zone {
    border: 1px solid var(--red-light);
    border-radius: 12px;
    padding: 1.5rem;
    background: var(--red-light);
}

.section-title {
    font-family: 'Agenda', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: var(--jump-green);
    width: 20px;
}

.danger-zone .section-title i {
    color: var(--red-danger);
}

.settings-card {
    background: var(--surface-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.2s ease;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item:hover {
    background: var(--surface-gray);
}

.setting-info {
    flex: 1;
}

.setting-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.setting-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.setting-action {
    background: var(--jump-green);
    color: var(--text-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.setting-action:hover {
    background: var(--jump-green-light);
    transform: translateY(-1px);
}

.setting-action.secondary {
    background: var(--surface-gray);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.setting-action.secondary:hover {
    background: var(--border-light);
}

.setting-action.danger {
    background: var(--red-danger);
    color: var(--text-light);
}

.setting-action.danger:hover {
    background: #DC2626;
}

.setting-select {
    background: var(--surface-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.2s ease;
    min-width: 120px;
}

.setting-select:focus {
    outline: none;
    border-color: var(--jump-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
    background: var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-switch.active {
    background: var(--jump-green);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--surface-white);
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(24px);
}

/* Settings responsive design */
@media (max-width: 768px) {
    .settings-container {
        max-width: none;
        margin: 0;
    }
    
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .setting-action {
        align-self: flex-end;
    }
    
    .setting-select {
        align-self: flex-end;
    }
    
    .toggle-switch {
        align-self: flex-end;
    }
}

/* Responsive Design */

/* Mobile First - Small screens */
@media (max-width: 480px) {
    .header {
        padding: 0.75rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .header-left {
        flex: 1;
        min-width: 200px;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .page-header {
        padding: 1.5rem 1rem;
        text-align: center;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .content-area {
        padding: 1rem;
    }

    .filters-section {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 1rem;
    }

    .search-box {
        min-width: auto;
        order: 1;
    }

    .view-toggle {
        order: 2;
        align-self: flex-start;
        width: 100%;
        justify-content: center;
    }

    .view-toggle-btn {
        flex: 1;
        justify-content: center;
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .column-filter {
        order: 3;
        align-self: flex-start;
        width: 100%;
    }

    .filter-button {
        width: 100%;
        justify-content: center;
    }

    .add-button {
        order: 4;
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
    }

    .filter-dropdown {
        left: 0;
        right: 0;
        min-width: auto;
        max-width: none;
        width: calc(100vw - 2rem);
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }

    .videos-list .video-card {
        flex-direction: column;
        height: auto;
    }

    .videos-list .video-thumbnail {
        width: 100%;
    }

    .videos-list .video-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .video-controls {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .control-button {
        min-width: 40px;
        min-height: 40px;
        padding: 0.5rem;
    }

    .user-profile span {
        display: none;
    }

    .user-dropdown {
        left: 0;
        right: 0;
        min-width: auto;
        width: calc(100vw - 2rem);
        max-width: 350px;
    }

    .sidebar {
        width: 100%;
        max-width: 300px;
    }

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

/* Tablet screens */
@media (min-width: 481px) and (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .content-area {
        padding: 1.5rem;
    }

    .filters-section {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .search-box {
        min-width: auto;
        order: 1;
    }

    .view-toggle {
        order: 2;
        align-self: center;
    }

    .column-filter {
        order: 3;
        align-self: flex-start;
    }

    .add-button {
        background: #3caf5e !important;
        transform: translateY(-1px);
    }

    .add-button {
        order: 4;
        align-self: flex-start;
    }

    .filter-dropdown {
        left: 0;
        right: 0;
        min-width: auto;
        max-width: 400px;
    }

    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.25rem;
    }

    .videos-list .video-card {
        flex-direction: column;
        height: auto;
    }

    .videos-list .video-thumbnail {
        width: 100%;
    }

    .videos-list .video-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .user-profile span {
        display: none;
    }

    .sidebar {
        width: 100%;
        max-width: 320px;
    }

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

/* Desktop and larger tablets */
@media (min-width: 769px) {
    .filters-section {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem;
    }

    .search-box {
        flex: 1;
        min-width: 300px;
        order: 1;
    }

    .view-toggle {
        order: 2;
    }

    .column-filter {
        order: 3;
    }

    .add-button {
        order: 4;
    }
}

@media (min-width: 1024px) {
    .sidebar {
        transform: translateX(0);
    }

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

    .menu-toggle {
        display: none;
    }

    .sidebar-overlay {
        display: none;
    }
}
