#customConfirmYes {
    background-color: #16a34a !important; /* Tailwind green-600 */
    color: #ffffff !important; /* White text */
    border: none !important; /* Ensure no unwanted borders */
}

#customConfirmYes:hover {
    background-color: #15803d !important; /* Tailwind green-700 for hover */
}

/* User Test Interface Styles */

/* Question Status Colors */
.question-answered {
    background-color: #10b981 !important;
    color: #fff !important;
}

.question-skipped {
    background-color: #f59e0b !important;
    color: #fff !important;
}

.question-current {
    background: linear-gradient(45deg, rgb(0, 255, 255), rgb(255, 0, 255)) !important;
    color: #000 !important;
}

.question-unanswered {
    background-color: #374151;
    color: #fff;
}

.question-unanswered:hover {
    background-color: #4b5563;
}

/* Option Buttons */
.option-btn {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.option-btn:hover {
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateX(5px);
}

.option-btn.selected {
    background: linear-gradient(45deg, rgb(0, 255, 255), rgb(255, 0, 255)) !important;
    color: #000 !important;
    border-color: rgb(255, 255, 0);
}

/* Timer Styles */
.timer-warning {
    color: #f59e0b !important;
    animation: pulse 1s infinite;
}

.timer-critical {
    color: #ef4444 !important;
    animation: blink 0.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Question Navigation */
.question-nav-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #374151;
}

.question-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Progress Indicators */
.progress-bar {
    height: 4px;
    background-color: #374151;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgb(0, 255, 255), rgb(255, 0, 255), rgb(255, 255, 0));
    transition: width 0.3s ease;
    animation: gradient-shift 3s ease infinite;
}

/* Question Panel Animations */
.question-slide-in {
    animation: slideInLeft 0.5s ease-out;
}

.question-slide-out {
    animation: slideOutRight 0.3s ease-in;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Result Modal Enhancements */
.result-modal {
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.8);
}

.result-card {
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Score Display */
.score-excellent {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.score-good {
    color: #3b82f6;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.score-average {
    color: #f59e0b;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.score-poor {
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* Navigation Button States */
.nav-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-btn-active {
    background: linear-gradient(45deg, #374151, #4b5563);
}

.nav-btn-active:hover {
    background: linear-gradient(45deg, #4b5563, #6b7280);
}

/* Question Counter */
.question-counter {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

/* Skip Button Enhancement */
.skip-btn {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    transition: all 0.3s ease;
}

.skip-btn:hover {
    background: linear-gradient(45deg, #d97706, #b45309);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

/* Submit Button Enhancement */
.submit-btn {
    background: linear-gradient(45deg, #10b981, #059669);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .question-nav-btn {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }
    
    .option-btn {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .question-counter {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }
    
    .timer-display {
        font-size: 1rem;
    }
}

/* Accessibility Enhancements */
.focus-visible:focus {
    outline: 2px solid rgb(0, 255, 255);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .neon-border {
        border-width: 3px;
    }
    
    .option-btn.selected {
        border-width: 3px;
    }
    
    .question-nav-btn {
        border-width: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .question-slide-in,
    .question-slide-out,
    .result-card {
        animation: none;
    }
    
    .neon-glow,
    .neon-text,
    .neon-border {
        animation: none;
    }
    
    .progress-fill {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .timer-display,
    .nav-btn,
    .skip-btn,
    .submit-btn {
        display: none;
    }
    
    .question-panel {
        border: 2px solid #000;
        page-break-inside: avoid;
    }
}

/* Custom scrollbar for detailed results */
#detailedResultsContainer::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}

#detailedResultsContainer::-webkit-scrollbar-thumb {
    background: linear-gradient(rgb(0, 255, 255), rgb(255, 0, 255));
    border-radius: 3px;
}

#detailedResultsContainer {
    scrollbar-color: rgb(0, 255, 255) transparent;
    scrollbar-width: thin;
    padding-right: 8px;
}