/* 
 * Enhanced UI v4.0 - Modern Dark/Light Theme System
 * AI 회의 도우미 - Professional Design
 * Features: Dark/Light modes, Toast notifications, LED status, Responsive
 */

/* ========================================
   CSS Variables - Theme System
   ======================================== */
:root {
    /* Light Theme (Default) */
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #818cf8;
    --primary-glow: rgba(99, 102, 241, 0.25);
    
    --secondary: #f1f5f9;
    --secondary-light: #e2e8f0;
    
    --accent: #06b6d4;
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.3);
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.3);
    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.3);
    
    /* Backgrounds */
    --bg-main: #f8fafc;
    --bg-panel: #ffffff;
    --bg-panel-hover: #f1f5f9;
    --bg-input: #f8fafc;
    --bg-panel-border: rgba(0, 0, 0, 0.08);
    
    /* Text */
    --text-main: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    
    /* UI Elements */
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-xs: 4px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px var(--primary-glow);
    
    --font-main: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
}

/* Dark Theme */
[data-theme="dark"], .dark-theme {
    --primary: #818cf8;
    --primary-hover: #6366f1;
    --primary-light: #a5b4fc;
    --primary-glow: rgba(99, 102, 241, 0.35);
    
    --secondary: #1e293b;
    --secondary-light: #334155;
    
    --bg-main: #0f172a;
    --bg-panel: rgba(30, 41, 59, 0.85);
    --bg-panel-hover: rgba(51, 65, 85, 0.7);
    --bg-input: rgba(15, 23, 42, 0.8);
    --bg-panel-border: rgba(255, 255, 255, 0.1);
    
    --text-main: #f1f5f9;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --shadow-glow: 0 0 30px var(--primary-glow);
}

/* Force dark theme */
body {
    --primary: #818cf8;
    --primary-hover: #6366f1;
    --primary-light: #a5b4fc;
    --primary-glow: rgba(99, 102, 241, 0.35);
    
    --secondary: #1e293b;
    --secondary-light: #334155;
    
    --bg-main: #0f172a;
    --bg-panel: rgba(30, 41, 59, 0.85);
    --bg-panel-hover: rgba(51, 65, 85, 0.7);
    --bg-input: rgba(15, 23, 42, 0.8);
    --bg-panel-border: rgba(255, 255, 255, 0.1);
    
    --text-main: #f1f5f9;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
}

/* ========================================
   Base Reset & Layout
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-main);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(6, 182, 212, 0.06) 0%, transparent 40%);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

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

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

/* ========================================
   App Container & Layout
   ======================================== */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 100%;
}

/* ========================================
   Header
   ======================================== */
.app-header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--bg-panel-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
}

.logo i {
    color: var(--primary);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px var(--primary-glow));
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 8px var(--primary-glow)); }
    50% { filter: drop-shadow(0 0 15px var(--primary-glow)); }
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-main), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.version-badge {
    font-size: 0.7rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.meeting-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    background: var(--bg-input);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-panel-border);
}

.meeting-timer i {
    color: var(--primary);
}

/* Settings Button */
.btn-settings {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-settings:hover {
    background: var(--bg-panel-hover);
    color: var(--text-main);
    transform: rotate(45deg);
}

/* ========================================
   Main Content Grid
   ======================================== */
.main-content {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    overflow: hidden;
    min-height: 0; /* 중요: flex 자식의 최소 높이 제약 해제 */
}
...
/* Chat Panel Styles */
.chat-panel {
    display: flex;
    flex-direction: column;
}

.chat-history {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.5;
    animation: slideIn 0.3s ease;
}

.chat-message.user {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.ai {
    align-self: flex-start;
    background: var(--bg-input);
    border: 1px solid var(--bg-panel-border);
    color: var(--text-main);
    border-bottom-left-radius: 4px;
}

.chat-message.memo-mode {
    background: var(--warning);
    border-color: var(--warning);
    color: #000;
}

.message-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 4px;
    opacity: 0.9;
}

.chat-input-wrapper {
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--bg-panel-border);
    background: var(--bg-input);
}

