/* Event Panel CSS - WKM Design System */

/* CSS Variables untuk konsistensi dengan homepage */
:root {
    --aktiv-blue: #4EB6F5;
    --aktiv-orange: #FFA726;
    --aktiv-green: #66BB6A;
    --aktiv-grey: #6B7280;
    --aktiv-black: #1F2937;
    --aktiv-light-blue: #DFEFFF;
    --aktiv-light-orange: #FFF3E0;
    --aktiv-light-green: #E8F5E8;
    --aktiv-light-grey: #F9FAFB;
    --aktiv-red: #EF4444;
    --aktiv-light-red: #FEE2E2;
    
    /* Event specific colors */
    --event-primary: #4EB6F5;
    --event-secondary: #3B82F6;
    --event-accent: #FFA726;
    --event-success: #10B981;
    --event-warning: #F59E0B;
    --event-danger: #EF4444;
}

/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--aktiv-black);
    background: linear-gradient(135deg, #FFFFFF 0%, #DFEFFF 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(78,182,245,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: -1;
    opacity: 0.3;
}

/* Typography */
.heading-primary {
    font-family: 'Neue Plak', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--aktiv-black);
    margin-bottom: 0.5rem;
}

.heading-secondary {
    font-family: 'Neue Plak', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.3;
    color: var(--aktiv-black);
    margin-bottom: 1rem;
}

.heading-tertiary {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--aktiv-black);
    margin-bottom: 0.75rem;
}

.text-muted {
    color: var(--aktiv-grey);
    font-weight: 400;
}

/* Container Layouts */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 0;
}

.container-sm {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1rem;
}

.dashboard-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Cards dan Surfaces */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--event-primary), var(--event-accent));
    border-radius: 24px 24px 0 0;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 35px 60px -12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header img {
    margin: 0 auto 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--aktiv-black);
    margin-bottom: 0.5rem;
    letter-spacing: 0.025em;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--aktiv-black);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-input:focus {
    outline: none;
    border-color: var(--event-primary);
    box-shadow: 
        0 0 0 4px rgba(78, 182, 245, 0.15),
        0 8px 16px -4px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.form-input.error {
    border-color: var(--event-danger);
    box-shadow: 
        0 0 0 4px rgba(239, 68, 68, 0.15),
        0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-input::placeholder {
    color: var(--aktiv-grey);
    opacity: 0.7;
}

.error-message {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--event-danger);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message::before {
    content: '⚠️';
    font-size: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(78, 182, 245, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(78, 182, 245, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(78, 182, 245, 0.3);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--aktiv-grey);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--aktiv-black);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Navigation Navbar */
.navbar-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo .logo-img {
    height: 48px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-title {
    font-family: 'Neue Plak', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--aktiv-black);
    margin: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-info .user-welcome {
    font-size: 0.875rem;
    color: var(--aktiv-grey);
    font-weight: 500;
}

.logout-form {
    margin: 0;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: var(--event-danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: var(--event-danger);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-title {
    font-family: 'Neue Plak', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--aktiv-black);
}

.page-title .text-gradient,
.heading-primary .text-gradient {
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--aktiv-grey);
    font-weight: 400;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--event-primary), var(--event-accent));
    border-radius: 20px 20px 0 0;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.stat-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.stat-icon-wrapper {
    flex-shrink: 0;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.stat-icon .icon {
    width: 28px;
    height: 28px;
    color: white;
    z-index: 1;
}

.stat-icon-green {
    background: linear-gradient(135deg, var(--event-success) 0%, #34D399 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.stat-icon-blue {
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    box-shadow: 0 8px 24px rgba(78, 182, 245, 0.3);
}

.stat-icon-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.stat-icon-success {
    background: linear-gradient(135deg, var(--event-success) 0%, #34D399 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.stat-icon-warning {
    background: linear-gradient(135deg, var(--event-warning) 0%, #FBBF24 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.stat-info {
    flex: 1;
    min-width: 0;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--aktiv-grey);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--aktiv-black);
    word-break: break-word;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-icon {
    width: 16px;
    height: 16px;
    color: var(--aktiv-grey);
    opacity: 0;
    transition: all 0.3s ease;
}

.stat-value:hover .copy-icon {
    opacity: 1;
    color: var(--event-primary);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    gap: 0.375rem;
}

.status-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--event-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-success::before {
    content: '✓';
    font-size: 0.75rem;
}

.status-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--event-warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-warning::before {
    content: '⏳';
    font-size: 0.75rem;
}

/* Navigation Grid */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.nav-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--event-primary), var(--event-accent));
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-card:hover::before {
    transform: scaleX(1);
}

.nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98);
}

.nav-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.nav-card-icon .icon {
    width: 28px;
    height: 28px;
    color: white;
    z-index: 1;
}

.nav-card-icon-green {
    background: linear-gradient(135deg, var(--event-success) 0%, #34D399 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.nav-card-icon-blue {
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    box-shadow: 0 8px 24px rgba(78, 182, 245, 0.3);
}

.nav-card-icon-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.nav-card-icon-yellow {
    background: linear-gradient(135deg, var(--event-warning) 0%, #FBBF24 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.nav-card-icon-gray {
    background: linear-gradient(135deg, var(--aktiv-grey) 0%, #9CA3AF 100%);
    box-shadow: 0 8px 24px rgba(107, 114, 128, 0.3);
}

.nav-card-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--aktiv-black);
    margin-bottom: 0.5rem;
}

.nav-card-description {
    font-size: 0.875rem;
    color: var(--aktiv-grey);
    line-height: 1.5;
}

/* Info Card */
.info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--event-primary), var(--event-accent));
    border-radius: 24px 24px 0 0;
}

