diff --git a/index.html b/index.html index 7e8ae4b..034e537 100644 --- a/index.html +++ b/index.html @@ -157,6 +157,65 @@ to { opacity: 1; transform: translateY(0); } } + /* Trading Mode Toggle */ + .trading-mode-group { + margin-bottom: 24px; + } + + .mode-options { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 12px; + } + + .mode-option { + position: relative; + } + + .mode-option input[type="radio"] { + position: absolute; + opacity: 0; + width: 0; + height: 0; + } + + .mode-option-label { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 16px 12px; + background: var(--bg-secondary); + border: 2px solid var(--border); + border-radius: 8px; + cursor: pointer; + transition: all 0.3s ease; + } + + .mode-option input[type="radio"]:checked + .mode-option-label { + background: rgba(0, 255, 136, 0.1); + border-color: var(--accent-green); + box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1); + } + + .mode-option-label:hover { + border-color: var(--accent-green); + } + + .mode-title { + font-family: 'JetBrains Mono', monospace; + font-size: 14px; + font-weight: 700; + color: var(--text-primary); + margin-bottom: 4px; + } + + .mode-description { + font-size: 11px; + color: var(--text-muted); + text-align: center; + } + .input-group { margin-bottom: 20px; } @@ -171,7 +230,8 @@ letter-spacing: 0.5px; } - input { + input[type="password"], + input[type="text"] { width: 100%; padding: 14px 16px; background: var(--bg-secondary); @@ -183,7 +243,8 @@ transition: all 0.3s ease; } - input:focus { + input[type="password"]:focus, + input[type="text"]:focus { outline: none; border-color: var(--accent-green); box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1); @@ -506,6 +567,27 @@