.chat-input-wrapper input {
    flex: 1;
    background: var(--bg-panel);
    border: 1px solid var(--bg-panel-border);
}

/* Chat Mode Selector */
.chat-mode-selector {
    display: flex;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-input);
    border-top: 1px solid var(--bg-panel-border);
}

.mode-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-panel-border);
    background: var(--bg-panel);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mode-btn i {
    font-size: 0.9rem;
}

.mode-btn:hover {
    background: var(--bg-panel-hover);
    color: var(--text-secondary);
}

.mode-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 8px var(--primary-glow);
}

.mode-btn[data-mode="memo"].active {
    background: var(--warning);
    border-color: var(--warning);
    box-shadow: 0 2px 8px var(--warning-glow);
}

.chat-input-wrapper button {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-input-wrapper button:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

/* ========================================
   Panels
   ======================================== */
.panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-normal);
    min-height: 0; /* 중요: 내부 스크롤을 위한 설정 */
}

.panel:hover {
    box-shadow: var(--shadow-lg);
}

.panel-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--bg-panel-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}

.panel-header h2 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-header h2 i {
    color: var(--primary);
    font-size: 1rem;
}

/* ========================================
   Status Indicator with LED
   ======================================== */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    background: var(--bg-input);
    border: 1px solid var(--bg-panel-border);
    transition: all var(--transition-normal);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    transition: all var(--transition-normal);
}

/* Idle/Default State */
.status-indicator.idle .status-dot,
.status-indicator .status-dot {
    background: var(--text-dim);
    box-shadow: none;
}

/* Recording State - Green LED */
.status-indicator.recording {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.status-indicator.recording .status-dot {
    background: var(--success);
    box-shadow: 0 0 8px var(--success-glow), 0 0 16px var(--success-glow);
    animation: pulse-led 1.5s ease-in-out infinite;
}

/* Paused State - Yellow LED */
.status-indicator.paused {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.status-indicator.paused .status-dot {
    background: var(--warning);
    box-shadow: 0 0 8px var(--warning-glow);
}

@keyframes pulse-led {
    0%, 100% { box-shadow: 0 0 8px var(--success-glow); }
    50% { box-shadow: 0 0 16px var(--success-glow), 0 0 24px var(--success-glow); }
}

.status-text {
    color: var(--text-secondary);
}

/* ========================================
   Voice Visualizer
   ======================================== */
.voice-visualizer {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.1), transparent);
    border-bottom: 1px solid var(--bg-panel-border);
}

.visualizer-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 32px;
}

.visualizer-bars span {
    width: 6px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 999px;
    height: 4px;
    transition: height 0.1s ease;
}

/* Recording animation - JS에서 실시간으로 height를 제어하므로 CSS 애니메이션은 제거하거나 충돌나지 않게 설정 */
.voice-visualizer.active .visualizer-bars span {
    transition: height 0.1s ease, opacity 0.2s ease; /* 부드러운 변화를 위한 트랜지션만 유지 */
}

.visualizer-bars span {
    width: 6px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 999px;
    height: 4px;
    opacity: 0.5;
}

/* ========================================
   Control Buttons
   ======================================== */
.control-buttons {
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    border: none;
    border-radius: var(--radius-md);
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
    font-family: var(--font-main);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
    min-width: 140px;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

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

/* Warning Button */
.btn-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-warning:hover:not(:disabled) {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.5);
}

/* Danger Button */
.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

/* Success Button */
.btn-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-success:hover:not(:disabled) {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
}

/* Secondary Button */
.btn-secondary {
    background: var(--bg-input);
    color: var(--text-muted);
    border: 1px solid var(--bg-panel-border);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-panel-hover);
    color: var(--text-main);
}