.info-card-header {
    padding: 2rem 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.info-card-title {
    font-family: 'Neue Plak', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--aktiv-black);
    margin-bottom: 1rem;
}

.info-card-body {
    padding: 0 2rem 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--aktiv-grey);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--aktiv-black);
    word-break: break-word;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--event-danger);
    border-color: rgba(239, 68, 68, 0.2);
}

.alert-error::before {
    content: '❌';
    font-size: 1rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--event-success);
    border-color: rgba(16, 185, 129, 0.2);
}

.alert-success::before {
    content: '✅';
    font-size: 1rem;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(78, 182, 245, 0.1) 0%, rgba(255, 167, 38, 0.1) 100%);
    border: 1px solid rgba(78, 182, 245, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    backdrop-filter: blur(10px);
}

.info-box-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.info-box-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--event-primary);
}

.info-box-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--event-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-box-content {
    margin-left: 2rem;
}

.info-box-list {
    list-style: none;
    padding: 0;
}

.info-box-list li {
    font-size: 0.875rem;
    color: var(--aktiv-black);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.info-box-list li::before {
    content: '💡';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

.animate-bounce {
    animation: bounce 0.4s ease-in-out;
}

/* Loading States */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loading-spin {
    animation: spin 1s linear infinite;
}

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

/* Enhanced glass morphism */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(78, 182, 245, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(78, 182, 245, 0.7);
}

/* Additional responsive breakpoints */
@media (max-width: 1024px) {
    .dashboard-container {
        padding: 1.5rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .nav-card {
        padding: 1.5rem;
    }
    
    .team-member-card,
    .participant-card {
        padding: 1rem;
    }
    
    .member-header,
    .participant-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .nav-content {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .nav-actions {
        order: -1;
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .nav-card {
        padding: 1rem;
    }
    
    .stat-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .stat-icon-wrapper {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .container-sm {
        padding: 0 0.5rem;
    }
    
    .flex-center {
        padding: 1rem 0;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    .heading-primary {
        font-size: 1.875rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .empty-team {
        padding: 2rem 0.5rem;
    }
    
    .empty-icon {
        width: 60px;
        height: 60px;
    }
    
    .empty-icon .icon {
        width: 30px;
        height: 30px;
    }
    
    .role-badge {
        font-size: 0.6875rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

/* Team and Individual Participant Cards */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.team-member-card,
.participant-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member-card:hover,
.participant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.team-member-card.leader {
    border: 2px solid var(--event-warning);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.member-header,
.participant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.member-icon,
.participant-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(78, 182, 245, 0.3);
}

.member-icon .icon,
.participant-icon .icon {
    width: 24px;
    height: 24px;
    color: white;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.role-badge.leader {
    background: linear-gradient(135deg, var(--event-warning) 0%, #FBBF24 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.role-badge.member {
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(78, 182, 245, 0.3);
}

.role-badge.individual {
    background: linear-gradient(135deg, var(--event-success) 0%, #34D399 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.member-info,
.participant-info {
    text-align: left;
}

.member-name,
.participant-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--aktiv-black);
    margin-bottom: 0.5rem;
}

.member-email,
.member-phone,
.member-company,
.participant-detail {
    font-size: 0.875rem;
    color: var(--aktiv-grey);
    margin-bottom: 0.25rem;
}

.team-summary,
.individual-summary {
    background: rgba(78, 182, 245, 0.05);
    border: 1px solid rgba(78, 182, 245, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-icon {
    font-size: 1.25rem;
}

.summary-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--aktiv-black);
}

.empty-team {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--aktiv-grey) 0%, #9CA3AF 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(107, 114, 128, 0.2);
}

.empty-icon .icon {
    width: 40px;
    height: 40px;
    color: white;
}

.empty-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--aktiv-black);
    margin-bottom: 0.5rem;
}

.empty-description {
    font-size: 0.875rem;
    color: var(--aktiv-grey);
    margin-bottom: 1.5rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.individual-participant {
    margin-bottom: 1.5rem;
}

.participant-badge {
    margin-left: auto;
}

/* Copy Notification */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--event-success) 0%, #34D399 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 280px;
}

.copy-notification.show {
    transform: translateX(0);
    opacity: 1;
    animation: slideInRight 0.4s ease-out;
}

.copy-notification::before {
    content: '';
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 0;
}

.copy-notification::after {
    content: '✓';
    font-size: 1rem;
    font-weight: bold;
    margin-right: 0.5rem;
    order: -1;
}

/* Mobile responsiveness for copy notification */
@media (max-width: 768px) {
    .copy-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
        padding: 0.875rem 1rem;
        font-size: 0.8125rem;
        min-width: auto;
        text-align: center;
    }
    
    .copy-notification.show {
        transform: translateY(0);
        animation: slideInDown 0.4s ease-out;
    }
}

/* Additional enhancements for better UX */

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus indicators for accessibility */
*:focus {
    outline: 2px solid var(--event-primary);
    outline-offset: 2px;
}

/* Better text selection */
::selection {
    background: rgba(78, 182, 245, 0.3);
    color: var(--aktiv-black);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --aktiv-blue: #0066CC;
        --aktiv-orange: #FF6600;
        --aktiv-green: #009900;
        --aktiv-grey: #333333;
        --aktiv-black: #000000;
    }
    
    .card,
    .stat-card,
    .nav-card,
    .info-card {
        border: 2px solid var(--aktiv-black);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .particles-container {
        display: none;
    }
}

/* Additional UX Enhancements */

/* Loading states */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Enhanced clickable feedback */
.clickable-feedback {
    position: relative;
    overflow: hidden;
}

.clickable-feedback::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    pointer-events: none;
}

.clickable-feedback:active::before {
    width: 100px;
    height: 100px;
}

/* Better tooltip styles */
[title] {
    position: relative;
    cursor: help;
}

/* Enhanced form validation states */
.form-input:valid {
    border-color: var(--event-success);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='m6.564.75-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.form-input:invalid {
    border-color: var(--event-danger);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.5 5.5 1 1m0 0 1 1m-1-1 1-1m-1 1-1 1'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* Skeleton loading for content */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    .dark-mode-support {
        /* Dark mode variables can be added here if needed */
        --bg-color: #1a1a1a;
        --text-color: #ffffff;
        --card-bg: #2a2a2a;
    }
}

/* Print styles */
@media print {
    .navbar-glass,
    .btn-logout,
    .particles-container,
    .copy-notification {
        display: none !important;
    }
    
    .dashboard-container {
        padding: 0 !important;
        max-width: none !important;
    }
    
    .info-card,
    .stat-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Performance optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* End of Event Panel CSS */
