/* DELUXE ID Dashboard Styles */

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* DELUXE ID Brand Colors */
    --deluxe-primary: #6366f1;
    --deluxe-primary-light: #818cf8;
    --deluxe-primary-dark: #4f46e5;
    --deluxe-secondary: #f472b6;
    --deluxe-accent: #06b6d4;
    --deluxe-success: #10b981;
    --deluxe-warning: #f59e0b;
    --deluxe-danger: #ef4444;
    
    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --glass-backdrop: blur(20px);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dark: #1f2937;
    
    /* Spacing */
    --border-radius: 1rem;
    --border-radius-lg: 1.5rem;
    --transition: 0.3s ease;
}

/* Main Site Navbar Styles - Imported for Consistency */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
    width: calc(100vw - 4rem);
    max-width: 1400px;
    backdrop-filter: none;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: flex-start;
}

.nav-center {
    display: flex;
    justify-content: center;
    flex: 2;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.08);
    border: 0.3mm solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    height: 3.5rem;
    backdrop-filter: 
        blur(20px) 
        saturate(1.8) 
        contrast(1.25) 
        brightness(1.15)
        hue-rotate(-2deg);
    position: relative;
    align-items: center;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        0 0 30px rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Liquid glass animations */
    animation: liquidBreathing 8s ease-in-out infinite, 
               liquidRipple 6s ease-in-out infinite;
    
    /* Lens distortion morphing effect */
    transform: perspective(1000px) rotateX(0deg);
    filter: 
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.1))
        contrast(1.1);
}

/* Liquid lens refraction effect */
.nav-menu::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.03) 50%,
        rgba(255, 255, 255, 0.08) 100%);
    border-radius: 52px;
    z-index: -1;
}

/* Internal light caustics */
.nav-menu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 40%,
        transparent 70%);
    border-radius: 50px;
    pointer-events: none;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    margin-right: 1rem;
}

.nav-brand img {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-brand img:hover {
    border-color: var(--deluxe-primary-light);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.deluxe-id-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, var(--deluxe-primary), var(--deluxe-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    pointer-events: none;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-divider {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    margin: 0 0.5rem;
    user-select: none;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.nav-menu a.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.nav-menu a i {
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-menu a:hover i {
    opacity: 1;
}

.nav-divider {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    user-select: none;
    pointer-events: none;
    margin: 0 0.8rem;
    font-size: 1.2rem;
    opacity: 0.8;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.3),
        0 0 4px rgba(255, 255, 255, 0.2);
    position: relative;
}

/* Dashboard-specific navbar extensions */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-left .notification-container,
.nav-left .search-dock,
.nav-right .user-menu-container {
    position: relative;
}

.notification-btn,
.user-menu-btn,
.search-icon {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.6rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    font-size: 0.9rem;
    text-decoration: none;
}

.notification-btn {
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    position: relative;
    justify-content: center;
}

.search-icon {
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    justify-content: center;
}

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

.user-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-btn:hover,
.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 0.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

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

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.user-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* Unified button styles for search, notification, and user menu */
.search-icon,
.notification-btn,
.user-menu-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: 
        blur(20px) 
        saturate(1.8) 
        contrast(1.25) 
        brightness(1.15)
        hue-rotate(-2deg);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        0 0 25px rgba(255, 255, 255, 0.06);
    transform: perspective(1000px) rotateX(0deg);
    filter: 
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.1))
        contrast(1.1);
}

.search-icon {
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
}

.notification-btn {
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    justify-content: center;
    position: relative;
    font-size: 0.9rem;
}

.user-menu-btn {
    border-radius: 50px;
    padding: 0.6rem 1rem;
    height: 3.5rem;
    gap: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

/* Banner background for user menu button */
.user-menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.user-menu-btn.has-banner::before {
    opacity: 0.3; /* Visible but maintains glass effect */
}

.user-menu-btn.has-banner:hover::before {
    opacity: 0.4; /* Slightly more visible on hover */
}

.search-icon:hover,
.notification-btn:hover,
.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: perspective(1000px) rotateX(0deg) translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 35px rgba(255, 255, 255, 0.1);
}

/* Original liquid animations from main site */
@keyframes liquidBreathing {
    0%, 100% {
        backdrop-filter: 
            blur(20px) 
            saturate(1.8) 
            contrast(1.25) 
            brightness(1.15)
            hue-rotate(-2deg);
        border-radius: 50px;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(255, 255, 255, 0.1),
            0 0 30px rgba(255, 255, 255, 0.08);
    }
    25% {
        backdrop-filter: 
            blur(22px) 
            saturate(1.9) 
            contrast(1.3) 
            brightness(1.2)
            hue-rotate(-1deg);
        border-radius: 48px 52px 48px 52px;
        box-shadow: 
            0 10px 35px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.25),
            inset 0 -1px 0 rgba(255, 255, 255, 0.15),
            0 0 35px rgba(255, 255, 255, 0.1);
    }
    50% {
        backdrop-filter: 
            blur(24px) 
            saturate(2.0) 
            contrast(1.35) 
            brightness(1.25)
            hue-rotate(0deg);
        border-radius: 45px 55px 45px 55px;
        box-shadow: 
            0 12px 38px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(255, 255, 255, 0.2),
            0 0 40px rgba(255, 255, 255, 0.12);
    }
    75% {
        backdrop-filter: 
            blur(22px) 
            saturate(1.9) 
            contrast(1.3) 
            brightness(1.2)
            hue-rotate(-1deg);
        border-radius: 52px 48px 52px 48px;
        box-shadow: 
            0 10px 35px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.25),
            inset 0 -1px 0 rgba(255, 255, 255, 0.15),
            0 0 35px rgba(255, 255, 255, 0.1);
    }
}

