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

:root {
    --primary: #FF006E;
    --secondary: #8338EC;
    --accent: #3A86FF;
    --success: #06FFA5;
    --danger: #FF006E;
    --dark: #0a0a0a;
    --darker: #1a1a1a;
    --light: #f0f0f0;
    --border-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, #1a0a2e 50%, #0f0f2e 100%);
    color: var(--light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== GLOBAL STYLES ===== */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 28px;
    padding: 24px 0;
}

.glow-text {
    position: relative;
}

.glow-text h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #FF006E;
    background: linear-gradient(135deg, #FF006E, #8338EC, #3A86FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 0, 110, 0.3);
    letter-spacing: 2px;
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
}

.subtitle {
    font-size: 1.2rem;
    color: #8338EC;
    font-weight: 300;
    letter-spacing: 1px;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* ===== TOP NAV ===== */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0 20px 0;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
}
.nav-title {
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-link { color: rgba(255,255,255,0.9); text-decoration: none; font-weight:700; }
.nav-user { color: rgba(255,255,255,0.75); }
.nav-btn-logout { background: transparent; border: 1px solid rgba(255,255,255,0.08); padding: 8px 10px; border-radius: 12px; color: rgba(255,255,255,0.9); text-decoration: none; }


/* ===== BUTTONS ===== */

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    font-size: 1.3rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FF006E, #8338EC);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 0, 110, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 0, 110, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #06FFA5, #00E699);
    color: #0a0a0a;
    box-shadow: 0 8px 20px rgba(6, 255, 165, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(6, 255, 165, 0.5);
}

.btn-danger {
    background: linear-gradient(135deg, #FF006E, #FF1744);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 0, 110, 0.3);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 0, 110, 0.5);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
    width: 100%;
}

.btn-remove {
    background: rgba(255, 0, 110, 0.2);
    border: 1px solid #FF006E;
    color: #FF006E;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.btn-remove:hover {
    background: rgba(255, 0, 110, 0.3);
    transform: scale(1.1);
}

/* ===== INPUT ===== */

.input-field {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--light);
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    margin-bottom: 15px;
}

.input-field:focus {
    outline: none;
    border-color: #FF006E;
    background: rgba(255, 0, 110, 0.12);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

/* ===== PARTICIPANT PAGE ===== */

.main-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1.2fr) minmax(320px, 1.1fr);
    gap: 28px;
    margin-bottom: 32px;
}

.left-column,
.right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.participant-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(131, 56, 236, 0.06));
    border: 1px solid rgba(131, 56, 236, 0.15);
    border-radius: var(--border-radius);
    padding: 28px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.participant-panel:hover {
    border-color: rgba(131, 56, 236, 0.35);
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.08), rgba(58, 134, 255, 0.06));
    box-shadow: 0 12px 40px rgba(131, 56, 236, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.registrations-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.compact-action-card {
    padding: 10px 14px;
    max-width: 100%;
}

.compact-action-card .card-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.lineup-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(131, 56, 236, 0.08));
    border: 1px solid rgba(131, 56, 236, 0.15);
}

.lineup-user-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.06), rgba(131, 56, 236, 0.04));
    border: 1px solid rgba(255, 0, 110, 0.15);
    border-radius: 14px;
}

.section-subtitle {
    margin: 8px 0 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 450px;
}

.subsection-header {
    margin-bottom: 16px;
}

.subsection-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
}


.compact-action-card .card-title {
    font-size: 1.15rem;
}

.compact-action-card .input-section {
    gap: 8px;
}

.compact-action-card .welcome-text {
    font-size: 0.78rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    min-width: 0;
    border-radius: 12px;
}

.btn-small .btn-icon {
    font-size: 0.9rem;
}

.compact-action-card .btn-large {
    padding: 14px 28px;
    font-size: 1rem;
}

.lineup-panel .action-state {
    gap: 12px;
    align-items: flex-start;
}

.lineup-panel .status-badge {
    width: 100%;
    padding: 10px 12px;
}

