:root {
    --navbar-height: 64px;
}

.site-navbar {
    height: var(--navbar-height);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.practice-room-container {
    height: calc(100vh - var(--navbar-height));
    overflow: hidden;
}

.problem-sidebar {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 1rem;
}

.practice-workspace {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 1rem;
}

.problem-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.problem-body th,
.problem-body td {
    border: 1px solid #444;
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.problem-body th {
    background-color: #f1f1f1;
    font-weight: 600;
}

/* zebra striping */
.problem-body tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* let wide tables scroll instead of breaking layout */
.problem-body {
    overflow-x: auto;
}