/* Modern Exchange Interface Layout */
.exchange-interface-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .exchange-interface-modern {
        grid-template-columns: 1fr;
    }
}

/* Exchange Left Panel */
.exchange-left-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Currency Pairs Compact */
.currency-pairs-compact {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.currency-pairs-compact h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.pairs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pair-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.pair-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--rcash-primary);
}

.pair-flags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.pair-flags i {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pair-details {
    flex: 1;
}

.pair-details h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.pair-details .pair-rate {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--rcash-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.pair-details .pair-volume {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Exchange Market Info */
.exchange-market-info {
    background: linear-gradient(135deg, rgba(7, 125, 109, 0.05) 0%, rgba(7, 125, 109, 0.02) 100%);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    border: 1px solid rgba(7, 125, 109, 0.1);
}

.exchange-market-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.market-insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.insight-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.insight-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--rcash-primary) 0%, var(--rcash-primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insight-icon i {
    font-size: 1.25rem;
    color: white;
}

.insight-content {
    flex: 1;
}

.insight-content h5 {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.insight-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.insight-change {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
    display: inline-block;
}

.insight-change.positive {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.insight-change.negative {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Ethiopia Banking Section */
.ethiopia-banking {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.ethiopia-services {
    margin-top: 3rem;
}

.ethiopia-section-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    margin-bottom: 2rem;
}

.ethiopia-card-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ethiopia-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--rcash-primary) 0%, var(--rcash-primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(7, 125, 109, 0.3);
}

.ethiopia-icon i {
    font-size: 2rem;
    color: white;
}

.ethiopia-card-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.ethiopia-card-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Ethiopia Stats */
.ethiopia-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .exchange-market-info {
        padding: 1.5rem;
    }
    
    .market-insights-grid {
        grid-template-columns: 1fr;
    }
    
    .insight-card {
        padding: 1rem;
    }
    
    .pair-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .pair-flags {
        font-size: 1.25rem;
    }
    
    .ethiopia-section-card {
        padding: 2rem 1.5rem;
    }
    
    .ethiopia-card-header h3 {
        font-size: 1.5rem;
    }
    
    .ethiopia-icon {
        width: 60px;
        height: 60px;
    }
    
    .ethiopia-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .currency-pairs-compact,
    .exchange-market-info {
        padding: 1.5rem;
    }
    
    .insight-value {
        font-size: 1.25rem;
    }
    
    .ethiopia-stats {
        grid-template-columns: 1fr;
    }
}

/* Dark Theme Adjustments */
[data-theme="dark"] .ethiopia-section-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .pair-item {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .insight-card {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .exchange-market-info {
    background: linear-gradient(135deg, rgba(7, 125, 109, 0.15) 0%, rgba(7, 125, 109, 0.05) 100%);
    border-color: rgba(7, 125, 109, 0.2);
}
