/* ----------------------------------------------------
   Horizon Design System - Glassmorphism & Cyberpunk-Glows
   ---------------------------------------------------- */

:root {
    /* Color Tokens */
    --color-bg-deep: #08090c;
    --color-bg-base: #0f1016;
    --color-bg-surface: rgba(20, 22, 31, 0.55);
    
    --color-text-primary: #f3f4f6;
    --color-text-secondary: #9ca3af;
    --color-text-muted: #6b7280;
    
    --color-primary: #a855f7; /* Violet */
    --color-primary-glow: rgba(168, 85, 247, 0.25);
    --color-secondary: #06b6d4; /* Cyan */
    --color-secondary-glow: rgba(6, 182, 212, 0.25);
    
    --color-danger: #ef4444; /* Red */
    --color-danger-glow: rgba(239, 68, 68, 0.25);
    --color-success: #10b981; /* Green */
    --color-success-glow: rgba(16, 185, 129, 0.25);
    
    --border-glass: 1px solid rgba(255, 255, 255, 0.07);
    --border-glass-hover: 1px solid rgba(255, 255, 255, 0.15);
    
    --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-neon-purple: 0 0 15px rgba(168, 85, 247, 0.4);
    --shadow-neon-teal: 0 0 15px rgba(6, 182, 212, 0.4);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ----------------------------------------------------
   Background Orbs & Effects
   ---------------------------------------------------- */
.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 40px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    opacity: 0.05;
    z-index: -3;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: -2;
    pointer-events: none;
    animation: pulse 12s infinite alternate ease-in-out;
}

.glow-orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 80%);
}

.glow-orb-2 {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-secondary) 0%, transparent 80%);
    animation-delay: -6s;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(3%, 5%); }
}

/* ----------------------------------------------------
   Layout & Navigation
   ---------------------------------------------------- */
.app-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background: rgba(8, 9, 12, 0.4);
    backdrop-filter: blur(12px);
    border-bottom: var(--border-glass);
    z-index: 10;
}

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

.brand-logo {
    font-size: 24px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff, #a3a3a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
    border: var(--border-glass);
}

