:root {
    --primary: #1a73e8;
    --primary-hover: #1557b0;
    --primary-light: #e8f0fe;
    --green: #1e8e3e;
    --green-light: #e6f4ea;
    --red: #d93025;
    --yellow: #f9ab00;
    --surface: #ffffff;
    --background: #f8f9fa;
    --text: #202124;
    --text-secondary: #3c4043;
    --text-hint: #5f6368;
    --text-disabled: #9aa0a6;
    --border: #dadce0;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-stroke: rgba(218, 220, 224, 0.6);
    --shadow-sm: 0 1px 3px 0 rgba(60,64,67,0.08), 0 1px 2px 0 rgba(60,64,67,0.04);
    --shadow-md: 0 4px 16px 0 rgba(60,64,67,0.10), 0 1px 4px 0 rgba(60,64,67,0.06);
    --shadow-lg: 0 12px 48px 0 rgba(60,64,67,0.12), 0 2px 12px 0 rgba(60,64,67,0.06);
    --shadow-xl: 0 24px 80px 0 rgba(60,64,67,0.16);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-xl: 48px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'Google Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background-color: var(--background);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== TOP NAVIGATION BAR ===== */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 500;
    animation: navSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes navSlide {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

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

.nav-left img {
    width: 32px;
    height: 32px;
}

.nav-left span {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-hint);
    letter-spacing: -0.3px;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--green-light);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(30, 142, 62, 0.15);
}

.nav-lock-icon {
    width: 14px;
    height: 14px;
    color: var(--green);
}

.nav-center span {
    font-size: 13px;
    font-weight: 500;
    color: var(--green);
}

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

.nav-time {
    font-size: 14px;
    color: var(--text-hint);
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #c2e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #001d35;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.nav-avatar:hover {
    box-shadow: 0 0 0 3px rgba(26,115,232,0.2);
}

/* ===== BACKGROUND BLOBS ===== */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    animation: float 35s infinite alternate ease-in-out;
}

.blob-1 { width: 55vw; height: 55vw; background: #4285F4; top: -15vw; left: -15vw; }
.blob-2 { width: 60vw; height: 60vw; background: #34A853; bottom: -20vw; right: -15vw; animation-delay: -7s; }
.blob-3 { width: 40vw; height: 40vw; background: #FBBC05; top: 25%; right: 5%; animation-delay: -14s; }
.blob-4 { width: 30vw; height: 30vw; background: #EA4335; bottom: 10%; left: 20%; animation-delay: -20s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(40px, -30px) scale(1.05) rotate(2deg); }
    66% { transform: translate(-20px, 50px) scale(0.98) rotate(-1deg); }
    100% { transform: translate(60px, 40px) scale(1.08) rotate(3deg); }
}

/* ===== GLASS CARD CONTAINER ===== */
.meet-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 96px 24px 40px;
    animation: cardEntry 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-stroke);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 48px 64px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

/* ===== HEADER ===== */
.meet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-wrap span {
    font-size: 20px;
    color: var(--text-hint);
    font-weight: 500;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.04);
    padding: 6px 16px 6px 6px;
    border-radius: 50px;
    transition: background 0.2s;
}

.user-info:hover {
    background: rgba(0, 0, 0, 0.06);
}

.avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== MEETING CONTENT ===== */
.meeting-content {
    text-align: center;
    max-width: 100%;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    transition: all 0.4s ease;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

h1 {
    font-size: 44px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: -1px;
    line-height: 1.15;
}

p#sub-title {
    font-size: 16px;
    color: var(--text-hint);
    margin-bottom: 12px;
}

/* ===== MEETING INFO BAR ===== */
.meeting-info-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.info-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-hint);
    font-weight: 500;
}

.info-chip svg {
    width: 16px;
    height: 16px;
    color: var(--text-disabled);
}

.info-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-disabled);
}

/* ===== VIDEO PREVIEW SECTION ===== */
.preview-area {
    width: 100%;
    aspect-ratio: 16/9;
    background: #202124;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.20);
}

/* Real camera feed fills the preview box, mirrored like a selfie view */
#local-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transform: scaleX(-1); /* Mirror horizontally for natural selfie look */
    display: none;          /* Hidden until stream is attached */
    background: #000;
}