.lineup-panel .status-text {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.action-card {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.08), rgba(131, 56, 236, 0.08));
    border: 1px solid rgba(255, 0, 110, 0.2);
}

.action-card:hover {
    border-color: rgba(255, 0, 110, 0.4);
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.12), rgba(131, 56, 236, 0.12));
    box-shadow: 0 12px 40px rgba(255, 0, 110, 0.2);
}

.lineup-panel .action-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.lineup-panel .action-card .btn {
    width: auto;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.queue-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    color: white;
    border-radius: 50%;
    font-weight: 900;
    font-size: 0.9rem;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message {
    min-height: 20px;
    margin-top: 10px;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

.message.success {
    background: rgba(6, 255, 165, 0.2);
    color: #06FFA5;
    border: 1px solid rgba(6, 255, 165, 0.5);
}

.message.error {
    background: rgba(255, 0, 110, 0.2);
    color: #FF006E;
    border: 1px solid rgba(255, 0, 110, 0.5);
}

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

.queue-section {
    margin: 40px 0;
}

.queue-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #FF006E;
    background: linear-gradient(135deg, #FF006E, #3A86FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.queue-container {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.04), rgba(58, 134, 255, 0.04));
    border: 1px solid rgba(131, 56, 236, 0.1);
    border-radius: 16px;
    padding: 20px;
    max-height: calc(100vh - 380px);
    overflow-y: auto;
    min-height: 260px;
}

.queue-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.1), rgba(58, 134, 255, 0.1));
    border-left: 4px solid #3A86FF;
    border-radius: 12px;
    animation: slideIn 0.4s ease-out;
    transition: var(--transition);
    border: 1px solid rgba(131, 56, 236, 0.15);
}

.queue-item:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.15), rgba(58, 134, 255, 0.15));
    border-color: rgba(131, 56, 236, 0.35);
    box-shadow: 0 6px 20px rgba(131, 56, 236, 0.15);
}

.queue-position {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.queue-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 110, 0.3);
}

.queue-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.queue-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.queue-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-you {
    background: rgba(6, 255, 165, 0.2);
    color: #06FFA5;
    border: 1px solid rgba(6, 255, 165, 0.4);
}

.badge-hold {
    background: rgba(255, 193, 7, 0.2);
    color: #FFD700;
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.queue-status-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.btn-hold-inline {
    padding: 7px 14px;
    background: rgba(58, 134, 255, 0.15);
    border: 1px solid rgba(58, 134, 255, 0.35);
    color: #3A86FF;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.btn-hold-inline:hover {
    background: rgba(58, 134, 255, 0.3);
    border-color: rgba(58, 134, 255, 0.5);
    transform: translateY(-2px);
}

.btn-hold-inline.active {
    background: rgba(6, 255, 165, 0.15);
    border-color: rgba(6, 255, 165, 0.4);
    color: #06FFA5;
}

.queue-item.my-turn {
    border-left-color: #06FFA5;
    background: linear-gradient(135deg, rgba(6, 255, 165, 0.12), rgba(58, 134, 255, 0.12));
    box-shadow: 0 0 20px rgba(6, 255, 165, 0.2);
}

.queue-item.on-hold {
    border-left-color: #FFD700;
    opacity: 0.8;
}

.empty-state {
    text-align: center;
    padding: 50px 30px;
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    animation: bounce 2s ease-in-out infinite;
}

.empty-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    font-weight: 500;
}

.welcome-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.welcome-text strong {
    color: #FF006E;
    font-weight: 700;
}

