/* Custom Styles for Crypto Arbitrage Dashboard */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.bg-gray-750 {
    background-color: #374151;
}

.hover\:bg-gray-750:hover {
    background-color: #374151;
}

/* Smooth transitions for all interactive elements */
button, input, select {
    transition: all 0.2s ease-in-out;
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Connection status indicators */
.connection-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

/* Table row hover effects */
.table-row-hover {
    transition: all 0.2s ease-in-out;
}

.table-row-hover:hover {
    background-color: #374151;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Gradient text effects */
.gradient-text {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card shadows for depth */
.card-shadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* Status badges */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Focus states for accessibility */
.focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

/* Custom utility classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Animation for new data entries */
@keyframes highlight {
    0% {
        background-color: rgba(14, 165, 233, 0.2);
    }
    100% {
        background-color: transparent;
    }
}

.highlight-new {
    animation: highlight 1s ease-in-out;
}

/* Exchange logo placeholders */
.exchange-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}