/* Isolated admin test control. The badge is positioned inside the question card. */
#admin-exam-sighting-control[hidden] {
    display: none !important;
}

#admin-exam-sighting-control {
    position: absolute;
    top: 14px;
    right: var(--quiz-card-inline-padding, 28px);
    z-index: 5;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.admin-exam-sighting-button {
    appearance: none;
    display: inline-flex;
    align-items: stretch;
    height: 30px;
    min-height: 30px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #3979df;
    border-radius: 11px;
    background: #101b2f;
    color: #e9f2ff;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
}

.admin-exam-sighting-button:hover:not(:disabled),
.admin-exam-sighting-button:focus-visible {
    border-color: #65a2ff;
    background: #142440;
}

.admin-exam-sighting-label,
.admin-exam-sighting-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-exam-sighting-label {
    padding: 0 10px;
}

.admin-exam-sighting-count {
    min-width: 30px;
    padding: 0 8px;
    border-left: 1px solid rgba(101, 162, 255, 0.45);
    background: rgba(48, 112, 214, 0.22);
    color: #75adff;
    font-variant-numeric: tabular-nums;
}

.admin-exam-sighting-button.is-recorded {
    border-color: #2ebd68;
}

.admin-exam-sighting-button.is-recorded .admin-exam-sighting-count {
    border-left-color: rgba(46, 189, 104, 0.45);
    background: rgba(46, 189, 104, 0.18);
    color: #56dc8b;
}

.admin-exam-sighting-button:disabled {
    cursor: default;
    opacity: 0.82;
}

.admin-exam-sighting-status {
    color: #ff9b9b;
    font-size: 12px;
    line-height: 1.35;
}

@media (max-width: 640px) {
    #admin-exam-sighting-control {
        top: 10px;
        right: 12px;
    }

    .admin-exam-sighting-button {
        height: 28px;
        min-height: 28px;
        font-size: 11px;
    }

    .admin-exam-sighting-label {
        padding: 0 8px;
    }

    .admin-exam-sighting-count {
        min-width: 28px;
        padding: 0 7px;
    }
}
