:root {
    --primary: #ff6b9d;
    --secondary: #c44569;
    --accent: #6c5ce7;
    --success: #10ac84;
    --warning: #feca57;
    --danger: #ee5a24;
    --info: #74b9ff;
}

body {
    --bg-primary: #0a0a1a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #101020;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 107, 157, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --card-gradient: linear-gradient(145deg, #1a1a2e, #101020);
    --sidebar-gradient: linear-gradient(180deg, #1a1a2e 0%, #0a0a1a 100%);
    --topbar-gradient: linear-gradient(90deg, #1a1a2e 0%, #151528 50%, #1a1a2e 100%);
    --glow-primary: 0 0 20px rgba(255, 107, 157, 0.6), 0 0 40px rgba(255, 107, 157, 0.3);
    --glow-accent: 0 0 20px rgba(108, 92, 231, 0.6), 0 0 40px rgba(108, 92, 231, 0.3);
    --glow-success: 0 0 20px rgba(16, 172, 132, 0.6), 0 0 40px rgba(16, 172, 132, 0.3);
    --glow-warning: 0 0 20px rgba(254, 202, 87, 0.6), 0 0 40px rgba(254, 202, 87, 0.3);
    --glow-danger: 0 0 20px rgba(238, 90, 36, 0.6), 0 0 40px rgba(238, 90, 36, 0.3);
    --overlay-bg: rgba(0, 0, 0, 0.5);
    --input-bg: linear-gradient(145deg, #151528, #0f0f1a);
    --input-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.5);
}

body.light-mode {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f2f5;
    --text-primary: #1a1a2e;
    --text-secondary: #333333;
    --text-muted: rgba(26, 26, 46, 0.6);
    --border-color: rgba(108, 92, 231, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --card-gradient: linear-gradient(145deg, #ffffff, #f8f9fa);
    --sidebar-gradient: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    --topbar-gradient: linear-gradient(90deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    --glow-primary: 0 0 20px rgba(255, 107, 157, 0.4), 0 0 40px rgba(255, 107, 157, 0.2);
    --glow-accent: 0 0 20px rgba(108, 92, 231, 0.4), 0 0 40px rgba(108, 92, 231, 0.2);
    --glow-success: 0 0 20px rgba(16, 172, 132, 0.4), 0 0 40px rgba(16, 172, 132, 0.2);
    --glow-warning: 0 0 20px rgba(254, 202, 87, 0.4), 0 0 40px rgba(254, 202, 87, 0.2);
    --glow-danger: 0 0 20px rgba(238, 90, 36, 0.4), 0 0 40px rgba(238, 90, 36, 0.2);
    --overlay-bg: rgba(0, 0, 0, 0.3);
    --input-bg: linear-gradient(145deg, #ffffff, #f8f9fa);
    --input-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    transition: all 0.4s ease;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 107, 157, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(108, 92, 231, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(116, 185, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, rgba(255, 255, 255, 0.03) 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 52%);
    background-size: 6px 6px;
    pointer-events: none;
    z-index: 1;
}

body.light-mode::after {
    background: 
        linear-gradient(90deg, transparent 48%, rgba(26, 26, 46, 0.03) 49%, rgba(26, 26, 46, 0.03) 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(26, 26, 46, 0.02) 49%, rgba(26, 26, 46, 0.02) 51%, transparent 52%);
}

.wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.sidebar {
    width: 300px;
    background: var(--sidebar-gradient);
    color: var(--text-primary);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 8px 0 50px var(--shadow-color), inset -1px 0 0 rgba(255, 107, 157, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    border-right: 2px solid transparent;
    border-image: linear-gradient(180deg, transparent, var(--primary), var(--accent), transparent) 1;
}

.sidebar-header {
    padding: 40px 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(255, 107, 157, 0.15), transparent);
    position: relative;
}

.sidebar-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 107, 157, 0.15), transparent 70%);
    pointer-events: none;
}

.sidebar-header::after {
    content: '✨';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 24px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.4; transform: scale(1.4) rotate(15deg); }
}

.sidebar-header h1 {
    font-size: 30px;
    font-weight: 900;
    text-shadow: 0 0 40px rgba(255, 107, 157, 0.7), 0 4px 25px var(--shadow-color);
    background: linear-gradient(135deg, var(--text-primary) 0%, #ffeaa7 25%, #ff6b9d 50%, #ffeaa7 75%, var(--text-primary) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.sidebar-menu {
    padding: 30px 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 25px;
    margin: 10px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.8px;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary), var(--accent), var(--info));
    border-radius: 5px;
    transform: scaleY(0);
    transition: transform 0.35s ease;
}

.menu-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(108, 92, 231, 0.15));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.menu-item:hover::before,
.menu-item.active::before {
    transform: scaleY(1);
}

.menu-item:hover::after,
.menu-item.active::after {
    opacity: 1;
}

.menu-item:hover,
.menu-item.active {
    color: var(--text-primary);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 15px 45px var(--shadow-color), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.menu-item .icon {
    font-size: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(108, 92, 231, 0.2));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    transition: all 0.35s ease;
}

.menu-item:hover .icon,
.menu-item.active .icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: var(--glow-primary);
    transform: scale(1.1) rotate(5deg);
}