@keyframes liquidRipple {
    0%, 100% {
        transform: perspective(1000px) rotateX(0deg) scale(1);
    }
    16.66% {
        transform: perspective(1000px) rotateX(0.3deg) scale(1.002);
    }
    33.33% {
        transform: perspective(1000px) rotateX(-0.2deg) scale(1.001);
    }
    50% {
        transform: perspective(1000px) rotateX(0.4deg) scale(1.003);
    }
    66.66% {
        transform: perspective(1000px) rotateX(-0.1deg) scale(1.001);
    }
    83.33% {
        transform: perspective(1000px) rotateX(0.2deg) scale(1.002);
    }
}

/* Base Styles */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 1) 0%, 
        rgba(30, 41, 59, 0.98) 25%,
        rgba(15, 23, 42, 0.95) 50%,
        rgba(30, 41, 59, 0.98) 75%,
        rgba(15, 23, 42, 1) 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, 
        #0f0f23 0%, 
        #1a1a3a 25%, 
        #2a1f3d 50%, 
        #1a1a3a 75%, 
        #0f0f23 100%);
}

.liquid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(147, 51, 234, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 60%, rgba(16, 185, 129, 0.05) 0%, transparent 35%);
    animation: liquidFlow 20s ease-in-out infinite;
}

.glass-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.08), transparent);
    background-repeat: repeat;
    background-size: 100px 100px;
    animation: particleFloat 30s linear infinite;
}

@keyframes liquidFlow {
    0%, 100% { transform: translateX(0) translateY(0) scale(1); }
    25% { transform: translateX(-5px) translateY(-10px) scale(1.02); }
    50% { transform: translateX(5px) translateY(5px) scale(0.98); }
    75% { transform: translateX(-3px) translateY(8px) scale(1.01); }
}

@keyframes particleFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

/* Dashboard Main Content */
.dashboard-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem 2rem; /* Extra top padding for fixed navbar */
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.section-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.section-header {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Welcome Banner */
.welcome-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--deluxe-primary), transparent);
}

.welcome-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.welcome-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quick-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--deluxe-primary), var(--deluxe-secondary));
    color: white;
}

.action-btn.secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.welcome-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--deluxe-primary);
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--deluxe-primary), var(--deluxe-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* Studios Grid */
.studios-grid,
.all-studios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.studio-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.studio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition);
}

.studio-card:hover::before {
    left: 100%;
}

.studio-card:hover {
    transform: translateY(-10px);
    border-color: var(--deluxe-primary);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.1);
}

.studio-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.studio-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.studio-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.2));
}

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

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

.studio-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
}