/* Info/Export Button */
.btn-info {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.btn-info:hover:not(:disabled) {
    background: rgba(6, 182, 212, 0.2);
}

.btn-export {
    background: linear-gradient(135deg, var(--accent), #0891b2);
    color: white;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.btn-export:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.4);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--bg-panel-border);
}

.btn-outline:hover:not(:disabled) {
    background: var(--bg-input);
    color: var(--text-main);
    border-color: var(--primary);
}

/* Button Sizes */
.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

/* Disabled State */
.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none;
}

/* ========================================
   Transcript Area
   ======================================== */
.transcript-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0.02), transparent);
    min-height: 0; /* 스크롤 작동을 위한 필수 설정 */
    max-height: 100%;
}

.current-speech {
    min-height: 40px;
}

.current-speech .placeholder {
    text-align: center;
    color: var(--text-dim);
    padding: 40px 20px;
    font-size: 1rem;
}

.speech-content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

.speech-indicator {
    color: var(--primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Transcript Items */
.transcript-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-input);
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-panel-border);
    animation: slideIn 0.3s ease;
    transition: all var(--transition-fast);
}

.transcript-item:hover {
    background: var(--bg-panel-hover);
}

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

.transcript-item.question {
    background: rgba(245, 158, 11, 0.05);
    border-left-color: var(--warning);
}

.transcript-content {
    flex: 1;
}

.transcript-text {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.transcript-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.timestamp {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* ========================================
   Badges
   ======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--bg-input);
    color: var(--text-muted);
    border: 1px solid var(--bg-panel-border);
}

.badge-ai {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
}

.badge-summary {
    background: linear-gradient(135deg, var(--accent), #0891b2);
    color: white;
    border: none;
}

.badge-summary.active {
    animation: pulse-badge 2s ease-in-out infinite;
}

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

.badge-corrected {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.3);
}

.badge-question-toggle {
    cursor: pointer;
    transition: all var(--transition-fast);
}

.badge-question-toggle:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
}

.badge-question-toggle.active {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border-color: rgba(245, 158, 11, 0.4);
}

/* ========================================
   Analysis Panel
   ======================================== */
.analysis-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
    min-height: 0; /* 스크롤 작동을 위한 필수 설정 */
}

.sub-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 150px;
    max-height: 100%;
    transition: all var(--transition-normal);
}

.sub-panel:hover {
    box-shadow: var(--shadow-md);
}

/* Questions List */
.questions-list, .ai-answers-list, .meeting-summary {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    min-height: 0; /* 스크롤 작동을 위한 필수 설정 */
    max-height: 100%;
}

.question-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: rgba(245, 158, 11, 0.05);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    border-left: 3px solid var(--warning);
    animation: slideIn 0.3s ease;
}

.question-icon {
    font-size: 1.1rem;
}

.question-text {
    flex: 1;
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.5;
}

.question-time {
    font-size: 0.75rem;
    color: var(--text-dim);
    white-space: nowrap;
}

/* AI Answers */
.ai-answer-item {
    padding: 14px;
    background: var(--bg-input);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid var(--bg-panel-border);
    animation: slideIn 0.3s ease;
}

.answer-question {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bg-panel-border);
}

.answer-question .label {
    font-weight: 700;
    color: var(--warning);
}

.answer-question p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.answer-content {
    display: flex;
    gap: 8px;
}

.answer-content .label {
    font-weight: 700;
    color: var(--primary);
}

.answer-content p {
    flex: 1;
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.6;
}

.answer-sources {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--bg-panel-border);
}

.sources-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-right: 8px;
}

.source-link {
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    margin-right: 8px;
}

.source-link:hover {
    text-decoration: underline;
}

/* Meeting Summary */
.summary-content {
    padding: 4px;
}

.summary-content p {
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.7;
}

.summary-time {
    display: block;
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Empty States */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    color: var(--text-dim);
    text-align: center;
}

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