.menu-item span:last-child {
    position: relative;
    z-index: 1;
}

.main-content {
    flex: 1;
    margin-left: 300px;
    padding: 0;
    transition: margin-left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-toggle {
    display: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    padding: 12px 18px;
    border-radius: 14px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--glow-primary);
    z-index: 1001;
}

.menu-toggle:hover {
    transform: scale(1.1) rotate(90deg);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    backdrop-filter: blur(5px);
}

.mobile-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.user-avatar-mobile {
    position: relative;
    cursor: pointer;
}

.user-avatar-mobile .user-avatar {
    margin: 0;
    width: 48px;
    height: 48px;
    font-size: 22px;
    transition: all 0.3s ease;
}

.user-avatar-mobile:hover .user-avatar {
    transform: scale(1.1);
    box-shadow: var(--glow-primary), 0 0 0 3px rgba(255, 107, 157, 0.3);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: var(--card-gradient);
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-color), 0 0 0 1px rgba(255, 107, 157, 0.15) inset;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

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

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: var(--card-gradient);
    transform: rotate(45deg);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.user-dropdown-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(108, 92, 231, 0.15));
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-dropdown-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: white;
    box-shadow: var(--glow-primary);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.user-dropdown-header > div > div:first-child {
    font-weight: 800;
    font-size: 16px;
    background: linear-gradient(135deg, var(--text-primary), #ffeaa7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.user-role-badge {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 8px 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 25px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.user-dropdown-item:hover {
    background: linear-gradient(90deg, rgba(255, 107, 157, 0.12), rgba(108, 92, 231, 0.12));
    padding-left: 32px;
    transform: translateX(5px);
}

.dropdown-icon {
    font-size: 20px;
    width: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.user-dropdown-item:hover .dropdown-icon {
    transform: scale(1.2) rotate(5deg);
}

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

.user-dropdown-item.logout-item:hover {
    background: linear-gradient(90deg, rgba(238, 90, 36, 0.15), rgba(255, 107, 157, 0.08));
}

.topbar {
    background: var(--topbar-gradient);
    padding: 30px 50px;
    box-shadow: 0 10px 50px var(--shadow-color), inset 0 -1px 0 rgba(255, 107, 157, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(25px);
}

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

.topbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--info), var(--primary), transparent);
    background-size: 300% 100%;
    animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.topbar-left h2 {
    font-size: 30px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary) 0%, #ffeaa7 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 107, 157, 0.3);
    letter-spacing: 2px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px 25px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(108, 92, 231, 0.15));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.35s ease;
}

.user-info:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.user-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 24px;
    box-shadow: var(--glow-primary);
    border: 3px solid rgba(255, 255, 255, 0.25);
    transition: all 0.35s ease;
}

.user-info:hover .user-avatar {
    transform: scale(1.1) rotate(10deg);
}

