.vpt-video-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.vpt-video-container .plyr {
    border-radius: 0;
}

.vpt-video-container .plyr__control--overlaid {
    background: rgba(0, 124, 186, 0.9);
}

.vpt-video-container .plyr__progress__buffer {
    color: rgba(0, 124, 186, 0.3);
}

.vpt-video-container .plyr__control:hover,
.vpt-video-container .plyr__control[aria-expanded=true] {
    background: rgba(0, 124, 186, 0.9);
}

/* Hide rewind and fast-forward controls by default (shown only when lesson is FULLY completed) */
.vpt-video-container .plyr__control[data-plyr="rewind"],
.vpt-video-container .plyr__control[data-plyr="fast-forward"] {
    display: none;
}

/* Hide speed control by default (shown only when lesson is FULLY completed) */
.vpt-video-container .plyr__menu__container .plyr__control[data-plyr="speed"],
.vpt-video-container .plyr__menu .plyr__control[data-plyr="speed"],
.vpt-video-container [data-plyr="speed"] {
    display: none !important;
}

/* Show controls when lesson is FULLY completed (not just 90%) */
.vpt-video-container.lesson-completed .plyr__control[data-plyr="rewind"],
.vpt-video-container.lesson-completed .plyr__control[data-plyr="fast-forward"] {
    display: inline-flex;
}

/* Show speed control when lesson is FULLY completed */
.vpt-video-container.lesson-completed .plyr__menu__container .plyr__control[data-plyr="speed"],
.vpt-video-container.lesson-completed .plyr__menu .plyr__control[data-plyr="speed"],
.vpt-video-container.lesson-completed [data-plyr="speed"] {
    display: flex !important;
}

.vpt-resume-btn:hover {
    background: #005a87 !important;
}

/* Loading Spinner Styles */
.vpt-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.vpt-loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.vpt-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #007cba;
    border-radius: 50%;
    animation: vpt-spin 1s linear infinite;
    position: relative;
}

.vpt-loading-spinner::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: vpt-spin 2s linear infinite reverse;
}

