:root {
    --primary-red: #c8f566;
    --dark-red: #9bd64c;
    --bg-dark: #111111;
    --bg-main: #090909;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-light: rgba(255, 255, 255, 0.04);
    --text-primary: #f5f7f2;
    --text-secondary: #e1e5dd;
    --text-muted: #a6aca4;
    --border-color: rgba(255, 255, 255, 0.08);
    --success: #9bd64c;
    --info: #76c7ff;
    --error: #f87171;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background: radial-gradient(120% 140% at 20% 20%, #1e1e1e 0%, #0b0b0b 55%, #060606 100%);
    color: var(--text-primary);
    min-height: 100vh;
}

body.modal-open {
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 5px;
}

button {
    font-family: inherit;
}

/* Buttons */
.btn,
.nav-item,
.language-toggle,
.notification-btn,
.user-avatar,
.tab,
.toggle-switch,
.platform-button {
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn {
    padding: 12px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: #141414;
    box-shadow: 0 18px 30px rgba(200, 245, 102, 0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(200, 245, 102, 0.28);
}

.btn-primary.active {
    box-shadow: inset 0 0 0 2px rgba(15, 15, 15, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid var(--primary-red);
    color: var(--primary-red);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(200, 245, 102, 0.12);
}

.language-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
}

.language-toggle:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(55, 65, 81, 0.55);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
}

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

.form-feedback {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.form-feedback.success {
    color: var(--success);
}

.form-feedback.error {
    color: var(--error);
}

/* Login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.login-box {
    width: 100%;
    max-width: 430px;
    padding: 40px;
    background: rgba(30, 30, 30, 0.95);
    border-radius: 18px;
    border: 1px solid rgba(220, 38, 38, 0.25);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(220, 38, 38, 0.25);
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 14px;
    animation: pulse 2.6s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 18px rgba(220, 38, 38, 0.5);
    }
    50% {
        box-shadow: 0 0 36px rgba(220, 38, 38, 0.8);
    }
}

.login-logo h1 {
    font-size: 32px;
    letter-spacing: 4px;
    color: var(--primary-red);
}

/* App layout */
.app-container {
    display: none;
}

.app-container.active {
    display: block;
}

header {
    background: rgba(5, 5, 5, 0.92);
    border-bottom: 1.5px solid var(--primary-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    color: inherit;
    padding: 0;
}

.logo h1 {
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--primary-red);
}

.nav-menu {
    display: flex;
    gap: 26px;
    align-items: center;
}

.nav-item {
    background: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-red);
}

.nav-item:hover::after,
.nav-item.active::after {
    transform: scaleX(1);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

.notification-btn {
    background: none;
    color: var(--text-secondary);
    font-size: 20px;
    position: relative;
}

.notification-btn:hover {
    color: var(--primary-red);
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-red);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px 48px;
}

.page-section {
    display: none;
    animation: fadeIn 0.25s ease-out;
}

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

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

.page-header {
    margin-bottom: 28px;
}

#dashboardPage .page-header,
#eventsPage .page-header,
#membersPage .page-header,
#bandsPage .page-header {
    display: none;
}

.page-title {
    font-size: 32px;
    color: var(--primary-red);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

/* Cards & grids */
.card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 26px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(220, 38, 38, 0.12);
}

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