.theme-toggle {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    font-weight: 800;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--glow-primary);
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.theme-toggle:hover::before {
    left: 100%;
}

.theme-toggle:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.5);
}

.content {
    padding: 50px;
}

.card {
    background: var(--card-gradient);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 25px 70px var(--shadow-color), 0 0 0 1px rgba(255, 107, 157, 0.15) inset;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--info), var(--warning), var(--primary));
    background-size: 300% 100%;
    animation: borderGlow 4s linear infinite;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at top right, rgba(255, 107, 157, 0.06), transparent 55%),
        radial-gradient(circle at bottom left, rgba(108, 92, 231, 0.04), transparent 55%);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 90px var(--shadow-color), 0 0 50px rgba(255, 107, 157, 0.15), 0 0 0 1px rgba(255, 107, 157, 0.25) inset;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.card-header h3 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header h3 span {
    background: linear-gradient(135deg, var(--text-primary), #ffeaa7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--card-gradient);
    border-radius: 30px;
    padding: 35px;
    box-shadow: 0 20px 60px var(--shadow-color), 0 0 0 1px rgba(255, 107, 157, 0.1) inset;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 107, 157, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: borderGlow 3s linear infinite;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 35px 80px var(--shadow-color), 0 0 50px rgba(255, 107, 157, 0.2);
}

.stat-icon {
    width: 75px;
    height: 75px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 22px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotate(8deg);
}

.stat-icon.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: var(--glow-primary);
}

