
/* ========================================
   Day&Nite - Common Styles
   ======================================== */

/* CSS Variables for Consistent Colors */
:root {
    /* Primary Colors */
    --color-primary: #000000;
    --color-secondary: #18181c;
    --color-tertiary: #1a1a1e;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #b0b0b8;
    --text-subtle: #999999;
    
    /* Accent Colors */
    --accent-gold: #DAA520;
    --accent-purple: #B278FF;
    --accent-purple-dark: #6A1B9A;
    --accent-green: #66ff00;
    --accent-green-dark: #1e4023;
    
    /* Border Colors */
    --border-primary: #23232a;
    --border-secondary: #2a2a2e;
    --border-accent-gold: #DAA520;
    --border-accent-purple: #B278FF;
    --border-subtle: rgba(255, 255, 255, 0.1);
    
    /* Background Colors */
    --bg-primary: #18181c;
    --bg-secondary: #1a1a1e;
    --bg-tertiary: #2d2346;
    --bg-transparent: rgba(255, 255, 255, 0.03);
    --bg-transparent-hover: rgba(255, 255, 255, 0.05);
    
    /* Shadow Colors */
    --shadow-primary: rgba(0, 0, 0, 0.12);
    --shadow-secondary: rgba(0, 0, 0, 0.2);
    --shadow-purple: rgba(178, 120, 255, 0.3);
    --shadow-green: rgba(102, 255, 0, 0.2);
}

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

body {
    color: var(--text-primary);
    line-height: var(--leading-relaxed);
    overflow-x: hidden;
    background-color: var(--color-primary);
    font-size: var(--text-4xl);
    font-family: var(--font-family-primary);
}

/* Hide content until translations are loaded to prevent flash */
body.translations-loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.translations-loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 2rem 0;
    background-color: var(--color-primary);
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.login-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.login-logo-wineglass {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.login-logo-Vibe {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.login-logo-Event {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-icons {
    display: flex;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.slogan {
    color: var(--accent-gold);
    font-style: italic;
    font-size: var(--text-2xl);
    font-weight: var(--font-normal);
    margin-top: 0.25rem;
    margin-left: 0.75rem;
}

.nav {
    display: flex;
    align-items: center;
    margin-top: 1.1rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-medium);
    font-size: var(--text-base);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-purple-dark) 100%);
    color: var(--text-primary);
}

.nav-link.active {
    background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-purple-dark) 100%);
    color: var(--text-primary);
}

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

.language-switcher {
    background: none;
    border: 1px solid #ffffff;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 400;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Avenir', sans-serif;
    min-width: 40px;
    text-align: center;
}

.language-switcher:hover {
    background-color: rgba(218, 165, 32, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.4);
}

.language-switcher:hover .language-text {
    text-shadow: 0 2px 4px rgba(218, 165, 32, 0.6);
}

.language-switcher:active {
    transform: translateY(0);
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: visible;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.profile-picture.logged-in {
    border: 2.4px solid var(--accent-gold);
}

.profile-picture:hover {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.profile-picture img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.profile-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    display: flex;
    min-height: calc(100vh - 100px);
    padding: 2rem;
    align-items: flex-start;
    justify-content: center;
}

/* Footer Styles */
.footer {
    background: var(--color-primary);
    color: var(--text-primary);
    padding: 2rem 2rem 0;
    margin-top: 3rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 1.5rem;
}

.footer-section h3 {
    color: var(--accent-gold);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
}

.footer-section h4 {
    color: var(--accent-purple);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    margin-bottom: 0.8rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: var(--leading-normal);
    margin-bottom: 1rem;
    font-size: var(--text-sm);
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: var(--text-sm);
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-purple);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    margin: 0;
    align-items: center;
    margin-top: 0.2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(178, 120, 255, 0.2);
    border: 2px solid var(--accent-purple);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: var(--text-sm);
}