.studio-status.connected {
    background: rgba(16, 185, 129, 0.1);
    color: var(--deluxe-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.studio-status.available {
    background: rgba(99, 102, 241, 0.1);
    color: var(--deluxe-primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.studio-features {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.studio-features h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

.feature-tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Activity Feed */
.activity-section {
    position: relative;
}

.view-all-link {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--deluxe-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.view-all-link:hover {
    color: var(--deluxe-primary-light);
}

.activity-feed {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--deluxe-primary), var(--deluxe-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.activity-content p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.activity-time {
    color: var(--text-muted);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--deluxe-primary);
}

/* Analytics Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.analytics-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
}

.analytics-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.chart-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--text-muted);
    gap: 1rem;
}

.chart-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

/* Notification Panel */
.notification-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border-left: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
}

.notification-panel.active {
    right: 0;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.panel-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
}

.close-panel {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.close-panel:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.notifications-list {
    padding: 1rem;
}

.notification-item {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-2px);
}

.notification-item.unread {
    border-left: 3px solid var(--deluxe-primary);
    background: rgba(99, 102, 241, 0.05);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.notification-content {
    flex: 1;
}

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

.notification-item p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.notification-time {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.notification-delete {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--deluxe-danger);
    padding: 0.25rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0.7;
}

.notification-delete:hover {
    background: rgba(239, 68, 68, 0.2);
    opacity: 1;
    transform: scale(1.1);
}

.notification-mark-read {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--deluxe-success);
    padding: 0.25rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0.7;
}

.notification-mark-read:hover {
    background: rgba(16, 185, 129, 0.2);
    opacity: 1;
    transform: scale(1.1);
}

.notification-item.read .notification-mark-read {
    display: none;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 1rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .welcome-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Responsive navbar */
    .navbar {
        left: 1rem;
        right: 1rem;
        transform: none;
        width: auto;
        gap: 1rem;
    }
    
    .nav-left {
        gap: 0.5rem;
        flex: 0 0 auto;
    }
    
    .nav-center {
        flex: 1;
    }
    
    .nav-right {
        gap: 0.5rem;
        flex: 0 0 auto;
    }
    
    .nav-menu {
        padding: 0.6rem 0.6rem 0.6rem 4rem;
        gap: 0.3rem;
        font-size: 0.85rem;
        height: 3rem;
    }
    
    .nav-brand img {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .deluxe-id-text {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
    
    .nav-menu a {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .search-icon,
    .notification-btn {
        width: 3rem;
        height: 3rem;
        font-size: 0.85rem;
    }
    
    .user-menu-btn {
        padding: 0.5rem 0.8rem;
        height: 3rem;
        font-size: 0.8rem;
    }
    
    .user-avatar {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    #userName {
        display: none; /* Hide username on mobile */
    }

    .dashboard-main {
        padding: 6rem 1rem 1rem; /* Adjust for smaller navbar */
    }
    
    .welcome-banner {
        padding: 2rem;
    }
    
    .welcome-content h1 {
        font-size: 2rem;
    }
    
    .quick-actions {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .studios-grid,
    .all-studios-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .notification-panel {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .header-right {
        align-self: flex-end;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .welcome-content h1 {
        font-size: 1.8rem;
    }
    
    .studio-card,
    .activity-feed,
    .analytics-card {
        padding: 1.5rem;
    }
}

/* Connections Section */
.connections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.connection-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    backdrop-filter: var(--glass-backdrop);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition);
}

.connection-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.connection-card.available {
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.studio-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
}

.studio-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.connection-info {
    flex: 1;
}

.connection-info h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.connection-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.connection-status {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.connection-status.connected {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.connection-status.available {
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.connection-actions {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
}

.action-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.9rem;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.action-btn.primary {
    background: var(--deluxe-primary);
    border-color: var(--deluxe-primary);
}

.action-btn.primary:hover {
    background: var(--deluxe-primary-light);
}

.action-btn.disconnect {
    color: var(--deluxe-danger);
    border-color: rgba(239, 68, 68, 0.3);
}

.action-btn.disconnect:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Account Settings Section */
.account-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.account-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: var(--glass-backdrop);
}

.account-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.profile-settings {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-pictures {
    display: block;
    position: relative;
    width: 100%;
}

.banner-section {
    width: 100%;
    position: relative;
}

.banner-section label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.banner-upload {
    border: 2px dashed var(--glass-border);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-upload:hover {
    border-color: var(--deluxe-primary);
    background-color: rgba(99, 102, 241, 0.05);
}

.banner-upload:hover .upload-overlay {
    opacity: 1;
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: all var(--transition);
    border-radius: var(--border-radius);
    color: white;
}

.upload-overlay i {
    font-size: 1.5rem;
}

.banner-preview {
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.banner-preview i {
    font-size: 2rem;
    opacity: 0.5;
}

.banner-preview.has-image {
    display: none;
}

.avatar-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.avatar-section label {
    color: var(--text-primary);
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.avatar-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.8rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all var(--transition);
}

.avatar-preview:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.upload-btn {
    background: rgba(99, 102, 241, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -8px;
    right: -8px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.upload-btn:hover {
    background: var(--deluxe-primary-light);
    transform: scale(1.1);
}

.profile-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
}

.form-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--deluxe-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--deluxe-danger);
    background: rgba(239, 68, 68, 0.05);
}

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

/* Sync Status Indicator */
.sync-status {
    margin-top: 1rem;
}

.sync-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sync-indicator.synced {
    background: rgba(16, 185, 129, 0.1);
    color: var(--deluxe-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.sync-indicator.syncing {
    background: rgba(59, 130, 246, 0.1);
    color: var(--deluxe-primary);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.sync-indicator.offline {
    background: rgba(245, 158, 11, 0.1);
    color: var(--deluxe-warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.sync-indicator.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--deluxe-danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-primary {
    background: var(--deluxe-primary);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--deluxe-primary-light);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 500;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.security-settings {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
}

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

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

/* Privacy Section */
.privacy-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.privacy-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: var(--glass-backdrop);
}

.privacy-card.danger-zone {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.privacy-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.data-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.data-info h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

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

.action-btn.danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--deluxe-danger);
}

.action-btn.danger:hover {
    background: rgba(239, 68, 68, 0.2);
}

.privacy-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.privacy-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.toggle-info h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

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

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--glass-border);
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--deluxe-primary);
    border-color: var(--deluxe-primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.danger-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.danger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.5rem;
    background: rgba(239, 68, 68, 0.05);
}

.danger-info h4 {
    color: var(--deluxe-danger);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

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

.danger-btn {
    background: var(--deluxe-danger);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.danger-btn:hover {
    background: #dc2626;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .connections-grid {
        grid-template-columns: 1fr;
    }
    
    .connection-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .connection-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .profile-pictures {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .data-item,
    .danger-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .privacy-toggle {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Enhanced Dashboard Styles */

/* Dashboard Header */
.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Quick Stats Grid */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.quick-stats .stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    backdrop-filter: var(--glass-backdrop);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition);
}

.quick-stats .stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--deluxe-primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

.quick-stats .stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--deluxe-primary), var(--deluxe-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.quick-stats .stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.quick-stats .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.quick-stats .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Dashboard Section Cards */
.dashboard-section-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    backdrop-filter: var(--glass-backdrop);
    margin-bottom: 2rem;
}

.dashboard-section-card .section-header {
    text-align: left;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.dashboard-section-card .section-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-section-card .section-header h2 i {
    color: var(--deluxe-primary);
    font-size: 1.1rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all var(--transition);
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.product-card.active {
    border-color: rgba(16, 185, 129, 0.3);
}

.product-card.maintenance {
    border-color: rgba(245, 158, 11, 0.3);
}

.product-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.product-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--deluxe-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.product-status.maintenance {
    background: rgba(245, 158, 11, 0.1);
    color: var(--deluxe-warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.product-usage {
    margin-top: 1rem;
}

.usage-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.usage-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--deluxe-primary), var(--deluxe-secondary));
    border-radius: 3px;
    transition: width 0.3s ease;
}

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

/* Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Subscriptions List */
.subscriptions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscription-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    transition: all var(--transition);
}

.subscription-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

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

.subscription-info p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.subscription-details {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.subscription-details .price {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.subscription-details .next-bill {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Health Metrics */
.health-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.metric-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.metric-value.excellent {
    color: var(--deluxe-success);
}

.metric-value.good {
    color: var(--deluxe-primary);
}

.metric-value.warning {
    color: var(--deluxe-warning);
}

.metric-value.danger {
    color: var(--deluxe-danger);
}

.metric-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.metric-fill.excellent {
    background: linear-gradient(90deg, var(--deluxe-success), #22c55e);
}

.metric-fill.good {
    background: linear-gradient(90deg, var(--deluxe-primary), var(--deluxe-primary-light));
}

.metric-fill.warning {
    background: linear-gradient(90deg, var(--deluxe-warning), #fbbf24);
}

.metric-fill.danger {
    background: linear-gradient(90deg, var(--deluxe-danger), #f87171);
}

/* Enhanced Activity Feed Overrides */
.dashboard-section-card .activity-feed .activity-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-section-card .activity-feed .activity-item:last-child {
    border-bottom: none;
}

.dashboard-section-card .activity-feed .activity-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--deluxe-primary), var(--deluxe-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.dashboard-section-card .activity-feed .activity-content {
    flex: 1;
}

.dashboard-section-card .activity-feed .activity-content p {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.dashboard-section-card .activity-feed .activity-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive Design for Enhanced Dashboard */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-section-card {
        padding: 1.5rem;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .subscription-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .subscription-details {
        text-align: left;
    }
    
    .dashboard-section-card .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Connect Services Section */
.studios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.studio-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.studio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--deluxe-primary);
}

.studio-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.studio-logo {
    width: 80px;
    height: 80px;
    background: var(--glass-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.studio-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.logo-placeholder {
    font-size: 2rem;
    color: var(--deluxe-primary);
}

.studio-info h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.studio-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

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

.tag {
    background: linear-gradient(135deg, var(--deluxe-primary), var(--deluxe-secondary));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.studio-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.plan-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.plan-option.featured {
    background: linear-gradient(135deg, rgba(var(--deluxe-primary-rgb), 0.1), rgba(var(--deluxe-secondary-rgb), 0.1));
    border-color: var(--deluxe-primary);
    position: relative;
}

.plan-option.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--deluxe-primary), var(--deluxe-secondary));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

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

.plan-header h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.plan-price {
    color: var(--deluxe-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.plan-features li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.plan-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-btn.primary {
    background: linear-gradient(135deg, var(--deluxe-primary), var(--deluxe-secondary));
    color: white;
    border-color: transparent;
}

.plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.studio-actions {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.visit-studio-btn {
    width: 100%;
    background: transparent;
    color: var(--deluxe-primary);
    border: 2px solid var(--deluxe-primary);
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.visit-studio-btn:hover {
    background: var(--deluxe-primary);
    color: white;
    transform: translateY(-2px);
}

.no-services-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.no-services-message h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-services-message p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.connect-services-btn {
    background: linear-gradient(135deg, var(--deluxe-primary), var(--deluxe-secondary));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.connect-services-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.no-subscriptions {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

/* Responsive adjustments for studios grid */
@media (max-width: 768px) {
    .studios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .studio-card {
        padding: 1.5rem;
    }
    
    .studio-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .studio-logo {
        align-self: center;
    }
    
    .studio-plans {
        grid-template-columns: 1fr;
    }
}

/* Brand logo in headings */
.brand-logo {
    height: 5rem;
    width: auto;
    vertical-align: middle;
    margin: 0 0 0 0;
    display: inline-block;
}

/* Empty State Styling */
.empty-state-card {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--deluxe-primary);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.empty-state-content h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.empty-state-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.gentle-cta-btn {
    background: linear-gradient(135deg, var(--deluxe-primary), var(--deluxe-secondary));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.gentle-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.empty-subscriptions, .empty-health {
    text-align: center;
    padding: 2rem;
}

.empty-subscriptions .empty-icon, .empty-health .empty-icon {
    font-size: 2rem;
    color: var(--deluxe-primary);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.empty-subscriptions h4, .empty-health h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.empty-subscriptions p, .empty-health p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.gentle-link-btn {
    background: transparent;
    color: var(--deluxe-primary);
    border: 1px solid var(--deluxe-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.gentle-link-btn:hover {
    background: var(--deluxe-primary);
    color: white;
    transform: translateY(-1px);
}

.inline-link {
    color: var(--deluxe-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.inline-link:hover {
    color: var(--deluxe-secondary);
    text-decoration: underline;
}

.logo-fallback {
    font-size: 2rem;
    color: var(--deluxe-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