.stat-icon.accent {
    background: linear-gradient(135deg, var(--accent), #5f4dd6);
    box-shadow: var(--glow-accent);
}

.stat-icon.success {
    background: linear-gradient(135deg, var(--success), #0a8a6a);
    box-shadow: var(--glow-success);
}

.stat-icon.warning {
    background: linear-gradient(135deg, var(--warning), #e6b53e);
    box-shadow: var(--glow-warning);
}

.stat-icon.danger {
    background: linear-gradient(135deg, var(--danger), #c23e1d);
    box-shadow: var(--glow-danger);
}

.stat-label {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stat-value {
    font-size: 46px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary) 0%, #ffeaa7 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 107, 157, 0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 10px 35px var(--shadow-color);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-4px) scale(1.05);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #0a8a6a);
    color: white;
    box-shadow: var(--glow-success);
}

.btn-success:hover {
    box-shadow: 0 15px 50px rgba(16, 172, 132, 0.5);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #e6b53e);
    color: #1a1a2e;
    box-shadow: var(--glow-warning);
}

.btn-warning:hover {
    box-shadow: 0 15px 50px rgba(254, 202, 87, 0.5);
}

.btn-highlight-yellow {
    background: linear-gradient(135deg, #ffd700, #ffb700) !important;
    color: #1a1a2e !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.3) !important;
    animation: pulse-yellow 2s ease-in-out infinite;
}

.btn-highlight-yellow:hover {
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.7) !important;
}

@keyframes pulse-yellow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.4);
    }
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #c23e1d);
    color: white;
    box-shadow: var(--glow-danger);
}

.btn-danger:hover {
    box-shadow: 0 15px 50px rgba(238, 90, 36, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    box-shadow: 0 0 20px rgba(116, 185, 255, 0.5), 0 0 40px rgba(116, 185, 255, 0.25);
}

.btn-secondary:hover {
    box-shadow: 0 15px 50px rgba(116, 185, 255, 0.5);
}

.btn-sm {
    padding: 12px 25px;
    font-size: 14px;
    border-radius: 35px;
}

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

.form-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 800;
    font-size: 16px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-control {
    width: 100%;
    padding: 18px 26px;
    border: 2px solid var(--border-color);
    border-radius: 18px;
    font-size: 16px;
    transition: all 0.35s ease;
    background: var(--input-bg);
    color: var(--text-primary);
    box-shadow: var(--input-shadow);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(255, 107, 157, 0.2), var(--input-shadow), var(--glow-primary);
    transform: translateY(-3px);
}

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

select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23ff6b9d' d='M7 9L2 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 22px center;
    padding-right: 55px;
}

body.light-mode select.form-control,
body.light-mode select.form-control option {
    background-color: #ffffff !important;
    color: #1a1a2e !important;
}

body:not(.light-mode) select.form-control,
body:not(.light-mode) select.form-control option {
    background-color: #1a1a2e !important;
    color: #ffffff !important;
}

select.form-control option {
    padding: 10px 15px;
    font-size: 15px;
}

select.form-control option:checked {
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: white !important;
}

select.form-control::-webkit-scrollbar {
    width: 8px;
}

select.form-control::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

select.form-control::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

input[type="date"].form-control,
input[type="datetime-local"].form-control {
    padding-right: 55px;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator,
input[type="datetime-local"].form-control::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 1;
    cursor: pointer;
    padding: 5px;
    margin-right: 5px;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator:hover,
input[type="datetime-local"].form-control::-webkit-calendar-picker-indicator:hover {
    background: rgba(255, 107, 157, 0.2);
    border-radius: 8px;
}

body.light-mode input[type="date"].form-control::-webkit-calendar-picker-indicator,
body.light-mode input[type="datetime-local"].form-control::-webkit-calendar-picker-indicator {
    filter: none;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

table th,
table td {
    padding: 20px 22px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    font-weight: 900;
    background: linear-gradient(90deg, rgba(255, 107, 157, 0.15), rgba(108, 92, 231, 0.15));
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    border-bottom: 3px solid var(--primary);
}

table tbody tr {
    transition: all 0.35s ease;
}

table tbody tr:hover {
    background: linear-gradient(90deg, rgba(255, 107, 157, 0.08), transparent);
    transform: scale(1.015);
}

.badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-success {
    background: linear-gradient(135deg, rgba(16, 172, 132, 0.25), rgba(16, 172, 132, 0.15));
    color: #10ac84;
    border: 1px solid rgba(16, 172, 132, 0.4);
    box-shadow: var(--glow-success);
}

.badge-warning {
    background: linear-gradient(135deg, var(--warning), #e6b53e);
    color: #1a1a2e;
    border: 1px solid rgba(254, 202, 87, 0.4);
    box-shadow: var(--glow-warning);
}

.badge-danger {
    background: linear-gradient(135deg, rgba(238, 90, 36, 0.25), rgba(238, 90, 36, 0.15));
    color: #ee5a24;
    border: 1px solid rgba(238, 90, 36, 0.4);
    box-shadow: var(--glow-danger);
}

.badge-info {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.25), rgba(116, 185, 255, 0.15));
    color: #74b9ff;
    border: 1px solid rgba(116, 185, 255, 0.4);
    box-shadow: 0 0 20px rgba(116, 185, 255, 0.5), 0 0 40px rgba(116, 185, 255, 0.25);
}

.alert {
    padding: 24px 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    font-weight: 700;
    border: 2px solid;
    box-shadow: 0 15px 40px var(--shadow-color);
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 172, 132, 0.25), rgba(16, 172, 132, 0.15));
    border-color: var(--success);
    color: #10ac84;
    box-shadow: var(--glow-success);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(238, 90, 36, 0.25), rgba(238, 90, 36, 0.15));
    border-color: var(--danger);
    color: #ee5a24;
    box-shadow: var(--glow-danger);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 35px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.12), rgba(108, 92, 231, 0.12));
    border-radius: 25px;
    border: 1px solid var(--border-color);
}

.filter-item {
    flex: 1;
    min-width: 240px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
    transition: all 0.35s ease;
    border: 2px solid var(--border-color);
    background: var(--card-gradient);
    color: var(--text-primary);
}

.pagination a:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
    transform: translateY(-4px) scale(1.15);
    box-shadow: var(--glow-primary);
}

.pagination .active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
    box-shadow: var(--glow-primary);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 26px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.12), rgba(108, 92, 231, 0.12));
    border-radius: 18px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 700;
}

