Spaces:
Sleeping
Sleeping
| /* Modern Eye-Catching Place Order UI */ | |
| :root { | |
| --primary-glow: rgba(99, 102, 241, 0.5); | |
| --secondary-glow: rgba(167, 139, 250, 0.5); | |
| --glass-bg: rgba(255, 255, 255, 0.03); | |
| --glass-border: rgba(255, 255, 255, 0.08); | |
| --glass-hover: rgba(255, 255, 255, 0.06); | |
| } | |
| .place-order-main { | |
| background: radial-gradient(circle at top right, #1e1b4b, #0f172a); | |
| min-height: 100vh; | |
| padding: 2rem 1rem; | |
| color: #f8fafc; | |
| } | |
| .place-order-container, | |
| .order-form-container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| } | |
| /* Glassmorphism Panel / Form */ | |
| #order-form { | |
| background: transparent; | |
| border: none; | |
| padding: 0; | |
| box-shadow: none; | |
| } | |
| .glass-panel { | |
| background: var(--glass-bg); | |
| backdrop-filter: blur(16px); | |
| -webkit-backdrop-filter: blur(16px); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 24px; | |
| padding: 2rem; | |
| box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); | |
| transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); | |
| margin-bottom: 2rem; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .glass-panel::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 4px; | |
| background: linear-gradient(90deg, #6366f1, #a78bfa, #fb7185); | |
| opacity: 0.5; | |
| } | |
| .glass-panel:hover { | |
| border-color: rgba(99, 102, 241, 0.4); | |
| box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45); | |
| transform: translateY(-2px); | |
| } | |
| /* Panel Header */ | |
| .panel-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 1.5rem; | |
| padding-bottom: 1rem; | |
| border-bottom: 1px solid var(--glass-border); | |
| } | |
| .header-left { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.75rem; | |
| } | |
| .header-left h3 { | |
| font-size: 1.25rem; | |
| font-weight: 700; | |
| margin: 0; | |
| color: #f1f5f9; | |
| } | |
| .header-left .icon { | |
| font-size: 1.5rem; | |
| } | |
| .header-right { | |
| display: flex; | |
| align-items: center; | |
| gap: 1rem; | |
| } | |
| /* Search Input */ | |
| .search-input { | |
| background: rgba(15, 23, 42, 0.6); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 10px; | |
| padding: 0.5rem 1rem; | |
| color: white; | |
| font-size: 0.875rem; | |
| width: 200px; | |
| transition: all 0.3s ease; | |
| } | |
| .search-input:focus { | |
| width: 280px; | |
| outline: none; | |
| border-color: #6366f1; | |
| box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1); | |
| } | |
| /* Header Section */ | |
| .page-header { | |
| text-align: center; | |
| margin-bottom: 2.5rem; | |
| } | |
| .page-header h1 { | |
| font-size: 3.5rem; | |
| font-weight: 900; | |
| margin-bottom: 0.5rem; | |
| background: linear-gradient(135deg, #fff 30%, #a78bfa 70%, #6366f1 100%); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| letter-spacing: -0.05em; | |
| filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3)); | |
| } | |
| .badge-new { | |
| font-size: 1rem; | |
| vertical-align: middle; | |
| background: linear-gradient(90deg, #6366f1, #a78bfa); | |
| -webkit-text-fill-color: white; | |
| padding: 4px 12px; | |
| border-radius: 20px; | |
| margin-left: 10px; | |
| box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); | |
| } | |
| .page-header p { | |
| color: #94a3b8; | |
| font-size: 1.25rem; | |
| font-weight: 500; | |
| } | |
| /* Clients Grid - 3 rows * 5 columns */ | |
| #clients-container { | |
| display: grid; | |
| grid-template-columns: repeat(5, 1fr); | |
| grid-template-rows: repeat(3, auto); | |
| gap: 12px; | |
| padding: 12px; | |
| background: rgba(15, 23, 42, 0.4); | |
| border-radius: 16px; | |
| border: 1px solid var(--glass-border); | |
| max-height: 350px; | |
| overflow-y: auto; | |
| } | |
| .client-card { | |
| position: relative; | |
| background: rgba(255, 255, 255, 0.02); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 12px; | |
| padding: 12px; | |
| cursor: pointer; | |
| transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| user-select: none; | |
| } | |
| .client-card:hover { | |
| background: var(--glass-hover); | |
| transform: translateY(-4px) scale(1.02); | |
| border-color: rgba(99, 102, 241, 0.6); | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(99, 102, 241, 0.2); | |
| } | |
| .client-card.active { | |
| background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(167, 139, 250, 0.1)); | |
| border-color: #6366f1; | |
| box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), inset 0 0 10px rgba(99, 102, 241, 0.1); | |
| transform: scale(1.02); | |
| } | |
| .client-card.active::after { | |
| content: ''; | |
| position: absolute; | |
| inset: -1px; | |
| border-radius: 12px; | |
| padding: 1px; | |
| background: linear-gradient(135deg, #6366f1, #a78bfa); | |
| -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); | |
| mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); | |
| -webkit-mask-composite: xor; | |
| mask-composite: exclude; | |
| } | |
| .client-card input[type="checkbox"] { | |
| appearance: none; | |
| -webkit-appearance: none; | |
| width: 18px; | |
| height: 18px; | |
| border: 2px solid rgba(255, 255, 255, 0.2); | |
| border-radius: 4px; | |
| background: transparent; | |
| cursor: pointer; | |
| position: relative; | |
| transition: all 0.2s ease; | |
| } | |
| .client-card input[type="checkbox"]:checked { | |
| background: #6366f1; | |
| border-color: #6366f1; | |
| } | |
| .client-card input[type="checkbox"]:checked::after { | |
| content: '✓'; | |
| position: absolute; | |
| color: white; | |
| font-size: 12px; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| } | |
| .client-name { | |
| font-size: 0.85rem; | |
| font-weight: 500; | |
| color: #cbd5e1; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .client-card.active .client-name { | |
| color: white; | |
| } | |
| /* Form Groups & Inputs */ | |
| .form-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.5rem; | |
| margin-bottom: 1.5rem; | |
| } | |
| .form-label { | |
| font-size: 0.875rem; | |
| font-weight: 600; | |
| color: #94a3b8; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .form-input, | |
| .form-select { | |
| background: rgba(15, 23, 42, 0.6); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 12px; | |
| padding: 0.75rem 1rem; | |
| color: white; | |
| font-size: 1rem; | |
| transition: all 0.2s ease; | |
| width: 100%; | |
| } | |
| .form-input:focus, | |
| .form-select:focus { | |
| outline: none; | |
| border-color: #6366f1; | |
| box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1); | |
| } | |
| /* Custom Searchable Dropdown */ | |
| .custom-select-container { | |
| position: relative; | |
| width: 100%; | |
| } | |
| .select-trigger { | |
| background: rgba(15, 23, 42, 0.6); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 12px; | |
| padding: 0.75rem 1rem; | |
| color: white; | |
| cursor: pointer; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| transition: all 0.2s ease; | |
| min-height: 46px; | |
| } | |
| .select-trigger:hover:not(.disabled) { | |
| border-color: #6366f1; | |
| background: rgba(15, 23, 42, 0.8); | |
| } | |
| .select-trigger.disabled { | |
| opacity: 0.5; | |
| cursor: not-allowed; | |
| background: rgba(15, 23, 42, 0.4); | |
| } | |
| .select-trigger .chevron { | |
| font-size: 0.8rem; | |
| transition: transform 0.3s ease; | |
| opacity: 0.6; | |
| } | |
| .select-dropdown { | |
| position: absolute; | |
| top: calc(100% + 8px); | |
| left: 0; | |
| width: 100%; | |
| background: rgba(15, 23, 42, 0.95); | |
| backdrop-filter: blur(20px); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 16px; | |
| box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5); | |
| z-index: 100; | |
| display: none; | |
| flex-direction: column; | |
| overflow: hidden; | |
| } | |
| .select-dropdown.show { | |
| display: flex; | |
| animation: dropdownFadeIn 0.2s ease-out; | |
| } | |
| @keyframes dropdownFadeIn { | |
| from { opacity: 0; transform: translateY(-10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .search-container { | |
| padding: 12px; | |
| border-bottom: 1px solid var(--glass-border); | |
| } | |
| .search-container input { | |
| width: 100%; | |
| background: rgba(255, 255, 255, 0.05); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 8px; | |
| padding: 8px 12px; | |
| color: white; | |
| font-size: 0.9rem; | |
| } | |
| .search-container input:focus { | |
| outline: none; | |
| border-color: #6366f1; | |
| } | |
| .options-list { | |
| max-height: 250px; | |
| overflow-y: auto; | |
| } | |
| .option-item { | |
| padding: 10px 16px; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| color: #cbd5e1; | |
| font-size: 0.9rem; | |
| } | |
| .option-item:hover { | |
| background: rgba(99, 102, 241, 0.2); | |
| color: white; | |
| padding-left: 20px; | |
| } | |
| .options-list::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| .options-list::-webkit-scrollbar-track { | |
| background: transparent; | |
| } | |
| .options-list::-webkit-scrollbar-thumb { | |
| background: var(--glass-border); | |
| border-radius: 10px; | |
| } | |
| .options-list::-webkit-scrollbar-thumb:hover { | |
| background: rgba(99, 102, 241, 0.5); | |
| } | |
| .loading, .no-results, .error { | |
| padding: 20px; | |
| text-align: center; | |
| color: #94a3b8; | |
| font-size: 0.85rem; | |
| } | |
| .error { | |
| color: #ef4444; | |
| } | |
| /* Radio Groups (Segmented) */ | |
| .radio-group, | |
| .segmented-group { | |
| display: grid; | |
| grid-template-columns: repeat(2, 1fr); | |
| background: rgba(15, 23, 42, 0.6); | |
| padding: 4px; | |
| border-radius: 14px; | |
| border: 1px solid var(--glass-border); | |
| gap: 4px; | |
| } | |
| .radio-group.grid-3, | |
| .segmented-group.grid-3 { | |
| grid-template-columns: repeat(3, 1fr); | |
| } | |
| .radio, | |
| .segment-item { | |
| position: relative; | |
| text-align: center; | |
| } | |
| .radio input[type="radio"], | |
| .segment-item input[type="radio"] { | |
| display: none; | |
| } | |
| .radio label, | |
| .radio span, | |
| .segment-item label { | |
| display: block; | |
| padding: 10px; | |
| font-size: 0.875rem; | |
| font-weight: 600; | |
| color: #94a3b8; | |
| cursor: pointer; | |
| border-radius: 10px; | |
| transition: all 0.3s ease; | |
| } | |
| .radio input[type="radio"]:checked+span, | |
| .radio input[type="radio"]:checked+label, | |
| .segment-item input[type="radio"]:checked+label { | |
| background: #6366f1; | |
| color: white; | |
| box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); | |
| } | |
| /* Side-by-side transaction styling */ | |
| .radio:has(input[value="BUY"]:checked) span, | |
| .radio:has(input[value="BUY"]:checked) label { | |
| background: #10b981 ; | |
| box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) ; | |
| } | |
| .radio:has(input[value="SELL"]:checked) span, | |
| .radio:has(input[value="SELL"]:checked) label { | |
| background: #ef4444 ; | |
| box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) ; | |
| } | |
| /* Action Buttons */ | |
| .form-actions { | |
| display: flex; | |
| gap: 1rem; | |
| margin-top: 2rem; | |
| padding-top: 1.5rem; | |
| border-top: 1px solid var(--glass-border); | |
| } | |
| .btn-primary { | |
| flex: 2; | |
| background: linear-gradient(135deg, #6366f1, #4f46e5); | |
| color: white; | |
| border: none; | |
| border-radius: 16px; | |
| padding: 1rem; | |
| font-size: 1.1rem; | |
| font-weight: 700; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.75rem; | |
| } | |
| .btn-primary:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4); | |
| filter: brightness(1.1); | |
| } | |
| .btn-secondary { | |
| flex: 1; | |
| background: rgba(255, 255, 255, 0.05); | |
| color: #cbd5e1; | |
| border: 1px solid var(--glass-border); | |
| border-radius: 16px; | |
| padding: 1rem; | |
| font-size: 1.1rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| } | |
| .btn-secondary:hover { | |
| background: rgba(255, 255, 255, 0.1); | |
| color: white; | |
| } | |
| /* Results Section */ | |
| #order-results { | |
| margin-top: 3rem; | |
| animation: fadeIn 0.5s ease-out; | |
| } | |
| .results-table-container { | |
| overflow-x: auto; | |
| border-radius: 16px; | |
| border: 1px solid var(--glass-border); | |
| } | |
| .results-table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| background: rgba(15, 23, 42, 0.4); | |
| } | |
| .results-table th { | |
| text-align: left; | |
| padding: 1rem; | |
| background: rgba(255, 255, 255, 0.03); | |
| color: #94a3b8; | |
| font-size: 0.875rem; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| .results-table td { | |
| padding: 1rem; | |
| border-top: 1px solid var(--glass-border); | |
| color: #e2e8f0; | |
| } | |
| .status-success { | |
| color: #10b981; | |
| font-weight: 600; | |
| } | |
| .status-error { | |
| color: #f87171; | |
| font-weight: 600; | |
| } | |
| /* ETF Quick Links */ | |
| .etf-quick-links { | |
| margin-top: 0.5rem; | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 0.5rem; | |
| } | |
| .etf-tag { | |
| background: rgba(99, 102, 241, 0.1); | |
| border: 1px solid rgba(99, 102, 241, 0.2); | |
| color: #818cf8; | |
| padding: 4px 10px; | |
| border-radius: 20px; | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| } | |
| .etf-tag:hover { | |
| background: rgba(99, 102, 241, 0.2); | |
| transform: scale(1.05); | |
| } | |
| /* Responsive adjustments */ | |
| @media (max-width: 1024px) { | |
| #clients-container { | |
| grid-template-columns: repeat(4, 1fr); | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| #clients-container { | |
| grid-template-columns: repeat(3, 1fr); | |
| } | |
| .grid-2, | |
| .grid-3 { | |
| grid-template-columns: 1fr; | |
| } | |
| .form-actions { | |
| flex-direction: column; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| #clients-container { | |
| grid-template-columns: repeat(2, 1fr); | |
| } | |
| } |