/* _content/Psiphas.Web/Components/Pages/Proctoring/TestReview.razor.rz.scp.css */
.tr-root[b-wjlncb0y95] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    font-family: 'Rubik', 'Poppins', -apple-system, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
}

/* Top bar — subtle gradient and refined typography */
.tr-appbar[b-wjlncb0y95] {
    background: linear-gradient(135deg, #1EAB56 0%, #178f48 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 14px 28px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    z-index: 10;
}

/* Body: sidebar + main */
.tr-body[b-wjlncb0y95] {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    overflow: hidden;
}

/* Sidebar — slightly wider, padded card list */
.tr-sidebar[b-wjlncb0y95] {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
    background: #fff;
    border-inline-end: 1px solid #e8ecf1;
    overflow-y: auto;
    padding: 16px 12px;
}

.tr-sidebar-header[b-wjlncb0y95] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5a6776;
    letter-spacing: 0.4px;
    border-bottom: 1px solid #eef1f5;
    margin-bottom: 10px;
}

.tr-rec-item[b-wjlncb0y95] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 6px;
    cursor: pointer;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #eef1f5;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.tr-rec-item:hover[b-wjlncb0y95] {
    background: #f8fbf9;
    border-color: #c9e8d4;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(30, 171, 86, 0.10);
}

.tr-rec-selected[b-wjlncb0y95] {
    background: linear-gradient(135deg, #ecf8f1 0%, #f4fbf6 100%);
    border-color: #1EAB56;
    box-shadow: 0 1px 4px rgba(30, 171, 86, 0.18);
}

.tr-rec-selected:hover[b-wjlncb0y95] {
    transform: none;
    background: linear-gradient(135deg, #e6f5ec 0%, #effaf3 100%);
}

.tr-rec-icon[b-wjlncb0y95] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef1f5;
    color: #7a8696;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.tr-rec-selected .tr-rec-icon[b-wjlncb0y95] {
    background: #1EAB56;
    color: #fff;
    box-shadow: 0 2px 6px rgba(30, 171, 86, 0.35);
}

.tr-rec-meta[b-wjlncb0y95] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

.tr-rec-time[b-wjlncb0y95] {
    font-size: 0.98rem;
    font-weight: 500;
    color: #2c3e50;
    font-variant-numeric: tabular-nums;
}

.tr-rec-selected .tr-rec-time[b-wjlncb0y95] {
    color: #157a3f;
    font-weight: 600;
}

.tr-rec-date[b-wjlncb0y95] {
    font-size: 0.78rem;
    color: #8b96a3;
    font-variant-numeric: tabular-nums;
}

.tr-rec-badge[b-wjlncb0y95] {
    margin-inline-start: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 11px;
    background: #eef1f5;
    color: #5a6776;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
    transition: background 0.18s ease, color 0.18s ease;
}

.tr-rec-selected .tr-rec-badge[b-wjlncb0y95] {
    background: #1EAB56;
    color: #fff;
}

/* Main content area */
.tr-main[b-wjlncb0y95] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 28px;
    overflow-y: auto;
    background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 100%);
}

/* Video card wrapper */
.tr-player-card[b-wjlncb0y95] {
    width: 100%;
    max-width: 920px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8ecf1;
}

.tr-player[b-wjlncb0y95] {
    width: 100%;
    max-height: 600px;
    background: #000;
    border-radius: 8px;
    display: block;
}

/* Exam-transition timeline below the video */
.tr-timeline[b-wjlncb0y95] {
    position: relative;
    height: 22px;
    margin: 14px 6px 4px;
    direction: ltr;
}

.tr-timeline-track[b-wjlncb0y95] {
    position: absolute;
    inset-inline: 0;
    top: 9px;
    height: 4px;
    background: linear-gradient(90deg, #e3e7ed 0%, #d8dde4 100%);
    border-radius: 2px;
}

.tr-marker[b-wjlncb0y95] {
    position: absolute;
    top: 5px;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    z-index: 1;
}

.tr-marker-tick[b-wjlncb0y95] {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1EAB56;
    border: 2px solid #fff;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(30, 171, 86, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

/* Floating label — hidden by default, appears above the tick on hover/focus */
.tr-marker-label[b-wjlncb0y95] {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(2px);
    font-size: 0.72rem;
    font-weight: 500;
    color: #2c3e50;
    background: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #c9e8d4;
    white-space: nowrap;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    transition: opacity 0.12s ease, transform 0.12s ease, visibility 0s linear 0.12s;
}

.tr-marker:hover[b-wjlncb0y95],
.tr-marker:focus-visible[b-wjlncb0y95] {
    z-index: 2;
}

.tr-marker:hover .tr-marker-tick[b-wjlncb0y95],
.tr-marker:focus-visible .tr-marker-tick[b-wjlncb0y95] {
    transform: scale(1.3);
    background: #168f47;
    box-shadow: 0 2px 6px rgba(22, 143, 71, 0.55);
}

.tr-marker:hover .tr-marker-label[b-wjlncb0y95],
.tr-marker:focus-visible .tr-marker-label[b-wjlncb0y95] {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.12s ease, transform 0.12s ease, visibility 0s;
}

.tr-marker:focus-visible[b-wjlncb0y95] {
    outline: none;
}

.tr-marker:focus-visible .tr-marker-tick[b-wjlncb0y95] {
    outline: 2px solid #168f47;
    outline-offset: 2px;
}

/* Speed control card */
.tr-speed-section[b-wjlncb0y95] {
    width: 100%;
    max-width: 460px;
    margin-top: 28px;
    padding: 18px 24px 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tr-speed-label[b-wjlncb0y95] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #5a6776;
    margin-bottom: 6px;
    text-align: end;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.tr-speed-slider-wrap[b-wjlncb0y95] {
    position: relative;
    padding: 0 4px;
}

.tr-speed-marks[b-wjlncb0y95] {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #8b96a3;
    padding: 6px 4px 0;
    font-variant-numeric: tabular-nums;
}