.empty-state p {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.api-hint {
    font-size: 0.75rem;
    color: var(--text-dim);
    opacity: 0.8;
}

/* ========================================
   Stats Bar / Footer
   ======================================== */
.stats-bar {
    height: 52px;
    background: var(--bg-panel);
    border-top: 1px solid var(--bg-panel-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    font-size: 0.85rem;
}

.stat-item {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-item i {
    color: var(--text-dim);
}

.stat-item strong {
    color: var(--text-main);
    font-weight: 600;
}

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

/* ========================================
   Modal
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

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

.modal-content {
    background: var(--secondary);
    border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--bg-panel-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: var(--primary);
}

.btn-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-close:hover {
    background: var(--bg-panel-hover);
    color: var(--text-main);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

/* ========================================
   Form Elements in Settings
   ======================================== */
.setting-section {
    margin-bottom: 24px;
}

.setting-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.setting-section h4 i {
    font-size: 1rem;
}

.beta-badge {
    font-size: 0.65rem;
    background: var(--warning);
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 8px;
}

.setting-group {
    margin-bottom: 16px;
}

.setting-group > label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.setting-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

input[type="text"],
input[type="password"],
textarea,
select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

select {
    cursor: pointer;
}

.setting-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 6px;
    line-height: 1.5;
}

.setting-hint a {
    color: var(--primary-light);
    text-decoration: none;
}

.setting-hint a:hover {
    text-decoration: underline;
}

.fallback-note {
    color: var(--warning);
    opacity: 0.9;
}

.setting-divider {
    height: 1px;
    background: var(--bg-panel-border);
    margin: 24px 0;
}

/* API Key Input */
.api-key-input-wrapper {
    display: flex;
    gap: 8px;
}

.api-key-input-wrapper input {
    flex: 1;
}

.btn-toggle-visibility {
    width: 42px;
    background: var(--bg-input);
    border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-toggle-visibility:hover {
    background: var(--bg-panel-hover);
    color: var(--text-main);
}

/* Server URL Wrapper */
.server-url-wrapper {
    display: flex;
    gap: 8px;
}

.server-url-wrapper input {
    flex: 1;
}

.btn-test-connection {
    white-space: nowrap;
}

/* Preset Buttons */
.preset-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-preset {
    background: var(--bg-input);
    border: 1px solid var(--bg-panel-border);
    color: var(--text-muted);
    padding: 8px 14px;
    font-size: 0.8rem;
}

.btn-preset:hover,
.btn-preset.active {
    background: var(--bg-panel-hover);
    color: var(--text-main);
    border-color: var(--primary);
}

/* Slider */
.slider-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    background: var(--bg-input);
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--primary-glow);
    transition: all var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* Model Info & Status */
.model-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.model-info i {
    color: var(--primary);
}

/* API Status with LED */
.api-status, .ensemble-status, .context-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-panel-border);
    margin-top: 12px;
    font-size: 0.85rem;
    transition: all var(--transition-normal);
}

.api-status .status-dot,
.ensemble-status .status-dot,
.context-status .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-dim);
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

/* Connected/Configured State - Green LED */
.api-status.configured,
.api-status.connected,
.ensemble-status.connected,
.context-status.active {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
}

.api-status.configured .status-dot,
.api-status.connected .status-dot,
.ensemble-status.connected .status-dot,
.context-status.active .status-dot {
    background: var(--success);
    box-shadow: 0 0 8px var(--success-glow);
}

/* Pending State */
.api-status.pending {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
}

.api-status.pending .status-dot {
    background: var(--warning);
    animation: pulse-led 1s infinite;
}

/* Error State - Red LED */
.api-status.error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
}

.api-status.error .status-dot {
    background: var(--danger);
    box-shadow: 0 0 8px var(--danger-glow);
}

.api-status .status-text,
.ensemble-status span,
.context-status span {
    color: var(--text-secondary);
}

/* Correction Examples */
.correction-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    padding: 10px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
}

