:root {
    --arena-accent: #f5b301;
    --arena-dark: #1b1f27;
}

body {
    background: #f7f8fa;
}

.app-navbar {
    background: linear-gradient(90deg, #1b1f27, #2a2f3a);
}

.rating-pill {
    color: #1b1f27 !important;
}

.flash-stack {
    max-width: 900px;
}

.card-problem {
    transition: transform .12s ease, box-shadow .12s ease;
}
.card-problem:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
}

.CodeMirror {
    height: 480px;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    font-size: .95rem;
}

.statement-body {
    white-space: pre-wrap;
    line-height: 1.6;
}

.sample-io pre {
    background: #1b1f27;
    color: #f1f1f1;
    padding: .75rem 1rem;
    border-radius: .375rem;
    max-height: 220px;
    overflow: auto;
}

.verdict-banner {
    border-left: 5px solid transparent;
}
.verdict-banner.text-bg-success { border-left-color: #146c43; }
.verdict-banner.text-bg-danger { border-left-color: #842029; }
.verdict-banner.text-bg-warning { border-left-color: #997404; }

table.testcase-table td, table.testcase-table th {
    vertical-align: middle;
}

.badge-icon {
    font-size: 1.6rem;
}

.contest-countdown {
    font-variant-numeric: tabular-nums;
}
