| |
|
|
| :root { |
| --bg-primary: #0f0f1a; |
| --bg-secondary: #1a1a2e; |
| --bg-card: #16213e; |
| --accent: #6366f1; |
| --accent-glow: rgba(99, 102, 241, 0.3); |
| --text-primary: #f8fafc; |
| --text-secondary: #94a3b8; |
| --success: #22c55e; |
| --warning: #f59e0b; |
| --error: #ef4444; |
| --border: rgba(255, 255, 255, 0.1); |
| } |
|
|
| * { |
| margin: 0; |
| padding: 0; |
| box-sizing: border-box; |
| } |
|
|
| body { |
| font-family: 'Inter', sans-serif; |
| background: var(--bg-primary); |
| color: var(--text-primary); |
| min-height: 100vh; |
| } |
|
|
| .container { |
| max-width: 1200px; |
| margin: 0 auto; |
| padding: 2rem; |
| } |
|
|
| header { |
| text-align: center; |
| padding: 2rem 0 3rem; |
| } |
|
|
| header h1 { |
| font-size: 2.5rem; |
| background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899); |
| -webkit-background-clip: text; |
| background-clip: text; |
| -webkit-text-fill-color: transparent; |
| margin-bottom: 0.5rem; |
| } |
|
|
| header p { |
| color: var(--text-secondary); |
| font-size: 1.1rem; |
| } |
|
|
| |
| .tabs { |
| display: flex; |
| gap: 1rem; |
| margin-bottom: 2rem; |
| border-bottom: 1px solid var(--border); |
| padding-bottom: 1rem; |
| flex-wrap: wrap; |
| } |
|
|
| .tab-btn { |
| padding: 0.75rem 1.5rem; |
| background: transparent; |
| border: none; |
| color: var(--text-secondary); |
| font-size: 1rem; |
| cursor: pointer; |
| border-radius: 8px; |
| transition: all 0.2s; |
| display: flex; |
| align-items: center; |
| gap: 0.5rem; |
| } |
|
|
| .tab-btn:hover { |
| background: rgba(255, 255, 255, 0.05); |
| color: var(--text-primary); |
| } |
|
|
| .tab-btn.active { |
| background: var(--accent); |
| color: white; |
| box-shadow: 0 4px 20px var(--accent-glow); |
| } |
|
|
| .tab-content { |
| display: none; |
| } |
|
|
| .tab-content.active { |
| display: block; |
| } |
|
|
| |
| .card { |
| background: var(--bg-card); |
| border-radius: 16px; |
| padding: 2rem; |
| margin-bottom: 2rem; |
| border: 1px solid var(--border); |
| } |
|
|
| .card h2 { |
| font-size: 1.5rem; |
| margin-bottom: 1.5rem; |
| display: flex; |
| align-items: center; |
| gap: 0.5rem; |
| } |
|
|
| |
| .form-group { |
| margin-bottom: 1.25rem; |
| } |
|
|
| label { |
| display: block; |
| margin-bottom: 0.5rem; |
| color: var(--text-secondary); |
| font-size: 0.9rem; |
| } |
|
|
| input, |
| select, |
| textarea { |
| width: 100%; |
| padding: 0.75rem 1rem; |
| background: var(--bg-secondary); |
| border: 1px solid var(--border); |
| border-radius: 8px; |
| color: var(--text-primary); |
| font-size: 1rem; |
| font-family: inherit; |
| transition: border-color 0.2s; |
| } |
|
|
| input:focus, |
| select:focus, |
| textarea:focus { |
| outline: none; |
| border-color: var(--accent); |
| } |
|
|
| textarea { |
| resize: vertical; |
| min-height: 100px; |
| } |
|
|
| |
| .btn { |
| padding: 0.75rem 1.5rem; |
| border: none; |
| border-radius: 8px; |
| font-size: 1rem; |
| font-weight: 500; |
| cursor: pointer; |
| transition: all 0.2s; |
| } |
|
|
| .btn-primary { |
| background: linear-gradient(135deg, #6366f1, #8b5cf6); |
| color: white; |
| box-shadow: 0 4px 15px var(--accent-glow); |
| } |
|
|
| .btn-primary:hover { |
| transform: translateY(-2px); |
| box-shadow: 0 6px 25px var(--accent-glow); |
| } |
|
|
| .btn-secondary { |
| background: var(--bg-secondary); |
| color: var(--text-primary); |
| border: 1px solid var(--border); |
| } |
|
|
| |
| .form-row { |
| display: grid; |
| grid-template-columns: 1fr 1fr; |
| gap: 1rem; |
| } |
|
|
| @media (max-width: 768px) { |
| .form-row { |
| grid-template-columns: 1fr; |
| } |
|
|
| .tabs { |
| flex-direction: column; |
| } |
| } |
|
|
| |
| .status { |
| padding: 1rem; |
| border-radius: 8px; |
| margin-top: 1rem; |
| } |
|
|
| .status.processing { |
| background: rgba(99, 102, 241, 0.1); |
| border: 1px solid var(--accent); |
| } |
|
|
| .status.success { |
| background: rgba(34, 197, 94, 0.1); |
| border: 1px solid var(--success); |
| } |
|
|
| .status.error { |
| background: rgba(239, 68, 68, 0.1); |
| border: 1px solid var(--error); |
| } |
|
|
| .hidden { |
| display: none !important; |
| } |
|
|
| |
| .progress-bar { |
| height: 6px; |
| background: var(--bg-secondary); |
| border-radius: 3px; |
| overflow: hidden; |
| margin-top: 0.5rem; |
| } |
|
|
| .progress-fill { |
| height: 100%; |
| background: linear-gradient(90deg, #6366f1, #8b5cf6); |
| transition: width 0.3s; |
| } |
|
|
| |
| .character-section { |
| background: rgba(139, 92, 246, 0.1); |
| border: 1px solid rgba(139, 92, 246, 0.3); |
| border-radius: 12px; |
| padding: 1.5rem; |
| margin-bottom: 1.5rem; |
| } |
|
|
| .character-section h3 { |
| color: #a78bfa; |
| margin-bottom: 1rem; |
| font-size: 1rem; |
| } |
|
|
| |
| .chat-float-btn { |
| position: fixed; |
| bottom: 30px; |
| right: 30px; |
| width: 60px; |
| height: 60px; |
| border-radius: 50%; |
| background: linear-gradient(135deg, #6366f1, #a855f7); |
| border: none; |
| font-size: 28px; |
| cursor: pointer; |
| box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5); |
| z-index: 9999; |
| transition: transform 0.2s; |
| } |
|
|
| .chat-float-btn:hover { |
| transform: scale(1.1); |
| } |
|
|
| .chat-modal { |
| position: fixed; |
| bottom: 100px; |
| right: 30px; |
| width: 380px; |
| height: 500px; |
| background: var(--bg-card); |
| border-radius: 16px; |
| box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); |
| display: flex; |
| flex-direction: column; |
| z-index: 9998; |
| overflow: hidden; |
| } |
|
|
| .chat-modal.hidden { |
| display: none; |
| } |
|
|
| .chat-header { |
| padding: 15px 20px; |
| background: linear-gradient(135deg, #6366f1, #a855f7); |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| font-weight: 600; |
| } |
|
|
| .chat-header button { |
| background: none; |
| border: none; |
| color: white; |
| font-size: 18px; |
| cursor: pointer; |
| } |
|
|
| .chat-body { |
| flex: 1; |
| padding: 15px; |
| overflow-y: auto; |
| display: flex; |
| flex-direction: column; |
| gap: 10px; |
| } |
|
|
| .chat-message { |
| padding: 10px 14px; |
| border-radius: 12px; |
| max-width: 85%; |
| word-wrap: break-word; |
| } |
|
|
| .chat-message.user { |
| background: var(--accent); |
| align-self: flex-end; |
| } |
|
|
| .chat-message.bot { |
| background: var(--bg-secondary); |
| align-self: flex-start; |
| } |
|
|
| .chat-input-area { |
| display: flex; |
| padding: 10px; |
| gap: 10px; |
| border-top: 1px solid var(--border); |
| } |
|
|
| .chat-input-area input { |
| flex: 1; |
| padding: 12px; |
| border-radius: 8px; |
| border: none; |
| background: var(--bg-secondary); |
| color: var(--text-primary); |
| } |
|
|
| .chat-input-area button { |
| padding: 12px 20px; |
| border-radius: 8px; |
| border: none; |
| background: var(--accent); |
| color: white; |
| cursor: pointer; |
| } |
|
|
| |
| |
| |
| .login-overlay { |
| position: fixed; |
| top: 0; |
| left: 0; |
| width: 100%; |
| height: 100%; |
| background: var(--bg-primary); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| z-index: 10000; |
| } |
|
|
| .login-overlay.hidden { |
| display: none !important; |
| } |
|
|
| .login-box { |
| background: var(--bg-card); |
| border-radius: 20px; |
| padding: 2.5rem; |
| width: 100%; |
| max-width: 400px; |
| border: 1px solid var(--border); |
| box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15); |
| } |
|
|
| .login-header { |
| text-align: center; |
| margin-bottom: 2rem; |
| } |
|
|
| .login-header h1 { |
| font-size: 2rem; |
| background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899); |
| -webkit-background-clip: text; |
| background-clip: text; |
| -webkit-text-fill-color: transparent; |
| margin-bottom: 0.5rem; |
| } |
|
|
| .login-header p { |
| color: var(--text-secondary); |
| } |
|
|
| .login-field { |
| margin-bottom: 1.25rem; |
| } |
|
|
| .login-field label { |
| display: block; |
| margin-bottom: 0.5rem; |
| color: var(--text-secondary); |
| font-size: 0.9rem; |
| } |
|
|
| .login-field input { |
| width: 100%; |
| padding: 0.9rem 1rem; |
| background: var(--bg-secondary); |
| border: 1px solid var(--border); |
| border-radius: 10px; |
| color: var(--text-primary); |
| font-size: 1rem; |
| transition: all 0.3s; |
| } |
|
|
| .login-field input:focus { |
| outline: none; |
| border-color: var(--accent); |
| box-shadow: 0 0 15px var(--accent-glow); |
| } |
|
|
| .login-btn { |
| width: 100%; |
| padding: 1rem; |
| margin-top: 1rem; |
| font-size: 1.1rem; |
| } |
|
|
| .login-error { |
| margin-top: 1rem; |
| padding: 0.75rem; |
| background: rgba(239, 68, 68, 0.1); |
| border: 1px solid var(--error); |
| border-radius: 8px; |
| color: var(--error); |
| text-align: center; |
| } |
|
|
| .logout-btn { |
| position: absolute; |
| top: 1rem; |
| right: 1rem; |
| padding: 0.5rem 1rem; |
| background: rgba(239, 68, 68, 0.2); |
| border: 1px solid var(--error); |
| border-radius: 8px; |
| color: var(--error); |
| cursor: pointer; |
| font-size: 0.9rem; |
| transition: all 0.2s; |
| } |
|
|
| .logout-btn:hover { |
| background: var(--error); |
| color: white; |
| } |
|
|
| header { |
| position: relative; |
| } |