.action-state {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-hint {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

.btn-raise-hand {
    width: 100%;
    box-shadow: 0 8px 24px rgba(255, 0, 110, 0.3);
    animation: pulse-shadow 2.5s ease-in-out infinite;
}

.btn-raise-hand:hover {
    animation: none;
}

@keyframes pulse-shadow {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(255, 0, 110, 0.3);
    }
    50% {
        box-shadow: 0 14px 36px rgba(255, 0, 110, 0.45);
    }
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: linear-gradient(135deg, rgba(6, 255, 165, 0.12), rgba(6, 255, 165, 0.08));
    border: 1px solid rgba(6, 255, 165, 0.3);
    border-radius: 10px;
    animation: slideIn 0.4s ease-out;
}

.status-icon {
    font-size: 1.2rem;
    animation: bounce 1.5s ease-in-out infinite;
}

.status-text {
    font-size: 0.85rem;
    color: #06FFA5;
    font-weight: 600;
    margin: 0;
}

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

.queue-panel {
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.08), rgba(131, 56, 236, 0.08));
    border: 1px solid rgba(58, 134, 255, 0.2);
}

.participant-queue-panel {
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.06), rgba(131, 56, 236, 0.06));
    border: 1px solid rgba(58, 134, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
}

.in-queue-status {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.status-text {
    font-size: 1.1rem;
    color: #06FFA5;
    font-weight: 600;
}

.queue-item.my-turn {
    border-left-color: #06FFA5;
    background: linear-gradient(135deg, rgba(6, 255, 165, 0.15), rgba(58, 134, 255, 0.15));
}

.info-section {
    text-align: center;
    margin-top: 8px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.08), rgba(131, 56, 236, 0.06));
    border-radius: 12px;
    border: 1px solid rgba(58, 134, 255, 0.15);
}

.info-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

/* Stats Card */
.stats-card {
    background: linear-gradient(135deg, rgba(6, 255, 165, 0.08), rgba(58, 134, 255, 0.08));
    border: 1px solid rgba(6, 255, 165, 0.2);
}

.stats-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(6, 255, 165, 0.3);
}

.stat-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 900;
    color: #06FFA5;
    margin: 0;
}

.status-value {
    color: #3A86FF;
}

/* Tips Card */
.tips-card {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.08), rgba(58, 134, 255, 0.08));
    border: 1px solid rgba(255, 0, 110, 0.2);
}

.tips-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tip-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
}

.tip-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.4;
}

/* ===== REGISTRATION CARDS ===== */
.reg-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.08), rgba(58, 134, 255, 0.08));
    border: 1px solid rgba(131, 56, 236, 0.2);
    padding: 18px;
    border-radius: 16px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}
.reg-card:hover {
    transform: translateY(-8px);
    border-color: rgba(131, 56, 236, 0.4);
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.12), rgba(58, 134, 255, 0.12));
    box-shadow: 0 12px 32px rgba(131, 56, 236, 0.2);
}
.reg-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.reg-card-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
}
.reg-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.reg-count-badge {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}
.btn-register, .btn-unregister {
    padding: 8px 14px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-register {
    background: linear-gradient(135deg, #06FFA5, #00E699);
    color: #081217;
    box-shadow: 0 4px 12px rgba(6, 255, 165, 0.25);
}
.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(6, 255, 165, 0.35);
}
.btn-unregister {
    background: rgba(6, 255, 165, 0.12);
    color: #06FFA5;
    border: 1px solid rgba(6, 255, 165, 0.3);
}
.btn-unregister:hover {
    background: rgba(6, 255, 165, 0.2);
    border-color: rgba(6, 255, 165, 0.5);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1120px) {
    .container { padding: 20px; }
    .glow-text h2 { font-size: 2.6rem; }
    .main-grid { grid-template-columns: 1fr; }
    .main-grid { gap: 20px; }
    .card-header { margin-bottom: 20px; }
}

@media (max-width: 720px) {
    .nav-brand .nav-title { display: none; }
    .nav-actions { gap: 8px; }
    .glow-text h2 { font-size: 1.8rem; }
    .subtitle { font-size: 1rem; }
    .queue-number { width: 40px; height: 40px; font-size: 1rem; }
    .queue-container { max-height: calc(100vh - 260px); min-height: 200px; }
    .queue-item { padding: 12px; gap: 12px; }
    .queue-name { font-size: 0.98rem; }
    .btn { padding: 10px 14px; }
    .btn-small { min-width: 100px; }
    .container { max-width: 100%; padding-left: 14px; padding-right: 14px; }
    .card-title { font-size: 1.05rem; }
    .status-badge { padding: 12px; }
    .participant-panel { padding: 18px; border-radius: 14px; }
}

/* Smooth truncation for long names */
.queue-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Registrations grid layout */
.registrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}


