/* ========== 现代化随机点名器样式 ========== */

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #f472b6;
    --accent-light: #f9a8d4;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* 动态背景 */
.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.3), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(244, 114, 182, 0.2), transparent),
        radial-gradient(ellipse 40% 60% at 0% 80%, rgba(16, 185, 129, 0.15), transparent);
    animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

/* 粒子容器 */
.particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.6;
}


/* 主容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    min-height: 100vh;
}

/* 头部 */
.header {
    text-align: center;
    margin-bottom: 48px;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

.logo-wrapper img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.main-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* 主布局 */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* 玻璃卡片 */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.card-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    font-size: 16px;
}

/* 输入区域 */
.textarea-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.name-textarea {
    width: 100%;
    min-height: 180px;
    padding: 16px;
    background: var(--bg-glass);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.name-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.name-textarea::placeholder {
    color: var(--text-muted);
}

/* 文件上传 */
.upload-area {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.file-input {
    display: none;
}

.upload-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-glass);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
}

/* 快捷按钮 */
.quick-btns {
    display: flex;
    gap: 10px;
}

.btn-ghost {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    background: var(--bg-glass);
    border-color: var(--text-muted);
    color: var(--text-primary);
}


/* 结果展示区 */
.result-section {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.result-display {
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(244, 114, 182, 0.1));
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    overflow: hidden;
}

.result-display::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
}

.result-display.selecting::before {
    animation: shimmer 1s infinite;
}

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

.result-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.result-text.selecting {
    animation: pulse 0.3s ease-in-out infinite;
}

.result-text.final {
    color: var(--success);
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
    animation: celebrate 0.5s ease;
}

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

@keyframes celebrate {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* 开始按钮 */
.start-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: var(--radius);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.start-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

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

.start-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.start-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
}

.start-btn:hover:not(:disabled)::after {
    animation: btnShine 0.6s ease;
}

@keyframes btnShine {
    100% { transform: translateX(100%); }
}

/* 姓名云区域 */
.name-cloud-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.view-toggle {
    padding: 8px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.name-cloud {
    flex: 1;
    min-height: 400px;
    background: var(--bg-glass);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.name-cloud.mode-list {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: flex-start;
    overflow-y: auto;
}

.name-cloud.mode-3d {
    perspective: 1000px;
}

/* 姓名标签 */
.name-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(244, 114, 182, 0.2));
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: tagFadeIn 0.5s ease backwards;
}

.name-tag:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.name-tag.selected {
    background: linear-gradient(135deg, var(--success), #059669);
    border-color: transparent;
    animation: tagSelected 0.5s ease;
}

@keyframes tagFadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

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

/* 3D模式下的姓名标签 */
.mode-3d .name-tag {
    position: absolute;
    white-space: nowrap;
    transition: none;
    will-change: transform, left, top, opacity;
}

/* 空状态 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
    padding: 40px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    margin-bottom: 8px;
}

.empty-hint {
    font-size: 13px;
    opacity: 0.7;
}

/* 统计信息 */
.name-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-glass);
    border-radius: var(--radius);
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.name-count {
    font-weight: 600;
    color: var(--primary-light);
}


/* 底部操作栏 */
.action-bar {
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--bg-glass);
    border-color: var(--primary);
    color: var(--primary-light);
}

.action-btn svg {
    width: 18px;
    height: 18px;
}

/* 历史面板 */
.history-panel {
    position: fixed;
    right: -400px;
    top: 0;
    width: 380px;
    height: 100vh;
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    border-left: 1px solid var(--border);
    padding: 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.history-panel.show {
    right: 0;
}

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

.history-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: var(--error);
    border-color: var(--error);
    color: white;
}

.history-list {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 16px;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-glass);
    border-radius: var(--radius);
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.history-item:hover {
    background: rgba(99, 102, 241, 0.1);
}

.history-name {
    font-weight: 600;
    color: var(--text-primary);
}

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

.clear-history-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--error);
    border-radius: var(--radius);
    color: var(--error);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-history-btn:hover {
    background: var(--error);
    color: white;
}

/* 遮罩层 */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* 加载状态 */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-text {
    margin-top: 16px;
    color: var(--text-secondary);
}

/* 通知 */
.notification {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 16px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: var(--shadow);
    z-index: 3000;
    animation: slideIn 0.4s ease;
}

.notification-success {
    border-left: 4px solid var(--success);
}

.notification-error {
    border-left: 4px solid var(--error);
}

.notification-info {
    border-left: 4px solid var(--primary);
}

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