.btn-logout {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* ----------------------------------------------------
   General Utilities & Custom Components
   ---------------------------------------------------- */
.glass-panel {
    background: var(--color-bg-surface);
    backdrop-filter: blur(16px);
    border: var(--border-glass);
    box-shadow: var(--shadow-premium);
    border-radius: 16px;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    border: var(--border-glass-hover);
}

.gradient-text {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #ffffff 30%, #bfdbfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Alerts / Notifications */
.messages-container {
    padding: 16px 40px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--color-text-primary);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-info {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.alert-close {
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.alert-close:hover {
    opacity: 1;
}

/* Primary Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #bd2ff4);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon-purple);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-secondary), #0fa0d6);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon-teal);
}

.btn-full {
    width: 100%;
}

/* ----------------------------------------------------
   Auth Pages (Signup / Login)
   ---------------------------------------------------- */
.auth-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 40px;
}

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

.auth-header h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
}

.form-group input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
    background: rgba(255, 255, 255, 0.07);
}

.form-help {
    font-size: 11px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.field-error {
    margin-top: 4px;
}

.error-text {
    font-size: 12px;
    color: #f87171;
    display: flex;
    align-items: center;
    gap: 6px;
}

.auth-submit {
    margin-top: 10px;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.auth-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-link:hover {
    color: #c084fc;
    text-decoration: underline;
}

/* ----------------------------------------------------
   Dashboard Page
   ---------------------------------------------------- */
.dashboard-container {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.dashboard-header {
    margin-bottom: 8px;
}

.dashboard-header h1 {
    font-size: 36px;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 6px;
}

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

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.dashboard-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.card-icon {
    font-size: 28px;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.highlight-purple .card-icon {
    background: rgba(168, 85, 247, 0.15);
    color: var(--color-primary);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.highlight-teal .card-icon {
    background: rgba(6, 182, 212, 0.15);
    color: var(--color-secondary);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Add subtle colored indicators on hover for cards */
.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    opacity: 0.8;
}

.highlight-purple::before { background: var(--color-primary); }
.highlight-teal::before { background: var(--color-secondary); }

.dashboard-card h2 {
    font-size: 22px;
    font-family: 'Outfit', sans-serif;
}

.dashboard-card p {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.card-form {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-wrapper {
    position: relative;
}

.input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.input-field:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.room-id-input {
    letter-spacing: 2px;
    font-weight: 700;
    font-family: monospace;
    font-size: 16px;
    text-align: center;
}

/* History Section */
.history-section {
    padding: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: var(--border-glass);
    padding-bottom: 12px;
}

.section-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge {
    background: rgba(255, 255, 255, 0.06);
    border: var(--border-glass);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.table-container {
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.history-table th, .history-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.history-table th {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
}

.history-table td {
    font-size: 14px;
    color: var(--color-text-primary);
}

.room-code {
    font-family: monospace;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
    border: var(--border-glass);
    cursor: pointer;
    transition: background 0.2s;
}

.room-code:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-copy-mini {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    margin-left: 6px;
    transition: color 0.2s;
}

.btn-copy-mini:hover {
    color: white;
}

.btn-join-action {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: var(--border-glass);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-join-action:hover {
    background: white;
    color: black;
    transform: translateY(-1px);
}

.empty-state {
    text-align: center;
    padding: 40px 0;
    color: var(--color-text-secondary);
}

.empty-state i {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.4;
}

/* ----------------------------------------------------
   Meeting Room Layout
   ---------------------------------------------------- */
.room-container {
    flex: 1;
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
}

.video-stage {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    padding-bottom: 100px; /* Space for HUD controls */
    background: #090a0e;
    overflow-y: auto;
}

.video-grid {
    width: 100%;
    max-width: 1280px;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-auto-rows: 1fr;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

/* Special sizing overrides for specific peer counts to keep layout balanced */
.video-grid:has(> :nth-child(1):last-child) {
    grid-template-columns: minmax(320px, 800px);
    grid-auto-rows: 80%;
}

.video-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1100px;
}

.video-card {
    background: #12131a;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.3s;
}

.video-card.active-speaker {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.video-element-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* Mirror local video */
}

/* Disable mirror for screen share */
.video-card.screen-sharing video {
    transform: scaleX(1);
}

.video-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-primary) 0%, #7c3aed 100%);
    color: white;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    display: none; /* Hidden when video is on */
}

/* Show avatar when video is stopped or remote track is disabled */
.video-card.video-off .video-avatar {
    display: flex;
}
.video-card.video-off video {
    display: none;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.user-label {
    font-size: 13px;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

.screen-share-badge {
    background: var(--color-secondary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* ----------------------------------------------------
   HUD Control Bar
   ---------------------------------------------------- */
.controls-bar {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 28px;
    z-index: 50;
    border-radius: 14px;
    background: rgba(15, 16, 22, 0.75);
}

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

.hud-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.hud-room-id {
    font-family: monospace;
    font-size: 12px;
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.04);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.03);
}

.hud-room-id:hover {
    color: white;
    background: rgba(255,255,255,0.08);
}

.hud-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hud-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: var(--border-glass);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    position: relative;
}

.hud-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.2);
}

/* Active buttons (e.g. mic on, video on) */
.hud-btn.btn-active {
    background: rgba(255, 255, 255, 0.08);
}

/* Muted or stopped buttons */
.hud-btn.btn-danger {
    background: rgba(239, 68, 68, 0.2);
    color: var(--color-danger);
    border-color: rgba(239, 68, 68, 0.4);
}

.hud-btn.btn-danger:hover {
    background: rgba(239, 68, 68, 0.35);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

/* Chat dot indicator */
.badge-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-secondary);
    box-shadow: var(--shadow-neon-teal);
    display: none;
}

.badge-dot.show {
    display: block;
}

.btn-leave-call {
    background: linear-gradient(135deg, var(--color-danger), #dc2626);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
}

.btn-leave-call:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* ----------------------------------------------------
   Sidebars (Chat & Participants)
   ---------------------------------------------------- */
.room-sidebar {
    width: 340px;
    height: calc(100vh - 84px); /* Full height minus nav */
    margin: 12px 12px 12px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 40;
}

.sidebar-header {
    padding: 16px 20px;
    border-bottom: var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-close-sidebar {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s;
}

.btn-close-sidebar:hover {
    color: white;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Chat Styling */
.chat-messages {
    scroll-behavior: smooth;
}

.system-message {
    text-align: center;
    margin: 8px 0;
}

.system-text {
    font-size: 11px;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.chat-bubble {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.chat-bubble.incoming {
    background: rgba(255, 255, 255, 0.05);
    align-self: flex-start;
    border-top-left-radius: 2px;
    border: var(--border-glass);
}

.chat-bubble.outgoing {
    background: linear-gradient(135deg, var(--color-primary-glow), rgba(168, 85, 247, 0.08));
    align-self: flex-end;
    border-top-right-radius: 2px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
}

.msg-sender {
    color: var(--color-secondary);
}

.outgoing .msg-sender {
    color: #e9d5ff;
}

.msg-time {
    color: var(--color-text-muted);
    font-weight: 400;
}

.msg-body {
    word-break: break-word;
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: var(--border-glass);
}

.chat-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input-wrapper input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.3s;
}

.chat-input-wrapper input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-primary);
}

.btn-send {
    background: var(--color-primary);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-send:hover {
    transform: scale(1.05);
    background: #bd2ff4;
}

/* Participants List */
.participants-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.participant-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.participant-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-secondary);
}

.participant-info {
    flex: 1;
    overflow: hidden;
}

.participant-name {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.participant-status {
    display: flex;
    gap: 8px;
    font-size: 13px;
}

.mic-icon-list { color: var(--color-text-secondary); }
.mic-icon-list.muted { color: var(--color-danger); }
.video-icon-list { color: var(--color-text-secondary); }
.video-icon-list.muted { color: var(--color-danger); }