.stat-card {
    background: var(--bg-card-light);
    border-radius: 14px;
    padding: 18px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.stat-value {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 8px;
}

.card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

#eventsGrid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    #eventsGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    #eventsGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

/* Dashboard */
.dashboard-item {
    background: var(--bg-card-light);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.dashboard-item-title {
    font-weight: 600;
    color: #fff;
}

.dashboard-item-meta {
    color: var(--text-muted);
    font-size: 13px;
}

.dashboard-item-location {
    font-size: 14px;
    color: var(--text-secondary);
}

.dashboard-message,
.dashboard-discussion {
    background: var(--bg-card-light);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid var(--border-color);
}

.dashboard-message-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.dashboard-message-author {
    font-weight: 600;
    color: #fff;
}

.dashboard-message-time {
    color: var(--text-muted);
    font-size: 13px;
}

.dashboard-message-body {
    color: var(--text-secondary);
    font-size: 14px;
}

.dashboard-discussion-head {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.dashboard-discussion-title {
    font-weight: 600;
    color: #fff;
}

.dashboard-discussion-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.dashboard-discussion-time {
    font-size: 13px;
    color: var(--text-muted);
}

.dashboard-discussion-body {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Filters */
.event-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 14px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-red);
    color: #fff;
}

/* Suggestions */
.events-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

.events-actions .btn {
    width: 100%;
    max-width: 260px;
}

.suggestions-section {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.suggestions-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.suggestions-title {
    font-size: 24px;
    color: var(--text-primary);
}

.suggestions-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.suggestion-card {
    position: relative;
}

.suggestion-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.suggestion-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.badge-pending {
    background: rgba(250, 204, 21, 0.2);
    color: #facc15;
    padding: 4px 10px;
    border-radius: 999px;
}

.badge-approved {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 4px 10px;
    border-radius: 999px;
}

.suggestion-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Event cards */
.event-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.event-card-category {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.event-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-msc {
    background: rgba(220, 38, 38, 0.15);
    color: var(--primary-red);
}

.badge-new {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.badge-suggestion {
    background: rgba(250, 204, 21, 0.18);
    color: #facc15;
}

.badge-rejected {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.event-card-title {
    font-size: 22px;
    color: #fff;
}

.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-muted);
    font-size: 14px;
}

.event-card-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.event-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-secondary);
}

.event-card-actions {
    display: flex;
    gap: 12px;
}

.ticketing-wrapper {
    margin-top: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticketing-platform {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    gap: 12px;
}

.ticketing-platform.unavailable {
    opacity: 0.6;
}

.platform-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.platform-name {
    font-weight: 600;
    color: #fff;
}

.platform-price {
    color: var(--text-secondary);
    font-size: 14px;
}

.platform-button {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.platform-button:hover:not([disabled]) {
    background: var(--primary-red);
}

.platform-button[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Messages */
.messages-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    min-height: 520px;
}

.conversations-list {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.conversation-item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 14px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s ease, border 0.2s ease;
}

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

.conversation-item.active {
    border-color: var(--primary-red);
    background: rgba(220, 38, 38, 0.12);
}

.conversation-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.conversation-title {
    font-weight: 600;
    color: #fff;
}

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

.conversation-preview {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 4px;
}

.conversation-unread {
    background: var(--primary-red);
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.chat-window {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.message {
    display: flex;
    justify-content: flex-start;
}

.message-own {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 70%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.message-own .message-bubble {
    background: rgba(220, 38, 38, 0.25);
    border-color: rgba(220, 38, 38, 0.4);
}

.message-author {
    font-weight: 600;
    margin-bottom: 6px;
}

.message-time {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 6px;
}

.chat-input-area {
    display: flex;
    gap: 12px;
    padding: 18px 20px;
    border-top: 1px solid var(--border-color);
}

.chat-input-area .form-input {
    flex: 1;
}

/* Members */
.member-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
}

.member-avatar {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.member-name {
    font-size: 18px;
    font-weight: 600;
}

.member-role {
    color: var(--primary-red);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-bio {
    color: var(--text-secondary);
    font-size: 14px;
}

.member-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    list-style: none;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.member-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.member-genres span {
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.tab {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
}

.tab.active,
.tab:hover {
    background: var(--primary-red);
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Bands */
.band-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.band-meta {
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.band-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.band-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.band-actions {
    display: flex;
    gap: 10px;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

thead {
    background: rgba(255, 255, 255, 0.05);
}

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

th {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Event discussions */
.event-discussion-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-discussion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-discussion-count {
    font-size: 13px;
    color: var(--text-muted);
}

.event-discussion-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 6px;
}

.event-discussion-message {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.event-discussion-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
}

.event-discussion-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-discussion-meta {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.event-discussion-author {
    font-weight: 600;
    color: #fff;
}

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

.event-discussion-body p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    white-space: pre-wrap;
}

.event-discussion-empty {
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    text-align: center;
}

.event-discussion-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-detail-page {
    min-height: 100vh;
    background: var(--bg-main);
    color: var(--text-primary);
}

.event-detail-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.event-detail-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

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

.event-detail-heading {
    font-size: 24px;
    margin: 0;
    color: #fff;
}

.event-detail-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 960px) {
    .event-detail-main {
        display: grid;
        grid-template-columns: 2fr 1fr;
        align-items: flex-start;
    }
}

/* Notifications */
.notification-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notification-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.notification-item.read {
    opacity: 0.7;
}

.notification-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.notification-title {
    font-weight: 600;
    color: #fff;
}

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

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

/* Profile */
.toggle-switch {
    width: 52px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    position: relative;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    top: 3px;
    left: 3px;
    transition: transform 0.2s ease;
}

.toggle-switch.active {
    background: var(--primary-red);
}

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

/* Admin */
.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-menu-item {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-secondary);
    border: 1px solid transparent;
    cursor: pointer;
}

.admin-menu-item.active,
.admin-menu-item:hover {
    border-color: var(--primary-red);
    color: #fff;
    background: rgba(220, 38, 38, 0.15);
}


.user-menu-link {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 10px 0;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.user-menu-link:hover {
    color: #fff;
}

.user-menu-link.logout {
    color: var(--primary-red);
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    border-radius: 18px;
    padding: 32px;
    max-width: 520px;
    width: 100%;
    border: 1px solid rgba(220, 38, 38, 0.25);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(220, 38, 38, 0.2);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

/* Event detail */
.event-detail {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.event-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-muted);
    font-size: 14px;
}

.event-detail-section {
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.event-detail-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Empty state */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 44px 20px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px dashed var(--border-color);
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 32px;
}

/* Toasts */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 3000;
}

.toast {
    padding: 14px 20px;
    border-radius: 12px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    min-width: 240px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    border-color: rgba(16, 185, 129, 0.45);
}

.toast-info {
    border-color: rgba(59, 130, 246, 0.45);
}

.toast-error {
    border-color: rgba(248, 113, 113, 0.45);
}

/* Responsive */
@media (max-width: 1100px) {
    .messages-container {
        grid-template-columns: 1fr;
    }

    .conversations-list {
        order: 2;
    }

    .chat-window {
        order: 1;
        min-height: 380px;
    }
}

@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 12px;
    }

    .messages-container {
        min-height: 420px;
    }
}

@media (max-width: 720px) {
    .main-content {
        padding: 24px 16px 40px;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .event-card-actions {
        flex-direction: column;
    }

    .ticketing-platform {
        flex-direction: column;
        align-items: flex-start;
    }

    .events-actions {
        justify-content: stretch;
    }

    .events-actions .btn {
        max-width: none;
    }

    .header-content {
        padding: 16px;
    }

    .language-toggle,
    .notification-btn,
    .user-avatar {
        order: 2;
    }
}