/* Fallback avatar fill — same dimensions as the video */
.camera-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.shimmer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.015) 37%, transparent 63%);
    animation: shimmer 4s infinite;
}

@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.camera-off-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.overlay-text {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 400;
}

/* ===== CAMERA ON STATE ===== */
.preview-area.camera-on {
    background: linear-gradient(135deg, #1a1f2e 0%, #0d1117 60%, #1a2332 100%);
}

.camera-live-bg {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.camera-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 30%,
        rgba(26, 115, 232, 0.04) 50%,
        transparent 70%
    );
    animation: camShimmer 6s ease-in-out infinite alternate;
}

@keyframes camShimmer {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.02); }
}

.self-view-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(26, 115, 232, 0.2);
    border: 3px solid rgba(26, 115, 232, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px rgba(26, 115, 232, 0.08);
    animation: avatarPulse 3s ease-in-out infinite;
    overflow: hidden;
}

@keyframes avatarPulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(26, 115, 232, 0.08); }
    50% { box-shadow: 0 0 0 10px rgba(26, 115, 232, 0.12); }
}

.self-view-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: brightness(1.1);
}

.self-view-name {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    background: rgba(0,0,0,0.4);
    padding: 4px 14px;
    border-radius: 6px;
    backdrop-filter: blur(6px);
}

/* Live dot badge (top-left on camera-on) */
.preview-watermark .live-dot {
    width: 8px;
    height: 8px;
    background: #34a853;
    border-radius: 50%;
    display: inline-block;
    animation: livePulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% { opacity: 0.7; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* Mic-active badge (top-right) */
.mic-active-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.45);
    padding: 5px 12px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(52, 168, 83, 0.3);
}

.mic-active-badge span {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.preview-watermark {
    position: absolute;
    top: 16px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.45);
    padding: 6px 14px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
}

.preview-watermark svg {
    width: 14px;
    height: 14px;
}

.preview-watermark span {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

/* ===== CONTROLS BAR ===== */
.controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    background: rgba(32,33,36,0.65);
    padding: 8px 16px;
    border-radius: 40px;
    backdrop-filter: blur(12px);
}

.btn-control {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.btn-control:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
}

.btn-control.off {
    background: var(--red);
}

/* Thin vertical separator between button groups */
.controls-divider {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.15);
    border-radius: 1px;
    margin: 0 2px;
    flex-shrink: 0;
}

/* Expand/fullscreen button — subtle accent so it stands out */
.btn-control.btn-expand {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-control.btn-expand:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.35);
}

/* Fullscreen state: preview fills the viewport */
.preview-area.is-fullscreen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    aspect-ratio: unset;
    border-radius: 0;
    z-index: 9000;
    margin: 0;
}

.preview-area.is-fullscreen ~ .actions,
.preview-area.is-fullscreen ~ .footer-trust {
    display: none;
}

.btn-control .slash {
    position: absolute;
    width: 28px;
    height: 2px;
    background: white;
    transform: rotate(-45deg);
    border-radius: 2px;
}

/* ===== PARTICIPANTS ROW ===== */
.participants-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.participant-avatars {
    display: flex;
    align-items: center;
}

.participant-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
    box-shadow: var(--shadow-sm);
}

.participant-avatar:first-child {
    margin-left: 0;
}

.participant-avatar.av-1 { background: #1a73e8; }
.participant-avatar.av-2 { background: #34a853; }
.participant-avatar.av-3 { background: #ea4335; }
.participant-avatar.av-4 { background: #fbbc05; color: #202124; }
.participant-avatar.av-more { background: #5f6368; font-size: 11px; }

.participants-text {
    font-size: 14px;
    color: var(--text-hint);
}

.participants-text strong {
    color: var(--text-secondary);
    font-weight: 600;
}

/* ===== ACTION BUTTONS ===== */
.actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 32px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 13px 44px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(26, 115, 232, 0.3);
    letter-spacing: 0.1px;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.35);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(26, 115, 232, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--border);
    padding: 13px 44px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.1px;
}

.btn-outline:hover {
    background-color: #f0f6ff;
    border-color: #d3e3fd;
}

/* ===== FOOTER ===== */
.footer-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-disabled);
    font-size: 13px;
}

/* ===== DOWNLOAD OVERLAY ===== */
.download-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

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

.auto-download-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) scale(0.95);
    opacity: 0;
    background: white;
    padding: 48px 56px;
    border-radius: 28px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    z-index: 1000;
    width: 460px;
    max-width: 92vw;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.06);
}

