/* Liquidity Page Styles */
.liquidity-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #9CA3AF;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pools Card */
.pools-card {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    overflow: hidden;
    margin-bottom: 3rem;
}

.pools-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(31, 41, 55, 0.5);
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.pool-column {
    font-size: 0.875rem;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pools-list {
    display: flex;
    flex-direction: column;
}

.pool-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(75, 85, 99, 0.2);
    align-items: center;
    transition: all 0.2s ease;
}

.pool-row:hover {
    background: rgba(31, 41, 55, 0.3);
}

.pool-row:last-child {
    border-bottom: none;
}

/* Pool Details */
.pool-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pool-tokens {
    display: flex;
    align-items: center;
    position: relative;
}

.token-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(17, 24, 39, 1);
}

.token-icon-overlap {
    margin-left: -8px;
}

.pool-pair {
    display: flex;
    flex-direction: column;
}

.pool-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

/* APY */
.apy-value {
    font-size: 1rem;
    font-weight: 600;
    color: #10B981;
}

/* Liquidity */
.liquidity-value {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
}

/* Volume */
.pool-volume {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.volume-value {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.volume-change {
    font-size: 0.875rem;
    font-weight: 500;
}

.volume-change.positive {
    color: #10B981;
}

.volume-change.negative {
    color: #EF4444;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.fulfilled {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.info-card {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.info-card p {
    color: #9CA3AF;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pools-header,
    .pool-row {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 0.75rem;
        padding: 1rem 1.5rem;
    }
    
    .pool-column:nth-child(4),
    .pool-column:nth-child(5),
    .pool-row > div:nth-child(4),
    .pool-row > div:nth-child(5) {
        display: none;
    }
}

@media (max-width: 768px) {
    .liquidity-container {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .pools-header,
    .pool-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .pool-column {
        display: none;
    }
    
    .pool-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .pool-details {
        width: 100%;
        justify-content: space-between;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}

/* Animation for pool rows */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pool-row {
    animation: fadeInUp 0.5s ease forwards;
}

.pool-row:nth-child(1) { animation-delay: 0.1s; }
.pool-row:nth-child(2) { animation-delay: 0.2s; }
.pool-row:nth-child(3) { animation-delay: 0.3s; }
.pool-row:nth-child(4) { animation-delay: 0.4s; }
.pool-row:nth-child(5) { animation-delay: 0.5s; }
.pool-row:nth-child(6) { animation-delay: 0.6s; }