Spaces:
Runtime error
Runtime error
| /* Design Tokens & Theme Variable Settings */ | |
| :root { | |
| --bg-primary: #0a0c10; | |
| --bg-secondary: #121620; | |
| --bg-glass: rgba(18, 22, 32, 0.65); | |
| --border-glass: rgba(255, 255, 255, 0.08); | |
| --text-primary: #f0f3fa; | |
| --text-muted: #8b9bb4; | |
| --primary: #8b5cf6; /* Violet */ | |
| --primary-glow: rgba(139, 92, 246, 0.3); | |
| --secondary: #10b981; /* Emerald */ | |
| --accent: #f59e0b; /* Amber */ | |
| --neon-pink: #ff007f; | |
| --neon-blue: #00f0ff; | |
| --neon-yellow: #ffea00; | |
| --radius-lg: 16px; | |
| --radius-md: 10px; | |
| --radius-sm: 6px; | |
| --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.4); | |
| --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| /* Global Reset */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| background-color: var(--bg-primary); | |
| background-image: | |
| radial-gradient(at 10% 10%, rgba(139, 92, 246, 0.1) 0px, transparent 50%), | |
| radial-gradient(at 90% 85%, rgba(0, 240, 255, 0.08) 0px, transparent 50%); | |
| color: var(--text-primary); | |
| font-family: 'Outfit', 'Noto Sans TC', sans-serif; | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| } | |
| /* App Container Layout */ | |
| .app-container { | |
| display: flex; | |
| min-height: 100vh; | |
| } | |
| /* Sidebar Navigation */ | |
| .sidebar { | |
| width: 280px; | |
| background: rgba(10, 12, 16, 0.85); | |
| backdrop-filter: blur(16px); | |
| -webkit-backdrop-filter: blur(16px); | |
| border-right: 1px solid var(--border-glass); | |
| display: flex; | |
| flex-direction: column; | |
| padding: 24px; | |
| position: fixed; | |
| height: 100vh; | |
| z-index: 10; | |
| } | |
| .logo-area { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| margin-bottom: 40px; | |
| padding-bottom: 20px; | |
| border-bottom: 1px solid var(--border-glass); | |
| } | |
| .logo-emoji { | |
| font-size: 28px; | |
| filter: drop-shadow(0 0 8px rgba(255, 234, 0, 0.5)); | |
| animation: rotateEmoji 6s linear infinite; | |
| } | |
| @keyframes rotateEmoji { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| .logo-area h2 { | |
| font-size: 20px; | |
| font-weight: 800; | |
| background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue)); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| letter-spacing: 0.5px; | |
| } | |
| .badge { | |
| font-size: 10px; | |
| font-weight: 600; | |
| padding: 2px 6px; | |
| border-radius: var(--radius-sm); | |
| background: rgba(139, 92, 246, 0.2); | |
| border: 1px solid rgba(139, 92, 246, 0.3); | |
| color: #a78bfa; | |
| } | |
| .neon-rainbow-badge { | |
| background: linear-gradient(45deg, #ff0055, #00f0ff); | |
| color: #fff; | |
| border: none; | |
| font-size: 11px; | |
| padding: 4px 10px; | |
| box-shadow: 0 0 12px rgba(0, 240, 255, 0.3); | |
| } | |
| .green-badge { | |
| background: rgba(16, 185, 129, 0.15); | |
| color: #34d399; | |
| border: 1px solid rgba(16, 185, 129, 0.3); | |
| } | |
| .nav-links { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| flex-grow: 1; | |
| } | |
| .nav-btn { | |
| background: transparent; | |
| border: none; | |
| color: var(--text-muted); | |
| font-family: inherit; | |
| font-size: 15px; | |
| font-weight: 600; | |
| text-align: left; | |
| padding: 14px 18px; | |
| border-radius: var(--radius-md); | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| gap: 14px; | |
| transition: var(--transition); | |
| } | |
| .nav-btn i { | |
| font-size: 16px; | |
| transition: var(--transition); | |
| } | |
| .nav-btn:hover { | |
| color: var(--text-primary); | |
| background: rgba(255, 255, 255, 0.03); | |
| } | |
| .nav-btn.active { | |
| color: var(--text-primary); | |
| background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(0, 240, 255, 0.1) 100%); | |
| border: 1px solid rgba(139, 92, 246, 0.2); | |
| box-shadow: 0 4px 15px 0 rgba(139, 92, 246, 0.1); | |
| } | |
| .nav-btn.active i { | |
| color: #a78bfa; | |
| transform: scale(1.1); | |
| } | |
| .sidebar-footer { | |
| padding-top: 20px; | |
| border-top: 1px solid var(--border-glass); | |
| } | |
| .settings-trigger-btn { | |
| width: 100%; | |
| background: rgba(255, 255, 255, 0.05); | |
| color: var(--text-muted); | |
| border: 1px solid var(--border-glass); | |
| padding: 12px; | |
| border-radius: var(--radius-md); | |
| font-family: inherit; | |
| font-weight: 600; | |
| cursor: pointer; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| gap: 10px; | |
| transition: var(--transition); | |
| } | |
| .settings-trigger-btn:hover { | |
| background: rgba(255, 255, 255, 0.08); | |
| color: var(--text-primary); | |
| border-color: rgba(255, 255, 255, 0.15); | |
| } | |
| /* Main Content Area */ | |
| .main-content { | |
| flex-grow: 1; | |
| margin-left: 280px; | |
| padding: 40px; | |
| max-width: calc(100vw - 280px); | |
| } | |
| /* Header styling */ | |
| .content-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 30px; | |
| padding-bottom: 20px; | |
| border-bottom: 1px solid var(--border-glass); | |
| } | |
| .header-title h1 { | |
| font-size: 28px; | |
| font-weight: 800; | |
| letter-spacing: -0.5px; | |
| margin-bottom: 6px; | |
| background: linear-gradient(to right, #ffffff, #8b9bb4); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .header-title p { | |
| font-size: 14px; | |
| color: var(--text-muted); | |
| } | |
| .api-status { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| background: rgba(16, 185, 129, 0.08); | |
| padding: 8px 14px; | |
| border-radius: 50px; | |
| border: 1px solid rgba(16, 185, 129, 0.2); | |
| } | |
| .status-indicator { | |
| width: 8px; | |
| height: 8px; | |
| border-radius: 50%; | |
| background-color: var(--secondary); | |
| box-shadow: 0 0 10px var(--secondary); | |
| } | |
| .status-indicator.online { | |
| animation: pulseStatus 2s infinite; | |
| } | |
| @keyframes pulseStatus { | |
| 0% { transform: scale(1); opacity: 1; } | |
| 50% { transform: scale(1.3); opacity: 0.5; } | |
| 100% { transform: scale(1); opacity: 1; } | |
| } | |
| .status-text { | |
| font-size: 12px; | |
| font-weight: 600; | |
| color: #34d399; | |
| } | |
| /* Section Management */ | |
| .section-panel { | |
| animation: fadeIn 0.4s ease-out; | |
| } | |
| .section-panel.hidden { | |
| display: none ; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10deg); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* Premium Cards */ | |
| .card { | |
| border-radius: var(--radius-lg); | |
| border: 1px solid var(--border-glass); | |
| overflow: hidden; | |
| margin-bottom: 30px; | |
| box-shadow: var(--shadow-premium); | |
| } | |
| .glass-card { | |
| background: var(--bg-glass); | |
| backdrop-filter: blur(12px); | |
| -webkit-backdrop-filter: blur(12px); | |
| } | |
| .card-header { | |
| padding: 20px 24px; | |
| border-bottom: 1px solid var(--border-glass); | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| background: rgba(255, 255, 255, 0.01); | |
| } | |
| .card-header h3 { | |
| font-size: 18px; | |
| font-weight: 700; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .card-header h3 i { | |
| color: var(--primary); | |
| } | |
| /* Grid Layout for Simulator page */ | |
| .grid-layout { | |
| display: grid; | |
| grid-template-columns: 420px 1fr; | |
| gap: 30px; | |
| align-items: start; | |
| } | |
| /* Chat Simulator Panel */ | |
| .chat-simulator-card { | |
| display: flex; | |
| flex-direction: column; | |
| height: 600px; | |
| } | |
| .chat-status { | |
| font-size: 12px; | |
| color: var(--text-muted); | |
| } | |
| .chat-messages { | |
| flex-grow: 1; | |
| padding: 20px; | |
| overflow-y: auto; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 16px; | |
| background: rgba(0, 0, 0, 0.1); | |
| } | |
| .message { | |
| display: flex; | |
| gap: 12px; | |
| align-items: flex-start; | |
| max-width: 85%; | |
| animation: msgIn 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| @keyframes msgIn { | |
| from { opacity: 0; transform: scale(0.95) translateY(10px); } | |
| to { opacity: 1; transform: scale(1) translateY(0); } | |
| } | |
| .avatar { | |
| width: 36px; | |
| height: 36px; | |
| border-radius: 50%; | |
| background: rgba(255, 255, 255, 0.05); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 18px; | |
| border: 1px solid var(--border-glass); | |
| flex-shrink: 0; | |
| } | |
| .msg-bubble { | |
| padding: 12px 16px; | |
| border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md); | |
| background: rgba(255, 255, 255, 0.04); | |
| border: 1px solid var(--border-glass); | |
| font-size: 14px; | |
| line-height: 1.5; | |
| } | |
| .msg-bubble code { | |
| background: rgba(0, 0, 0, 0.2); | |
| padding: 2px 6px; | |
| border-radius: var(--radius-sm); | |
| color: #f472b6; | |
| font-family: Consolas, monospace; | |
| } | |
| .message.user-message { | |
| align-self: flex-end; | |
| flex-direction: row-reverse; | |
| } | |
| .message.user-message .msg-bubble { | |
| background: var(--primary); | |
| border-color: rgba(139, 92, 246, 0.5); | |
| border-radius: var(--radius-md) 0 var(--radius-md) var(--radius-md); | |
| box-shadow: 0 4px 15px rgba(139, 92, 246, 0.15); | |
| } | |
| .message.bot-message .msg-bubble { | |
| border-left: 3px solid var(--primary); | |
| } | |
| .time { | |
| display: block; | |
| font-size: 10px; | |
| color: var(--text-muted); | |
| margin-top: 6px; | |
| text-align: right; | |
| } | |
| .user-message .time { | |
| color: rgba(255, 255, 255, 0.7); | |
| } | |
| .chat-input-area { | |
| padding: 16px; | |
| border-top: 1px solid var(--border-glass); | |
| display: flex; | |
| gap: 12px; | |
| background: rgba(255, 255, 255, 0.01); | |
| } | |
| .chat-input-area input { | |
| flex-grow: 1; | |
| background: rgba(0, 0, 0, 0.2); | |
| border: 1px solid var(--border-glass); | |
| border-radius: var(--radius-md); | |
| padding: 14px 16px; | |
| color: var(--text-primary); | |
| font-family: inherit; | |
| font-size: 14px; | |
| outline: none; | |
| transition: var(--transition); | |
| } | |
| .chat-input-area input:focus { | |
| border-color: rgba(139, 92, 246, 0.5); | |
| box-shadow: 0 0 10px rgba(139, 92, 246, 0.2); | |
| } | |
| /* Chat Image Result Styling */ | |
| .chat-result-img { | |
| margin-top: 8px; | |
| border-radius: var(--radius-md); | |
| width: 100%; | |
| max-width: 260px; | |
| border: 2px solid rgba(255, 234, 0, 0.3); | |
| cursor: pointer; | |
| transition: var(--transition); | |
| } | |
| .chat-result-img:hover { | |
| transform: scale(1.02); | |
| border-color: var(--neon-yellow); | |
| box-shadow: 0 0 15px rgba(255, 234, 0, 0.4); | |
| } | |
| /* Inspector Panel Styling */ | |
| .inspector-card { | |
| height: 600px; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .inspector-body { | |
| padding: 24px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| flex-grow: 1; | |
| } | |
| .preview-container { | |
| flex-grow: 1; | |
| background: rgba(0, 0, 0, 0.3); | |
| border-radius: var(--radius-lg); | |
| border: 1px dashed var(--border-glass); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| position: relative; | |
| overflow: hidden; | |
| min-height: 250px; | |
| } | |
| .preview-container img { | |
| max-height: 100%; | |
| max-width: 100%; | |
| object-fit: contain; | |
| border-radius: var(--radius-md); | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); | |
| animation: scaleIn 0.3s ease-out; | |
| } | |
| @keyframes scaleIn { | |
| from { opacity: 0; transform: scale(0.9); } | |
| to { opacity: 1; transform: scale(1); } | |
| } | |
| .empty-state { | |
| text-align: center; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 12px; | |
| color: var(--text-muted); | |
| } | |
| .empty-state i { | |
| font-size: 48px; | |
| background: linear-gradient(135deg, var(--text-muted), var(--border-glass)); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .empty-state .subtext { | |
| font-size: 12px; | |
| } | |
| /* Spinner & Loading */ | |
| .loading-state { | |
| text-align: center; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 16px; | |
| } | |
| .loading-funny-quote { | |
| font-style: italic; | |
| font-size: 13px; | |
| color: var(--accent); | |
| margin-top: 4px; | |
| animation: blinkText 2s infinite ease-in-out; | |
| } | |
| @keyframes blinkText { | |
| 0%, 100% { opacity: 0.6; } | |
| 50% { opacity: 1; } | |
| } | |
| .spinner { | |
| width: 60px; | |
| height: 60px; | |
| position: relative; | |
| } | |
| .double-bounce1, .double-bounce2 { | |
| width: 100%; | |
| height: 100%; | |
| border-radius: 50%; | |
| background-color: var(--primary); | |
| opacity: 0.6; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| animation: bounceSpinner 2.0s infinite ease-in-out; | |
| } | |
| .double-bounce2 { | |
| background-color: var(--neon-blue); | |
| animation-delay: -1.0s; | |
| } | |
| @keyframes bounceSpinner { | |
| 0%, 100% { transform: scale(0.0); } | |
| 50% { transform: scale(1.0); } | |
| } | |
| .hidden { | |
| display: none ; | |
| } | |
| /* Metadata Preview Panel */ | |
| .metadata-panel { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| background: rgba(255, 255, 255, 0.02); | |
| border: 1px solid var(--border-glass); | |
| border-radius: var(--radius-lg); | |
| padding: 18px; | |
| animation: fadeIn 0.4s ease-out; | |
| } | |
| .meta-row { | |
| display: grid; | |
| grid-template-columns: 100px 1fr; | |
| align-items: start; | |
| font-size: 13px; | |
| } | |
| .meta-label { | |
| font-weight: 700; | |
| color: var(--text-muted); | |
| } | |
| .meta-val { | |
| color: var(--text-primary); | |
| } | |
| .greeting-text-highlight { | |
| font-weight: 800; | |
| color: var(--neon-yellow); | |
| text-shadow: 0 0 8px rgba(255, 234, 0, 0.2); | |
| } | |
| .code-block { | |
| font-family: Consolas, monospace; | |
| background: rgba(0, 0, 0, 0.2); | |
| padding: 6px 10px; | |
| border-radius: var(--radius-sm); | |
| font-size: 12px; | |
| max-height: 80px; | |
| overflow-y: auto; | |
| white-space: pre-wrap; | |
| word-break: break-all; | |
| } | |
| /* Buttons */ | |
| .button-group { | |
| display: flex; | |
| gap: 12px; | |
| margin-top: 10px; | |
| } | |
| button, .btn-primary, .btn-secondary { | |
| font-family: inherit; | |
| font-size: 14px; | |
| font-weight: 600; | |
| padding: 12px 20px; | |
| border-radius: var(--radius-md); | |
| cursor: pointer; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| transition: var(--transition); | |
| text-decoration: none; | |
| border: none; | |
| } | |
| .btn-primary { | |
| background: linear-gradient(135deg, var(--primary) 0%, rgba(139, 92, 246, 0.8) 100%); | |
| color: #fff; | |
| box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3); | |
| } | |
| .btn-primary:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4); | |
| } | |
| .btn-secondary { | |
| background: rgba(255, 255, 255, 0.05); | |
| color: var(--text-primary); | |
| border: 1px solid var(--border-glass); | |
| } | |
| .btn-secondary:hover { | |
| background: rgba(255, 255, 255, 0.1); | |
| border-color: rgba(255, 255, 255, 0.2); | |
| } | |
| /* Developer Hub Layout */ | |
| .developer-body { | |
| padding: 30px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 30px; | |
| } | |
| .info-alert { | |
| display: flex; | |
| gap: 16px; | |
| background: rgba(139, 92, 246, 0.08); | |
| border: 1px solid rgba(139, 92, 246, 0.2); | |
| border-radius: var(--radius-lg); | |
| padding: 16px 20px; | |
| align-items: flex-start; | |
| font-size: 14px; | |
| line-height: 1.6; | |
| } | |
| .info-alert i { | |
| color: var(--primary); | |
| font-size: 18px; | |
| margin-top: 3px; | |
| } | |
| .api-links-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 24px; | |
| } | |
| .api-link-box { | |
| background: rgba(255, 255, 255, 0.02); | |
| border: 1px solid var(--border-glass); | |
| border-radius: var(--radius-lg); | |
| padding: 20px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| } | |
| .link-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .method { | |
| font-size: 10px; | |
| font-weight: 800; | |
| padding: 3px 8px; | |
| border-radius: var(--radius-sm); | |
| color: #fff; | |
| } | |
| .method.get { | |
| background: #0ea5e9; | |
| } | |
| .method.post { | |
| background: #10b981; | |
| } | |
| .link-header h4 { | |
| font-size: 15px; | |
| font-weight: 700; | |
| } | |
| .link-desc { | |
| font-size: 13px; | |
| color: var(--text-muted); | |
| line-height: 1.5; | |
| } | |
| .url-copy-row { | |
| display: flex; | |
| margin-top: 10px; | |
| border-radius: var(--radius-md); | |
| overflow: hidden; | |
| border: 1px solid var(--border-glass); | |
| } | |
| .url-copy-row input { | |
| flex-grow: 1; | |
| background: rgba(0, 0, 0, 0.3); | |
| border: none; | |
| padding: 12px 14px; | |
| color: #38bdf8; | |
| font-family: Consolas, monospace; | |
| font-size: 13px; | |
| outline: none; | |
| } | |
| .btn-copy { | |
| background: rgba(255, 255, 255, 0.06); | |
| color: var(--text-primary); | |
| padding: 0 16px; | |
| border: none; | |
| border-left: 1px solid var(--border-glass); | |
| font-size: 13px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: var(--transition); | |
| } | |
| .btn-copy:hover { | |
| background: rgba(255, 255, 255, 0.1); | |
| } | |
| .btn-copy.copied { | |
| background: var(--secondary); | |
| color: white; | |
| } | |
| /* Code Snippets */ | |
| .code-snippets-section { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 16px; | |
| } | |
| .code-snippets-section h3 { | |
| font-size: 16px; | |
| font-weight: 700; | |
| } | |
| .tab-header { | |
| display: flex; | |
| gap: 8px; | |
| border-bottom: 1px solid var(--border-glass); | |
| padding-bottom: 10px; | |
| } | |
| .tab-btn { | |
| background: transparent; | |
| border: none; | |
| color: var(--text-muted); | |
| font-weight: 600; | |
| padding: 8px 16px; | |
| cursor: pointer; | |
| border-radius: var(--radius-sm); | |
| transition: var(--transition); | |
| } | |
| .tab-btn:hover { | |
| color: var(--text-primary); | |
| background: rgba(255, 255, 255, 0.02); | |
| } | |
| .tab-btn.active { | |
| color: var(--primary); | |
| background: rgba(139, 92, 246, 0.08); | |
| } | |
| .tab-content { | |
| background: #07090e; | |
| border: 1px solid var(--border-glass); | |
| border-radius: var(--radius-lg); | |
| padding: 20px; | |
| overflow-x: auto; | |
| animation: fadeIn 0.3s ease-out; | |
| } | |
| .tab-content pre { | |
| margin: 0; | |
| } | |
| .tab-content code { | |
| font-family: Consolas, monospace; | |
| font-size: 13px; | |
| color: #e2e8f0; | |
| line-height: 1.6; | |
| } | |
| /* History Grid Layout */ | |
| .history-count { | |
| font-size: 13px; | |
| color: var(--text-muted); | |
| } | |
| .history-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); | |
| gap: 24px; | |
| padding: 24px; | |
| } | |
| .history-item { | |
| background: rgba(255, 255, 255, 0.02); | |
| border: 1px solid var(--border-glass); | |
| border-radius: var(--radius-lg); | |
| overflow: hidden; | |
| cursor: pointer; | |
| transition: var(--transition); | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .history-item:hover { | |
| transform: translateY(-4px); | |
| border-color: rgba(139, 92, 246, 0.3); | |
| box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); | |
| } | |
| .history-img-wrapper { | |
| width: 100%; | |
| aspect-ratio: 1; | |
| overflow: hidden; | |
| background: #000; | |
| } | |
| .history-img-wrapper img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| transition: var(--transition); | |
| } | |
| .history-item:hover .history-img-wrapper img { | |
| transform: scale(1.05); | |
| } | |
| .history-info { | |
| padding: 16px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| .history-title { | |
| font-size: 14px; | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| } | |
| .history-text { | |
| font-size: 12px; | |
| color: var(--neon-yellow); | |
| font-weight: 600; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .history-footer { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-top: 6px; | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| } | |
| /* Modal Overlay & Settings Card */ | |
| .modal-overlay { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: rgba(0, 0, 0, 0.7); | |
| backdrop-filter: blur(8px); | |
| -webkit-backdrop-filter: blur(8px); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| z-index: 100; | |
| animation: fadeIn 0.2s ease-out; | |
| } | |
| .modal-card { | |
| width: 500px; | |
| max-width: 90%; | |
| box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); | |
| border: 1px solid rgba(255, 255, 255, 0.12); | |
| } | |
| .modal-header { | |
| padding: 20px 24px; | |
| border-bottom: 1px solid var(--border-glass); | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .modal-header h3 { | |
| font-size: 18px; | |
| font-weight: 700; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .btn-close { | |
| background: transparent; | |
| border: none; | |
| color: var(--text-muted); | |
| font-size: 18px; | |
| cursor: pointer; | |
| transition: var(--transition); | |
| } | |
| .btn-close:hover { | |
| color: var(--text-primary); | |
| } | |
| .modal-body { | |
| padding: 24px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| } | |
| .form-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| .form-group label { | |
| font-size: 13px; | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| } | |
| .form-group input, .form-group select { | |
| background: rgba(0, 0, 0, 0.3); | |
| border: 1px solid var(--border-glass); | |
| border-radius: var(--radius-md); | |
| padding: 12px 14px; | |
| color: var(--text-primary); | |
| font-family: inherit; | |
| font-size: 14px; | |
| outline: none; | |
| transition: var(--transition); | |
| } | |
| .form-group input:focus, .form-group select:focus { | |
| border-color: rgba(139, 92, 246, 0.5); | |
| } | |
| .help-text { | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| line-height: 1.4; | |
| } | |
| .modal-footer { | |
| padding: 16px 24px; | |
| border-top: 1px solid var(--border-glass); | |
| display: flex; | |
| justify-content: flex-end; | |
| gap: 12px; | |
| background: rgba(255, 255, 255, 0.01); | |
| } | |
| /* Animations for loading */ | |
| @keyframes shiver { | |
| 0%, 100% { transform: translate(0, 0) rotate(0deg); } | |
| 25% { transform: translate(1px, -1px) rotate(0.2deg); } | |
| 50% { transform: translate(-1px, 1px) rotate(-0.2deg); } | |
| 75% { transform: translate(1px, 1px) rotate(0.1deg); } | |
| } | |