.checkbox-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px var(--shadow-color);
}

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

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar {
        transform: translateX(-100%);
        width: 300px;
        z-index: 1000;
    }
    
    .sidebar.open {
        transform: translateX(0);
        box-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .user-info {
        display: none;
    }
    
    .topbar-right > a.btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .topbar {
        padding: 20px 25px;
    }
    
    .topbar-left {
        gap: 15px;
    }
    
    .topbar-left h2 {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    .topbar-right {
        gap: 15px;
    }
    
    .theme-toggle {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .content {
        padding: 25px 20px;
    }
    
    .card {
        padding: 25px;
        border-radius: 24px;
    }
    
    .card-header {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .card-header h3 {
        font-size: 22px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stat-card {
        padding: 25px;
    }
    
    .stat-value {
        font-size: 38px;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 18px;
        padding: 20px;
    }
    
    .filter-item {
        min-width: 100%;
    }
    
    .coser-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table th,
    table td {
        padding: 12px 10px;
        white-space: nowrap;
    }
    
    .pagination a,
    .pagination span {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .btn-sm {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
        max-width: 320px;
    }
    
    .topbar {
        padding: 18px 20px;
    }
    
    .menu-toggle {
        padding: 10px 16px;
        font-size: 22px;
    }
    
    .topbar-left h2 {
        font-size: 18px;
    }
    
    .theme-toggle {
        padding: 10px 16px;
        font-size: 15px;
    }
    
    .user-avatar-mobile .user-avatar {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    .content {
        padding: 20px 15px;
    }
    
    .card {
        padding: 20px;
        border-radius: 20px;
    }
    
    .coser-card {
        height: 450px;
    }
    
    .coser-avatar-large {
        width: 120px;
        height: 120px;
        font-size: 48px;
    }
    
    .coser-card-info {
        padding: 20px;
    }
    
    .coser-name {
        font-size: 20px;
    }
    
    .stat-value {
        font-size: 32px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: var(--glow-primary);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 107, 157, 0.8), 0 0 80px rgba(255, 107, 157, 0.4);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

.coser-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 30px;
}

.coser-card {
    perspective: 1500px;
    height: 480px;
}

.coser-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.coser-card.flipped .coser-card-inner {
    transform: rotateY(180deg);
}

.coser-actions {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.coser-actions .btn {
    padding: 12px 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coser-actions .btn span:first-child {
    font-size: 18px;
}

.coser-card-front,
.coser-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 30px;
    overflow: hidden;
    background: var(--card-gradient);
    border: 2px solid rgba(255, 107, 157, 0.2);
    box-shadow: 0 25px 70px var(--shadow-color);
}

.coser-card-front {
    display: flex;
    flex-direction: column;
}

.coser-card-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--info));
    overflow: hidden;
}

.coser-card-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(-25%, -25%); }
    50% { transform: translate(25%, 25%); }
}

.coser-avatar-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5), 0 0 80px rgba(255, 107, 157, 0.4);
    border: 5px solid rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.coser-level-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #feca57, #ff9ff3);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(254, 202, 87, 0.6);
    z-index: 2;
    animation: pulse-glow 2s ease-in-out infinite;
}

.level-text {
    font-weight: 900;
    font-size: 16px;
    color: #1a1a2e;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.level-number {
    font-size: 20px;
}

.coser-card-info {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.coser-name {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary), #ffeaa7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.verified-badge {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--success), #0a8a6a);
    border-radius: 50%;
    color: white;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
    margin-left: 8px;
    box-shadow: var(--glow-success);
    animation: float 3s ease-in-out infinite;
}

.coser-account {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.coser-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.city-tag {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.25), rgba(116, 185, 255, 0.15));
    color: #74b9ff;
    border: 1px solid rgba(116, 185, 255, 0.4);
}

.role-tag {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.25), rgba(255, 107, 157, 0.15));
    color: var(--primary);
    border: 1px solid rgba(255, 107, 157, 0.4);
}

.coser-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(108, 92, 231, 0.1));
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--border-color), transparent);
}

