/* VPN Support Bot - Premium UI Styles */ @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css'); :root { /* Color System - Refined Palette */ --bg: #f8fafc; --bg-elevated: #ffffff; --bg-card: rgba(255, 255, 255, 0.98); --bg-input: #f1f5f9; --bg-hover: #e2e8f0; /* Glass Effect */ --glass: rgba(255, 255, 255, 0.85); --glass-border: rgba(255, 255, 255, 0.5); --glass-shadow: rgba(0, 0, 0, 0.04); /* Borders */ --border: #e2e8f0; --border-light: #f1f5f9; --border-focus: #a5b4fc; /* Accent Colors - Orange */ --accent: #6366f1; --accent-hover: #4f46e5; --accent-light: #8b5cf6; --accent-subtle: #e0e7ff; --accent-glow: rgba(99, 102, 241, 0.35); /* Secondary Colors */ --success: #10b981; --success-bg: #ecfdf5; --warning: #f59e0b; --warning-bg: #fffbeb; --danger: #ef4444; --danger-bg: #fef2f2; /* Text Colors */ --text: #1e293b; --text-secondary: #64748b; --text-muted: #94a3b8; --text-inverse: #ffffff; /* Shadows */ --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05); --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06); --shadow: 0 4px 16px rgba(0, 0, 0, 0.08); --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1); --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12); --shadow-accent: 0 8px 32px rgba(99, 102, 241, 0.25); /* Radius */ --radius-xs: 6px; --radius-sm: 10px; --radius: 14px; --radius-lg: 20px; --radius-xl: 24px; --radius-full: 9999px; /* Transitions */ --ease: cubic-bezier(0.4, 0, 0.2, 1); --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1); --transition: all 0.2s var(--ease); --transition-slow: all 0.3s var(--ease); } /* ===== Utility Classes ===== */ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; } /* 포커스 시각적 표시 강화 */ :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } /* 스킵 내비게이션 */ .skip-link { position: absolute; top: -40px; left: 0; background: var(--accent); color: white; padding: 8px 16px; z-index: 100000; border-radius: 0 0 8px 0; transition: top 0.3s; } .skip-link:focus { top: 0; } /* 애니메이션 줄이기 설정 존중 */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } } /* ===== Base Styles ===== */ #vpn-fab, #vpn-panel, #vpn-cal-modal { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; box-sizing: border-box; } /* ===== FAB Button ===== */ #vpn-fab { position: fixed; right: 24px; bottom: 24px; width: 68px; height: 68px; border-radius: var(--radius-full); border: none; background: linear-gradient(145deg, var(--accent), #8b5cf6); box-shadow: var(--shadow-accent), 0 0 0 4px rgba(99, 102, 241, 0.2); cursor: pointer; z-index: 9999; display: grid; place-items: center; transition: var(--transition); animation: fabAttention 3s ease-in-out infinite; } /* 주목 끄는 애니메이션 */ @keyframes fabAttention { 0%, 100% { box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4), 0 0 0 0px rgba(99, 102, 241, 0.3); transform: scale(1); } 25% { box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5), 0 0 0 12px rgba(99, 102, 241, 0); transform: scale(1.05); } 50% { box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4), 0 0 0 0px rgba(99, 102, 241, 0.3); transform: scale(1); } 75% { box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5), 0 0 0 12px rgba(99, 102, 241, 0); transform: scale(1.05); } } /* 처음 로드 시 더 강한 반짝임 */ #vpn-fab.first-load { animation: fabFirstLoad 1.5s ease-out; } @keyframes fabFirstLoad { 0% { transform: scale(0.5); opacity: 0; } 50% { transform: scale(1.2); } 70% { transform: scale(0.95); } 100% { transform: scale(1); opacity: 1; } } /* 펄스 링 효과 */ #vpn-fab::before { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%; background: transparent; border: 3px solid rgba(99, 102, 241, 0.4); animation: fabRing 2s ease-out infinite; } @keyframes fabRing { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } } /* 애니메이션 멈춤 상태 */ #vpn-fab.no-animation { animation: none !important; } #vpn-fab.no-animation::before { animation: none !important; opacity: 0; } @keyframes fabPulse { 0%, 100% { box-shadow: var(--shadow-accent), 0 0 0 4px rgba(99, 102, 241, 0.1); } 50% { box-shadow: var(--shadow-accent), 0 0 0 8px rgba(99, 102, 241, 0.05); } } #vpn-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4); animation: none; } /* hover 시 말풍선은 JS로 제어 */ #vpn-fab:active { transform: translateY(-1px) scale(1); } #vpn-fab .bot-icon { width: 38px; height: 38px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)); } /* 시리 스타일: 유체 블롭 + 강한 블러, 흐르는 움직임만 (scale/펄스 없음) */ #vpn-fab.fab-voice-wrap { overflow: hidden; padding: 0; background: transparent; box-shadow: 0 8px 32px rgba(26, 26, 46, 0.6), 0 0 0 1px rgba(255,255,255,0.06); } #vpn-fab.fab-voice-wrap .fab-voice-icon { width: 100%; height: 100%; display: block; } /* 블롭 그룹만 천천히 회전 → 색이 흐르는 느낌, 확대/축소 없음 */ #vpn-fab.fab-voice-wrap .voice-blob-group { transform-origin: 24px 24px; animation: voice-flow 14s linear infinite; } #vpn-fab.fab-voice-wrap .voice-core { /* 고정 코어, 펄스 없음 */ } @keyframes voice-flow { to { transform: rotate(360deg); } } /* 오로라 스타일 FAB (띠/밴드가 흐르는 형태, 원뿔 중심 없음) */ #vpn-fab.fab-aurora-wrap { overflow: hidden; padding: 0; background: transparent; } #vpn-fab .fab-aurora { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; } /* 1층: 대각선으로 흐르는 오로라 밴드 */ #vpn-fab .fab-aurora-spin { position: absolute; inset: -20%; background: linear-gradient( 115deg, transparent 0%, #312e81 12%, #7c3aed 22%, #ec4899 35%, #f0abfc 45%, #34d399 55%, #22d3ee 68%, #6366f1 80%, #312e81 92%, transparent 100% ); background-size: 250% 250%; animation: aurora-flow 12s linear infinite; opacity: 0.9; } /* 2층: 반대 각도 밴드가 다른 속도로 흐름 */ #vpn-fab .fab-aurora-spin-2 { position: absolute; inset: -20%; background: linear-gradient( 65deg, transparent 0%, #22d3ee 15%, #34d399 28%, #ec4899 42%, #a855f7 58%, #2dd4bf 72%, #818cf8 85%, transparent 100% ); background-size: 280% 280%; animation: aurora-flow-2 15s linear infinite; opacity: 0.6; } #vpn-fab .fab-aurora::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient( circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60% ); pointer-events: none; } #vpn-fab .fab-aurora::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient( circle at 50% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 55% ); animation: aurora-shimmer 4s ease-in-out infinite; pointer-events: none; } @keyframes aurora-flow { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } } @keyframes aurora-flow-2 { 0% { background-position: 100% 0%; } 100% { background-position: 0% 100%; } } @keyframes aurora-shimmer { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } } /* ===== FAB Tooltip (말풍선) - 상단 위치 ===== */ .fab-tooltip { position: fixed; right: 24px; bottom: 110px; /* FAB 버튼 위에 위치 */ background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); color: var(--text); padding: 12px 18px; border-radius: 16px 16px 16px 4px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.1); z-index: 9998; white-space: nowrap; opacity: 0; transform: translateY(10px); transition: all 0.3s var(--ease-bounce); pointer-events: none; cursor: pointer; } .fab-tooltip::after { content: ''; position: absolute; right: 24px; bottom: -12px; width: 0; height: 0; border: 8px solid transparent; border-top-color: #ffffff; border-bottom: none; } .fab-tooltip .tooltip-emoji { margin-right: 6px; } .fab-tooltip.show { opacity: 1; transform: translateY(0); pointer-events: auto; /* 클릭 가능 */ animation: tooltipBounce 0.5s var(--ease-bounce); } @keyframes tooltipBounce { 0% { opacity: 0; transform: translateY(20px) scale(0.8); } 50% { transform: translateY(-5px) scale(1.02); } 100% { opacity: 1; transform: translateY(0) scale(1); } } /* ===== Overlay ===== */ #vpn-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.3); /* 블러 제거, 반투명 배경만 */ z-index: 9998; opacity: 0; visibility: hidden; transition: var(--transition-slow); } #vpn-overlay.active { opacity: 1; visibility: visible; } /* ===== Panel ===== */ #vpn-panel { position: fixed; right: 24px; bottom: 100px; /* FAB 버튼(68px) + 여백 */ width: 440px; max-width: calc(100vw - 48px); max-height: calc(100vh - 130px); /* 위아래 여백 동일하게 */ border-radius: var(--radius-xl); background: var(--bg-card); border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.5) inset; overflow: hidden; z-index: 9999; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(50px) scale(0.3); transform-origin: bottom right; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); } #vpn-panel.active { visibility: visible; } /* ===== Header ===== */ #vpn-header { padding: 16px 20px; background: linear-gradient(180deg, var(--glass) 0%, rgba(255, 255, 255, 0.95) 100%); border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; backdrop-filter: blur(10px); } .vpn-header-info { display: flex; align-items: center; gap: 14px; } .vpn-header-icon { width: 44px; height: 44px; border-radius: var(--radius); background: linear-gradient(145deg, var(--accent), #8b5cf6); display: grid; place-items: center; box-shadow: var(--shadow-sm), 0 4px 12px var(--accent-glow); } .vpn-header-icon svg { width: 24px; height: 24px; } .vpn-header-text h1 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0; letter-spacing: -0.3px; } .vpn-header-text p { font-size: 12px; color: var(--text-muted); margin: 3px 0 0 0; } #vpn-close-btn { width: 34px; height: 34px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-muted); cursor: pointer; transition: var(--transition); font-size: 15px; display: grid; place-items: center; } #vpn-close-btn:hover { background: var(--bg-hover); color: var(--text); border-color: var(--border); } /* ===== Menu Bar ===== */ #vpn-menu-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 8px 10px; background: linear-gradient(180deg, #f8f9fb 0%, #f1f5f9 100%); border-bottom: 2px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.04); } .vpn-menu-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: var(--radius-sm); border: 1px solid var(--border-light); background: transparent; color: var(--text-secondary); font-size: 9px; font-weight: 600; cursor: pointer; transition: var(--transition); letter-spacing: -0.2px; } .vpn-menu-item:hover { background: var(--bg-elevated); border-color: var(--border); color: var(--text); transform: translateY(-1px); box-shadow: var(--shadow-xs); } .vpn-menu-item.active { background: var(--accent-subtle); border-color: var(--accent-light); color: var(--accent); box-shadow: var(--shadow-sm); } .vpn-menu-item .menu-icon { font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); } .vpn-menu-item .menu-icon svg { width: 18px; height: 18px; stroke-width: 1.8; } .vpn-menu-item:hover .menu-icon { color: var(--accent); } .vpn-menu-item.active .menu-icon { color: var(--accent); } .vpn-menu-item .menu-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } /* ===== Chat Area ===== */ #vpn-chat { flex: 1 1 auto; overflow-y: auto; padding: 14px 12px 20px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%); min-height: 200px; } /* Header/Menu transitions */ #vpn-header, #vpn-menu-bar { user-select: none; } #vpn-chat::-webkit-scrollbar { width: 5px; } #vpn-chat::-webkit-scrollbar-track { background: transparent; } #vpn-chat::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius-full); } #vpn-chat::-webkit-scrollbar-thumb:hover { background: var(--text-muted); } #vpn-chat.scrolled { background: linear-gradient(180deg, rgba(241, 245, 249, 0.8) 0%, var(--bg-elevated) 100%); } #vpn-chat.scrolled::before { content: ''; position: sticky; top: -20px; left: 0; right: 0; height: 20px; background: linear-gradient(180deg, var(--bg), transparent); pointer-events: none; margin-bottom: -20px; } /* Message Styles */ .vpn-msg { display: flex; animation: msgSlideIn 0.35s var(--ease-bounce); } @keyframes msgSlideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } .vpn-msg.user { justify-content: flex-end; } .vpn-msg.bot { justify-content: flex-start; gap: 10px; align-items: flex-start; } .vpn-bot-avatar { width: 28px; height: 28px; border-radius: var(--radius-sm); background: linear-gradient(145deg, var(--accent), #8b5cf6); display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow-sm); } .vpn-bot-avatar svg { width: 14px; height: 14px; } .vpn-bubble { max-width: 85%; padding: 10px 14px; border-radius: var(--radius-lg); font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; word-break: keep-all; } .vpn-msg.user .vpn-bubble { background: linear-gradient(145deg, var(--accent), #8b5cf6); color: var(--text-inverse); border-bottom-right-radius: var(--radius-xs); box-shadow: var(--shadow-sm), 0 4px 16px var(--accent-glow); } .vpn-msg.bot .vpn-bubble { background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border-light); border-bottom-left-radius: var(--radius-xs); box-shadow: var(--shadow-xs); } /* ===== Quick Actions ===== */ .vpn-quick-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; width: 100%; } .vpn-quick-btn { padding: 10px 14px; border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--bg-elevated); color: var(--text); font-size: 12px; font-weight: 600; cursor: pointer; transition: var(--transition); text-align: left; display: flex; align-items: center; gap: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); } .vpn-quick-btn:hover { background: var(--bg); border-color: var(--accent); transform: translateX(4px); box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15); } .vpn-quick-btn .btn-icon { font-size: 14px; width: 20px; text-align: center; } .vpn-quick-btn.primary { background: linear-gradient(145deg, var(--accent), #8b5cf6); border-color: transparent; color: var(--text-inverse); padding: 12px 16px; font-size: 12.5px; justify-content: center; box-shadow: var(--shadow-sm), 0 4px 12px var(--accent-glow); } .vpn-quick-btn.primary:hover { background: linear-gradient(145deg, var(--accent-hover), #4338ca); transform: translateY(-2px); box-shadow: var(--shadow), 0 8px 24px var(--accent-glow); } /* ===== Download List ===== */ .download-list-bubble { padding: 8px !important; } .download-list { display: flex; flex-direction: column; gap: 5px; } .download-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border: 1px solid #e2e8f0; border-radius: 10px; text-decoration: none; color: #334155; transition: all 0.2s ease; } .download-item:hover { background: linear-gradient(135deg, #ede9fe 0%, #e0e7ff 100%); border-color: #a5b4fc; transform: translateX(4px); box-shadow: 0 2px 8px rgba(255, 107, 0, 0.15); } .dl-icon { font-size: 20px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); } .dl-info { flex: 1; } .dl-name { font-weight: 600; font-size: 12px; color: #1e293b; } .dl-desc { font-size: 10px; color: #64748b; margin-top: 2px; } /* ===== Autocomplete (세련된 버전) ===== */ #vpn-autocomplete { position: absolute; bottom: 100%; left: 0; right: 0; background: white; border-radius: 12px; box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.1); max-height: 220px; overflow-y: auto; z-index: 100; margin-bottom: 8px; animation: acSlideUp 0.2s ease; } @keyframes acSlideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } #vpn-autocomplete.hidden { display: none; } .ac-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; transition: all 0.15s; border-left: 3px solid transparent; } .ac-item:hover { background: linear-gradient(90deg, rgba(255, 107, 0, 0.08), transparent); border-left-color: var(--accent); } .ac-item:active { transform: scale(0.98); } .ac-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: #f1f5f9; border-radius: 8px; font-size: 14px; flex-shrink: 0; } .ac-item:hover .ac-icon { background: linear-gradient(135deg, var(--accent), #8b5cf6); transform: scale(1.1); } .ac-item:hover .ac-icon::after { filter: brightness(10); } .ac-text { flex: 1; font-size: 12px; color: var(--text); font-weight: 500; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ac-hot { padding: 2px 6px; background: linear-gradient(135deg, #ef4444, #f97316); color: white; font-size: 9px; font-weight: 700; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; animation: hotPulse 2s infinite; } @keyframes hotPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); } 50% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); } } .ac-type { font-size: 9px; padding: 2px 6px; border-radius: 4px; font-weight: 600; text-transform: uppercase; } .ac-type.faq { background: #dbeafe; color: #1d4ed8; } .ac-type.error { background: #fee2e2; color: #dc2626; } .ac-type.action { background: #d1fae5; color: #059669; } /* ===== Suggest Keywords (세련된 버전) ===== */ #vpn-suggest-keywords { padding: 10px 12px 6px; display: none; background: var(--bg-elevated); border-top: 1px solid var(--border-light); flex-shrink: 0; position: relative; z-index: 1; } #vpn-suggest-keywords:not(:empty) { display: block; } .suggest-label { font-size: 9px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; display: flex; align-items: center; gap: 4px; } .suggest-label::before { content: '✨'; font-size: 10px; } .suggest-list { display: flex; flex-wrap: wrap; gap: 6px; } .suggest-chip { padding: 6px 12px; background: white; border: 1px solid var(--border); border-radius: 20px; font-size: 11px; font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); font-family: inherit; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); } .suggest-chip:hover { background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; border-color: transparent; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); } .suggest-chip:active { transform: translateY(0) scale(0.95); } /* ===== Input Bar ===== */ #vpn-input-bar { display: none; /* 기본적으로 숨김 */ padding: 10px 12px; border-top: 1px solid var(--border-light); background: var(--bg-elevated); gap: 8px; flex-shrink: 0; position: relative; } #vpn-input { flex: 1; padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-input); color: var(--text); font-size: 12.5px; font-family: inherit; outline: none; transition: var(--transition); } #vpn-input::placeholder { color: var(--text-muted); } #vpn-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: var(--bg-elevated); } #vpn-send-btn { padding: 12px 18px; border-radius: var(--radius); border: none; background: linear-gradient(145deg, var(--accent), #8b5cf6); color: var(--text-inverse); font-weight: 700; font-family: inherit; font-size: 13px; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-xs); } #vpn-send-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm), 0 4px 12px var(--accent-glow); } /* ===== Wizard Panel ===== */ #vpn-wizard { display: none; border-top: 3px solid var(--accent); background: linear-gradient(180deg, #fafaff 0%, #ffffff 100%); padding: 18px 16px; flex: 1 1 auto; max-height: none; min-height: 300px; overflow-y: auto; box-shadow: 0 -12px 32px rgba(99, 102, 241, 0.12), inset 0 1px 0 rgba(255,255,255,0.8); position: relative; } #vpn-wizard::before { content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); } #vpn-wizard::-webkit-scrollbar { width: 5px; } #vpn-wizard::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius-full); } #vpn-wizard.scrolled { box-shadow: inset 0 8px 16px -8px rgba(0, 0, 0, 0.05), 0 -8px 24px rgba(99, 102, 241, 0.06); } .vpn-wiz-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; } .vpn-wiz-title { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; } .vpn-wiz-step { font-size: 11px; color: var(--text-muted); margin-top: 4px; } .vpn-wiz-close { padding: 7px 12px; border-radius: var(--radius-xs); border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-secondary); font-size: 11px; font-weight: 600; font-family: inherit; cursor: pointer; transition: var(--transition); } .vpn-wiz-close:hover { background: var(--bg-hover); color: var(--text); } /* Progress Bar */ .vpn-progress-bar { height: 5px; background: var(--bg-input); border-radius: var(--radius-full); margin-bottom: 16px; overflow: hidden; } .vpn-progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #8b5cf6, var(--accent-light)); background-size: 200% 100%; border-radius: var(--radius-full); transition: width 0.4s var(--ease); animation: progressGlow 2s linear infinite; } @keyframes progressGlow { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } } /* Wizard Card */ .vpn-wiz-card { background: var(--bg-elevated); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-xs); } .vpn-wiz-label { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; } .vpn-wiz-hint { font-size: 10px; color: var(--text-muted); font-weight: 500; margin-left: auto; } /* Form Elements */ .vpn-wiz-input, .vpn-wiz-textarea { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-input); color: var(--text); font-size: 13px; font-family: inherit; outline: none; transition: var(--transition); box-sizing: border-box; } .vpn-wiz-input:focus, .vpn-wiz-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: var(--bg-elevated); } .vpn-wiz-textarea { min-height: 80px; resize: vertical; line-height: 1.5; } /* Option Buttons */ .vpn-opt-group { display: flex; gap: 8px; flex-wrap: wrap; } .vpn-opt-btn { flex: 1; min-width: 80px; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-secondary); font-size: 12px; font-weight: 600; font-family: inherit; cursor: pointer; transition: var(--transition); } .vpn-opt-btn:hover { background: var(--bg); border-color: var(--accent-light); } .vpn-opt-btn.selected { background: linear-gradient(145deg, var(--accent), #8b5cf6); border-color: transparent; color: var(--text-inverse); box-shadow: var(--shadow-sm), 0 2px 8px var(--accent-glow); } /* DateTime Cards */ .vpn-dt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; } .vpn-dt-card { padding: 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-input); cursor: pointer; transition: var(--transition); } .vpn-dt-card:hover { border-color: var(--accent-light); background: var(--bg-elevated); box-shadow: var(--shadow-xs); } .vpn-dt-card.has-value { border-color: var(--success); background: var(--success-bg); } .vpn-dt-card-label { font-size: 10px; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; } .vpn-dt-card-value { font-size: 13px; font-weight: 600; color: var(--text-secondary); } .vpn-dt-card.has-value .vpn-dt-card-value { color: var(--success); } /* Wizard Actions */ .vpn-wiz-actions { display: flex; gap: 10px; margin-top: 16px; } .vpn-wiz-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); font-size: 13px; font-weight: 700; font-family: inherit; cursor: pointer; transition: var(--transition); text-decoration: none; } .vpn-wiz-btn:hover:not(:disabled) { background: var(--bg); transform: translateY(-1px); box-shadow: var(--shadow-xs); } .vpn-wiz-btn:disabled { opacity: 0.4; cursor: not-allowed; } .vpn-wiz-btn.primary { background: linear-gradient(145deg, var(--accent), #8b5cf6); border-color: transparent; color: var(--text-inverse); box-shadow: var(--shadow-xs), 0 2px 8px var(--accent-glow); } .vpn-wiz-btn.primary:hover:not(:disabled) { background: linear-gradient(145deg, var(--accent-hover), #4338ca); box-shadow: var(--shadow-sm), 0 4px 12px var(--accent-glow); transform: translateY(-1px); } .vpn-wiz-btn.secondary { background: var(--danger-bg); border-color: #fca5a5; color: var(--danger); } .vpn-wiz-btn.secondary:hover:not(:disabled) { background: #fee2e2; } /* ===== Upload Zone ===== */ .vpn-upload-zone { border: 1.5px dashed var(--border); border-radius: var(--radius-sm); padding: 12px 14px; text-align: left; cursor: pointer; transition: var(--transition); margin-top: 10px; background: var(--bg-input); display: flex; align-items: center; gap: 12px; } .vpn-upload-zone:hover { border-color: var(--accent); background: var(--accent-subtle); } .vpn-upload-zone.drag { border-color: var(--accent); background: var(--accent-subtle); border-style: solid; } .vpn-upload-icon { font-size: 22px; flex-shrink: 0; } .vpn-upload-text { font-size: 11px; color: var(--text-secondary); line-height: 1.4; } .vpn-upload-text strong { color: var(--accent); } .vpn-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .vpn-thumb { width: 56px; height: 56px; border-radius: var(--radius-xs); overflow: hidden; position: relative; border: 2px solid var(--border); background: var(--bg-elevated); } .vpn-thumb img { width: 100%; height: 100%; object-fit: cover; } .vpn-thumb-x { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: var(--radius-full); background: var(--danger); color: var(--text-inverse); font-size: 10px; display: grid; place-items: center; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-xs); } .vpn-thumb-x:hover { transform: scale(1.1); } .vpn-file-list { margin-top: 10px; padding: 12px; background: var(--success-bg); border-radius: var(--radius-xs); border: 1px solid rgba(16, 185, 129, 0.2); } .vpn-file-list-title { font-size: 10px; font-weight: 700; color: var(--success); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.3px; } .vpn-file-item { font-size: 11px; color: var(--text-secondary); padding: 3px 0; } /* ===== Calendar Modal ===== */ #vpn-cal-modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 20000; /* 사이드 패널보다 위 */ display: none; align-items: center; justify-content: center; padding: 20px; } #vpn-cal-modal.active { display: flex; } /* 달력 전용 토스트 */ .cal-toast { display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; border-radius: var(--radius); margin-bottom: 12px; font-size: 14px; font-weight: 600; box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); animation: calToastIn 0.3s ease; } .cal-toast-icon { font-size: 16px; } .cal-toast.hide { animation: calToastOut 0.3s ease forwards; } @keyframes calToastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } @keyframes calToastOut { to { opacity: 0; transform: translateY(-10px); } } .vpn-cal-container { width: 300px; max-width: calc(100vw - 40px); max-height: calc(100vh - 40px); background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.5) inset; overflow: hidden; overflow-y: auto; animation: modalSlideIn 0.3s var(--ease-bounce); } @keyframes modalSlideIn { from { opacity: 0; transform: scale(0.94) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } } .vpn-cal-header { padding: 10px 12px; background: linear-gradient(180deg, var(--glass) 0%, rgba(255, 255, 255, 0.95) 100%); border-bottom: 1px solid var(--border-light); } .vpn-cal-title { font-size: 15px; font-weight: 700; color: var(--text); padding: 12px 16px; background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1)); border-radius: var(--radius-sm); margin-bottom: 0; letter-spacing: -0.3px; text-align: center; } .vpn-cal-tabs { display: flex; gap: 6px; } .vpn-cal-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 10px 8px; border-radius: var(--radius-sm); border: 2px solid var(--border); background: var(--bg-elevated); color: var(--text-secondary); font-size: 12px; font-weight: 600; font-family: inherit; cursor: pointer; transition: var(--transition); } .vpn-cal-tab .tab-step { font-size: 14px; font-weight: 700; } .vpn-cal-tab:hover { background: var(--bg); border-color: var(--accent-light); } .vpn-cal-tab.active { background: linear-gradient(145deg, var(--accent), #8b5cf6); border-color: transparent; color: var(--text-inverse); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); } .vpn-cal-tab.active .tab-step { color: #fde68a; } .vpn-cal-tab.completed { background: linear-gradient(145deg, #10b981, #059669); border-color: transparent; color: white; } .vpn-cal-tab.completed .tab-step { color: #a7f3d0; } .vpn-cal-body { padding: 10px 12px; background: var(--bg-elevated); } .vpn-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .vpn-cal-month { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; } .vpn-cal-nav-btn { width: 28px; height: 28px; border-radius: var(--radius-xs); border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-muted); cursor: pointer; transition: var(--transition); font-size: 14px; display: grid; place-items: center; } .vpn-cal-nav-btn:hover { background: var(--bg); color: var(--text); } .vpn-cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; margin-bottom: 4px; } .vpn-cal-weekday { text-align: center; font-size: 9px; font-weight: 700; color: var(--text-muted); padding: 4px 0; text-transform: uppercase; } .vpn-cal-weekday:first-child { color: #ef4444; } .vpn-cal-weekday:last-child { color: #3b82f6; } .vpn-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; } .vpn-cal-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--radius-xs); font-size: 12px; font-weight: 600; color: #334155; cursor: pointer; transition: var(--transition); border: none; background: transparent; max-height: 32px; } .vpn-cal-day:hover:not(.disabled):not(.selected) { background: var(--bg); } .vpn-cal-day.today { color: var(--accent); font-weight: 700; background: var(--accent-subtle); } .vpn-cal-day.selected { background: linear-gradient(145deg, var(--accent), #8b5cf6); color: var(--text-inverse); font-weight: 700; box-shadow: var(--shadow-xs); } .vpn-cal-day.disabled { opacity: 0.25; cursor: not-allowed; } .vpn-cal-day.other-month { opacity: 0.25; } .vpn-cal-day.sunday { color: #ef4444; } .vpn-cal-day.saturday { color: #3b82f6; } .vpn-cal-day.selected.sunday, .vpn-cal-day.selected.saturday { color: var(--text-inverse); } /* Time Section */ .vpn-time-section { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light); display: none; } .vpn-time-section.visible { display: block; animation: slideDown 0.3s var(--ease); } @keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } } .vpn-time-label { font-size: 11px; font-weight: 700; color: var(--text); margin-bottom: 10px; text-align: center; } .vpn-time-grid { display: flex; justify-content: center; padding: 4px 0; } /* iOS Style Wheel Picker */ .vpn-time-picker { display: flex; gap: 4px; justify-content: center; align-items: center; padding: 8px 6px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border-light); } .vpn-wheel-container { position: relative; height: 90px; overflow: hidden; background: var(--bg-elevated); border-radius: var(--radius-sm); box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--border-light); } .vpn-wheel-container::before, .vpn-wheel-container::after { content: ''; position: absolute; left: 0; right: 0; height: 27px; pointer-events: none; z-index: 2; } .vpn-wheel-container::before { top: 0; background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, transparent 100%); } .vpn-wheel-container::after { bottom: 0; background: linear-gradient(to top, rgba(255,255,255,0.9) 0%, transparent 100%); } .vpn-wheel-highlight { position: absolute; top: 50%; left: 4px; right: 4px; height: 30px; transform: translateY(-50%); background: rgba(255, 107, 0, 0.08); border-radius: 6px; border: 2px solid var(--accent); pointer-events: none; z-index: 0; } .vpn-wheel { position: relative; height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; padding: 30px 0; } .vpn-wheel::-webkit-scrollbar { display: none; } .vpn-wheel-item { height: 30px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; color: #64748b; scroll-snap-align: center; cursor: pointer; transition: all 0.15s; } .vpn-wheel-item.selected { color: #4f46e5 !important; font-size: 17px; font-weight: 700; } .vpn-wheel-item.placeholder { visibility: hidden; } .vpn-wheel-label { font-size: 14px; font-weight: 700; color: #1e293b !important; padding: 0 8px; position: relative; z-index: 10; background: transparent; } .vpn-ampm-wheel { width: 70px; } .vpn-hour-wheel { width: 58px; } .vpn-minute-wheel { width: 58px; } .vpn-cal-footer { padding: 10px 12px; border-top: 1px solid var(--border-light); display: flex; gap: 8px; background: var(--bg); } .vpn-cal-btn { flex: 1; padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); font-size: 12px; font-weight: 700; font-family: inherit; cursor: pointer; transition: var(--transition); } .vpn-cal-btn:hover { background: var(--bg-hover); } .vpn-cal-btn.primary { background: linear-gradient(145deg, var(--accent), #8b5cf6); border-color: transparent; color: var(--text-inverse); box-shadow: var(--shadow-xs); } .vpn-cal-btn.primary:hover:not(:disabled) { background: linear-gradient(145deg, var(--accent-hover), #4338ca); box-shadow: var(--shadow-sm), 0 4px 12px var(--accent-glow); } .vpn-cal-btn.primary:disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; box-shadow: none; } /* ===== Environment Change Options ===== */ .env-option-item { position: relative; } .env-option-item:hover { background: #f1f5f9 !important; } .env-option-item:active { background: #ede9fe !important; } #env-dropdown-btn:hover { border-color: #6366f1; box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15); } #env-dropdown-list { max-height: 280px; overflow-y: auto; } /* ===== Typing Indicator ===== */ .typing-row { animation: none; } .typing-bubble { padding: 16px 20px !important; } .typing-dots { display: flex; gap: 4px; align-items: center; } .typing-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: typingBounce 1.4s ease-in-out infinite; } .typing-dots span:nth-child(1) { animation-delay: 0s; } .typing-dots span:nth-child(2) { animation-delay: 0.2s; } .typing-dots span:nth-child(3) { animation-delay: 0.4s; } @keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-6px); opacity: 1; } } /* ===== Inline Forms Premium ===== */ .inline-form-bubble { min-width: 300px; max-width: 360px; } .vpn-inline-form { display: flex; flex-direction: column; gap: 16px; animation: formFadeIn 0.4s ease-out; padding: 0; } @keyframes formFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .inline-form-title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: #1e293b; padding: 14px 16px; margin: -16px -16px 0 -16px; background: linear-gradient(135deg, #f0f4ff, #e8eeff); border-radius: 16px 16px 0 0; border-bottom: 1px solid #e2e8f0; } .inline-form-title::before { content: ''; display: none; } .vpn-inline-textarea, .vpn-inline-input { width: 100%; padding: 16px 18px; border: 1px solid #e2e8f0; border-radius: 16px; background: #ffffff; color: #1e293b; font-size: 15px; font-family: inherit; resize: none; outline: none; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); box-sizing: border-box; line-height: 1.6; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), inset 0 1px 2px rgba(0, 0, 0, 0.02); } .vpn-inline-textarea { min-height: 110px; } .vpn-inline-textarea::placeholder, .vpn-inline-input::placeholder { color: #94a3b8; font-weight: 400; } .vpn-inline-textarea:hover, .vpn-inline-input:hover { border-color: #cbd5e1; background: #fefefe; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(0, 0, 0, 0.02); } .vpn-inline-textarea:focus, .vpn-inline-input:focus { border-color: var(--accent); background: #ffffff; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 4px 16px rgba(99, 102, 241, 0.12); transform: translateY(-1px); } .vpn-inline-submit { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 14px; border: none; background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35); margin-top: 4px; position: relative; overflow: hidden; } .vpn-inline-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(99, 102, 241, 0.45); } .vpn-inline-submit:disabled { opacity: 1; cursor: not-allowed; background: #e2e8f0; box-shadow: none; color: #94a3b8; } .vpn-inline-submit:not(:disabled) .submit-arrow { opacity: 1; transform: translateX(0); } .vpn-inline-submit:hover:not(:disabled) .submit-arrow { transform: translateX(4px); } .vpn-inline-submit:not(:disabled)::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); animation: submitShine 2s infinite; } /* Premium Input Card Container */ .input-card-container { display: flex; flex-direction: column; gap: 12px; } .input-field-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 14px 16px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); animation: cardSlideUp 0.4s ease-out backwards; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03); position: relative; overflow: hidden; } .input-field-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), #8b5cf6, #a5b4fc); opacity: 0; transition: opacity 0.3s ease; } .input-field-card:nth-child(1) { animation-delay: 0s; } .input-field-card:nth-child(2) { animation-delay: 0.12s; } @keyframes cardSlideUp { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } } .input-field-card:hover { border-color: #c7d2fe; box-shadow: 0 4px 12px rgba(255, 107, 0, 0.08); } .input-field-card:focus-within { border-color: var(--accent); box-shadow: 0 6px 24px rgba(99, 102, 241, 0.12); transform: translateY(-1px); } .input-field-card:focus-within::before { opacity: 1; } .input-field-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; font-weight: 700; color: #6366f1; text-transform: uppercase; letter-spacing: 0.5px; } .input-field-icon { font-size: 14px; } .input-field-wrap { position: relative; } .input-field-input { width: 100%; padding: 12px 14px; border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fafbfc; font-size: 15px; font-weight: 500; color: #1e293b; transition: all 0.2s ease; box-sizing: border-box; } .input-field-input:hover { border-color: #c7d2fe; background: #ffffff; } .input-field-input:focus { outline: none; border-color: var(--accent); background: #ffffff; box-shadow: inset 0 0 0 1px var(--accent); } .input-field-input::placeholder { color: #9ca3af; font-weight: 400; } /* Multi Input Fields (심플 버전) */ .multi-input-field { display: flex; flex-direction: column; gap: 8px; animation: fieldFadeIn 0.3s ease-out backwards; } .multi-input-field:nth-child(1) { animation-delay: 0s; } .multi-input-field:nth-child(2) { animation-delay: 0.08s; } @keyframes fieldFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } .multi-input-field label { font-size: 13px; font-weight: 600; color: #374151; display: flex; align-items: center; gap: 6px; } .multi-input-field label::before { content: '•'; color: var(--accent); font-weight: bold; } .multi-input-field input { padding: 12px 14px; border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fafbfc; font-size: 14px; font-weight: 500; color: #1e293b; transition: all 0.2s ease; } .multi-input-field input:hover { border-color: #d1d5db; background: #ffffff; } .multi-input-field input:focus { outline: none; border-color: var(--accent); background: #ffffff; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); } .multi-input-field input::placeholder { color: #9ca3af; font-weight: 400; } /* Inline Options */ .vpn-inline-options { display: flex; flex-wrap: wrap; gap: 8px; } .vpn-inline-opt-btn { flex: 1; min-width: 80px; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-elevated); color: var(--text); font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; transition: var(--transition); } .vpn-inline-opt-btn:hover:not(:disabled) { border-color: var(--accent-light); background: var(--accent-subtle); } .vpn-inline-opt-btn.selected { background: linear-gradient(145deg, var(--accent), #8b5cf6); border-color: transparent; color: var(--text-inverse); } .vpn-inline-opt-btn:disabled { opacity: 0.5; cursor: not-allowed; } /* Inline Dropdown */ .vpn-inline-dropdown { position: relative; } .dropdown-trigger { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-elevated); cursor: pointer; transition: var(--transition); } .dropdown-trigger:hover { border-color: var(--accent-light); } .vpn-inline-dropdown.open .dropdown-trigger { border-color: var(--accent); border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .dropdown-arrow { font-size: 10px; color: var(--text-muted); transition: transform 0.2s; } .vpn-inline-dropdown.open .dropdown-arrow { transform: rotate(180deg); } .dropdown-list { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-elevated); border: 2px solid var(--accent); border-top: none; border-radius: 0 0 var(--radius-sm) var(--radius-sm); max-height: 200px; overflow-y: auto; z-index: 100; box-shadow: var(--shadow-md); } .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; transition: var(--transition); font-size: 14px; color: var(--text); } .dropdown-item:hover { background: var(--accent-subtle); } .dropdown-item .item-icon { font-size: 16px; } /* Inline Upload */ .vpn-inline-upload { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px dashed var(--border); border-radius: var(--radius-sm); background: var(--bg-input); cursor: pointer; transition: var(--transition); } .vpn-inline-upload:hover { border-color: var(--accent); background: var(--accent-subtle); } .upload-icon { font-size: 20px; } .upload-text { font-size: 13px; color: var(--text-secondary); } /* Inline DateTime */ .vpn-inline-datetime { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-input); cursor: pointer; transition: var(--transition); } .vpn-inline-datetime:hover { border-color: var(--accent); background: var(--bg-elevated); } .dt-icon { font-size: 20px; } .dt-text { font-size: 14px; color: var(--text); } /* ===== Download Card ===== */ .download-bubble { min-width: 240px; } .vpn-download-card { display: flex; flex-direction: column; gap: 10px; } .download-info { font-size: 12px; color: var(--text-secondary); padding: 10px; background: var(--bg); border-radius: var(--radius-xs); line-height: 1.5; } .vpn-download-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; border-radius: var(--radius-sm); background: linear-gradient(145deg, var(--accent), #8b5cf6); color: var(--text-inverse); font-size: 14px; font-weight: 700; text-decoration: none; transition: var(--transition); box-shadow: var(--shadow-sm), 0 4px 12px var(--accent-glow); } .vpn-download-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow), 0 8px 24px var(--accent-glow); } .download-icon { font-size: 18px; } /* ===== Link Card ===== */ .vpn-link-card { display: flex; flex-direction: column; gap: 10px; } .vpn-link-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; border-radius: var(--radius-sm); background: linear-gradient(145deg, #10b981, #059669); color: var(--text-inverse); font-size: 14px; font-weight: 700; text-decoration: none; transition: var(--transition); box-shadow: var(--shadow-sm), 0 4px 12px rgba(16, 185, 129, 0.3); } .vpn-link-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow), 0 8px 24px rgba(16, 185, 129, 0.4); } .vpn-link-tip { font-size: 11px; color: var(--text-muted); text-align: center; } /* ===== Privacy Card ===== */ .privacy-bubble { min-width: 280px; } .privacy-card { background: var(--bg); border-radius: var(--radius-sm); overflow: hidden; } .privacy-title { padding: 12px 14px; background: linear-gradient(145deg, var(--accent), #8b5cf6); color: var(--text-inverse); font-size: 14px; font-weight: 700; } .privacy-content { padding: 14px; font-size: 12px; color: var(--text-secondary); line-height: 1.7; } /* ===== Warning Card ===== */ .warning-bubble { min-width: 260px; } .warning-card { background: linear-gradient(145deg, #fef2f2, #fee2e2); border: 2px solid #f87171; border-radius: var(--radius-sm); padding: 14px; } .warning-title { font-size: 14px; font-weight: 700; color: #dc2626; margin-bottom: 8px; } .warning-text { font-size: 13px; color: #b91c1c; line-height: 1.6; } /* ===== DateTime Unified Card (통합 일정 선택) ===== */ .datetime-unified-bubble { min-width: 280px; max-width: 320px; } .dt-unified-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); } .dt-unified-header { display: flex; align-items: center; gap: 8px; padding: 14px 16px; background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%); color: white; } .dt-unified-icon { font-size: 18px; } .dt-unified-title { font-size: 15px; font-weight: 700; } .dt-unified-body { padding: 16px; } .dt-timeline { display: flex; flex-direction: column; gap: 0; } .dt-step { display: flex; gap: 12px; cursor: pointer; padding: 12px; border-radius: 12px; transition: all 0.2s ease; } .dt-step:hover { background: #f8fafc; } .dt-step.active { background: linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(139, 92, 246, 0.08)); } .dt-step.completed { opacity: 0.9; } .dt-step-indicator { display: flex; flex-direction: column; align-items: center; } .dt-step-dot { width: 28px; height: 28px; border-radius: 50%; background: #e2e8f0; color: #64748b; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; transition: all 0.3s ease; } .dt-step.active .dt-step-dot { background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4); animation: pulse 1.5s infinite; } .dt-step.completed .dt-step-dot { background: linear-gradient(135deg, #10b981, #059669); color: white; box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3); } .dt-step-line { width: 2px; height: 20px; background: #e2e8f0; margin-top: 4px; } .dt-step.completed .dt-step-line { background: linear-gradient(180deg, #10b981, #e2e8f0); } .dt-step:last-child .dt-step-line { display: none; } .dt-step-content { flex: 1; padding-top: 2px; } .dt-step-label { font-size: 11px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; } .dt-step.active .dt-step-label { color: var(--accent); } .dt-step.completed .dt-step-label { color: #10b981; } .dt-step-value { font-size: 14px; font-weight: 600; color: #1e293b; } .dt-step.active .dt-step-value { color: var(--accent); } .dt-step.completed .dt-step-value { color: #10b981; } .dt-unified-submit { width: 100%; padding: 14px 20px; border: none; background: linear-gradient(145deg, var(--accent), #8b5cf6); color: white; font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer; transition: all 0.3s ease; } .dt-unified-submit:hover:not(:disabled) { background: linear-gradient(145deg, #4f46e5, var(--accent)); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); } .dt-unified-submit:disabled { background: #e2e8f0; color: #94a3b8; cursor: not-allowed; } /* 기존 datetime-form 유지 (하위 호환) */ .datetime-form-bubble { min-width: 280px; } .datetime-form { display: flex; flex-direction: column; gap: 10px; } .dt-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 2px solid var(--border); border-radius: var(--radius-sm); background: #f8fafc; cursor: pointer; transition: var(--transition); } .dt-card:hover { border-color: var(--accent); background: #f1f5f9; box-shadow: 0 2px 8px rgba(255, 107, 0, 0.15); } .dt-card.has-value { border-color: var(--success); background: var(--success-bg); } .dt-label { font-size: 11px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.3px; } .dt-value { font-size: 14px; font-weight: 600; color: #1e293b; } .dt-card.has-value .dt-value { color: var(--success); font-size: 13px; } .dt-submit { padding: 14px 20px; border-radius: var(--radius-sm); border: none; background: linear-gradient(145deg, var(--accent), #8b5cf6); color: white; font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer; transition: var(--transition); margin-top: 4px; } .dt-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-sm), 0 4px 12px var(--accent-glow); } .dt-submit:disabled { opacity: 1; cursor: not-allowed; background: #cbd5e1; color: #64748b; } /* ===== Environment Form Premium ===== */ .env-form-bubble { min-width: 280px; max-width: 300px; } .env-form-premium { display: flex; flex-direction: column; gap: 18px; } .env-section { animation: envSectionIn 0.4s ease-out backwards; } .env-section:nth-child(1) { animation-delay: 0s; } .env-section:nth-child(2) { animation-delay: 0.1s; } .env-section:nth-child(3) { animation-delay: 0.2s; } @keyframes envSectionIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .env-section-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } .env-section-icon { font-size: 16px; } .env-section-title { font-size: 13px; font-weight: 700; color: var(--text); } /* Chip Buttons */ .env-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .env-chips[data-field="history"] { grid-template-columns: repeat(2, 1fr); } .env-chip { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; border: 2px solid var(--border); border-radius: 12px; background: white; color: var(--text-secondary); font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; white-space: nowrap; } .env-chip.wide { justify-content: center; } .chip-icon { font-size: 14px; transition: transform 0.3s; } .chip-text { transition: all 0.3s; } .chip-check { width: 16px; height: 16px; background: var(--accent); border-radius: 50%; color: white; font-size: 9px; display: flex; align-items: center; justify-content: center; transform: scale(0); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); flex-shrink: 0; } .env-chip:hover { border-color: var(--accent-light); background: linear-gradient(135deg, #f8fafc, #eef2ff); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); } .env-chip:hover .chip-icon { transform: scale(1.1); } .env-chip.selected { border-color: var(--accent); background: linear-gradient(135deg, #eef2ff, #e0e7ff); color: var(--accent); box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25); } .env-chip.selected .chip-check { transform: scale(1); } .env-chip.selected .chip-icon { transform: scale(1.15); } /* Select Premium */ .env-select-wrap { position: relative; } .env-select-premium { width: 100%; padding: 12px 40px 12px 14px; border: 2px solid var(--border); border-radius: 12px; background: white; color: var(--text-secondary); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.3s; appearance: none; } .env-select-premium:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12); } .env-select-wrap.has-value .env-select-premium { border-color: var(--accent); color: var(--accent); font-weight: 600; background: linear-gradient(135deg, #fafafe, #eef2ff); } .env-select-arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 10px; pointer-events: none; transition: transform 0.3s; } .env-select-premium:focus + .env-select-arrow { transform: translateY(-50%) rotate(180deg); } /* 기타 입력 박스 */ .env-other-wrap { margin-top: 10px; animation: fadeInUp 0.3s ease-out; } .env-other-input { width: 100%; padding: 12px 14px; border: 2px solid var(--border); border-radius: 12px; background: white; font-size: 13px; font-family: inherit; resize: none; min-height: 60px; transition: all 0.25s; box-sizing: border-box; } .env-other-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12); } .env-other-input::placeholder { color: var(--text-muted); } /* Submit Premium */ .env-submit-premium { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border: none; border-radius: 14px; background: #cbd5e1; color: white; font-size: 14px; font-weight: 700; cursor: not-allowed; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); margin-top: 6px; position: relative; overflow: hidden; } .env-submit-premium .submit-arrow { opacity: 0; transform: translateX(-10px); transition: all 0.3s; } .env-submit-premium.ready { background: linear-gradient(135deg, var(--accent), #8b5cf6); cursor: pointer; box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); animation: submitReady 0.5s ease-out; } @keyframes submitReady { 0% { transform: scale(1); } 50% { transform: scale(1.02); } 100% { transform: scale(1); } } .env-submit-premium.ready .submit-arrow { opacity: 1; transform: translateX(0); } .env-submit-premium.ready:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5); } .env-submit-premium.ready:hover .submit-arrow { transform: translateX(4px); } .env-submit-premium.ready::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); animation: submitShine 2s infinite; } @keyframes submitShine { 0% { left: -100%; } 50%, 100% { left: 100%; } } /* ===== Tried Form Premium (시도해본 조치) ===== */ .tried-form-bubble { min-width: 290px; max-width: 320px; } .tried-form-premium { display: flex; flex-direction: column; gap: 14px; } .tried-header { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid #eef2ff; } .tried-icon { font-size: 24px; animation: triedIconPulse 2s infinite; } @keyframes triedIconPulse { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } } .tried-title-wrap { display: flex; flex-direction: column; gap: 2px; } .tried-title { font-size: 15px; font-weight: 700; color: var(--text); } .tried-subtitle { font-size: 11px; color: var(--text-muted); } /* Grid Layout */ .tried-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .tried-item { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 2px solid var(--border); border-radius: 12px; background: white; cursor: pointer; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); animation: triedItemIn 0.3s ease-out backwards; } .tried-item:nth-child(1) { animation-delay: 0s; } .tried-item:nth-child(2) { animation-delay: 0.03s; } .tried-item:nth-child(3) { animation-delay: 0.06s; } .tried-item:nth-child(4) { animation-delay: 0.09s; } .tried-item:nth-child(5) { animation-delay: 0.12s; } .tried-item:nth-child(6) { animation-delay: 0.15s; } .tried-item:nth-child(7) { animation-delay: 0.18s; } .tried-item:nth-child(8) { animation-delay: 0.21s; } .tried-item:nth-child(9) { animation-delay: 0.24s; } .tried-item:nth-child(10) { animation-delay: 0.27s; } .tried-item:nth-child(11) { animation-delay: 0.30s; } @keyframes triedItemIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } } .tried-item input { display: none; } .tried-checkbox { width: 18px; height: 18px; border: 2px solid #d1d5db; border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: all 0.25s; flex-shrink: 0; } .tried-checkmark { color: white; font-size: 11px; font-weight: 700; opacity: 0; transform: scale(0); transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); } .tried-emoji { font-size: 14px; transition: transform 0.3s; } .tried-text { font-size: 12px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; transition: color 0.25s; } /* Hover */ .tried-item:hover { border-color: var(--accent-light); background: linear-gradient(135deg, #fafafe, #f0f4ff); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1); } .tried-item:hover .tried-emoji { transform: scale(1.15); } /* Checked */ .tried-item.checked { border-color: var(--accent); background: linear-gradient(135deg, #eef2ff, #e0e7ff); box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2); } .tried-item.checked .tried-checkbox { background: linear-gradient(135deg, var(--accent), #8b5cf6); border-color: var(--accent); } .tried-item.checked .tried-checkmark { opacity: 1; transform: scale(1); } .tried-item.checked .tried-text { color: var(--accent); } .tried-item.checked .tried-emoji { animation: triedEmojiPop 0.4s ease-out; } @keyframes triedEmojiPop { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1.1); } } /* Other input */ .tried-other-wrap { animation: fadeInUp 0.3s ease-out; } .tried-other-input { width: 100%; padding: 12px 14px; border: 2px solid var(--border); border-radius: 12px; background: white; color: var(--text); font-size: 13px; font-family: inherit; resize: none; min-height: 60px; transition: all 0.25s; box-sizing: border-box; } .tried-other-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12); } .tried-other-input::placeholder { color: var(--text-muted); } /* Submit */ .tried-submit-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border: none; border-radius: 14px; background: #cbd5e1; color: white; font-size: 14px; font-weight: 700; cursor: not-allowed; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); margin-top: 4px; position: relative; overflow: hidden; } .tried-submit-btn .submit-arrow { opacity: 0; transform: translateX(-10px); transition: all 0.3s; } .tried-submit-btn.ready { background: linear-gradient(135deg, var(--accent), #8b5cf6); cursor: pointer; box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); animation: submitReady 0.5s ease-out; } .tried-submit-btn.ready .submit-arrow { opacity: 1; transform: translateX(0); } .tried-submit-btn.ready:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5); } .tried-submit-btn.ready:hover .submit-arrow { transform: translateX(4px); } .tried-submit-btn.ready::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); animation: submitShine 2s infinite; } /* ===== Confirm Step Card ===== */ .confirm-bubble { min-width: 300px; max-width: 340px; } .confirm-card { animation: fadeInUp 0.4s ease-out; } .confirm-header { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid #eef2ff; margin-bottom: 12px; } .confirm-icon { font-size: 20px; } .confirm-title { font-size: 15px; font-weight: 700; color: var(--text); } .confirm-items { display: flex; flex-direction: column; gap: 8px; } .confirm-item { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: linear-gradient(135deg, #f8fafc, #f1f5f9); border-radius: 10px; border: 1px solid var(--border); } .confirm-label { font-size: 11px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; } .confirm-value { flex: 1; font-size: 12px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .confirm-edit { padding: 4px 10px; border: 1px solid var(--accent-light); border-radius: 6px; background: white; color: var(--accent); font-size: 10px; font-weight: 600; cursor: pointer; transition: all 0.2s; } .confirm-edit:hover { background: var(--accent); color: white; } .confirm-actions { display: flex; gap: 8px; margin-top: 14px; } .confirm-btn { flex: 1; padding: 12px; border: none; border-radius: 10px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.25s; } .confirm-btn.preview { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: var(--text); border: 1px solid var(--border); } .confirm-btn.preview:hover { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); } .confirm-btn.submit { background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); } .confirm-btn.submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4); } /* ===== Email Preview Modal ===== */ .email-preview-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .email-preview-modal.active { opacity: 1; visibility: visible; } .email-preview-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(8px); } .email-preview-content { position: relative; width: 90%; max-width: 500px; max-height: 80vh; background: white; border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); overflow: hidden; transform: scale(0.9) translateY(20px); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); } .email-preview-modal.active .email-preview-content { transform: scale(1) translateY(0); } .email-preview-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; } .email-preview-title { font-size: 16px; font-weight: 700; } .email-preview-close { width: 28px; height: 28px; border: none; border-radius: 8px; background: rgba(255,255,255,0.2); color: white; font-size: 14px; cursor: pointer; transition: all 0.2s; } .email-preview-close:hover { background: rgba(255,255,255,0.3); } .email-preview-body { padding: 16px 20px; max-height: calc(80vh - 140px); overflow-y: auto; } .email-preview-to, .email-preview-subject { padding: 8px 12px; background: #f8fafc; border-radius: 8px; font-size: 13px; margin-bottom: 8px; } .email-preview-text { padding: 16px; background: #f8fafc; border-radius: 10px; border: 1px solid #e2e8f0; font-size: 12px; font-family: 'Pretendard', monospace; line-height: 1.6; white-space: pre-wrap; word-break: break-word; max-height: 300px; overflow-y: auto; } .email-preview-footer { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 20px; border-top: 1px solid #e2e8f0; background: #fafafa; } .email-preview-btn { flex: 1; padding: 12px; border: none; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.25s; } .email-preview-btn.copy { background: #f1f5f9; color: var(--text); border: 1px solid #e2e8f0; } .email-preview-btn.copy:hover { background: #e2e8f0; } .email-preview-btn.send { background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); } .email-preview-btn.send:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4); } .email-preview-webmail { width: 100%; margin-top: 8px; padding-top: 10px; border-top: 1px solid #e2e8f0; font-size: 11px; color: var(--text-muted); display: flex; flex-direction: column; gap: 6px; } .email-preview-webmail-label { font-weight: 600; color: var(--text-secondary); } .email-preview-webmail-btns { display: flex; flex-direction: column; gap: 6px; width: 100%; } .email-preview-webmail-btn { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-secondary); font-size: 12px; font-weight: 600; cursor: pointer; transition: var(--transition); text-align: left; display: flex; align-items: center; gap: 10px; box-sizing: border-box; } .email-preview-webmail-btn .webmail-icon { font-size: 16px; line-height: 1; } .email-preview-webmail-btn:hover { background: var(--accent-subtle); border-color: var(--accent); color: var(--accent); } .email-preview-webmail-hint { font-size: 13px; font-weight: 500; color: #374151; padding: 10px 12px; background: #e0e7ff; border-radius: 8px; border-left: 4px solid var(--accent); } /* ===== Ticket Side Panel (실시간 접수내용) ===== */ .ticket-side-panel { position: fixed; top: 50%; right: calc(24px + 440px + 20px); /* FAB 위치 + 패널 너비(440px) + 간격 */ transform: translateY(-50%); width: 260px; background: white; border-radius: 16px; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(99, 102, 241, 0.1); z-index: 10000; /* 패널 위에 표시 */ overflow: hidden; animation: sidePanelIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); transform-origin: center right; } @keyframes sidePanelIn { from { opacity: 0; transform: translateY(-50%) translateX(20px); } to { opacity: 1; transform: translateY(-50%) translateX(0); } } .ticket-side-panel.hiding { animation: sidePanelOut 0.3s ease forwards; } @keyframes sidePanelOut { to { opacity: 0; transform: translateY(-50%) translateX(20px); } } .ticket-side-panel.collapsed .tsp-body { display: none; } .tsp-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; } .tsp-title { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; } .tsp-toggle { width: 20px; height: 20px; border: none; border-radius: 6px; background: rgba(255,255,255,0.2); color: white; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; } .tsp-toggle:hover { background: rgba(255,255,255,0.3); } /* 사이드 패널 진행률 맵 */ .tsp-journey { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%); position: relative; border-bottom: 1px solid rgba(255, 107, 0, 0.15); } body.vpn-dark-mode .tsp-journey { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%); } .tsp-step { display: flex; flex-direction: column; align-items: center; gap: 4px; z-index: 2; flex: 1; } .tsp-step-icon { width: 24px; height: 24px; border-radius: 50%; background: #cbd5e1; display: flex; align-items: center; justify-content: center; font-size: 10px; transition: all 0.3s ease; color: #64748b; } .tsp-step.completed .tsp-step-icon { background: linear-gradient(135deg, #10b981, #059669); color: white; font-size: 11px; font-weight: 700; } .tsp-step.current .tsp-step-icon { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: white; box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4); animation: tspPulse 2s ease-in-out infinite; } @keyframes tspPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } .tsp-step.pending .tsp-step-icon { background: #e2e8f0; color: #94a3b8; } body.vpn-dark-mode .tsp-step.pending .tsp-step-icon { background: rgba(255, 107, 0, 0.15); color: #64748b; } .tsp-step-label { font-size: 8px; font-weight: 600; color: #94a3b8; text-align: center; white-space: nowrap; } .tsp-step.current .tsp-step-label { color: #6366f1; font-weight: 700; } .tsp-step.completed .tsp-step-label { color: #10b981; } /* 진행선 */ .tsp-journey-line { position: absolute; top: 24px; left: 20px; right: 20px; height: 2px; background: #e2e8f0; z-index: 1; border-radius: 2px; } body.vpn-dark-mode .tsp-journey-line { background: rgba(99, 102, 241, 0.2); } .tsp-journey-fill { height: 100%; background: linear-gradient(90deg, #10b981, #6366f1); border-radius: 2px; transition: width 0.5s ease; width: 0%; } .tsp-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; max-height: 400px; overflow-y: auto; } .tsp-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: #f8fafc; border-radius: 10px; border: 1px solid transparent; transition: all 0.2s; cursor: default; } .tsp-item.filled { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border-color: #86efac; cursor: pointer; } .tsp-item.filled:hover { background: linear-gradient(135deg, #dcfce7, #d1fae5); transform: translateX(3px); } .tsp-icon { font-size: 18px; flex-shrink: 0; } .tsp-content { flex: 1; min-width: 0; } .tsp-label { font-size: 10px; font-weight: 600; color: var(--text-muted); margin-bottom: 2px; } .tsp-value { font-size: 12px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: normal; word-break: break-word; line-height: 1.4; } .tsp-item.filled .tsp-value { color: #059669; } /* Confirm Simple (수정 버튼 없는 버전) */ .confirm-bubble-simple { min-width: 260px; max-width: 300px; } .confirm-simple-card { animation: fadeInUp 0.4s ease-out; } .confirm-simple-tip { padding: 12px 14px; background: linear-gradient(135deg, #fef3c7, #fde68a); border-radius: 10px; font-size: 12px; font-weight: 600; color: #92400e; margin-bottom: 12px; text-align: left; line-height: 1.5; } .confirm-simple-tip b { color: #b45309; } .confirm-tip-email { display: inline-block; margin-top: 6px; padding: 6px 10px; background: rgba(255, 255, 255, 0.9); border-radius: 6px; font-weight: 700; color: #1e293b; border: 1px solid #f59e0b; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); } .confirm-simple-actions { display: flex; gap: 8px; } .confirm-simple-btn { flex: 1; padding: 12px; border: none; border-radius: 10px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.25s; } .confirm-simple-btn.preview { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: var(--text); border: 1px solid var(--border); } .confirm-simple-btn.preview:hover { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); } .confirm-simple-btn.submit { background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); } .confirm-simple-btn.submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4); } .confirm-webmail { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-light); font-size: 11px; color: var(--text-muted); display: flex; flex-direction: column; gap: 6px; } .confirm-webmail-label { font-weight: 600; color: var(--text-secondary); } .confirm-webmail-btns { display: flex; flex-direction: column; gap: 6px; width: 100%; } .confirm-webmail-btn { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-secondary); font-size: 12px; font-weight: 600; cursor: pointer; transition: var(--transition); text-align: left; display: flex; align-items: center; gap: 10px; box-sizing: border-box; } .confirm-webmail-btn .webmail-icon { width: 20px; height: 20px; min-width: 20px; flex-shrink: 0; background-repeat: no-repeat; background-position: center; background-size: contain; } .webmail-icon-gmail { background-image: url("/public/share/images/gmail.png"); } .webmail-icon-naver { background-image: url("/public/share/images/naver.png"); } .webmail-icon-outlook { background-image: url("/public/share/images/outlook.png"); } .email-preview-webmail-btn .webmail-icon { width: 20px; height: 20px; min-width: 20px; flex-shrink: 0; background-repeat: no-repeat; background-position: center; background-size: contain; } .confirm-webmail-btn:hover { background: var(--accent-subtle); border-color: var(--accent); color: var(--accent); } .confirm-webmail-hint { font-size: 13px; font-weight: 500; color: #374151; padding: 10px 12px; background: #e0e7ff; border-radius: 8px; border-left: 4px solid var(--accent); } /* 반응형 - 작은 화면에서 사이드 패널 위치 조정 */ @media (max-width: 700px) { .ticket-side-panel { position: fixed; top: auto; bottom: 96px; right: auto; left: 24px; transform: none; width: 220px; max-height: 350px; } @keyframes sidePanelIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .ticket-side-panel.hiding { animation: sidePanelOut 0.3s ease forwards; } @keyframes sidePanelOut { to { opacity: 0; transform: translateY(20px); } } } /* ===== Log Step Card (개선된 버전) ===== */ .log-step-bubble { min-width: 300px; max-width: 340px; } .log-step-card { display: flex; flex-direction: column; gap: 0; } .log-step-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, #f0f4ff, #e8eeff); border-radius: 16px 16px 0 0; border-bottom: 1px solid #e2e8f0; margin: -16px -16px 16px -16px; } .log-step-icon { font-size: 20px; } .log-step-title { font-size: 15px; font-weight: 700; color: #1e293b; } .log-step-content { display: flex; flex-direction: column; gap: 12px; } .log-step-desc { font-size: 13px; color: #64748b; line-height: 1.5; margin: 0; } .log-download-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 20px; background: linear-gradient(135deg, #10b981, #34d399); border-radius: 12px; color: white; text-decoration: none; font-size: 14px; font-weight: 700; transition: all 0.25s; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); } .log-download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4); } .log-dl-icon { font-size: 16px; } .log-step-result { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-radius: 10px; border: 1px solid #86efac; } .log-result-icon { font-size: 20px; } .log-result-text { font-size: 12px; color: #166534; line-height: 1.4; } /* Log Notice Styles */ .log-notice { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0; } .log-notice-item { display: flex; align-items: flex-start; gap: 10px; } .log-notice-item .notice-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; } .log-notice-item .notice-text { font-size: 13px; color: #475569; line-height: 1.5; } .log-notice-item.warning { padding: 10px 12px; background: linear-gradient(135deg, #fef3c7, #fde68a); border-radius: 8px; margin-top: 4px; } .log-notice-item.warning .notice-text { color: #92400e; } .log-complete-notice { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, #ecfdf5, #d1fae5); border-radius: 10px; border: 1px solid #86efac; } .log-complete-notice .complete-icon { font-size: 18px; } .log-complete-notice .complete-text { font-size: 13px; font-weight: 600; color: #166534; } .log-submit-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; margin-top: 12px; border: none; border-radius: 12px; background: #e2e8f0; color: #94a3b8; font-size: 14px; font-weight: 700; font-family: inherit; cursor: not-allowed; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .log-submit-btn:disabled { opacity: 1; } .log-submit-btn .submit-arrow { opacity: 0; transform: translateX(-10px); transition: all 0.3s; } .log-submit-btn.ready { background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; cursor: pointer; box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); } .log-submit-btn.ready:not(:disabled) { cursor: pointer; } .log-submit-btn.ready .submit-arrow { opacity: 1; transform: translateX(0); } .log-submit-btn.ready:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5); } .log-submit-btn.ready:hover:not(:disabled) .submit-arrow { transform: translateX(4px); } .log-warning-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; background: linear-gradient(135deg, #fef3c7, #fde68a); border-radius: 12px; border: 2px solid #f59e0b; text-align: center; } .log-warning-badge { display: inline-block; padding: 4px 12px; background: #f59e0b; color: white; font-size: 11px; font-weight: 700; border-radius: 20px; } .log-warning-text { font-size: 13px; color: #92400e; line-height: 1.5; } /* ===== Log Unified Card (통합 로그 수집 카드) ===== */ .log-unified-bubble { min-width: 280px; max-width: 300px; } .log-unified-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); } .log-unified-section { padding: 16px; } .log-unified-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } .log-unified-icon { font-size: 18px; } .log-unified-title { font-size: 14px; font-weight: 700; color: #1e293b; } .log-unified-desc { font-size: 12px; color: #64748b; margin-bottom: 12px; } .log-unified-download { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; background: linear-gradient(135deg, #10b981, #34d399); border-radius: 10px; color: white; text-decoration: none; font-size: 13px; font-weight: 700; transition: all 0.25s; box-shadow: 0 3px 12px rgba(16, 185, 129, 0.3); } .log-unified-download:hover { transform: translateY(-2px); box-shadow: 0 5px 16px rgba(16, 185, 129, 0.4); } .log-unified-download.downloaded { background: linear-gradient(135deg, #6366f1, #8b5cf6); box-shadow: 0 3px 12px rgba(99, 102, 241, 0.3); } .log-unified-divider { height: 1px; background: linear-gradient(90deg, transparent, #e2e8f0, transparent); } .log-unified-result { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } .log-result-badge { padding: 4px 8px; background: #f1f5f9; border-radius: 6px; font-size: 11px; font-weight: 600; color: #64748b; } .log-result-file { font-size: 13px; font-weight: 700; color: #1e293b; } .log-unified-warning { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: linear-gradient(135deg, #fef3c7, #fde68a); border-radius: 8px; } .log-unified-warning .warning-icon { font-size: 14px; } .log-unified-warning .warning-text { font-size: 12px; color: #92400e; } .log-unified-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; border: none; background: #e2e8f0; color: #94a3b8; font-size: 14px; font-weight: 700; font-family: inherit; cursor: not-allowed; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; } .log-unified-submit .submit-arrow { opacity: 0; transform: translateX(-10px); transition: all 0.3s; } .log-unified-submit.ready { background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; cursor: pointer; box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); animation: submitReady 0.5s ease-out; } .log-unified-submit.ready .submit-arrow { opacity: 1; transform: translateX(0); } .log-unified-submit.ready:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5); } .log-unified-submit.ready:hover .submit-arrow { transform: translateX(4px); } .log-unified-submit.ready::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); animation: submitShine 2s infinite; } /* ===== Satisfaction Survey (만족도 조사) ===== */ .satisfaction-bubble { min-width: 260px; } .satisfaction-card { text-align: center; padding: 8px 0; } .satisfaction-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; } .satisfaction-desc { font-size: 12px; color: var(--text-secondary); margin-bottom: 16px; } .satisfaction-stars { display: flex; justify-content: center; gap: 8px; margin-bottom: 8px; } .star-btn { width: 40px; height: 40px; border: none; background: #f1f5f9; border-radius: 50%; font-size: 20px; cursor: pointer; transition: all 0.2s; filter: grayscale(1); } .star-btn:hover, .star-btn.active { background: linear-gradient(135deg, #fef3c7, #fde68a); filter: grayscale(0); transform: scale(1.15); } .satisfaction-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-muted); padding: 0 10px; } .satisfaction-card.submitted { padding: 16px 0; } .satisfaction-result { animation: resultFadeIn 0.5s ease; } @keyframes resultFadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } } .result-stars { font-size: 28px; margin-bottom: 12px; } .result-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; } /* ===== Quick Action Button Selected State ===== */ .vpn-quick-btn.selected { background: linear-gradient(145deg, var(--accent), #4f46e5) !important; color: var(--text-inverse) !important; border-color: transparent !important; } /* ===== Responsive ===== */ @media (max-width: 440px) { #vpn-panel { right: 12px; bottom: 80px; width: calc(100vw - 24px); max-height: calc(100vh - 110px); /* 화면 최대 활용 */ border-radius: var(--radius-lg); } #vpn-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; } #vpn-menu-bar { grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 8px 10px; } .vpn-menu-item { padding: 8px 4px; font-size: 9px; } .vpn-menu-item .menu-icon { font-size: 18px; } .vpn-cal-container { width: 100%; } } /* ===== Toast Notification ===== */ .vpn-toast { position: fixed; top: 20px; right: 20px; transform: translateX(120%); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 20px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-md); z-index: 100000; opacity: 0; transition: all 0.3s var(--ease-bounce); } .vpn-toast.show { transform: translateX(0); opacity: 1; } .vpn-toast.success { border-left: 4px solid var(--success); } .vpn-toast.error { border-left: 4px solid var(--danger); } .vpn-toast.warning { border-left: 4px solid var(--warning); } .vpn-toast.info { border-left: 4px solid var(--accent); } .toast-icon { font-size: 18px; } .toast-msg { font-size: 13px; font-weight: 500; color: var(--text); } /* ===== One-Touch Fix Card ===== */ .onetouch-card { background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); border: 1px solid var(--border); border-radius: 14px; padding: 16px; width: 280px; min-width: 280px; max-width: 280px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); position: relative; overflow: hidden; } .onetouch-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #6366f1, #8b5cf6, #a5b4fc); border-radius: 16px 16px 0 0; } .onetouch-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; } .onetouch-icon { font-size: 22px; } .onetouch-title { font-size: 15px; font-weight: 700; color: var(--text); } .onetouch-desc { font-size: 11px; color: var(--text-secondary); line-height: 1.4; margin-bottom: 12px; padding: 10px; background: var(--bg-input); border-radius: 8px; border-left: 3px solid var(--accent); } .onetouch-download-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px 16px; background: linear-gradient(135deg, #6366f1, #8b5cf6); border: none; border-radius: 10px; color: white; position: relative; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); } .onetouch-download-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); transition: left 0.5s; } .onetouch-download-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5); } .onetouch-download-btn:hover::before { left: 100%; } .onetouch-steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; } .onetouch-step { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: white; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); } .onetouch-step:hover { border-color: var(--accent); background: var(--accent-subtle); } .onetouch-step.completed { background: var(--success-bg); border-color: var(--success); } .step-num { width: 22px; height: 22px; background: var(--accent-subtle); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--accent); } .onetouch-step.completed .step-num { background: var(--success); color: white; } .step-info { flex: 1; } .step-name { font-size: 12px; font-weight: 600; color: var(--text); } .step-desc { font-size: 10px; color: var(--text-muted); } .step-check { width: 20px; text-align: center; } .onetouch-progress-wrap { margin-top: 4px; } .onetouch-progress-bar { height: 6px; background: var(--bg-input); border-radius: 3px; overflow: hidden; } .onetouch-progress-fill { height: 100%; background: linear-gradient(90deg, var(--success), #34d399); width: 0%; transition: width 0.5s var(--ease); border-radius: 3px; } .onetouch-progress-text { font-size: 11px; color: var(--text-muted); text-align: right; margin-top: 4px; } /* Progress Card */ /* ===== Timeline Card (Light Mode) ===== */ .timeline-card { background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); border: 1px solid var(--border); border-radius: 14px; padding: 16px; width: 280px; min-width: 280px; max-width: 280px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); position: relative; overflow: hidden; } .timeline-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #6366f1, #8b5cf6, #a5b4fc); border-radius: 14px 14px 0 0; } .timeline-card.completed::before { background: linear-gradient(90deg, #10b981, #34d399); } .tl-desc { font-size: 12px; color: var(--text-secondary); text-align: center; margin-bottom: 14px; line-height: 1.4; text-align: center; margin-bottom: 16px; } /* Horizontal Progress Steps */ .progress-steps-horizontal { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 12px; padding: 12px 8px; background: var(--bg-input); border-radius: var(--radius); } .h-step { display: flex; flex-direction: column; align-items: center; gap: 8px; transition: all 0.3s var(--ease); } .h-step-circle { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all 0.3s var(--ease); } .h-step-icon { font-size: 16px; transition: all 0.3s var(--ease); } .h-step-icon.spinning { animation: spin 1s linear infinite; } .h-step-label { font-size: 10px; font-weight: 600; color: var(--text-muted); text-align: center; max-width: 70px; transition: all 0.3s var(--ease); } .h-step-arrow { font-size: 14px; color: var(--border); font-weight: bold; margin-top: -16px; } /* Active State */ .h-step.active .h-step-circle { border-color: var(--accent); background: var(--accent-subtle); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2); animation: pulse 1.5s infinite; } .h-step.active .h-step-label { color: var(--accent); } /* Done State */ .h-step.done .h-step-circle { border-color: var(--success); background: var(--success-bg); } .h-step.done .h-step-label { color: var(--success); } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2); } 50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.1); } } /* ===== Horizontal Timeline Steps ===== */ .tl-steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-bottom: 14px; padding: 12px 6px; background: linear-gradient(135deg, #f1f5f9, #e2e8f0); border-radius: 10px; } .tl-step { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 60px; opacity: 0.5; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .tl-step.active, .tl-step.done { opacity: 1; } .tl-icon-wrap { width: 36px; height: 36px; border-radius: 50%; background: white; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; } .tl-step.active .tl-icon-wrap { border-color: var(--accent); background: var(--accent-subtle); animation: pulseRing 1.5s ease-in-out infinite; } .tl-step.done .tl-icon-wrap { background: linear-gradient(135deg, var(--accent), #8b5cf6); border-color: transparent; transform: scale(1.05); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); } @keyframes pulseRing { 0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); } 50% { box-shadow: 0 0 0 6px rgba(99, 102, 241, 0); } } .tl-num { font-size: 14px; font-weight: 700; color: var(--text-muted); transition: all 0.3s; } .tl-step.active .tl-num { color: var(--accent); } .tl-step.done .tl-num { color: white; } .tl-step.done .tl-num svg { width: 18px; height: 18px; stroke: white; animation: checkPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); } @keyframes checkPop { 0% { transform: scale(0); } 100% { transform: scale(1); } } .tl-label { font-size: 10px; font-weight: 600; color: var(--text-muted); text-align: center; transition: color 0.3s; } .tl-step.active .tl-label { color: var(--accent); } .tl-step.done .tl-label { color: var(--accent); font-weight: 700; } /* Connector Line */ .tl-connector { width: 24px; height: 2px; background: var(--border); border-radius: 2px; margin-top: 17px; overflow: hidden; flex-shrink: 0; } .tl-connector-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), #8b5cf6); border-radius: 2px; transition: width 0.5s ease-out; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* ===== Timeline Progress Bar ===== */ .tl-progress { margin-bottom: 12px; } .tl-progress-bar { height: 4px; background: var(--bg-input); border-radius: 4px; overflow: hidden; margin-bottom: 6px; } .tl-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), #8b5cf6); border-radius: 4px; transition: width 0.5s ease-out; } .tl-progress-text { display: flex; justify-content: space-between; font-size: 11px; } .tl-progress-text span:first-child { color: var(--text-secondary); } .tl-progress-text span:last-child { font-weight: 700; color: var(--accent); } /* ===== Timeline Buttons ===== */ .tl-buttons { border-top: 1px solid var(--border); padding-top: 12px; animation: fadeInUp 0.4s ease-out; } .tl-question { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 8px 10px; background: var(--bg-input); border-radius: 8px; font-size: 12px; color: var(--text); } .tl-q-icon { font-size: 14px; } .tl-action-btns { display: flex; gap: 8px; } .tl-btn { flex: 1; padding: 10px 12px; border: none; border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s; } .tl-btn-yes { background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; } .tl-btn-yes:hover { transform: translateY(-1px); } .tl-btn-no { background: var(--bg-input); color: var(--text); border: 1px solid var(--border); } .tl-btn-no:hover { background: var(--bg-hover); } .progress-bar-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .progress-bar { flex: 1; height: 8px; background: var(--bg-input); border-radius: 4px; overflow: hidden; } .progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), #8b5cf6); border-radius: 4px; transition: width 0.5s var(--ease); } .progress-percent { font-size: 14px; font-weight: 700; color: var(--accent); min-width: 40px; text-align: right; } .progress-status { text-align: center; font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; } .progress-buttons { border-top: 1px solid var(--border); padding-top: 14px; animation: fadeInUp 0.3s var(--ease); } .prog-btn { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-input); color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; margin-bottom: 8px; transition: all 0.2s var(--ease); } .prog-btn:hover { background: var(--bg-hover); transform: translateY(-1px); } .prog-btn.primary.ready { background: linear-gradient(135deg, var(--accent), #8b5cf6); border: none; color: white; } .prog-btn.primary.ready:hover { box-shadow: var(--shadow-accent); } /* Confetti Animation */ /* Install Card (Step 4) */ .install-card { background: linear-gradient(135deg, #ecfdf5, #d1fae5); border: 1px solid var(--success); border-radius: var(--radius-lg); padding: 18px; max-width: 300px; } .install-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .install-icon { font-size: 24px; } .install-title { font-size: 15px; font-weight: 700; color: var(--text); } .install-desc { font-size: 12px; color: var(--text-secondary); margin-bottom: 14px; } .install-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; background: var(--success); border: none; border-radius: var(--radius); color: white; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; transition: var(--transition); } .install-btn:hover { background: #059669; transform: translateY(-2px); box-shadow: 0 4px 12px var(--success-glow); } /* ===== Smooth Animations ===== */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } .vpn-msg { animation: fadeInUp 0.3s var(--ease); } .vpn-bubble { animation: scaleIn 0.25s var(--ease); } .vpn-quick-actions { animation: fadeIn 0.3s var(--ease) 0.1s both; } .onetouch-card { animation: scaleIn 0.4s var(--ease-bounce); } .onetouch-step { animation: fadeInUp 0.3s var(--ease); } .onetouch-step:nth-child(1) { animation-delay: 0.05s; } .onetouch-step:nth-child(2) { animation-delay: 0.1s; } .onetouch-step:nth-child(3) { animation-delay: 0.15s; } .onetouch-step:nth-child(4) { animation-delay: 0.2s; } /* Hover animations */ .vpn-quick-btn:active { transform: scale(0.97); } .onetouch-step.completed .step-check { animation: pulse 0.5s var(--ease); } /* ===== 7. Bot Help Popup (도움말 팝업) ===== */ .bot-help-popup { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; transition: opacity 0.2s ease; } .bot-help-popup.show { opacity: 1; } .bot-help-popup.hiding { opacity: 0; } .bot-help-content { background: white; border-radius: 20px; width: 90%; max-width: 320px; max-height: 80%; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); transform: scale(0.9) translateY(20px); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); } .bot-help-popup.show .bot-help-content { transform: scale(1) translateY(0); } .bot-help-popup.hiding .bot-help-content { transform: scale(0.9) translateY(20px); } .bot-help-header { display: flex; align-items: center; gap: 10px; padding: 16px 20px; background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; } .bot-help-icon { font-size: 24px; } .bot-help-title { flex: 1; font-size: 16px; font-weight: 700; } .bot-help-close { width: 28px; height: 28px; border: none; background: rgba(255,255,255,0.2); color: white; border-radius: 8px; font-size: 14px; cursor: pointer; transition: all 0.2s; } .bot-help-close:hover { background: rgba(255,255,255,0.3); } .bot-help-body { padding: 16px 20px; overflow-y: auto; max-height: 350px; } .bot-help-section { margin-bottom: 16px; } .bot-help-section:last-child { margin-bottom: 0; } .bot-help-label { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; } .bot-help-list { list-style: none; padding: 0; margin: 0; } .bot-help-list li { font-size: 13px; color: #475569; padding: 6px 0; border-bottom: 1px solid #f1f5f9; } .bot-help-list li:last-child { border-bottom: none; } .bot-help-list kbd { display: inline-block; padding: 2px 6px; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 4px; font-size: 11px; font-family: monospace; margin-right: 4px; } .bot-help-contact { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #475569; } /* ===== 6. Accessibility (접근성) ===== */ .vpn-header-icon:focus, .vpn-menu-item:focus, #vpn-fab:focus, .vpn-quick-btn:focus { outline: 2px solid var(--accent); outline-offset: 2px; } .vpn-header-icon { transition: transform 0.2s ease; position: relative; } .vpn-header-icon:hover { transform: scale(1.1); } .vpn-header-icon:active { transform: scale(0.95); } /* Bot Icon 클릭 유도 효과 */ .vpn-header-icon.clickable-hint { animation: iconPulse 2s ease-in-out infinite; } .vpn-header-icon.clickable-hint:hover { animation: none; transform: scale(1.1); } @keyframes iconPulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); } 50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); } } /* 느낌표 뱃지 */ .bot-notice-badge { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; background: linear-gradient(135deg, #ef4444, #dc2626); color: white; font-size: 13px; font-weight: 800; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5); animation: badgeBounce 1s ease-in-out infinite; z-index: 10; border: 2px solid white; } .bot-notice-badge.clicked { animation: none; opacity: 0; transform: scale(0); transition: all 0.3s ease; } @keyframes badgeBounce { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } } /* 공지 플로팅 툴팁 - 헤더 위에 위치 */ .bot-notice-tooltip { position: absolute; top: -48px; left: 50%; transform: translateX(-50%) translateY(10px); background: linear-gradient(135deg, #6366f1, #8b5cf6); color: white; font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 25px; white-space: nowrap; box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4); opacity: 0; pointer-events: none; transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 100; letter-spacing: 0.3px; } .bot-notice-tooltip .notice-emoji { margin-right: 4px; } /* 화살표는 JS에서 추가함 */ .bot-notice-tooltip.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; cursor: pointer; animation: tooltipGlow 2s ease-in-out infinite; } .bot-notice-tooltip.clicked { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(0.9); } @keyframes tooltipGlow { 0%, 100% { box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4); } 50% { box-shadow: 0 8px 35px rgba(102, 126, 234, 0.6); } } /* 공지사항 팝업 헤더 강조 */ .notice-header { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important; color: white !important; } .notice-header .bot-help-title { color: white !important; font-weight: 700 !important; letter-spacing: -0.5px; } .notice-header .bot-help-close { color: white !important; opacity: 0.8; } .notice-header .bot-help-close:hover { opacity: 1; } .notice-highlight { background: linear-gradient(145deg, #f8faff 0%, #eef4ff 100%); border-radius: 16px; padding: 20px 18px !important; margin-bottom: 12px; text-align: center; border: 1px solid rgba(255, 107, 0, 0.15); box-shadow: 0 4px 20px rgba(255, 107, 0, 0.08); } .notice-welcome { font-size: 13px; color: #64748b; margin-bottom: 8px; font-weight: 500; } .notice-main { font-size: 17px; font-weight: 700; background: linear-gradient(135deg, #6366f1, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.4; margin-bottom: 10px; letter-spacing: -0.3px; } .notice-main b { background: linear-gradient(135deg, #a5b4fc, #f43f5e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .notice-sub { font-size: 12px; color: #4f46e5; font-weight: 500; opacity: 0.9; } .bot-help-label { font-weight: 700 !important; color: #4f46e5 !important; font-size: 14px !important; letter-spacing: -0.3px; } .bot-help-list li { color: #475569; line-height: 1.6; } .bot-help-list li b { color: #1e293b; font-weight: 600; } /* Screen reader only */ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } /* ===== 7. 시간 인식 다크모드 ===== */ .night-care { display: block; margin-top: 8px; font-size: 12px; color: #8b5cf6; opacity: 0.9; } body.vpn-dark-mode #vpn-panel { background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%); border: 1px solid rgba(99, 102, 241, 0.2); } body.vpn-dark-mode #vpn-header { background: linear-gradient(135deg, #312e81 0%, #1e1b4b 100%); border-bottom: 1px solid rgba(99, 102, 241, 0.2); } body.vpn-dark-mode #vpn-header h1 { color: #e0e7ff; } body.vpn-dark-mode #vpn-header p { color: #a5b4fc; } body.vpn-dark-mode #vpn-chat { background: linear-gradient(180deg, rgba(30, 27, 75, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%); } body.vpn-dark-mode .vpn-bubble { background: linear-gradient(135deg, #312e81 0%, #1e1b4b 100%); color: #e0e7ff; border: 1px solid rgba(99, 102, 241, 0.2); } body.vpn-dark-mode .vpn-msg.user .vpn-bubble { background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%); color: white; } body.vpn-dark-mode #vpn-menu-bar { background: rgba(30, 27, 75, 0.9); border-bottom: 1px solid rgba(255, 107, 0, 0.15); } body.vpn-dark-mode .vpn-menu-item { color: #a5b4fc; } body.vpn-dark-mode .vpn-menu-item:hover { background: rgba(255, 107, 0, 0.15); color: #c7d2fe; } body.vpn-dark-mode .vpn-menu-item.active { background: rgba(99, 102, 241, 0.25); color: #e0e7ff; } body.vpn-dark-mode #vpn-input-bar { background: rgba(30, 27, 75, 0.95); border-top: 1px solid rgba(99, 102, 241, 0.2); } body.vpn-dark-mode #vpn-input { background: rgba(15, 23, 42, 0.8); color: #e0e7ff; border: 1px solid rgba(99, 102, 241, 0.3); } body.vpn-dark-mode #vpn-input::placeholder { color: #6366f1; } body.vpn-dark-mode .vpn-quick-btn { background: rgba(255, 107, 0, 0.15); color: #c7d2fe; border: 1px solid rgba(99, 102, 241, 0.3); } body.vpn-dark-mode .vpn-quick-btn:hover { background: rgba(99, 102, 241, 0.25); border-color: rgba(99, 102, 241, 0.5); } body.vpn-dark-mode .vpn-quick-btn.primary { background: linear-gradient(135deg, #4f46e5, #6366f1); color: white; } body.vpn-dark-mode #vpn-suggest-keywords { background: linear-gradient(180deg, transparent, rgba(30, 27, 75, 0.98)); } body.vpn-dark-mode .suggest-btn { background: rgba(99, 102, 241, 0.2); color: #c7d2fe; border: 1px solid rgba(99, 102, 241, 0.3); } body.vpn-dark-mode .suggest-btn:hover { background: rgba(99, 102, 241, 0.35); } /* 다크모드 전환 애니메이션 */ body.vpn-dark-mode #vpn-panel, body.vpn-dark-mode #vpn-header, body.vpn-dark-mode .vpn-bubble, body.vpn-dark-mode #vpn-menu-bar, body.vpn-dark-mode #vpn-input-bar { transition: all 0.5s ease; } /* ===== 8. 진행률 맵 (Journey Map) ===== */ .vpn-journey-map { display: flex; align-items: center; justify-content: space-between; padding: 16px 12px; margin: 12px 0; background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%); border-radius: 16px; border: 1px solid rgba(255, 107, 0, 0.15); position: relative; overflow: hidden; } body.vpn-dark-mode .vpn-journey-map { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%); border: 1px solid rgba(99, 102, 241, 0.3); } .journey-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; position: relative; z-index: 2; } .journey-icon { width: 36px; height: 36px; border-radius: 50%; background: #e2e8f0; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all 0.3s ease; position: relative; } body.vpn-dark-mode .journey-icon { background: rgba(99, 102, 241, 0.2); } .journey-step.completed .journey-icon { background: linear-gradient(135deg, #10b981, #059669); color: white; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); animation: stepComplete 0.5s ease; } .journey-step.current .journey-icon { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: white; box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4); animation: stepPulse 2s ease-in-out infinite; } .journey-step.pending .journey-icon { background: #cbd5e1; color: #94a3b8; } body.vpn-dark-mode .journey-step.pending .journey-icon { background: rgba(99, 102, 241, 0.1); color: #64748b; } .journey-label { font-size: 10px; font-weight: 600; color: #64748b; text-align: center; max-width: 60px; line-height: 1.2; } body.vpn-dark-mode .journey-label { color: #a5b4fc; } .journey-step.current .journey-label { color: #6366f1; font-weight: 700; } body.vpn-dark-mode .journey-step.current .journey-label { color: #c7d2fe; } /* 연결선 */ .journey-line { position: absolute; top: 50%; left: 0; right: 0; height: 3px; background: #e2e8f0; transform: translateY(-12px); z-index: 1; } body.vpn-dark-mode .journey-line { background: rgba(99, 102, 241, 0.2); } .journey-line-fill { height: 100%; background: linear-gradient(90deg, #10b981, #6366f1); border-radius: 3px; transition: width 0.5s ease; } @keyframes stepComplete { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } } @keyframes stepPulse { 0%, 100% { box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4); } 50% { box-shadow: 0 4px 24px rgba(99, 102, 241, 0.6); } } /* 현재 단계 화살표 표시 */ .journey-step.current::after { content: '▼'; position: absolute; top: -12px; font-size: 10px; color: #6366f1; animation: arrowBounce 1s ease-in-out infinite; } @keyframes arrowBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } } /* ===== 9. 네트워크 연결 시각화 ===== */ .vpn-network-visual { padding: 20px 16px; margin: 12px 0; background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); border-radius: 16px; border: 1px solid rgba(99, 102, 241, 0.3); position: relative; overflow: hidden; } .network-container { display: flex; align-items: center; justify-content: space-between; position: relative; padding: 10px 0; } .network-node { display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; } .node-icon { width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(135deg, #312e81 0%, #1e1b4b 100%); border: 2px solid rgba(99, 102, 241, 0.4); display: flex; align-items: center; justify-content: center; font-size: 24px; position: relative; transition: all 0.3s ease; } .node-icon.active { border-color: #10b981; box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); } .node-icon.connecting { border-color: #f59e0b; animation: nodeGlow 1s ease-in-out infinite; } .node-icon.error { border-color: #ef4444; box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); } @keyframes nodeGlow { 0%, 100% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.3); } 50% { box-shadow: 0 0 25px rgba(245, 158, 11, 0.6); } } .node-label { font-size: 11px; font-weight: 600; color: #a5b4fc; text-align: center; } .node-status { font-size: 9px; padding: 2px 8px; border-radius: 10px; font-weight: 500; } .node-status.success { background: rgba(16, 185, 129, 0.2); color: #10b981; } .node-status.pending { background: rgba(148, 163, 184, 0.2); color: #94a3b8; } .node-status.connecting { background: rgba(245, 158, 11, 0.2); color: #f59e0b; } .node-status.error { background: rgba(239, 68, 68, 0.2); color: #ef4444; } /* 연결 케이블 */ .network-cable { flex: 1; height: 4px; background: rgba(99, 102, 241, 0.2); margin: 0 -5px; position: relative; border-radius: 2px; overflow: hidden; transform: translateY(-16px); } .cable-flow { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: linear-gradient(90deg, #10b981, #6366f1, #8b5cf6); border-radius: 2px; transition: width 0.5s ease; } .cable-flow.active { width: 100%; } .cable-flow.connecting { animation: cableFlow 1.5s ease-in-out infinite; } @keyframes cableFlow { 0% { width: 0%; opacity: 1; } 50% { width: 60%; opacity: 1; } 100% { width: 100%; opacity: 0.5; } } /* 데이터 패킷 애니메이션 */ .data-packet { position: absolute; width: 8px; height: 8px; background: #10b981; border-radius: 50%; top: -2px; box-shadow: 0 0 10px #10b981; animation: packetMove 1s ease-in-out infinite; } @keyframes packetMove { 0% { left: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } } /* 상태 텍스트 */ .network-status-text { text-align: center; margin-top: 12px; font-size: 13px; font-weight: 600; color: #a5b4fc; } .network-status-text.success { color: #10b981; } .network-status-text.error { color: #ef4444; } /* ===== 10. 스크린샷 드래그 앤 드롭 ===== */ .vpn-drop-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(99, 102, 241, 0.95); display: flex; align-items: center; justify-content: center; z-index: 100; opacity: 0; visibility: hidden; transition: all 0.3s ease; border-radius: inherit; } .vpn-drop-overlay.active { opacity: 1; visibility: visible; } .drop-content { text-align: center; color: white; animation: dropBounce 0.5s ease; } @keyframes dropBounce { 0% { transform: scale(0.8); opacity: 0; } 50% { transform: scale(1.05); } 100% { transform: scale(1); opacity: 1; } } .drop-icon { font-size: 64px; margin-bottom: 16px; animation: dropIconPulse 1s ease-in-out infinite; } @keyframes dropIconPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } .drop-text { font-size: 20px; font-weight: 700; margin-bottom: 8px; } .drop-hint { font-size: 14px; opacity: 0.8; } /* 첨부된 이미지 */ .image-bubble { padding: 8px !important; background: transparent !important; } .dropped-image { max-width: 200px; max-height: 150px; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); object-fit: cover; } .image-label { font-size: 11px; color: #64748b; margin-top: 6px; text-align: center; } /* ===== 11. 실시간 타이핑 프리뷰 ===== */ .typing-preview { padding: 12px 16px; margin: 8px 16px; background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%); border: 1px dashed rgba(99, 102, 241, 0.3); border-radius: 16px; opacity: 0; transform: translateY(10px); transition: all 0.3s ease; pointer-events: none; } .typing-preview.show { opacity: 1; transform: translateY(0); } .preview-label { font-size: 11px; font-weight: 600; color: #6366f1; margin-bottom: 6px; } .preview-text { font-size: 13px; color: #64748b; line-height: 1.5; } body.vpn-dark-mode .typing-preview { background: linear-gradient(135deg, rgba(255, 107, 0, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%); border-color: rgba(99, 102, 241, 0.4); } body.vpn-dark-mode .preview-text { color: #a5b4fc; } /* ===== 12. 플로팅 도우미 핀 ===== */ .helper-pin { position: fixed; z-index: 10000; background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); color: white; padding: 10px 16px; border-radius: 12px; box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4); opacity: 0; transform: scale(0.8); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); cursor: pointer; pointer-events: auto; } .helper-pin.show { opacity: 1; transform: scale(1); animation: pinBounce 1s ease-in-out infinite; } @keyframes pinBounce { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.02); } } .pin-content { display: flex; align-items: center; gap: 8px; } .pin-icon { font-size: 16px; animation: pinPoint 0.5s ease-in-out infinite alternate; } @keyframes pinPoint { 0% { transform: translateY(0); } 100% { transform: translateY(-3px); } } .pin-text { font-size: 13px; font-weight: 600; white-space: nowrap; } .pin-arrow { position: absolute; width: 12px; height: 12px; background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); transform: rotate(45deg); } .helper-pin.top .pin-arrow { bottom: -6px; left: 50%; margin-left: -6px; } .helper-pin.bottom .pin-arrow { top: -6px; left: 50%; margin-left: -6px; } .helper-pin.left .pin-arrow { right: -6px; top: 50%; margin-top: -6px; } .helper-pin.right .pin-arrow { left: -6px; top: 50%; margin-top: -6px; } /* ===== 13. 예상 해결 시간 카드 ===== */ .estimated-time-card { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); border: 1px solid rgba(14, 165, 233, 0.2); border-radius: 16px; overflow: hidden; } body.vpn-dark-mode .estimated-time-card { background: linear-gradient(135deg, #0c4a6e 0%, #075985 100%); border-color: rgba(14, 165, 233, 0.3); } .etc-header { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); color: white; } .etc-icon { font-size: 18px; } .etc-title { font-size: 13px; font-weight: 700; } .etc-body { padding: 16px; text-align: center; } .etc-task { font-size: 12px; color: #64748b; margin-bottom: 8px; } body.vpn-dark-mode .etc-task { color: #94a3b8; } .etc-time { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 8px; } .etc-minutes { font-size: 36px; font-weight: 800; background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .etc-unit { font-size: 16px; font-weight: 600; color: #64748b; } .etc-hint { font-size: 11px; color: #94a3b8; } .etc-progress { height: 4px; background: #e2e8f0; } body.vpn-dark-mode .etc-progress { background: rgba(14, 165, 233, 0.2); } .etc-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, #0ea5e9 0%, #6366f1 100%); transition: width 1s linear; } /* ===== 14. 가이드 사이드 패널 ===== */ .guide-side-panel { position: fixed; top: 50%; right: calc(24px + 440px + 20px); transform: translateY(-50%); width: 240px; background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: 9998; overflow: hidden; animation: sidePanelIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); border: 1px solid var(--border); } .guide-side-panel.hiding { animation: sidePanelOut 0.3s ease forwards; } .guide-side-panel.collapsed .gsp-body, .guide-side-panel.collapsed .gsp-journey { display: none; } .gsp-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: linear-gradient(135deg, #f97316, #ea580c); color: white; } .gsp-title { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; } .gsp-toggle { width: 20px; height: 20px; border: none; border-radius: 6px; background: rgba(255,255,255,0.2); color: white; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; } .gsp-toggle:hover { background: rgba(255,255,255,0.3); } /* 가이드 진행률 맵 */ .gsp-journey { display: flex; align-items: center; justify-content: space-between; padding: 12px 8px; background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); position: relative; border-bottom: 1px solid rgba(249, 115, 22, 0.15); } body.vpn-dark-mode .gsp-journey { background: linear-gradient(135deg, #431407 0%, #7c2d12 100%); } .gsp-step { display: flex; flex-direction: column; align-items: center; gap: 3px; z-index: 2; flex: 1; } .gsp-step-icon { width: 22px; height: 22px; border-radius: 50%; background: #fed7aa; display: flex; align-items: center; justify-content: center; font-size: 10px; transition: all 0.3s ease; color: #9a3412; } .gsp-step.completed .gsp-step-icon { background: linear-gradient(135deg, #22c55e, #16a34a); color: white; font-size: 10px; font-weight: 700; } .gsp-step.current .gsp-step-icon { background: linear-gradient(135deg, #f97316, #ea580c); color: white; box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4); animation: gspPulse 2s ease-in-out infinite; } @keyframes gspPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } .gsp-step.pending .gsp-step-icon { background: #e2e8f0; color: #94a3b8; } .gsp-step-label { font-size: 8px; font-weight: 600; color: #94a3b8; text-align: center; white-space: nowrap; } .gsp-step.current .gsp-step-label { color: #ea580c; font-weight: 700; } .gsp-step.completed .gsp-step-label { color: #16a34a; } /* 진행선 */ .gsp-journey-line { position: absolute; top: 22px; left: 16px; right: 16px; height: 2px; background: #fed7aa; z-index: 1; border-radius: 2px; } body.vpn-dark-mode .gsp-journey-line { background: rgba(249, 115, 22, 0.2); } .gsp-journey-fill { height: 100%; background: linear-gradient(90deg, #22c55e, #f97316); border-radius: 2px; transition: width 0.5s ease; width: 0%; } /* 본문 */ .gsp-body { padding: 14px; } .gsp-current-step { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .gsp-step-num { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #f97316, #ea580c); color: white; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .gsp-step-info { flex: 1; } .gsp-step-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; } .gsp-step-desc { font-size: 11px; color: var(--text-secondary); } .gsp-progress { height: 4px; background: #e2e8f0; border-radius: 2px; margin-bottom: 10px; overflow: hidden; } .gsp-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, #22c55e 0%, #f97316 100%); transition: width 0.5s ease; } .gsp-tips { background: #fff7ed; border-radius: 8px; padding: 10px 12px; border: 1px solid rgba(249, 115, 22, 0.15); } body.vpn-dark-mode .gsp-tips { background: rgba(249, 115, 22, 0.1); border-color: rgba(249, 115, 22, 0.3); } .gsp-tip { font-size: 11px; color: #9a3412; line-height: 1.4; } body.vpn-dark-mode .gsp-tip { color: #fdba74; } /* 모바일 대응 */ @media (max-width: 900px) { .guide-side-panel { position: fixed; top: auto; bottom: 96px; right: auto; left: 24px; transform: none; width: calc(100% - 48px); max-width: 300px; } }