.example-label {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.example-item {
    font-size: 0.8rem;
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-xs);
    color: var(--primary-light);
}

/* Server Help Card */
.server-help-card {
    margin-top: 12px;
    background: var(--bg-input);
    border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.help-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.help-header:hover {
    background: var(--bg-panel-hover);
}

.btn-toggle-help {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.help-content {
    padding: 14px;
    border-top: 1px solid var(--bg-panel-border);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.help-content ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

.help-content li {
    margin-bottom: 8px;
}

.help-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-light);
    text-decoration: none;
}

.help-link:hover {
    text-decoration: underline;
}

/* ========================================
   Toast Notifications
   ======================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    z-index: 2000;
    max-width: 400px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--secondary);
    border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    color: var(--text-main);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

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

.toast-success i {
    color: var(--success);
}

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

.toast-error i {
    color: var(--danger);
}

.toast-warning {
    border-left: 4px solid var(--warning);
}

.toast-warning i {
    color: var(--warning);
}

.toast-info {
    border-left: 4px solid var(--accent);
}

.toast-info i {
    color: var(--accent);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1400px) {
    .main-content {
        gap: 16px;
        padding: 16px;
    }
}

@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    
    .transcription-panel {
        grid-column: span 2;
        height: 400px;
    }
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .transcription-panel {
        grid-column: span 1;
        height: 400px;
    }
    
    .analysis-panel {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .sub-panel {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .app-header {
        padding: 0 12px;
        height: 56px;
        flex-shrink: 0;
    }
    
    .logo {
        gap: 8px;
    }
    
    .logo h1 {
        display: block;
        font-size: 0.95rem;
    }
    
    .logo i {
        font-size: 1.2rem;
    }
    
    .header-controls {
        gap: 8px;
    }
    
    .meeting-timer {
        padding: 4px 8px;
        font-size: 0.85rem;
    }
    
    .main-content {
        padding: 8px;
        gap: 8px;
        grid-template-columns: 1fr;
        grid-template-rows: minmax(350px, 1fr) minmax(250px, auto);
        overflow: auto;
    }
    
    .transcription-panel {
        min-height: 350px;
    }
    
    .analysis-panel {
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-height: none;
    }
    
    .sub-panel {
        min-height: 180px;
        max-height: 250px;
    }
    
    .control-buttons {
        padding: 10px;
        gap: 6px;
        flex-wrap: nowrap;
    }
    
    .btn-large {
        padding: 10px 14px;
        font-size: 0.85rem;
        min-width: auto;
        flex: 1;
    }
    
    .btn-large span {
        display: none;
    }
    
    .btn-large i {
        margin: 0;
    }
    
    .stats-bar {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 12px;
        gap: 8px;
    }
    
    .stat-item {
        font-size: 0.75rem;
    }
    
    .export-buttons {
        width: 100%;
        justify-content: flex-end;
        gap: 6px;
    }
    
    .export-buttons .btn-sm {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .export-buttons .btn-sm span {
        display: none;
    }
    
    .modal-content {
        max-width: 100%;
        max-height: 90vh;
        margin: 0;
        border-radius: var(--radius-md);
    }
    
    .toast-container {
        left: 8px;
        right: 8px;
        bottom: 8px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .app-header {
        padding: 0 8px;
        height: 50px;
    }
    
    .logo h1 {
        font-size: 0.85rem;
    }
    
    .version-badge {
        display: none;
    }
    
    .meeting-timer {
        padding: 3px 6px;
        font-size: 0.8rem;
    }
    
    .btn-settings {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    
    .main-content {
        padding: 6px;
        gap: 6px;
        grid-template-rows: minmax(300px, 1fr) minmax(200px, auto);
    }
    
    .panel-header {
        padding: 10px 12px;
    }
    
    .panel-header h2 {
        font-size: 0.85rem;
    }
    
    .transcript-container {
        padding: 10px;
    }
    
    .transcript-item {
        padding: 8px 10px;
        gap: 6px;
    }
    
    .transcript-text {
        font-size: 0.9rem;
    }
    
    .control-buttons {
        padding: 8px;
    }
    
    .btn-large {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .sub-panel {
        min-height: 150px;
        max-height: 200px;
    }
    
    .questions-list, .ai-answers-list, .meeting-summary {
        padding: 10px;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========================================
   Ensemble Visualizer (3번 과업)
   ======================================== */
.ensemble-visualizer {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.05));
    border-top: 1px solid var(--bg-panel-border);
    padding: 12px 16px;
    font-size: 0.8rem;
}

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