.coser-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, #1a1a2e, #0f0f1a);
    border: 2px solid rgba(108, 92, 231, 0.3);
}

body.light-mode .coser-card-back {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.coser-back-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
}

.coser-back-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.coser-back-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(108, 92, 231, 0.08));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-label {
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.info-value {
    font-weight: 700;
    color: var(--text-primary);
}

.coser-back-actions {
    margin-top: 20px;
}

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

.locked-content {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(108, 92, 231, 0.08));
    border-radius: 30px;
    border: 2px solid var(--border-color);
    animation: pulse-glow 3s ease-in-out infinite;
}

.locked-icon {
    font-size: 120px;
    margin-bottom: 30px;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255, 107, 157, 0.5));
}

.locked-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--warning));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 107, 157, 0.3);
    letter-spacing: 2px;
}

.locked-description {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .locked-content {
        padding: 60px 30px;
    }
    
    .locked-icon {
        font-size: 90px;
        margin-bottom: 25px;
    }
    
    .locked-title {
        font-size: 28px;
    }
    
    .locked-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .locked-content {
        padding: 50px 20px;
    }
    
    .locked-icon {
        font-size: 70px;
        margin-bottom: 20px;
    }
    
    .locked-title {
        font-size: 22px;
        letter-spacing: 1px;
    }
    
    .locked-description {
        font-size: 14px;
    }
}

.expo-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 30px;
}

.expo-card {
    perspective: 1500px;
    height: 520px;
}

.expo-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.expo-card.flipped .expo-card-inner {
    transform: rotateY(180deg);
}

.expo-card-front,
.expo-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 30px;
    overflow: hidden;
    background: var(--card-gradient);
    border: 2px solid rgba(108, 92, 231, 0.25);
    box-shadow: 0 25px 70px var(--shadow-color);
}

.expo-card-front {
    display: flex;
    flex-direction: column;
}

.expo-card-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--accent), var(--info), var(--warning));
    overflow: hidden;
}

.expo-card-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.expo-icon-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90px;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
    animation: float 4s ease-in-out infinite;
}

.expo-status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.expo-card-info {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.expo-name {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-primary), #ffeaa7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.expo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
}

.organizer-tag {
    background: linear-gradient(135deg, rgba(16, 172, 132, 0.25), rgba(16, 172, 132, 0.15));
    color: #10ac84;
    border: 1px solid rgba(16, 172, 132, 0.4);
}

.expo-type-corner {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
}

.badge-type {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.badge-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.badge-type:hover::before {
    left: 100%;
}

.badge-type:hover {
    transform: scale(1.1) translateY(-3px);
}

.badge-type.badge-info {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.4), rgba(116, 185, 255, 0.2));
    color: #ffffff;
    border: 2px solid rgba(116, 185, 255, 0.6);
    box-shadow: 0 0 30px rgba(116, 185, 255, 0.5), 0 8px 30px rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 10px rgba(116, 185, 255, 0.8);
}

.badge-type.badge-primary {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.45), rgba(108, 92, 231, 0.35));
    color: #ffffff;
    border: 2px solid rgba(255, 107, 157, 0.65);
    box-shadow: 0 0 30px rgba(255, 107, 157, 0.5), 0 8px 30px rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.8);
}

.badge-type.badge-success {
    background: linear-gradient(135deg, rgba(16, 172, 132, 0.45), rgba(16, 172, 132, 0.25));
    color: #ffffff;
    border: 2px solid rgba(16, 172, 132, 0.65);
    box-shadow: 0 0 30px rgba(16, 172, 132, 0.5), 0 8px 30px rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 10px rgba(16, 172, 132, 0.8);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #e6b53e);
    color: #1a1a2e;
    box-shadow: var(--glow-warning);
}

.btn-warning:hover {
    box-shadow: 0 15px 50px rgba(254, 202, 87, 0.5);
}