@keyframes vpt-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.vpt-loading-text {
    color: white;
    font-size: 14px;
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

/* Buffering indicator in progress bar */
.vpt-video-container .plyr__progress {
    position: relative;
}

.vpt-video-container .plyr__progress--loading {
    background: linear-gradient(90deg,
    rgba(0, 124, 186, 0.3) 0%,
    rgba(0, 124, 186, 0.6) 50%,
    rgba(0, 124, 186, 0.3) 100%);
    background-size: 200% 100%;
    animation: vpt-loading-progress 1.5s ease-in-out infinite;
}

@keyframes vpt-loading-progress {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Loading state for video element */
.vpt-video-player[data-loading="true"] {
    opacity: 0.7;
    pointer-events: none;
}

/* Responsive loading spinner */
@media (max-width: 768px) {
    .vpt-loading-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }

    .vpt-loading-spinner::after {
        border-width: 2px;
    }

    .vpt-loading-text {
        font-size: 13px;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .vpt-loading-spinner {
        width: 35px;
        height: 35px;
    }

    .vpt-loading-text {
        font-size: 12px;
        margin-top: 10px;
    }
}

/* Popup confirmation styles - Simple design */
.vpt-confirm-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.vpt-confirm-content {
    background: white;
    border-radius: 8px;
    padding: 32px 24px 24px 24px;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.vpt-confirm-title {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    line-height: 1.3;
}

.vpt-confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.vpt-confirm-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    min-width: 80px;
    transition: all 0.2s ease;
}

.vpt-confirm-btn.primary {
    background: #4285f4;
    color: white;
}

.vpt-confirm-btn.primary:hover {
    background: #3367d6;
    transform: translateY(-1px);
}

.vpt-confirm-btn.secondary {
    background: transparent;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.vpt-confirm-btn.secondary:hover {
    background: #f8f9fa;
    border-color: #c4c7c5;
}

/* Quiz popup styles */
.vpt-quiz-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.vpt-quiz-content {
    background: white;
    border-radius: 12px;
    padding: 32px 28px 28px 28px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-align: left;
}

.vpt-quiz-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    text-align: center;
}

.vpt-quiz-question {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.vpt-quiz-answers {
    margin: 0 0 24px 0;
}

.vpt-quiz-answer {
    display: block;
    margin: 12px 0;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.vpt-quiz-answer:hover {
    background: #e3f2fd;
    border-color: #2196f3;
}

.vpt-quiz-answer.selected {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1976d2;
}

.vpt-quiz-answer.correct {
    background: #e8f5e8;
    border-color: #4caf50;
    color: #2e7d32;
}

.vpt-quiz-answer.incorrect {
    background: #ffebee;
    border-color: #f44336;
    color: #c62828;
}

.vpt-quiz-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.vpt-quiz-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    min-width: 80px;
    transition: all 0.2s ease;
}

.vpt-quiz-btn.primary {
    background: #4285f4;
    color: white;
}

.vpt-quiz-btn.primary:hover {
    background: #3367d6;
}

.vpt-quiz-btn.secondary {
    background: transparent;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.vpt-quiz-btn.secondary:hover {
    background: #f8f9fa;
}

.vpt-quiz-result {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.vpt-quiz-result.correct {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.vpt-quiz-result.incorrect {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

/* Multiple quiz selection styles */
.vpt-quiz-option {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.vpt-quiz-option:hover {
    background: #f8f9fa;
    border-color: #007cba;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vpt-quiz-option.selected {
    background: #e3f2fd;
    border-color: #2196f3;
    box-shadow: 0 2px 12px rgba(33, 150, 243, 0.2);
}

.vpt-quiz-option h4 {
    margin: 0 0 8px 0;
    color: #0073aa;
    font-size: 16px;
}

.vpt-quiz-option .quiz-meta {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 15px;
}

/* Quiz answer styles */
.vpt-quiz-answer {
    margin: 10px 0;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.vpt-quiz-answer:hover {
    border-color: #4285f4;
    background: #f8f9ff;
}

.vpt-quiz-answer input[type="radio"] {
    margin-right: 10px;
}

.vpt-quiz-answer label {
    cursor: pointer;
    display: block;
    margin: 0;
    font-weight: normal;
}

.vpt-quiz-answer input[type="radio"]:checked+label {
    font-weight: 600;
    color: #4285f4;
}

/* Quiz explanation styles */
.box-explanation {
    background: #f8f9fa !important;
    border-left: 4px solid #007cba !important;
    padding: 15px !important;
    margin: 15px 0 !important;
    border-radius: 0 6px 6px 0 !important;
    font-size: 14px;
    line-height: 1.6;
}

.box-explanation .explanation-title {
    font-weight: 600;
    color: #007cba;
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.box-explanation .explanation-content {
    color: #495057;
    line-height: 1.5;
}

/* Quiz review styles */
.vpt-quiz-review-question {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.vpt-quiz-review-question.correct {
    background: #f8fff8;
    border-color: #28a745;
}

.vpt-quiz-review-question.incorrect {
    background: #fff8f8;
    border-color: #dc3545;
}

.vpt-quiz-review-answer {
    margin: 8px 0;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
}

.vpt-quiz-review-answer.correct {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
    font-weight: 600;
}

.vpt-quiz-review-answer.user-wrong {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
    font-weight: 600;
}

.vpt-quiz-review-answer.neutral {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

/* Video completion section styles */
.vpt-completion-section {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Action buttons styles */
.vpt-action-btn {
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vpt-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.vpt-action-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vpt-action-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* VPT complete button styles removed - using LearnPress button only */

/* Hide LearnPress form button when lesson is auto-completed by video */
.vpt-video-container.lesson-completed ~ form.learn-press-form.form-button,
.lesson-completed form.learn-press-form.form-button,
form.learn-press-form.form-button.vpt-hidden {
    display: none !important;
}

/* Lesson completion notification styles */
.vpt-lesson-completion-notification {
    animation: vpt-bounce-in 0.6s ease-out;
}

.vpt-course-completion-notification {
    animation: vpt-zoom-in 0.8s ease-out;
}

@keyframes vpt-bounce-in {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
    70% {
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes vpt-zoom-in {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Remove blocked content styles when lesson is completed */
.lesson-completed .blocked,
.lesson-completed .lp-item-blocked,
.lesson-completed .item-blocked {
    opacity: 1 !important;
    pointer-events: auto !important;
    filter: none !important;
}

.lesson-completed .lp-overlay,
.lesson-completed .content-blocked,
.lesson-completed .lesson-blocked {
    display: none !important;
}

@keyframes vpt-slide-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes vpt-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive design for action buttons */
@media (max-width: 768px) {
    .vpt-completion-section>div:first-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .vpt-completion-section>div:last-child {
        flex-direction: column;
        width: 100%;
    }

    .vpt-action-btn {
        width: 100%;
        justify-content: center;
    }

    /* VPT complete button mobile styles removed */
}




/* Auto-play notifications */
.vpt-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 124, 186, 0.95);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 10000;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 350px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vpt-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.vpt-notification i {
    font-size: 16px;
    flex-shrink: 0;
}

.vpt-unmute-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 10px;
    transition: background 0.2s ease;
}

.vpt-unmute-btn:hover {
    background: rgba(255,255,255,0.3);
}

.vpt-muted-notification {
    background: rgba(255, 152, 0, 0.95);
}

.vpt-play-instruction {
    background: rgba(76, 175, 80, 0.95);
}

.vpt-video-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.vpt-video-container .plyr {
    border-radius: 0;
}

.vpt-video-container .plyr__control--overlaid {
    background: rgba(0, 124, 186, 0.9);
}

.vpt-video-container .plyr__progress__buffer {
    color: rgba(0, 124, 186, 0.3);
}

.vpt-video-container .plyr__control:hover,
.vpt-video-container .plyr__control[aria-expanded=true] {
    background: rgba(0, 124, 186, 0.9);
}

/* Hide rewind and fast-forward controls by default (shown only when lesson is FULLY completed) */
.vpt-video-container .plyr__control[data-plyr="rewind"],
.vpt-video-container .plyr__control[data-plyr="fast-forward"] {
    display: none;
}

/* Show controls when lesson is FULLY completed (not just 80%) */
.vpt-video-container.lesson-completed .plyr__control[data-plyr="rewind"],
.vpt-video-container.lesson-completed .plyr__control[data-plyr="fast-forward"] {
    display: inline-flex;
}

.vpt-resume-btn:hover {
    background: #005a87 !important;
}

/* Loading Spinner Styles */
.vpt-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.vpt-loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.vpt-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #007cba;
    border-radius: 50%;
    animation: vpt-spin 1s linear infinite;
    position: relative;
}

.vpt-loading-spinner::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: vpt-spin 2s linear infinite reverse;
}

@keyframes vpt-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.vpt-loading-text {
    color: white;
    font-size: 14px;
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

/* Buffering indicator in progress bar */
.vpt-video-container .plyr__progress {
    position: relative;
}

.vpt-video-container .plyr__progress--loading {
    background: linear-gradient(90deg,
    rgba(0, 124, 186, 0.3) 0%,
    rgba(0, 124, 186, 0.6) 50%,
    rgba(0, 124, 186, 0.3) 100%);
    background-size: 200% 100%;
    animation: vpt-loading-progress 1.5s ease-in-out infinite;
}

@keyframes vpt-loading-progress {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Loading state for video element */
.vpt-video-player[data-loading="true"] {
    opacity: 0.7;
    pointer-events: none;
}

/* Responsive loading spinner */
@media (max-width: 768px) {
    .vpt-loading-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }

    .vpt-loading-spinner::after {
        border-width: 2px;
    }

    .vpt-loading-text {
        font-size: 13px;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .vpt-loading-spinner {
        width: 35px;
        height: 35px;
    }

    .vpt-loading-text {
        font-size: 12px;
        margin-top: 10px;
    }
}

/* Popup confirmation styles - Simple design */
.vpt-confirm-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.vpt-confirm-content {
    background: white;
    border-radius: 8px;
    padding: 32px 24px 24px 24px;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.vpt-confirm-title {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    line-height: 1.3;
}

.vpt-confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.vpt-confirm-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    min-width: 80px;
    transition: all 0.2s ease;
}

.vpt-confirm-btn.primary {
    background: #4285f4;
    color: white;
}

.vpt-confirm-btn.primary:hover {
    background: #3367d6;
    transform: translateY(-1px);
}

.vpt-confirm-btn.secondary {
    background: transparent;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.vpt-confirm-btn.secondary:hover {
    background: #f8f9fa;
    border-color: #c4c7c5;
}

/* Quiz popup styles */
.vpt-quiz-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.vpt-quiz-content {
    background: white;
    border-radius: 12px;
    padding: 32px 28px 28px 28px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-align: left;
}

.vpt-quiz-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    text-align: center;
}

.vpt-quiz-question {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.vpt-quiz-answers {
    margin: 0 0 24px 0;
}

.vpt-quiz-answer {
    display: block;
    margin: 12px 0;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.vpt-quiz-answer:hover {
    background: #e3f2fd;
    border-color: #2196f3;
}

.vpt-quiz-answer.selected {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1976d2;
}

.vpt-quiz-answer.correct {
    background: #e8f5e8;
    border-color: #4caf50;
    color: #2e7d32;
}

.vpt-quiz-answer.incorrect {
    background: #ffebee;
    border-color: #f44336;
    color: #c62828;
}

.vpt-quiz-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.vpt-quiz-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    min-width: 80px;
    transition: all 0.2s ease;
}

.vpt-quiz-btn.primary {
    background: #4285f4;
    color: white;
}

.vpt-quiz-btn.primary:hover {
    background: #3367d6;
}

.vpt-quiz-btn.secondary {
    background: transparent;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.vpt-quiz-btn.secondary:hover {
    background: #f8f9fa;
}

.vpt-quiz-result {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.vpt-quiz-result.correct {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.vpt-quiz-result.incorrect {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

/* Multiple quiz selection styles */
.vpt-quiz-option {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.vpt-quiz-option:hover {
    background: #f8f9fa;
    border-color: #007cba;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vpt-quiz-option.selected {
    background: #e3f2fd;
    border-color: #2196f3;
    box-shadow: 0 2px 12px rgba(33, 150, 243, 0.2);
}

.vpt-quiz-option h4 {
    margin: 0 0 8px 0;
    color: #0073aa;
    font-size: 16px;
}

.vpt-quiz-option .quiz-meta {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 15px;
}

/* Quiz answer styles */
.vpt-quiz-answer {
    margin: 10px 0;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.vpt-quiz-answer:hover {
    border-color: #4285f4;
    background: #f8f9ff;
}

.vpt-quiz-answer input[type="radio"] {
    margin-right: 10px;
}

.vpt-quiz-answer label {
    cursor: pointer;
    display: block;
    margin: 0;
    font-weight: normal;
}

.vpt-quiz-answer input[type="radio"]:checked+label {
    font-weight: 600;
    color: #4285f4;
}

/* Quiz review styles */
.vpt-quiz-review-question {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.vpt-quiz-review-question.correct {
    background: #f8fff8;
    border-color: #28a745;
}

.vpt-quiz-review-question.incorrect {
    background: #fff8f8;
    border-color: #dc3545;
}

.vpt-quiz-review-answer {
    margin: 8px 0;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
}

.vpt-quiz-review-answer.correct {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
    font-weight: 600;
}

.vpt-quiz-review-answer.user-wrong {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
    font-weight: 600;
}

.vpt-quiz-review-answer.neutral {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

/* Video completion section styles */
.vpt-completion-section {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Action buttons styles */
.vpt-action-btn {
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vpt-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.vpt-action-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vpt-action-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* VPT complete button styles removed - using LearnPress button only */

@keyframes vpt-slide-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes vpt-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive design for action buttons */
@media (max-width: 768px) {
    .vpt-completion-section>div:first-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .vpt-completion-section>div:last-child {
        flex-direction: column;
        width: 100%;
    }

    .vpt-action-btn {
        width: 100%;
        justify-content: center;
    }

    /* VPT complete button mobile styles removed */
}