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

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

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #6366f1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}
/* Trading view chart */
#tradingview-chart {
    background-color: #0f172a;
    position: relative;
    border-radius: 0 0 0.75rem 0.75rem;
}

/* Market cards */
.market-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #6366f1, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.market-card:hover::before {
    opacity: 1;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Glow effects */
.glow-primary {
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.glow-secondary {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* Bitcoin/BRC-20 specific styles */
.bitcoin-bg {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(17, 24, 39, 0.8) 100%);
}

.brc20-badge {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border: 1px solid rgba(247, 147, 26, 0.3);
}
/* Market cards */
.market-card {
    transition: transform 0.2s;
}

.market-card:hover {
    transform: translateY(-2px);
}

/* Wallet items */
.wallet-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Order book */
.order-book-row {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.order-book-row.bid:hover {
    background-color: rgba(239, 68, 68, 0.1);
}

.order-book-row.ask:hover {
    background-color: rgba(16, 185, 129, 0.1);
}
/* Input styles */
input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Tooltip styles */
.tooltip {
    position: relative;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #1e293b;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}