/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #4a5568;
}

/* Pearson VUE UI Overrides */
.pv-btn {
    border: 1px solid #ccc;
    background: linear-gradient(to bottom, #fff 0%, #e6e6e6 100%);
    color: #333;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    min-width: 100px;
    transition: all 0.2s;
}

.pv-btn:hover:not(:disabled) {
    background: #dcdcdc;
    border-color: #999;
}

.pv-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pv-header {
    background-color: #003057;
    color: white;
    height: 60px;
}

.pv-footer {
    background-color: #e0e0e0;
    border-top: 1px solid #ccc;
    height: 70px;
}

/* Grid Cell */
.grid-cell {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    background: white;
    color: #333;
}

.grid-cell.current {
    border: 2px solid #003057;
}

.grid-cell.answered {
    background-color: #e0e7ff;
    color: #003057;
}

.grid-cell.flagged {
    position: relative;
}

.grid-cell.flagged::after {
    content: '🚩';
    font-size: 10px;
    position: absolute;
    top: 2px;
    right: 2px;
}

/* Option Styling */
.option-row {
    display: flex;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
}

.option-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
}

.option-row:hover .option-text {
    background-color: #f9f9f9;
}

/* Strikethrough Effect */
.strike-through {
    opacity: 0.5;
    background-color: #f3f4f6 !important;
}

.strike-through .option-text {
    text-decoration: line-through;
    color: #9ca3af;
}

.dark .strike-through {
    background-color: #1f2937 !important;
}

/* Feedback */
.feedback-correct {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    padding: 10px;
    margin-top: 10px;
}

.feedback-incorrect {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    padding: 10px;
    margin-top: 10px;
}

/* Blur for Pause */
.blur-content {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}