/* ===== HOST PAGE ===== */

.host-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.host-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.host-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    margin-bottom: 40px;
    align-items: center;
}

.control-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.current-performer {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(131, 56, 236, 0.2));
    border: 2px solid #FF006E;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(20px);
}

.performer-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.performer-name {
    font-size: 2rem;
    font-weight: 900;
    color: #FF006E;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.host-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.queue-panel,
.completed-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    backdrop-filter: blur(20px);
}

.panel-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #FF006E;
    background: linear-gradient(135deg, #FF006E, #3A86FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.active-queue {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
}

.queue-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.15), rgba(58, 134, 255, 0.15));
    border-left: 4px solid #06FFA5;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid rgba(131, 56, 236, 0.2);
}

.queue-card:hover {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.3), rgba(58, 134, 255, 0.3));
    transform: translateX(5px);
}

.card-position {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.card-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.completed-container {
    max-height: 500px;
}

.completed-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.completed-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(6, 255, 165, 0.1);
    border-left: 4px solid #06FFA5;
    border-radius: 8px;
    font-size: 0.95rem;
}

.completed-name {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.completed-check {
    color: #06FFA5;
    font-weight: bold;
    font-size: 1.2rem;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(131, 56, 236, 0.1));
    border: 1px solid rgba(255, 0, 110, 0.2);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FF006E;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    animation: slideInRight 0.3s ease-out;
    z-index: 1000;
}

.notification.success {
    background: linear-gradient(135deg, #06FFA5, #00E699);
    color: #0a0a0a;
    box-shadow: 0 8px 25px rgba(6, 255, 165, 0.3);
}

.notification.error {
    background: linear-gradient(135deg, #FF006E, #FF1744);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 0, 110, 0.3);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== TOP NAV ===== */

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    gap: 12px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.auth-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}

.nav-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #FF006E;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.nav-link:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.nav-user {
    font-size: 0.9rem;
    color: #8338EC;
    font-weight: 600;
}

.nav-btn-logout {
    background: rgba(255, 0, 110, 0.15);
    border: 1px solid rgba(255, 0, 110, 0.4);
    color: #FF006E;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.nav-btn-logout:hover {
    background: rgba(255, 0, 110, 0.3);
}

/* ===== AUTH PAGES ===== */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 48px 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header .glow-text h2 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    animation: none;
    color: #FF006E;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-top: 8px;
}

.auth-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.auth-message.error {
    background: rgba(255, 0, 110, 0.15);
    border: 1px solid rgba(255, 0, 110, 0.4);
    color: #FF006E;
}

.auth-message.success {
    background: rgba(6, 255, 165, 0.15);
    border: 1px solid rgba(6, 255, 165, 0.4);
    color: #06FFA5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 4px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.auth-link {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.auth-link a {
    color: #3A86FF;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.auth-link a:hover {
    color: #FF006E;
    border-bottom-color: #FF006E;
}

/* ===== ADMIN PANEL ===== */

.admin-wrapper {
    min-height: 100vh;
}

.admin-header {
    text-align: center;
    padding: 40px 20px 20px;
}

