@tailwind base; @tailwind components; @tailwind utilities; /* Custom styles for the trading dashboard */ body { margin: 0; padding: 0; box-sizing: border-box; } /* Scrollbar styling for dark theme */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #374151; } ::-webkit-scrollbar-thumb { background: #6b7280; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #9ca3af; } /* Custom button hover effects */ .btn-hover:hover { transform: translateY(-1px); transition: all 0.2s ease-in-out; } /* Loading animation */ .loading-spinner { animation: spin 1s linear infinite; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* Trading card effects */ .trading-card { transition: all 0.3s ease-in-out; } .trading-card:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); } /* Custom range slider styling */ input[type="range"] { -webkit-appearance: none; appearance: none; height: 8px; background: linear-gradient(to right, #3B82F6 0%, #3B82F6 30%, #374151 30%, #374151 100%); border-radius: 4px; outline: none; cursor: pointer; } input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; background: #3B82F6; border-radius: 50%; cursor: pointer; border: 2px solid #1e40af; box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3); } input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; background: #3B82F6; border-radius: 50%; cursor: pointer; border: 2px solid #1e40af; box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3); } input[type="range"]:focus::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); } input[type="range"]:focus::-moz-range-thumb { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); } /* Trading Chart Slider Styles */ .slider::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #3b82f6; cursor: pointer; border: 2px solid #1f2937; box-shadow: 0 0 0 1px #3b82f6; } .slider::-webkit-slider-thumb:hover { background: #2563eb; box-shadow: 0 0 0 2px #2563eb; } .slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #3b82f6; cursor: pointer; border: 2px solid #1f2937; box-shadow: 0 0 0 1px #3b82f6; } /* Chart container styling */ .trading-chart-container { position: relative; background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); } /* Position indicator styles */ .position-indicator { position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, 0.8); border-radius: 8px; padding: 8px 12px; color: white; font-size: 12px; z-index: 10; } /* Trading panel animations */ .trade-button { transition: all 0.2s ease-in-out; } .trade-button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); } .trade-button:active { transform: translateY(0); } /* Chart loading animation */ .chart-loading { display: flex; align-items: center; justify-content: center; height: 600px; background: #1a1a1a; border-radius: 8px; } .loading-spinner { border: 2px solid #374151; border-top: 2px solid #3b82f6; border-radius: 50%; width: 32px; height: 32px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Responsive chart adjustments */ @media (max-width: 1024px) { .trading-interface { flex-direction: column; } .trading-panel { width: 100%; max-width: none; } }