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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.interface-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 25px;
}

.interface-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.interface-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.interface-wrapper {
    padding: 20px;
}

.interface-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.interface-header h2 {
    font-size: 1.3em;
    color: #1a2a6c;
    margin: 0;
}

.interface-stats {
    display: flex;
    gap: 20px;
    font-weight: 600;
}

.stat-tx {
    color: #f45b5b;
    background: #fef0f0;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.9em;
}

.stat-rx {
    color: #7cb5ec;
    background: #f0f7ff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.9em;
}

.graph-container {
    width: 100%;
    height: 300px;
}

@media (max-width: 768px) {
    .interface-grid {
        grid-template-columns: 1fr;
    }
    
    .interface-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .graph-container {
        height: 250px;
    }
    
    header h1 {
        font-size: 1.8em;
    }
}