.admin-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FF006E;
    background: linear-gradient(135deg, #FF006E, #8338EC, #3A86FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.admin-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

/* Tabs */

.tab-nav {
    display: flex;
    gap: 4px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
}

.tab-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.tab-btn.active {
    color: #FF006E;
    border-bottom-color: #FF006E;
}

.tab-content {
    display: none;
    padding: 0 24px 40px;
}

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

/* Section header */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF006E;
    background: linear-gradient(135deg, #FF006E, #3A86FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.admin-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 24px;
    overflow: hidden;
}

.admin-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.participant-panel .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

.card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-title-row .card-title {
    margin-bottom: 0;
}

/* Data tables */

.participant-table-wrapper {
    max-height: 420px;
    overflow-y: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th {
    text-align: left;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-table td {
    padding: 12px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.position-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.name-cell {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.time-cell {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.session-tag {
    background: rgba(131, 56, 236, 0.2);
    border: 1px solid rgba(131, 56, 236, 0.4);
    color: #8338EC;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Role badges */

.role-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-admin {
    background: rgba(255, 0, 110, 0.15);
    border: 1px solid rgba(255, 0, 110, 0.4);
    color: #FF006E;
}

.role-host {
    background: rgba(58, 134, 255, 0.15);
    border: 1px solid rgba(58, 134, 255, 0.4);
    color: #3A86FF;
}

.role-user {
    background: rgba(6, 255, 165, 0.12);
    border: 1px solid rgba(6, 255, 165, 0.35);
    color: #06FFA5;
}

.role-select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.role-select:focus {
    outline: none;
    border-color: #8338EC;
}

.role-select option {
    background: #1a1a2e;
    color: #f0f0f0;
}

.you-badge {
    background: rgba(6, 255, 165, 0.15);
    border: 1px solid rgba(6, 255, 165, 0.3);
    color: #06FFA5;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 6px;
}

.muted-text {
    color: rgba(255, 255, 255, 0.25);
}

.actions-cell {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Small buttons */

.btn-sm {
    padding: 6px 14px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-sm.btn-danger {
    background: rgba(255, 0, 110, 0.15);
    border: 1px solid rgba(255, 0, 110, 0.4);
    color: #FF006E;
}

.btn-sm.btn-danger:hover {
    background: rgba(255, 0, 110, 0.3);
    transform: none;
    box-shadow: none;
}

.btn-sm.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
}

.btn-sm.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-table-danger {
    background: rgba(255, 0, 110, 0.12);
    border: 1px solid rgba(255, 0, 110, 0.35);
    color: #FF006E;
    padding: 5px 12px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-table-danger:hover {
    background: rgba(255, 0, 110, 0.25);
}

/* Sessions grid */

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.session-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
}

.session-card:hover {
    border-color: rgba(131, 56, 236, 0.3);
    background: rgba(131, 56, 236, 0.05);
}

.session-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 10px;
}

.session-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.session-created {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

.session-stats {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.active-pill {
    background: rgba(6, 255, 165, 0.1);
    border-color: rgba(6, 255, 165, 0.3);
    color: #06FFA5;
}

.session-actions {
    display: flex;
    gap: 8px;
}

/* Inline form */

.inline-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.inline-input {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: none;
    box-shadow: none;
}

/* ===== HOST-ADMIN COMBINED PAGE ===== */

.host-admin-wrapper {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-divider {
    display: flex;
    align-items: center;
    margin: 48px 0 0;
    gap: 20px;
}

.admin-divider::before,
.admin-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.admin-divider-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.admin-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 24px;
    margin-bottom: 40px;
}

.admin-section .tab-nav {
    padding: 0 24px;
    margin-bottom: 0;
}

.admin-section .tab-content {
    padding: 28px 24px 32px;
}

.no-completed-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding: 24px 20px;
    font-size: 0.9rem;
}

/* ===== REGISTRATIONS — PARTICIPANT VIEW ===== */

.registrations-wrapper {
    max-width: 100%;
    margin: 60px 0 0;
    padding: 0 20px 40px;
}

.registrations-header {
    max-width: 900px;
    margin: 0 auto 28px;
    text-align: center;
}

.registrations-heading {
    font-size: 2rem;
    margin: 0 0 8px 0;
    color: #FF006E;
    background: linear-gradient(135deg, #FF006E, #3A86FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.registrations-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.registrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    max-height: calc(100vh - 260px);
    overflow-y: auto;
}

.reg-card {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.08), rgba(58, 134, 255, 0.08));
    border: 1px solid rgba(131, 56, 236, 0.2);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    height: 100%;
}

.reg-card:hover {
    border-color: rgba(131, 56, 236, 0.5);
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.15), rgba(58, 134, 255, 0.15));
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(131, 56, 236, 0.25);
}

.reg-card-body {
    flex: 1;
}

.reg-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reg-card-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.reg-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reg-count-badge {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-register {
    background: linear-gradient(135deg, #FF006E, #8338EC);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 110, 0.5);
}

.btn-unregister {
    background: rgba(6, 255, 165, 0.15);
    color: #06FFA5;
    border: 1px solid rgba(6, 255, 165, 0.4);
    padding: 8px 18px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-unregister:hover {
    background: rgba(6, 255, 165, 0.3);
    box-shadow: 0 4px 12px rgba(6, 255, 165, 0.2);
}

.reg-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.04), rgba(58, 134, 255, 0.04));
    border: 1px dashed rgba(131, 56, 236, 0.2);
    border-radius: 16px;
}

.reg-empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.reg-empty-state .empty-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
}

/* ===== REGISTRATIONS — HOST/ADMIN MANAGEMENT ===== */

.reg-mgmt-divider {
    display: flex;
    align-items: center;
    margin: 48px 0 0;
    gap: 20px;
}

.reg-mgmt-divider::before,
.reg-mgmt-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.reg-mgmt-divider-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.reg-mgmt-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 28px 24px;
    margin-top: 24px;
}

.reg-mgmt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.reg-mgmt-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF006E;
    background: linear-gradient(135deg, #FF006E, #3A86FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reg-mgmt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.reg-mgmt-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition);
}

.reg-mgmt-card:hover {
    border-color: rgba(131, 56, 236, 0.3);
    background: rgba(131, 56, 236, 0.05);
}

.reg-mgmt-card-body {
    flex: 1;
}

.reg-mgmt-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
}

.reg-mgmt-card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    line-height: 1.5;
}

.reg-mgmt-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.reg-count-pill {
    background: rgba(58, 134, 255, 0.15);
    border: 1px solid rgba(58, 134, 255, 0.3);
    color: #3A86FF;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.reg-count-pill:hover {
    background: rgba(58, 134, 255, 0.3);
    border-color: rgba(58, 134, 255, 0.6);
}

.reg-creator-tag {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.reg-mgmt-card-actions {
    display: flex;
    gap: 8px;
}

/* ===== MODAL ===== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-box {
    background: linear-gradient(135deg, #1a0a2e, #0f0f2e);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius);
    padding: 32px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF006E;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: rgba(255, 0, 110, 0.2);
    color: #FF006E;
    border-color: rgba(255, 0, 110, 0.4);
}

.modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-end;
}

/* Registration rows inside modal */

.reg-rows-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 14px;
    max-height: 50vh;
    overflow-y: auto;
}

.reg-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.reg-row-inputs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reg-row-inputs .input-field {
    margin-bottom: 0;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.reg-row-remove {
    background: rgba(255, 0, 110, 0.12);
    border: 1px solid rgba(255, 0, 110, 0.3);
    color: #FF006E;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.reg-row-remove:hover {
    background: rgba(255, 0, 110, 0.25);
}

.btn-add-row {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-row:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

/* Edit modal specific */

.edit-reg-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.edit-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edit-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.required-star {
    color: #FF006E;
}

.optional-note {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
    text-transform: none;
}

.edit-field .input-field {
    margin-bottom: 0;
}

/* ===== REGISTRANTS MODAL CONTENT ===== */

.registrants-loading,
.registrants-error {
    text-align: center;
    padding: 24px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.registrants-error {
    color: #FF006E;
}

.registrants-count {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 14px;
}

.registrants-list-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 4px;
}

.registrant-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    transition: var(--transition);
}

.registrant-item:hover {
    background: rgba(131, 56, 236, 0.1);
    border-color: rgba(131, 56, 236, 0.25);
}

.registrant-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #FF006E, #8338EC);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.registrant-name {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.registrant-time {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

.btn-registrant-delete {
    background: transparent;
    border: 1px solid rgba(255, 0, 110, 0.4);
    color: rgba(255, 0, 110, 0.7);
    border-radius: 6px;
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.btn-registrant-delete:hover {
    background: rgba(255, 0, 110, 0.15);
    border-color: #FF006E;
    color: #FF006E;
}

.registrants-empty {
    text-align: center;
    padding: 32px 20px;
}

/* ===== SCROLLBAR ===== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF006E, #8338EC);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8338EC, #3A86FF);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .registrations-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .glow-text h2 {
        font-size: 2.5rem;
    }

    .main-grid {
        gap: 20px;
    }

    .left-column,
    .right-column {
        gap: 20px;
    }

    .host-controls {
        grid-template-columns: 1fr;
    }

    .host-content {
        grid-template-columns: 1fr;
    }

    .control-buttons {
        grid-template-columns: 1fr;
    }

    .participant-panel {
        padding: 20px;
    }

    .queue-panel,
    .completed-panel {
        padding: 20px;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }

    .registrations-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        padding: 0;
    }

    .card-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .glow-text h2 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .btn-large {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .queue-item,
    .queue-card {
        padding: 12px 15px;
        gap: 10px;
    }

    .queue-number,
    .card-position {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .queue-name {
        font-size: 0.95rem;
    }

    .queue-badges {
        gap: 4px;
    }

    .badge {
        font-size: 0.7rem;
        padding: 2px 6px;
    }

    .btn-hold-inline {
        padding: 4px 10px;
        font-size: 0.7rem;
    }

    .stats-content {
        gap: 12px;
    }

    .stat-item {
        padding: 10px;
    }

    .stat-icon {
        font-size: 1.4rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .registrations-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
    }

    .reg-card {
        padding: 16px;
    }

    .registrations-heading {
        font-size: 1.5rem;
    }

    .registrations-subtitle {
        font-size: 0.9rem;
    }
}

/* ===== HOLD FEATURE ===== */

.btn-hold {
    background: linear-gradient(135deg, #FF9500, #FF6B00);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 149, 0, 0.3);
}

.btn-hold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 149, 0, 0.5);
}

.btn-hold-active {
    background: linear-gradient(135deg, #06FFA5, #00E699);
    color: #0a0a0a;
    box-shadow: 0 8px 20px rgba(6, 255, 165, 0.3);
}

.btn-hold-active:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(6, 255, 165, 0.5);
}

.in-queue-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.in-queue-actions .btn {
    flex: 1;
    min-width: 120px;
}

.hold-badge {
    background: rgba(255, 149, 0, 0.15);
    border: 1px solid rgba(255, 149, 0, 0.4);
    color: #FF9500;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 6px;
}

.queue-item.on-hold {
    opacity: 0.7;
    border-left-color: #FF9500;
    background: rgba(255, 149, 0, 0.08);
}

.queue-item.my-turn.on-hold {
    border-left-color: #FF9500;
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.15), rgba(58, 134, 255, 0.1));
}

.queue-card-hold {
    opacity: 0.75;
    border-left: 3px solid #FF9500 !important;
    background: rgba(255, 149, 0, 0.06) !important;
}

.btn-hold-inline {
    background: rgba(255, 149, 0, 0.15);
    border: 1px solid rgba(255, 149, 0, 0.5);
    color: #FF9500;
    padding: 6px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-hold-inline:hover {
    background: rgba(255, 149, 0, 0.3);
    transform: scale(1.05);
}

.btn-hold-inline.active {
    background: rgba(6, 255, 165, 0.15);
    border-color: rgba(6, 255, 165, 0.5);
    color: #06FFA5;
}

.btn-hold-inline.active:hover {
    background: rgba(6, 255, 165, 0.25);
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