.expo-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(255, 107, 157, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-icon {
    font-size: 20px;
    width: 28px;
}

.detail-text {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
}

.expo-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expo-actions-top {
    display: flex;
    gap: 12px;
}

.expo-actions-top .btn {
    flex: 1;
}

.expo-actions-bottom {
    display: flex;
    justify-content: center;
}

.expo-actions .btn {
    padding: 12px 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.expo-actions .btn span:first-child {
    font-size: 18px;
}

.expo-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, #151528, #0f0f1a);
    border: 2px solid rgba(16, 172, 132, 0.3);
}

body.light-mode .expo-card-back {
    background: linear-gradient(145deg, #ffffff, #f0f2f5);
}

.expo-back-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
}

.expo-back-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 22px;
    background: linear-gradient(135deg, var(--success), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.expo-back-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-right: 5px;
}

.expo-back-info::-webkit-scrollbar {
    width: 5px;
}

.expo-back-info::-webkit-scrollbar-track {
    background: transparent;
}

.expo-back-info::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.expo-back-actions {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.expo-back-actions .btn {
    padding: 10px 18px;
    font-size: 13px;
}

@media (max-width: 1024px) {
    .expo-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .expo-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .expo-card {
        height: 500px;
    }
    
    .expo-icon-large {
        font-size: 75px;
    }
    
    .expo-card-info {
        padding: 20px;
    }
    
    .expo-name {
        font-size: 20px;
    }
    
    .expo-actions .btn {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .expo-back-content {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    .expo-card {
        height: 500px;
    }
    
    .expo-card-image {
        height: 160px;
    }
    
    .expo-icon-large {
        font-size: 55px;
    }
    
    .expo-name {
        font-size: 17px;
    }
    
    .detail-text {
        font-size: 13px;
    }
    
    .expo-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .expo-actions .btn {
        width: 100%;
        padding: 12px 14px;
    }
    
    .expo-type-corner {
        top: 15px;
        left: 15px;
    }
    
    .badge-type {
        padding: 8px 16px;
        font-size: 11px;
        letter-spacing: 1px;
    }
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.announcement-card {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(108, 92, 231, 0.08));
    border-radius: 25px;
    padding: 30px;
    border: 2px solid rgba(255, 107, 157, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--info), var(--primary));
    background-size: 300% 100%;
    animation: borderGlow 4s linear infinite;
}

.announcement-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px var(--shadow-color), 0 0 40px rgba(255, 107, 157, 0.3);
    border-color: rgba(255, 107, 157, 0.4);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.announcement-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.announcement-icon {
    font-size: 32px;
    animation: float 3s ease-in-out infinite;
}

.announcement-title h4 {
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary), #ffeaa7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.announcement-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge-role {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.badge-all {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.4), rgba(108, 92, 231, 0.4));
    color: #ffffff;
    border: 2px solid rgba(255, 107, 157, 0.6);
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.8);
}

.badge-admin {
    background: linear-gradient(135deg, rgba(238, 90, 36, 0.4), rgba(255, 107, 157, 0.4));
    color: #ffffff;
    border: 2px solid rgba(238, 90, 36, 0.6);
    text-shadow: 0 0 10px rgba(238, 90, 36, 0.8);
}

.badge-city_manager {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.4), rgba(108, 92, 231, 0.4));
    color: #ffffff;
    border: 2px solid rgba(116, 185, 255, 0.6);
    text-shadow: 0 0 10px rgba(116, 185, 255, 0.8);
}

.badge-organizer {
    background: linear-gradient(135deg, rgba(16, 172, 132, 0.4), rgba(116, 185, 255, 0.4));
    color: #ffffff;
    border: 2px solid rgba(16, 172, 132, 0.6);
    text-shadow: 0 0 10px rgba(16, 172, 132, 0.8);
}

.badge-coser {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.4), rgba(254, 202, 87, 0.4));
    color: #ffffff;
    border: 2px solid rgba(255, 107, 157, 0.6);
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.8);
}

.badge-merchant {
    background: linear-gradient(135deg, rgba(254, 202, 87, 0.4), rgba(16, 172, 132, 0.4));
    color: #ffffff;
    border: 2px solid rgba(254, 202, 87, 0.6);
    text-shadow: 0 0 10px rgba(254, 202, 87, 0.8);
}