.social-link:hover {
    background: linear-gradient(to bottom, var(--accent-purple), var(--accent-purple-dark));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(178, 120, 255, 0.4);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    border-top: 1px solid #333;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-subtle);
    margin: 0;
    font-size: var(--text-sm);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-subtle);
    text-decoration: none;
    font-size: var(--text-xs);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-gold);
}

/* Common Button Styles */
.btn-primary {
    background: linear-gradient(to bottom, #B278FF, #6A1B9A);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: var(--font-medium);
    font-size: var(--text-base);
    font-family: var(--font-family-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: linear-gradient(to bottom, #B278FF, #6A1B9A);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(178, 120, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(178, 120, 255, 0.2);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid #3a2d5c;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: var(--font-medium);
    font-size: var(--text-base);
    font-family: var(--font-family-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #3a2d5c;
    border-color: #4a3d6c;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Common Card Styles */
.card {
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1.5px solid var(--border-primary);
    box-shadow: 0 2px 12px var(--shadow-primary);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.card-primary {
    background: var(--bg-primary);
    border: 1.5px solid var(--border-primary);
}

.card-secondary {
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-secondary);
}

.card-transparent {
    background: var(--bg-transparent);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-transparent:hover {
    background: var(--bg-transparent-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Common Text Color Classes */
.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.text-subtle {
    color: var(--text-subtle);
}

.text-accent-gold {
    color: var(--accent-gold);
}

.text-accent-purple {
    color: var(--accent-purple);
}

.text-accent-green {
    color: var(--accent-green);
}

/* Common Background Color Classes */
.bg-primary {
    background-color: var(--bg-primary);
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

.bg-tertiary {
    background-color: var(--bg-tertiary);
}

.bg-transparent {
    background-color: var(--bg-transparent);
}

/* Common Border Color Classes */
.border-primary {
    border-color: var(--border-primary);
}

.border-secondary {
    border-color: var(--border-secondary);
}

.border-accent-gold {
    border-color: var(--border-accent-gold);
}

.border-accent-purple {
    border-color: var(--border-accent-purple);
}

/* Enhanced Border Demo Colors for Style Guide */
.border-demo.border-primary {
    border-color: #444444 !important;
}

.border-demo.border-secondary {
    border-color: #666666 !important;
}

.border-demo.border-accent-gold {
    border-color: #DAA520 !important;
}

.border-demo.border-accent-purple {
    border-color: #B278FF !important;
}

/* Common Typography System */
:root {
    /* Typography Scale */
    --font-family-primary: 'Avenir', sans-serif;
    --font-family-mono: monospace;
    
    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.85rem;    /* 13.6px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.1rem;     /* 17.6px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.8rem;    /* 28.8px */
    --text-4xl: 2.5rem;    /* 40px */
    
    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Line Heights */
    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;
}

/* Base Typography */
h1 {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    font-family: var(--font-family-primary);
    line-height: var(--leading-tight);
}

h2 {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    font-family: var(--font-family-primary);
    line-height: var(--leading-tight);
}

h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    font-family: var(--font-family-primary);
    line-height: var(--leading-tight);
}

h4 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    font-family: var(--font-family-primary);
    line-height: var(--leading-normal);
}

p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    font-family: var(--font-family-primary);
}

li {
    font-size: var(--text-lg);
    line-height: var(--leading-normal);
    font-family: var(--font-family-primary);
}

/* Typography Utility Classes */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }

.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

.leading-tight { line-height: var(--leading-tight); }
.leading-normal { line-height: var(--leading-normal); }
.leading-relaxed { line-height: var(--leading-relaxed); }

.font-mono { font-family: var(--font-family-mono); }

a {
    color: #B278FF;
    text-decoration: none;
    transition: color 0.2s;
    font-family: 'Avenir', sans-serif;
}

a:hover {
    color: #6A1B9A;
}

/* Common Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .footer {
        padding: 1.5rem 1rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-section h3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .social-links {
        justify-content: flex-start;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .header-left {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
    
    .nav-list {
        justify-content: center;
    }
    
    .footer {
        padding: 1.2rem 1rem 0;
    }
    
    .footer-content {
        gap: 1.2rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .footer-bottom-links {
        gap: 0.8rem;
    }
}

/* ========================================
   Common Last Updated Styles
   ======================================== */

.last-updated {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    font-family: var(--font-family-primary);
}

.last-updated p {
    color: var(--text-muted);
    font-size: var(--text-base);
    font-family: var(--font-family-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ========================================
   Additional Styles (formerly style.css)
   ======================================== */

/* Additional Body Styles - Only for specific pages */
body.role-selection-page,
body.style-guide-page {
	display: flex;
	color: white;
	background-color: #111114;
	font-size: 25px;
	font-family: 'Avenir', sans-serif;
	min-height: 100vh;
	margin: 0;
}

/* Login page has its own specific body styles in inline CSS */

/* Content styles - only for specific pages */
body.role-selection-page .content,
body.style-guide-page .content {
	display: flex;
	flex: 1 1 0;
	min-height: 100vh;
	width: 100vw;
	margin-top: 80px; /* Platz für die Header-Bar schaffen */
}

/* Sidebar styles - only for specific pages */
body.role-selection-page .sidebar,
body.style-guide-page .sidebar {
	display: flex;
	flex-direction: column;
	background-color: #18181c;
	padding: 0 32px 0 15px;
	height: 100vh;
	min-width: 220px;
	box-shadow: 1px 0 0 0 #222225;
}

/* Side menu styles - only for specific pages */
body.role-selection-page .side-menu,
body.style-guide-page .side-menu {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-left: 0;
}

body.role-selection-page .side-menu a,
body.style-guide-page .side-menu a {
	color: #fff;
	opacity: 0.7;
	padding: 12px 0 12px 0;
	border-radius: 8px;
	font-size: 1.1rem;
	transition: background 0.2s, opacity 0.2s;
	text-decoration: none;
}

body.role-selection-page .side-menu a:hover, body.role-selection-page .side-menu a.active,
body.style-guide-page .side-menu a:hover, body.style-guide-page .side-menu a.active {
	background: #23232a;
	opacity: 1;
}

body.role-selection-page .logo,
body.style-guide-page .logo {
	margin: 32px 0 80px 0;
	font-size: var(--text-2xl);
	letter-spacing: 2px;
	font-weight: var(--font-bold);
}

/* Override main-content for specific pages */
body.role-selection-page .main-content,
body.style-guide-page .main-content {
	flex: 1 1 0;
	padding: 48px 32px 0 32px;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

body.role-selection-page .welcome,
body.style-guide-page .welcome {
	font-size: var(--text-4xl);
	font-weight: var(--font-bold);
	margin-bottom: 8px;
}

body.role-selection-page .upcoming-events,
body.style-guide-page .upcoming-events {
	font-size: var(--text-2xl);
	font-weight: var(--font-medium);
	margin-bottom: 32px;
}

body.role-selection-page .event-cards,
body.style-guide-page .event-cards {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

body.role-selection-page .event1, body.role-selection-page .event2, body.role-selection-page .event3,
body.style-guide-page .event1, body.style-guide-page .event2, body.style-guide-page .event3 {
	min-width: 240px;
	max-width: 260px;
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

body.role-selection-page .event1:hover, body.role-selection-page .event2:hover, body.role-selection-page .event3:hover,
body.style-guide-page .event1:hover, body.style-guide-page .event2:hover, body.style-guide-page .event3:hover {
	box-shadow: 0 6px 32px rgba(106,27,154,0.2);
	transform: translateY(-3px);
}

body.role-selection-page img,
body.style-guide-page img {
	height: 150px;
	width: 100%;
	object-fit: cover;
	border-radius: 16px 16px 0 0;
}

body.role-selection-page .event-card-info,
body.style-guide-page .event-card-info {
	font-size: var(--text-lg);
	display: flex;
	flex-direction: column;
	align-items: start;
	padding: 20px;
	width: 100%;
}

body.role-selection-page .event-card-header,
body.style-guide-page .event-card-header {
	font-size: var(--text-xl);
	font-weight: var(--font-bold);
	margin-bottom: 4px;
}

body.role-selection-page .event-card-date, body.role-selection-page .event-card-club,
body.style-guide-page .event-card-date, body.style-guide-page .event-card-club {
	color: var(--text-muted);
	font-size: var(--text-base);
	margin-bottom: 2px;
}

body.role-selection-page .live-button, body.role-selection-page .live-button1,
body.style-guide-page .live-button, body.style-guide-page .live-button1 {
	margin-top: 12px;
	padding: 4px 18px;
	border-radius: 12px;
	border: none;
	font-size: var(--text-base);
	font-weight: var(--font-medium);
	opacity: 1;
	transition: all 0.3s ease;
}

body.role-selection-page .live-button,
body.style-guide-page .live-button {
	background: #1e4023;
	color: #66ff00;
	border: 1px solid #2a5a2f;
	transition: all 0.3s ease;
}

body.role-selection-page .live-button:hover,
body.style-guide-page .live-button:hover {
	background: #2a5a2f;
	border-color: #3a6a3f;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(102, 255, 0, 0.2);
}

body.role-selection-page .live-button1,
body.style-guide-page .live-button1 {
	background: linear-gradient(90deg, #B278FF 0%, #6A1B9A 100%);
	color: #fff;
	border-radius: 12px;
	transition: all 0.3s ease;
}

body.role-selection-page .live-button1:hover,
body.style-guide-page .live-button1:hover {
	background: linear-gradient(90deg, #9A68E6 0%, #5A1A8A 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(178, 120, 255, 0.3);
}

/* Standard Live Button (grau) - für nicht-live Events */
body.role-selection-page .live-button:not(.live-button):not(.live-button1),
body.style-guide-page .live-button:not(.live-button):not(.live-button1) {
	background: #23232a;
	color: #fff;
	border: 1px solid #3a3a3a;
}

body.role-selection-page .live-button:not(.live-button):not(.live-button1):hover,
body.style-guide-page .live-button:not(.live-button):not(.live-button1):hover {
	background: #3a3a3a;
	border-color: #4a4a4a;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.role-selection-page .create-edit-buttons,
body.style-guide-page .create-edit-buttons {
	display: flex;
	gap: 24px;
	margin-top: 24px;
	width: 100%;
}

body.role-selection-page .create-event-button, body.role-selection-page .edit-profile-button,
body.style-guide-page .create-event-button, body.style-guide-page .edit-profile-button {
	flex: 1 1 0;
	font-size: 1.1rem;
	padding: 18px 0;
	border-radius: 12px;
	border: none;
	font-weight: 600;
	transition: all 0.3s ease;
	cursor: pointer;
}

body.role-selection-page .create-event-button,
body.style-guide-page .create-event-button {
	background: linear-gradient(90deg, #B278FF 0%, #6A1B9A 100%);
	color: #fff;
	transition: all 0.3s ease;
}

body.role-selection-page .create-event-button:hover,
body.style-guide-page .create-event-button:hover {
	background: linear-gradient(90deg, #9A68E6 0%, #5A1A8A 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(178, 120, 255, 0.3);
}

body.role-selection-page .edit-profile-button,
body.style-guide-page .edit-profile-button {
	background: #2d2346;
	color: #fff;
	border: 1px solid #3a2d5c;
}

body.role-selection-page .edit-profile-button:hover,
body.style-guide-page .edit-profile-button:hover {
	background: #3a2d5c;
	border-color: #4a3d6c;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.role-selection-page .right-sidebar,
body.style-guide-page .right-sidebar {
	min-width: 320px;
	background: transparent;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding: 48px 32px 0 0;
}

body.role-selection-page .analytics,
body.style-guide-page .analytics {
	padding: 32px 32px 24px 32px;
	margin-bottom: 24px;
	width: 100%;
	max-width: 320px;
}

body.role-selection-page .analytics-header,
body.style-guide-page .analytics-header {
	font-size: var(--text-2xl);
	font-weight: var(--font-bold);
	margin-bottom: 18px;
}

body.role-selection-page .analytics-items,
body.style-guide-page .analytics-items {
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
}

body.role-selection-page .analytics-views, body.role-selection-page .analytics-interactions, body.role-selection-page .analytics-ticket-sales,
body.style-guide-page .analytics-views, body.style-guide-page .analytics-interactions, body.style-guide-page .analytics-ticket-sales {
	text-align: center;
}

body.role-selection-page .analytics-views p:first-child, body.role-selection-page .analytics-interactions p:first-child, body.role-selection-page .analytics-ticket-sales p:first-child,
body.style-guide-page .analytics-views p:first-child, body.style-guide-page .analytics-interactions p:first-child, body.style-guide-page .analytics-ticket-sales p:first-child {
	font-size: var(--text-2xl);
	font-weight: var(--font-bold);
	margin-bottom: 2px;
}

body.role-selection-page .analytics-views p:last-child, body.role-selection-page .analytics-interactions p:last-child, body.role-selection-page .analytics-ticket-sales p:last-child,
body.style-guide-page .analytics-views p:last-child, body.style-guide-page .analytics-interactions p:last-child, body.style-guide-page .analytics-ticket-sales p:last-child {
	font-size: var(--text-base);
	color: var(--text-muted);
	margin-bottom: 0;
}

body.role-selection-page .header-bar,
body.style-guide-page .header-bar {
	position: fixed;
	top: 0;
	right: 0;
	width: 100vw;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 24px 40px 0 0;
	z-index: 100;
	gap: 16px;
	background: transparent;
}

/* Style Guide Layout */
.style-guide-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.style-guide-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

/* Color Palette Styles */
.color-palette {
    margin-bottom: 3rem;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.color-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-primary);
}

.color-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.gradient-purple {
    background: linear-gradient(to bottom, #B278FF, #6A1B9A);
}

.gradient-gold {
    background: var(--accent-gold);
}

.gradient-green {
    background: var(--accent-green);
}

.gradient-black {
    background: var(--color-primary);
}

.color-info {
    flex: 1;
}

.color-label {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.color-hex {
    font-family: var(--font-family-mono);
    color: var(--accent-purple);
    font-size: var(--text-sm);
}

/* Typography Styles */
.typography {
    margin-bottom: 3rem;
}

.typography-showcase {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-primary);
    margin-top: 1.5rem;
}

.utility-section {
    margin-top: 2rem;
}

.utility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.utility-group {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
}

.utility-examples {
    margin-top: 1rem;
}

.utility-examples p {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: var(--bg-primary);
    border-radius: 6px;
    border-left: 3px solid var(--accent-purple);
}

/* Button Styles */
.button-styles {
    margin-bottom: 3rem;
}

.button-showcase {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Card Styles */
.card-styles {
    margin-bottom: 3rem;
}

.card-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.card-showcase .card {
    padding: 1.5rem;
}

/* Color Utilities */
.color-utilities {
    margin-bottom: 3rem;
}

.color-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.color-examples p {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-primary);
    margin-bottom: 0;
}

.background-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.background-demo {
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
    font-weight: var(--font-medium);
}

.border-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.border-demo {
    padding: 1rem;
    border: 3px solid;
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-weight: var(--font-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
    .style-guide-wrapper {
        padding: 1rem;
    }
    
    .color-grid,
    .utility-grid,
    .card-showcase {
        grid-template-columns: 1fr;
    }
    
    .button-showcase {
        flex-direction: column;
    }
    
    .color-item {
        flex-direction: column;
        text-align: center;
    }
}
