:root {
    --primary: #00df9a;
    --primary-dark: #00b377;
    --dark: #000300;
    --gray-800: #1a1a1a;
    --gray-700: #2a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: white;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-gradient {
    background: linear-gradient(to right, rgba(0, 223, 154, 0.2), rgba(0, 0, 0, 0));
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-gradient {
    transition: all 0.3s ease;
}

.hover-gradient:hover {
    background: linear-gradient(to right, var(--primary), var(--primary-dark)) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 223, 154, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Mobile menu animation */
#mobile-menu {
    transition: left 0.5s ease-in-out;
}

#mobile-menu.open {
    left: 0 !important;
}

/* Form styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 223, 154, 0.2);
}

/* Button animations */
button {
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* Loading spinner */
.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    .text-7xl {
        font-size: 3rem;
    }
    
    .text-5xl {
        font-size: 2rem;
    }
    
    .text-2xl {
        font-size: 1.5rem;
    }
}

/* Chart container */
#tradingChart {
    background: var(--gray-800);
    border-radius: 8px;
}

/* Modal styles */
.modal {
    backdrop-filter: blur(4px);
}

/* Table styles */
table {
    border-collapse: collapse;
}

th, td {
    border-bottom: 1px solid #374151;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Status badges */
.status-pending {
    background-color: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.status-completed {
    background-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-failed {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}