/**
 * LMS Quiz 2 Simple - Responsive Styles
 * Compatible with GeneratePress Premium and GenerateBlocks Pro
 * Optimized for desktop browsers, iOS and Android tablets/phones
 */

/* ============================================
   Container & Loading
   ============================================ */

.lms-quiz2-container {
    max-width: 950px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Responsive container widths */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .lms-quiz2-container {
        max-width: 95%;
        padding: 1.75rem;
    }
}

@media screen and (max-width: 768px) {
    .lms-quiz2-container {
        max-width: 100%;
        padding: 1.5rem;
        margin: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .lms-quiz2-container {
        max-width: 100%;
        padding: 1rem;
        margin: 0.5rem;
    }
}

.lms-quiz2-loading {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1.125rem;
    color: #666;
}

/* ============================================
   Testlet Header Section
   ============================================ */

.lms-quiz2-testlet-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.lms-quiz2-testlet-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.lms-quiz2-testlet-description {
    font-size: 1rem;
    color: #666;
    margin: 0 0 1rem 0;
}

.lms-quiz2-progress {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2271b1;
    background: #f0f6fc;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
}

/* ============================================
   Question Section
   ============================================ */

.lms-quiz2-question {
    margin-bottom: 1rem;
}

.lms-quiz2-question-text {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

/* ============================================
   Options Section
   ============================================ */

.lms-quiz2-options-list {
    margin-bottom: 1rem;
}

.lms-quiz2-option {
    margin-bottom: 0.5rem;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    background: transparent;
}

.lms-quiz2-option:hover {
    background: #f0f6fc;
}

.lms-quiz2-option.selected {
    background: #e5f2ff;
}

.lms-quiz2-option.correct-answer {
    background: #e7f7e9;
}

.lms-quiz2-option label {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    cursor: pointer;
    margin: 0;
}

.lms-quiz2-option input[type="radio"],
.lms-quiz2-option input[type="checkbox"] {
    margin: 0 1rem 0 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.lms-quiz2-option input[type="radio"]:disabled,
.lms-quiz2-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.lms-quiz2-option-text {
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.5;
}

/* ============================================
   Text Entry Input
   ============================================ */

.lms-quiz2-text-entry-wrapper {
    margin-bottom: 1rem;
}

.lms-quiz2-text-entry {
    width: 100%;
    min-height: 150px;
    max-height: 400px;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.lms-quiz2-text-entry:focus {
    outline: none;
    border-color: #2271b1;
    background: #f0f6fc;
}

.lms-quiz2-text-entry:disabled {
    background: #f6f7f7;
    cursor: not-allowed;
    opacity: 0.7;
}

.lms-quiz2-char-count {
    font-size: 0.85rem;
    color: #666;
    text-align: right;
    margin-top: 0.25rem;
}

.lms-quiz2-feedback-box.text-submitted {
    background: transparent;
    border: none;
}

.lms-quiz2-feedback-box.text-submitted .feedback-icon-svg {
    color: #2271b1;
}

.lms-quiz2-feedback-box.text-submitted .feedback-text {
    color: #2271b1;
}

/* ============================================
   Multi-Entry Text Input
   ============================================ */

.lms-quiz2-multi-text-entry-wrapper {
    margin-bottom: 1rem;
}

.lms-quiz2-text-entry-group {
    margin-bottom: 1.5rem;
}

.lms-quiz2-text-entry-group:last-child {
    margin-bottom: 1rem;
}

.text-entry-prompt {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* HTML rendering support in prompts */
.text-entry-prompt strong, .text-entry-prompt b {
    font-weight: 700;
}

.text-entry-prompt em, .text-entry-prompt i {
    font-style: italic;
}

.text-entry-prompt u {
    text-decoration: underline;
}

.text-entry-required {
    color: #d63638;
    margin-left: 0.25rem;
}

/* Layout: Prompt on left, textarea on right */
.text-entry-layout-left {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.text-entry-layout-left .text-entry-prompt {
    flex: 0 0 200px;
    min-width: 150px;
    max-width: 250px;
    margin-bottom: 0;
    padding-top: 0.75rem; /* Align with top of textarea */
}

.text-entry-layout-left .lms-quiz2-text-entry {
    flex: 1;
}

/* Layout: Prompt on top (default) */
.lms-quiz2-text-entry-group[data-position="top"] .text-entry-prompt {
    display: block;
}

/* Responsive adjustments for multi-entry */
@media screen and (max-width: 768px) {
    .text-entry-layout-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .text-entry-layout-left .text-entry-prompt {
        padding-top: 0;
        max-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .lms-quiz2-text-entry-group {
        margin-bottom: 1.25rem;
    }
    
    .text-entry-prompt {
        font-size: 0.95rem;
    }
}

/* ============================================
   Submit Button
   ============================================ */

.lms-quiz2-submit-wrapper {
    margin-bottom: 1rem;
    text-align: center;
}

.lms-quiz2-submit-btn {
    background: #2271b1;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.lms-quiz2-submit-btn:hover:not(:disabled) {
    background: #135e96;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.lms-quiz2-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.lms-quiz2-submit-btn:disabled {
    background: #c3c4c7;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ============================================
   Feedback Section (Compact Design)
   ============================================ */

.lms-quiz2-feedback {
    margin-bottom: 1rem;
}

.lms-quiz2-feedback-box {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lms-quiz2-feedback-box.correct {
    background: transparent;
    border: none;
}

.lms-quiz2-feedback-box.incorrect {
    background: transparent;
    border: none;
}

.feedback-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.feedback-icon-svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.feedback-icon-svg.correct-icon {
    color: #00a32a;
}

.feedback-icon-svg.incorrect-icon {
    color: #d63638;
}

.feedback-text {
    font-size: 1rem;
    font-weight: 600;
}

.lms-quiz2-feedback-box.correct .feedback-text {
    color: #00701a;
}

.lms-quiz2-feedback-box.incorrect .feedback-text {
    color: #8a2424;
}

/* ============================================
   Retry Button (Compact Design)
   ============================================ */

.lms-quiz2-retry-btn {
    background: #2271b1;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    white-space: nowrap;
}

.lms-quiz2-retry-btn:hover {
    background: #135e96;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.3);
}

.lms-quiz2-retry-btn:active {
    transform: translateY(0);
}

/* ============================================
   Navigation Buttons
   ============================================ */

.lms-quiz2-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
    flex-wrap: nowrap;
}

.lms-quiz2-progress-inline {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2271b1;
    text-align: center;
    flex: 1;
    white-space: nowrap;
}

.lms-quiz2-nav-btn {
    background: #f0f0f1;
    color: #1a1a1a;
    border: 2px solid #dcdcde;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    flex: 0 0 auto;
    max-width: 150px;
    white-space: nowrap;
}

.lms-quiz2-nav-btn:hover:not(:disabled) {
    background: #e0e0e0;
    border-color: #2271b1;
    color: #2271b1;
    transform: translateY(-1px);
}

.lms-quiz2-nav-btn:active:not(:disabled) {
    transform: translateY(0);
}

.lms-quiz2-nav-btn:disabled {
    background: #f6f7f7;
    color: #a7aaad;
    border-color: #dcdcde;
    cursor: not-allowed;
    opacity: 0.5;
}

.lms-quiz2-prev-btn {
    margin-right: auto;
}

.lms-quiz2-next-btn {
    margin-left: auto;
}

/* ============================================
   Attempt History
   ============================================ */

.lms-quiz2-attempts {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.lms-quiz2-attempts-header {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.lms-quiz2-attempts-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lms-quiz2-attempt {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    border-radius: 6px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
}

.lms-quiz2-attempt.correct {
    background: #e7f7e9;
    border-color: #00a32a;
}

.lms-quiz2-attempt.incorrect {
    background: #fcf0f1;
    border-color: #d63638;
}

.attempt-icon {
    font-size: 1rem;
    font-weight: 700;
}

.lms-quiz2-attempt.correct .attempt-icon {
    color: #00a32a;
}

.lms-quiz2-attempt.incorrect .attempt-icon {
    color: #d63638;
}

.attempt-number {
    font-weight: 600;
    color: #1a1a1a;
}

.attempt-score {
    font-weight: 600;
    color: #2271b1;
}

.attempt-date {
    margin-left: auto;
    font-size: 0.9rem;
    color: #666;
}

/* ============================================
   Error Messages
   ============================================ */

.lms-quiz2-error {
    padding: 1.5rem;
    background: #fcf0f1;
    border: 2px solid #d63638;
    border-radius: 6px;
    color: #8a2424;
    font-size: 1rem;
    text-align: center;
}

/* ============================================
   Tablet Responsive (iPad, Android Tablets)
   ============================================ */

@media screen and (max-width: 1024px) {
    .lms-quiz2-container {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }
    
    .lms-quiz2-question-text {
        font-size: 1rem;
    }
    
    .lms-quiz2-option-text {
        font-size: 1rem;
    }
    
    .lms-quiz2-submit-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   Mobile Responsive (Phones - iOS & Android)
   ============================================ */

@media screen and (max-width: 768px) {
    .lms-quiz2-container {
        padding: 1.25rem;
        margin: 1rem;
        border-radius: 6px;
    }
    
    .lms-quiz2-testlet-title {
        font-size: 1.5rem;
    }
    
    .lms-quiz2-testlet-description {
        font-size: 0.95rem;
    }
    
    .lms-quiz2-question-text {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .lms-quiz2-option {
        margin-bottom: 0.75rem;
    }
    
    .lms-quiz2-option label {
        padding: 0.5rem 0;
    }
    
    .lms-quiz2-option input[type="radio"],
    .lms-quiz2-option input[type="checkbox"] {
        margin-right: 0.75rem;
        width: 18px;
        height: 18px;
    }
    
    .lms-quiz2-option-text {
        font-size: 1rem;
    }
    
    .lms-quiz2-submit-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
        min-width: 140px;
        width: 100%;
        max-width: 250px;
    }
    
    .lms-quiz2-feedback-box {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .feedback-text {
        font-size: 1rem;
    }
    
    .lms-quiz2-retry-btn {
        align-self: stretch;
    }
    
    /* Keep navigation in a row on tablets, stack only on very small phones */
    .lms-quiz2-progress-inline {
        font-size: 0.85rem;
    }
    
    .lms-quiz2-nav-btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    /* Stack navigation vertically on very small phones */
    .lms-quiz2-navigation {
        flex-direction: column;
    }
    
    .lms-quiz2-nav-btn {
        max-width: 100%;
    }
    
    .lms-quiz2-attempt {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .attempt-date {
        flex-basis: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* ============================================
   Small Mobile (iPhone SE, small Android)
   ============================================ */

@media screen and (max-width: 375px) {
    .lms-quiz2-container {
        padding: 0.75rem;
        margin: 0.25rem;
    }
    
    .lms-quiz2-question-text {
        font-size: 1rem;
    }
    
    .lms-quiz2-option label {
        padding: 0.5rem 0;
    }
    
    .lms-quiz2-option-text {
        font-size: 0.9rem;
    }
    
    .lms-quiz2-submit-btn,
    .lms-quiz2-retry-btn {
        font-size: 0.85rem;
    }
}

/* ============================================
   Touch Device Enhancements
   ============================================ */

@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets for mobile */
    .lms-quiz2-option label {
        min-height: 60px;
    }
    
    .lms-quiz2-submit-btn,
    .lms-quiz2-retry-btn {
        min-height: 48px;
    }
    
    /* Prevent text selection on touch */
    .lms-quiz2-option label {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* ============================================
   Dark Mode Support (Optional)
   ============================================ */
/* This is not working as expected for dark mode 11 14 25 DER
@media (prefers-color-scheme: dark) {
    .lms-quiz2-container {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .lms-quiz2-question-text,
    .lms-quiz2-option-text,
    .attempt-number {
        color: #e0e0e0;
    }
    
    .lms-quiz2-option {
        background: #2a2a2a;
        border-color: #404040;
    }
    
    .lms-quiz2-option:hover {
        background: #333333;
    }
    
    .lms-quiz2-loading {
        color: #b0b0b0;
    }
}

.lms-quiz2-container {
    color-scheme: light;
}
   END of dark mode support */

@media (prefers-color-scheme: dark) {
    .lms-quiz2-container {
        background-color: white;
        color: black;
    }
    
    .lms-quiz2-container .lms-quiz2-question-text,
    .lms-quiz2-container .lms-quiz2-option-text,
    .lms-quiz2-container .attempt-number {
        color: black;
    }
    
    .lms-quiz2-container .lms-quiz2-option {
        background: #ffffff;
        border-color: #e0e0e0;
    }
    
    .lms-quiz2-container .lms-quiz2-option:hover {
        background: #f0f6fc;
    }
}


/* ============================================
   Drag & Drop Styles
   ============================================ */

.lms-quiz2-dragdrop-container {
    margin-bottom: 1.5rem;
}

/* Two-column layout */
.lms-quiz2-dragdrop-container.layout-two-column {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.lms-quiz2-dragdrop-container.layout-two-column .dd-objects-section {
    flex: 1;
    min-width: 250px;
    max-width: 50%;
}

.lms-quiz2-dragdrop-container.layout-two-column .dd-dropzones-section {
    flex: 1;
    min-width: 250px;
    max-width: 50%;
}

/* Top-bottom layout */
.lms-quiz2-dragdrop-container.layout-top-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lms-quiz2-dragdrop-container.layout-top-bottom .dd-objects-section,
.lms-quiz2-dragdrop-container.layout-top-bottom .dd-dropzones-section {
    width: 100%;
}

/* Section titles */
.dd-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

/* Draggable object pool */
.dd-objects-pool {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 60px; /* Keep minimum height even when empty */
}

/* Top-bottom layout: arrange objects in columns */
.lms-quiz2-dragdrop-container.layout-top-bottom .dd-objects-pool {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
}

/* Draggable objects - base size */
.dd-draggable {
    padding: 0.65rem 0.85rem;
    background: #e0e0e0;
    border: 2px solid #444;
    border-radius: 6px;
    cursor: grab;
    user-select: none;
    touch-action: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    line-height: 1.3;
    box-sizing: border-box;
}

.dd-draggable:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dd-draggable:active {
    cursor: grabbing;
}

.dd-draggable.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.dd-draggable.correct {
    border-color: #00a32a;
    border-width: 3px;
}

.dd-draggable.incorrect {
    border-color: #d63638;
    border-width: 3px;
}

/* Ghost element shown while dragging */
.dd-ghost {
    position: fixed;
    pointer-events: none;
    opacity: 0.88;
    transform: translate(-50%, -50%);
    z-index: 10000;
    padding: 0.75rem 1rem;
    background: #e0e0e0;
    border: 2px solid #444;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.3;
    max-width: 280px;
}

/* Dropzones container */
.dd-dropzones-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Individual dropzone */
.dd-dropzone {
    padding: 0.75rem;
    background: #fff9c4;
    border: 2px solid #cfcfcf;
    border-radius: 6px;
    min-height: 100px;
    position: relative;
    transition: all 0.2s ease;
}

.dd-dropzone-header {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.65rem;
    text-align: center;
}

.dd-dropzone-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
}

/* Draggable objects in dropzones - narrower */
.dd-dropzone-content .dd-draggable {
    width: 100%;
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
}

.dd-dropzone.drag-over {
    background: #ffeb99;
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
}

/* Drag & drop uses standard submit button and feedback styles */

/* ============================================
   Drag & Drop Responsive Styles
   ============================================ */

@media screen and (max-width: 1024px) and (min-width: 601px) {
    /* Keep two-column layout on tablets */
    .lms-quiz2-dragdrop-container.layout-two-column {
        gap: 0.75rem;
    }
    
    .lms-quiz2-dragdrop-container.layout-two-column .dd-objects-section,
    .lms-quiz2-dragdrop-container.layout-two-column .dd-dropzones-section {
        min-width: 220px;
        max-width: 50%;
    }
}

@media screen and (max-width: 600px) {
    /* Stack two-column layout on mobile phones */
    .lms-quiz2-dragdrop-container.layout-two-column {
        flex-direction: column;
    }
    
    .lms-quiz2-dragdrop-container.layout-two-column .dd-objects-section,
    .lms-quiz2-dragdrop-container.layout-two-column .dd-dropzones-section {
        max-width: 100%;
        min-width: 0;
    }
}

@media screen and (max-width: 768px) {
    /* Mobile phones adjustments */
    
    .dd-draggable,
    .dd-ghost {
        font-size: 0.85rem;
        padding: 0.6rem 0.75rem;
    }
    
    .dd-dropzone {
        min-height: 80px;
    }
    
    .dd-dropzone-content {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    /* Top-bottom layout: adjust grid on mobile */
    .lms-quiz2-dragdrop-container.layout-top-bottom .dd-objects-pool {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media screen and (max-width: 600px) {
    .lms-quiz2-dragdrop-container.layout-two-column,
    .lms-quiz2-dragdrop-container.layout-top-bottom {
        gap: 1.25rem;
    }
    
    .dd-objects-pool,
    .dd-dropzone {
        padding: 0.65rem;
    }
    
    .dd-draggable,
    .dd-ghost {
        padding: 0.55rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .dd-section-title,
    .dd-dropzone-header {
        font-size: 0.9rem;
    }
    
    /* Dropzone content: single column on very small screens */
    .dd-dropzone-content {
        grid-template-columns: 1fr;
    }
    
    /* Top-bottom layout: single column on small screens */
    .lms-quiz2-dragdrop-container.layout-top-bottom .dd-objects-pool {
        grid-template-columns: 1fr;
    }
}

/* Touch device enhancements for drag & drop */
@media (hover: none) and (pointer: coarse) {
    .dd-draggable {
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .dd-objects-pool,
    .dd-dropzone {
        min-height: 140px;
    }
    
    /* Prevent text selection on touch */
    .dd-draggable,
    .dd-dropzone-header {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .lms-quiz2-submit-wrapper,
    .lms-quiz2-retry-btn,
    .lms-quiz2-navigation,
    .lms-quiz2-attempts {
        display: none;
    }
    
    .lms-quiz2-container {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .dd-draggable {
        cursor: default;
    }
}