.auto-download-panel.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.shield-pulse-wrap {
    animation: shieldPulse 2s ease-in-out infinite;
}

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

.loader-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid #f1f3f4;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: rotate 0.9s linear infinite;
}

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Progress Bar */
.dl-progress-wrap {
    width: 100%;
    height: 6px;
    background: #f1f3f4;
    border-radius: 3px;
    margin: 20px 0 24px;
    overflow: hidden;
}

.dl-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #34a853);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dl-progress-bar.fast {
    transition: width 0.3s ease;
}

.dl-text h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.dl-text p {
    color: var(--text-hint);
    font-size: 14px;
    line-height: 1.5;
}

.dl-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    text-align: left;
}

.dl-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-disabled);
    transition: color 0.35s ease;
}

.dl-step.active {
    color: var(--text-secondary);
}

.dl-step.done {
    color: var(--green);
}

.dl-step-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.35s ease;
    overflow: hidden;
}

/* Hide checkmark SVG by default, show only when done */
.dl-step-icon svg {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.25s ease, transform 0.25s ease;
    color: var(--green);
    fill: var(--green);
}

.dl-step.done .dl-step-icon svg {
    opacity: 1;
    transform: scale(1);
}

.dl-step.active .dl-step-icon {
    border-color: var(--primary);
    background: var(--primary-light);
}

/* Active step shows a small spinning indicator instead of checkmark */
.dl-step.active .dl-step-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    border: 2px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: rotate 0.7s linear infinite;
}

.dl-step.active .dl-step-icon svg {
    display: none;
}

.dl-step.done .dl-step-icon {
    border-color: var(--green);
    background: var(--green-light);
}

/* ===== FRONT OVERLAY MODAL ===== */
.front-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.front-overlay[style*="display: flex"],
.front-overlay[style*="display:flex"] {
    pointer-events: all;
}

.front-backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.front-modal {
    position: relative;
    z-index: 10000;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    padding: 48px 56px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: modalSlideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.front-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.front-logo span {
    font-size: 26px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.front-joining {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.front-joining span {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

.front-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #e8eaed;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
}

.front-version-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fce8e6;
    color: var(--red);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.front-msg {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 8px;
}

.front-msg strong {
    color: var(--text);
    font-weight: 600;
}

.front-sub {
    font-size: 14px;
    color: var(--text-hint);
    line-height: 1.55;
    margin-bottom: 28px;
}

.front-file-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 24px;
}

.front-file-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.front-file-details {
    text-align: left;
}

.front-file-details .file-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.front-file-details .file-meta {
    font-size: 12px;
    color: var(--text-disabled);
}

.front-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 24px;
    padding: 13px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.1px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 4px rgba(26, 115, 232, 0.25);
    font-family: inherit;
}

.front-download-btn:hover:not(:disabled) {
    background: var(--primary-hover);
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.35);
    transform: translateY(-1px);
}

.front-download-btn:active:not(:disabled) {
    transform: translateY(0);
}

.front-download-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: var(--primary);
}

.front-copy {
    font-size: 12px;
    color: var(--text-disabled);
    line-height: 1.4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .glass-card {
        padding: 32px 24px;
        border-radius: var(--radius-lg);
    }

    h1 {
        font-size: 32px;
    }

    .meet-container {
        padding: 80px 12px 24px;
    }

    .actions {
        flex-direction: column;
        align-items: center;
    }

    .meeting-info-bar {
        gap: 12px;
    }

    .auto-download-panel {
        padding: 36px 28px;
        width: 94vw;
    }

    .front-modal {
        padding: 36px 28px;
    }

    .nav-center {
        display: none;
    }
}