.badge-makeup_artist {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.4), rgba(255, 107, 157, 0.4));
    color: #ffffff;
    border: 2px solid rgba(108, 92, 231, 0.6);
    text-shadow: 0 0 10px rgba(108, 92, 231, 0.8);
}

.badge-photographer {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.4), rgba(254, 202, 87, 0.4));
    color: #ffffff;
    border: 2px solid rgba(116, 185, 255, 0.6);
    text-shadow: 0 0 10px rgba(116, 185, 255, 0.8);
}

.badge-member {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.4), rgba(16, 172, 132, 0.4));
    color: #ffffff;
    border: 2px solid rgba(108, 92, 231, 0.6);
    text-shadow: 0 0 10px rgba(108, 92, 231, 0.8);
}

.announcement-time,
.announcement-creator {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 700;
}

.announcement-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.announcement-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .announcement-card {
        padding: 20px;
    }
    
    .announcement-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .announcement-title h4 {
        font-size: 18px;
    }
    
    .announcement-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .announcement-actions {
        flex-wrap: wrap;
    }
}

.home-announcements {
    margin-bottom: 40px;
}

.home-announcements .card-header {
    margin-bottom: 25px;
}

.home-announcements-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-announcement-item {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(108, 92, 231, 0.08));
    border-radius: 20px;
    padding: 25px;
    border: 2px solid rgba(255, 107, 157, 0.2);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.home-announcement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--info));
}

.home-announcement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px var(--shadow-color);
}

.home-announcement-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.home-announcement-title h4 {
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), #ffeaa7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-announcement-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.home-announcement-preview {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.home-announcement-icon {
    font-size: 24px;
}

.menu-item-group {
    margin: 10px 0;
}

.menu-item-has-submenu {
    cursor: pointer;
}

.submenu-arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding-left: 20px;
}

.submenu.open {
    max-height: 500px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.submenu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    margin: 5px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.submenu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 3px;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.submenu-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(108, 92, 231, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.submenu-item:hover::before,
.submenu-item.active::before {
    transform: scaleY(1);
}

.submenu-item:hover::after,
.submenu-item.active::after {
    opacity: 1;
}

.submenu-item:hover,
.submenu-item.active {
    color: var(--text-primary);
    transform: translateX(5px);
}

.submenu-item .icon {
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(108, 92, 231, 0.15));
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.submenu-item:hover .icon,
.submenu-item.active .icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 15px rgba(255, 107, 157, 0.4);
}

.submenu-item span:last-child {
    position: relative;
    z-index: 1;
}

.notification-bell {
    position: relative;
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.notification-bell:hover {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2);
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--danger), #c23e1d);
    color: white;
    font-size: 12px;
    font-weight: 900;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(238, 90, 36, 0.6);
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: var(--card-gradient);
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-color), 0 0 0 1px rgba(255, 107, 157, 0.15) inset;
    width: 380px;
    max-height: 500px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    border: 1px solid var(--border-color);
}

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

.notification-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 60px;
    width: 16px;
    height: 16px;
    background: var(--card-gradient);
    transform: rotate(45deg);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.notification-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(108, 92, 231, 0.15));
}

.notification-dropdown-header span {
    font-weight: 900;
    font-size: 18px;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.notification-item {
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(108, 92, 231, 0.08));
}

.notification-item.unread {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(108, 92, 231, 0.1));
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.notification-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(108, 92, 231, 0.2));
    border-radius: 12px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 5px;
}

.notification-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.notification-time {
    font-size: 12px;
    color: var(--text-muted);
}

.notification-delete {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(238, 90, 36, 0.15);
    color: var(--danger);
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10;
}

.notification-delete:hover {
    background: linear-gradient(135deg, var(--danger), #c23e1d);
    color: white;
    transform: scale(1.1);
}

.notification-item {
    position: relative;
    padding-right: 50px;
}