.ensemble-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ensemble-status-text {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.ensemble-models {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.model-result {
    background: var(--bg-input);
    border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    transition: all var(--transition-fast);
}

.model-result:hover {
    background: var(--bg-panel-hover);
}

.model-result.active {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
}

.model-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.model-name {
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--text-main);
}

.model-tag {
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 500;
}

.model-tag.speed {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.model-tag.accuracy {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
}

.model-tag.context {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.model-confidence {
    margin-left: auto;
    font-size: 0.65rem;
    color: var(--text-dim);
    font-weight: 600;
}

.model-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ensemble-final {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.final-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.final-text {
    font-size: 0.8rem;
    color: var(--text-main);
    margin: 0;
    flex: 1;
}

/* ========================================
   User Memo Panel (6번 과업)
   ======================================== */
.user-memo-panel {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 500;
}

.memo-toggle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: all var(--transition-fast);
}

.memo-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.memo-container {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 360px;
    max-height: 450px;
    background: var(--bg-panel);
    border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

.memo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--bg-panel-border);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.memo-header span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.memo-header i {
    color: var(--primary);
}

.btn-memo-close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--bg-panel-border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-memo-close:hover {
    background: var(--bg-panel-hover);
    color: var(--text-main);
}

.memo-history {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    max-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.memo-item {
    padding: 10px 12px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
    font-size: 0.85rem;
    animation: slideIn 0.2s ease;
}

.memo-item.ai-question {
    border-left-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.memo-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.memo-type {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
}

.memo-item.ai-question .memo-type {
    color: var(--primary);
}

.memo-time {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.memo-text {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.memo-input-area {
    padding: 12px;
    border-top: 1px solid var(--bg-panel-border);
}

.memo-input-area textarea {
    width: 100%;
    min-height: 60px;
    resize: none;
    margin-bottom: 10px;
}

.memo-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* ========================================
   Language Status (5번 과업)
   ======================================== */
.language-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-panel-border);
    margin-top: 12px;
    font-size: 0.85rem;
}

.language-status i {
    color: var(--primary);
    font-size: 1.1rem;
}

.language-status.bilingual {
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.3);
}

.language-status.bilingual i {
    color: var(--accent);
}

/* ========================================
   Responsive: Ensemble & Memo
   ======================================== */
@media (max-width: 768px) {
    .ensemble-models {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .ensemble-visualizer {
        padding: 10px 12px;
    }
    
    .user-memo-panel {
        right: 12px;
        bottom: 70px;
    }
    
    .memo-toggle {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .memo-container {
        width: 320px;
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .memo-container {
        width: calc(100vw - 24px);
        right: 0;
    }
}

/* Print Styles */
@media print {
    .app-header,
    .control-buttons,
    .stats-bar,
    .modal,
    .toast-container,
    .user-memo-panel,
    .ensemble-visualizer {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .transcript-item {
        break-inside: avoid;
    }
}

/* AI 보정 스타일 */
.transcript-item.ai-corrected {
    border-left-style: dashed;
    background: rgba(99, 102, 241, 0.03);
}

.corrected-badge {
    font-size: 0.8rem;
    margin-left: 6px;
    display: inline-block;
    animation: pulse-gold 2s infinite;
    cursor: help;
}

@keyframes pulse-gold {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); }
    100% { transform: scale(1); opacity: 0.6; }
}