/* 页脚 */
.footer {
    margin-top: 48px;
    padding: 24px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-text {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-link {
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.footer-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* 响应式 */
@media (max-width: 900px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    
    .name-cloud {
        min-height: 300px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 24px 16px;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .result-text {
        font-size: 1.8rem;
    }
    
    .action-bar {
        flex-direction: column;
    }
    
    .history-panel {
        width: 100%;
        right: -100%;
    }
}

/* 全屏模式 */
.container:fullscreen {
    padding: 40px;
    background: var(--bg-dark);
}

.container:fullscreen .footer {
    display: none;
}

/* 选择动画 */
.selection-animation {
    animation: selectionBounce 0.15s ease-in-out infinite alternate;
}

@keyframes selectionBounce {
    from { transform: translate(-50%, -50%) scale(1); }
    to { transform: translate(-50%, -50%) scale(1.1); }
}

/* 临时高亮 */
.temporary-highlight {
    background: linear-gradient(135deg, var(--warning), #d97706) !important;
    border-color: transparent !important;
    transform: scale(1.15) !important;
    z-index: 100 !important;
}

/* 最终选中 */
.final-selected {
    background: linear-gradient(135deg, var(--success), #059669) !important;
    border-color: transparent !important;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.6) !important;
    animation: finalPulse 0.5s ease-in-out 3 !important;
}

@keyframes finalPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(16, 185, 129, 0.6); }
    50% { transform: scale(1.2); box-shadow: 0 0 60px rgba(16, 185, 129, 0.8); }
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}


/* ========== 主题切换按钮 ========== */
.theme-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--primary);
}

.theme-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg);
}

/* ========== 浅色主题 ========== */
body.light-theme {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #ec4899;
    --accent-light: #f472b6;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-glass: rgba(0, 0, 0, 0.03);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: rgba(0, 0, 0, 0.1);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

body.light-theme .bg-gradient {
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(236, 72, 153, 0.1), transparent),
        radial-gradient(ellipse 40% 60% at 0% 80%, rgba(16, 185, 129, 0.08), transparent);
}

body.light-theme .particle {
    background: var(--primary);
    opacity: 0.3;
}

body.light-theme .logo-wrapper {
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

body.light-theme .main-title {
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
}

body.light-theme .name-textarea {
    background: white;
    border-color: #e2e8f0;
}

body.light-theme .name-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

body.light-theme .upload-btn {
    background: white;
    border-color: #e2e8f0;
}

body.light-theme .upload-btn:hover {
    background: rgba(99, 102, 241, 0.05);
}

body.light-theme .btn-ghost {
    border-color: #e2e8f0;
}

body.light-theme .btn-ghost:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: #cbd5e1;
}

body.light-theme .result-display {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.08));
}

body.light-theme .name-cloud {
    background: rgba(0, 0, 0, 0.02);
}

body.light-theme .name-tag {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-color: #e2e8f0;
}

body.light-theme .name-tag:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

body.light-theme .name-stats {
    background: rgba(0, 0, 0, 0.03);
}

body.light-theme .action-btn {
    background: white;
    border-color: #e2e8f0;
}

body.light-theme .action-btn:hover {
    background: rgba(99, 102, 241, 0.05);
}

body.light-theme .history-panel {
    background: rgba(255, 255, 255, 0.95);
}

body.light-theme .history-item {
    background: rgba(0, 0, 0, 0.03);
}

body.light-theme .history-item:hover {
    background: rgba(99, 102, 241, 0.08);
}

body.light-theme .view-toggle {
    background: white;
    border-color: #e2e8f0;
}

body.light-theme .footer-link {
    background: white;
    border-color: #e2e8f0;
}

body.light-theme .close-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: #e2e8f0;
}

body.light-theme .notification {
    background: white;
}

body.light-theme .theme-toggle {
    background: white;
    border-color: #e2e8f0;
}


/* ========== SVG图标样式 ========== */
.card-icon svg,
.upload-btn svg,
.btn-ghost svg,
.start-btn svg,
.action-btn svg,
.view-toggle svg,
.close-btn svg,
.clear-history-btn svg,
.history-title svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.card-icon svg {
    width: 16px;
    height: 16px;
    stroke: white;
}

.logo-wrapper svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.theme-svg {
    width: 20px;
    height: 20px;
}

.empty-icon-svg {
    width: 48px;
    height: 48px;
    stroke: var(--text-muted);
    margin-bottom: 16px;
}

.history-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-title svg {
    stroke: var(--primary-light);
}

.clear-history-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-ghost svg {
    width: 16px;
    height: 16px;
}

.start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.start-btn svg {
    width: 22px;
    height: 22px;
}

.upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upload-btn svg {
    width: 20px;
    height: 20px;
}

.view-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-toggle svg {
    width: 16px;
    height: 16px;
}

.close-btn svg {
    width: 20px;
    height: 20px;
}
