/* Scoped CSS for AOC Benchmark Suite */
.aoc-benchmark-container {
    background-color: #0b0f19;
    color: #f1f5f9;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid #1e293b;
    max-width: 920px;
    margin: 24px auto;
    box-shadow: 0 15px 35px -5px rgba(0,0,0,0.6);
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
}

.aoc-benchmark-container * {
    box-sizing: border-box;
}

.aoc-header {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.aoc-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.aoc-badge {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: bold;
}

.aoc-brand-sub {
    font-size: 11px;
    color: #64748b;
    font-family: monospace;
}

.aoc-title {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
}

.aoc-btn-table {
    background: #1e293b;
    border: 1px solid #334155;
    color: #f1f5f9;
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.aoc-btn-table:hover {
    background: #334155;
}

.aoc-nav-tabs {
    background: #0f172a;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid #1e293b;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
}

.aoc-tab-btn {
    background: transparent;
    color: #94a3b8;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.aoc-tab-btn.active {
    background: #1e293b;
    color: #f59e0b;
    font-weight: bold;
}

.aoc-gaming-controls {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 18px;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.aoc-res-group {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #0f172a;
    padding: 4px;
    border-radius: 10px;
    border: 1px solid #1e293b;
}

.aoc-control-label {
    font-size: 12px;
    color: #94a3b8;
    padding: 0 6px;
}

.aoc-res-btn {
    background: transparent;
    color: #cbd5e1;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.aoc-res-btn.active {
    background: #f59e0b;
    color: #0f172a;
    font-weight: bold;
}

.aoc-game-select {
    background: #0f172a;
    color: #f1f5f9;
    border: 1px solid #334155;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    cursor: pointer;
    outline: none;
    font-family: inherit;
}

.aoc-canvas-panel {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.aoc-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.aoc-chart-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}

.aoc-status-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: bold;
}

.aoc-chart-wrapper {
    position: relative;
    width: 100%;
    height: 440px;
}

.aoc-panel-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #64748b;
}

.aoc-legend {
    display: flex;
    gap: 14px;
}
.aoc-leg-5070 { color: #fbbf24; }
.aoc-leg-5060 { color: #22d3ee; }
.aoc-leg-other { color: #818cf8; }

.aoc-watermark {
    font-weight: 800;
    color: #f59e0b;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.aoc-table-container {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    overflow-x: auto;
}

.aoc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.aoc-table th, .aoc-table td {
    padding: 9px 12px;
    text-align: right;
}

.aoc-table th {
    background: #0f172a;
    color: #94a3b8;
    font-weight: 700;
    border-bottom: 1px solid #334155;
}

.aoc-table td {
    border-bottom: 1px solid #1e293b;
    font-family: monospace;
}
