  /* ------------------------------------------------------------------------Value test css -------------------------------------------------------------------------- */

/* Base styles (Desktop: >= 1441px) */
    .ed-v2-wrapper { width: 100%; margin: 0; padding: 32px; box-sizing: border-box; user-select: none; }
    .ed-v2-topbar { display: flex; align-items: center; margin-bottom: 24px; width: 100%; }
    .ed-v2-title-group { display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; }
    .ed-v2-badge { background-color: #EDE9FE; color: #4338CA; padding: 6px 14px; border-radius: 9999px; font-weight: 500; white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
    .ed-v2-progress-wrap { margin-bottom: 32px; width: 100%; }
    .ed-v2-progress-labels { display: flex; justify-content: space-between; margin-bottom: 8px; color: #6B7280; width: 100%; }
    .ed-v2-progress-track { width: 100%; height: 6px; background: #E5E7EB; border-radius: 999px; overflow: hidden; }
    .ed-v2-progress-fill { height: 100%; width: 0%; background: #3B82F6; border-radius: 999px; transition: width 0.3s ease; }
    .ed-v2-main-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 16px; padding: 36px; margin-bottom: 24px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02); width: 100%; box-sizing: border-box; }
    .ed-v2-desc { color: #4B5563; margin-top: 6px; margin-bottom: 24px; }
    .ed-v2-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; min-height: 180px; width: 100%; }
    .ed-v2-card { display: flex; align-items: center; gap: 16px; background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 14px; padding: 16px 20px; cursor: grab; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.2s; }
    .ed-v2-card:hover { border-color: #CBD5E1; box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.06); }
    .ed-v2-card:active { cursor: grabbing; }
    .ed-v2-card-img-wrap { flex-shrink: 0; width: clamp(64px, 5vw, 84px); height: clamp(64px, 5vw, 84px); display: flex; align-items: center; justify-content: center; }
    .ed-v2-card-img-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; }
    .ed-v2-card-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
    .ed-v2-card-text .edh4 { font-size: clamp(15px, 1.1vw, 18px); }
    .ed-v2-card-text .edp4 { color: #6B7280; margin-top: 4px; font-size: clamp(12px, 0.85vw, 14px); line-height: 1.3; }
    .ed-v2-drag-handle { display: flex; align-items: center; opacity: 0.45; flex-shrink: 0; margin-left: 8px; }
    .ed-v2-desktop-mascot { display: flex; align-items: center; justify-content: center; padding-left: 20px; flex-shrink: 0; }
    .ed-v2-mascot-img { width: clamp(220px, 16vw, 300px); height: auto; display: block; }
    .ed-v2-bottom-mascot { display: none; margin: 32px auto 20px auto; text-align: center; justify-content: center; width: 100%; }
    .ed-v2-target-panel { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 16px; padding: 28px 36px; margin-bottom: 32px; width: 100%; box-sizing: border-box; }
    .ed-v2-target-header { display: flex; align-items: center; gap: 8px; }
    .ed-v2-star-icon { color: #F59E0B; font-size: 20px; }
    .ed-v2-slots-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; width: 100%; }
    .ed-v2-slot { min-height: 140px; border: 1.5px dashed #CBD5E1; border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 6px; position: relative; background: #FFFFFF; box-sizing: border-box; width: 100%; }
    .ed-v2-slot .ed-v2-card { width: 100%; height: 100%; margin: 0; box-shadow: none; border-color: transparent; background: #F8FAFC; padding: 12px 16px; }
    .ed-v2-slot-placeholder { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #94A3B8; pointer-events: none; text-align: center; }
    .ed-v2-slot-number { width: 28px; height: 28px; background: #EFF6FF; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #3B82F6; font-weight: bold; font-size: 14px; }
    .ed-v2-footer { display: flex; justify-content: flex-end; align-items: center; margin-top: 24px; width: 100%; }
    .ed-v2-btn-continue { background: #3B5AFB; border: none; color: #FFFFFF; padding: 12px 48px; border-radius: 8px; cursor: pointer; transition: opacity 0.2s; font-size: 15px; }
    .ed-v2-btn-continue:disabled { opacity: 0.4; cursor: not-allowed; }

    /* Laptop >= 1025 px and <= 1440 px */
    @media (min-width: 1025px) and (max-width: 1440px) {
        .ed-v2-wrapper { padding: 24px; }
        .ed-v2-main-panel { gap: 24px; padding: 28px; }
        .ed-v2-card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
        .ed-v2-card-img-wrap { width: 68px; height: 68px; }
        .ed-v2-mascot-img { width: 210px; }
    }

    /* Tablet >= 481 px and <= 1024 px */
    @media (min-width: 481px) and (max-width: 1024px) {
        .ed-v2-wrapper { padding: 20px 16px; }
        .ed-v2-main-panel { grid-template-columns: 1fr; padding: 20px 16px; }
        .ed-v2-desktop-mascot { display: none; }
        .ed-v2-card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
        .ed-v2-card { padding: 10px 12px; gap: 10px; }
        .ed-v2-card-img-wrap { width: 50px; height: 50px; }
        .ed-v2-card-text .edh4 { font-size: 14px; white-space: normal; line-height: 1.25; }
        .ed-v2-card-text .edp4 { font-size: 11px; margin-top: 2px; line-height: 1.25; }
        .ed-v2-drag-handle { margin-left: 2px; }
        .ed-v2-target-panel { padding: 20px 16px; }
        .ed-v2-slots-container { grid-template-columns: repeat(3, 1fr); gap: 10px; }
        .ed-v2-slot { min-height: 160px; }
        .ed-v2-slot .ed-v2-card { flex-direction: column; justify-content: center; text-align: center; padding: 8px 4px; gap: 6px; }
        .ed-v2-slot .ed-v2-card .ed-v2-card-img-wrap { width: 44px; height: 44px; }
        .ed-v2-slot .ed-v2-card .ed-v2-card-text .edp4 { display: none; }
        .ed-v2-slot .ed-v2-card .ed-v2-drag-handle { display: none; }
        .ed-v2-slot-placeholder .edp4 { font-size: 11px; }
        .ed-v2-bottom-mascot { display: flex; margin: 20px auto 10px auto; }
        .ed-v2-bottom-mascot .ed-v2-mascot-img { width: 170px; }
        .ed-v2-footer { justify-content: center; }
        .ed-v2-btn-continue { width: 100%; max-width: 320px; }
    }

    /* Mobile >= 320 px and <= 480 px */
    @media (min-width: 320px) and (max-width: 480px) {
        .ed-v2-wrapper { padding: 16px 12px 90px 12px; }
        .ed-v2-topbar { margin-bottom: 16px; }
        .ed-v2-title-group { gap: 10px; }
        .ed-v2-title-group .edh2 { font-size: 20px; line-height: 1.2; }
        .ed-v2-badge { padding: 4px 10px; font-size: 11px; }
        .ed-v2-progress-wrap { margin-bottom: 20px; }
        .ed-v2-main-panel { grid-template-columns: 1fr; padding: 18px 12px; border-radius: 14px; margin-bottom: 20px; }
        .ed-v2-desc { margin-top: 4px; margin-bottom: 18px; font-size: 13px; line-height: 1.4; color: #4B5563; }
        .ed-v2-desktop-mascot { display: none; }
        .ed-v2-card-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; min-height: unset; }
        .ed-v2-card { flex-direction: column; align-items: center; justify-content: space-between; text-align: center; padding: 16px 4px 14px 4px; height: 165px; border-radius: 14px; gap: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03); }
        .ed-v2-card-img-wrap { width: 62px; height: 62px; margin-top: 4px; }
        .ed-v2-card-text { width: 100%; text-align: center; margin-bottom: 2px; }
        .ed-v2-card-text .edh4 { font-size: 12px; font-weight: 600; line-height: 1.25; color: #111827; }
        .ed-v2-card-text .edp4 { display: none; }
        .ed-v2-drag-handle { display: none; }
        .ed-v2-target-panel { padding: 18px 12px; border-radius: 14px; margin-bottom: 20px; }
        .ed-v2-slots-container { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
        .ed-v2-slot { height: 165px; min-height: 165px; border-radius: 14px; padding: 0; border: 1.5px dashed #CBD5E1; background: #FFFFFF; }
        .ed-v2-slot .ed-v2-card { height: 100%; width: 100%; border-radius: 14px; border: 1px solid #E5E7EB; background: #FFFFFF; padding: 16px 4px 14px 4px; }
        .ed-v2-slot .ed-v2-card .ed-v2-card-img-wrap { width: 62px; height: 62px; }
        .ed-v2-slot-placeholder { gap: 12px; padding: 8px; }
        .ed-v2-slot-number { width: 26px; height: 26px; font-size: 12px; }
        .ed-v2-slot-placeholder .edp4 { font-size: 11px; line-height: 1.3; color: #94A3B8; }
        .ed-v2-bottom-mascot { display: flex; margin: 16px auto 24px auto; }
        .ed-v2-bottom-mascot .ed-v2-mascot-img { width: 180px; }
        .ed-v2-footer { display: flex; margin-top: 0; width: 100%; }
        .ed-v2-btn-continue { width: 100%; padding: 12px 0; font-size: 14px; border-radius: 8px; text-align: center; }
    }
   /* ------------------------------------------------------------------------Value test css -------------------------------------------------------------------------- */
















   /* ------------------------------------------------------------------------Subject test css -------------------------------------------------------------------------- */
/* ==========================================================================
   OPTION 1: SUBJECT RANKING (BASE: DESKTOP >= 1441px)
   ========================================================================== */
.edvdo-subject-test-card-option-1 { background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 16px; transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; position: relative; width: 100%; box-sizing: border-box; overflow: hidden; }
.edvdo-subject-test-rank-badge { color: #3F4DCB; letter-spacing: 0.05em; display: inline-block; margin-bottom: 6px; font-weight: 700; }
.edvdo-subject-test-rank-heading { color: #1B1B1B; margin: 0; letter-spacing: 0.002em; }
.edvdo-subject-test-rank-instructions { color: #3A3A3A; margin: 0 0 24px 0; line-height: 1.5; }
.edvdo-subject-test-sortable-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; width: 100%; touch-action: pan-y; }
.edvdo-subject-test-sortable-item { background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 12px; padding: 20px 30px; height: 88px; display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02); transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s; width: 100%; touch-action: pan-y; }
.edvdo-subject-test-sortable-item:hover { background-color: #FAFAFC; border-color: #CBD5E1; transform: translateY(-2px); box-shadow: 0 8px 16px -4px rgba(63, 77, 203, 0.08); }
.edvdo-subject-test-sortable-item.ui-sortable-helper { cursor: grabbing; transform: scale(1.02); box-shadow: 0 12px 24px rgba(63, 77, 203, 0.18); border-color: #3F4DCB; }
.edvdo-subject-test-item-title-group { display: flex; align-items: center; gap: 20px; pointer-events: none; }
.edvdo-subject-test-subject-img-wrap { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.edvdo-subject-test-subject-img-icon { width: 30px; height: 30px; object-fit: contain; display: block; }
.edvdo-subject-test-item-text { color: #3A3A3A; margin: 0; font-weight: 500; }
.edvdo-subject-test-drag-grip { display: flex; align-items: center; cursor: grab; padding: 10px; border-radius: 6px; transition: background 0.15s; touch-action: none !important; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.edvdo-subject-test-drag-grip:hover { background: #F1F5F9; }
.edvdo-subject-test-drag-grip:active { cursor: grabbing; }
.edvdo-subject-test-sortable-placeholder { border: 2px dashed #3F4DCB; background: #EEF2FF; border-radius: 12px; height: 88px; box-sizing: border-box; width: 100%; }
.edvdo-subject-test-rank-actions-row { display: flex; justify-content: flex-end; width: 100%; margin-top: 28px; }
.edvdo-subject-test-submit-ranking-btn { background: #3F4DCB; color: #F2F2F2; border: 1px solid #3F4DCB; border-radius: 8px; width: 250px; height: 50px; font-weight: 600; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; letter-spacing: -0.176px; box-shadow: 0 4px 12px rgba(63, 77, 203, 0.2); }
.edvdo-subject-test-submit-ranking-btn:hover:not(:disabled) { background: #323ea6; box-shadow: 0 6px 16px rgba(63, 77, 203, 0.3); }

/* ==========================================================================
   OPTION 2: REPORT CARD UPLOAD (BASE: DESKTOP >= 1441px)
   ========================================================================== */
.edvdo-subject-test-card-option-2 { background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 16px; transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; position: relative; width: 100%; box-sizing: border-box; overflow: hidden; }
.edvdo-subject-test-upload-badge { color: #3F4DCB; letter-spacing: 0.05em; display: inline-block; margin-bottom: 6px; font-weight: 700; }
.edvdo-subject-test-upload-heading { color: #1B1B1B; margin: 0; letter-spacing: 0.002em; }
.edvdo-subject-test-upload-instructions { color: #3A3A3A; margin: 0 0 24px 0; line-height: 1.5; }
.edvdo-subject-test-dropzone-box { border: 1.8px dashed #CBD5E1; border-radius: 16px; padding: 48px 32px; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #FFFFFF; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, transform 0.15s; width: 100%; box-sizing: border-box; }
.edvdo-subject-test-dropzone-box:hover:not(.edvdo-subject-test-dropzone-disabled) { border-color: #3F4DCB; background-color: #F8FAFC; }
.edvdo-subject-test-dropzone-disabled { cursor: not-allowed; background: #F8FAFC; opacity: 0.75; }
.edvdo-subject-test-dropzone-icon { margin-bottom: 8px; }
.edvdo-subject-test-dropzone-main-text { color: #1B1B1B; margin: 0; font-weight: 600; }
.edvdo-subject-test-dropzone-sub-text { color: #64748B; margin: 0; }
.edvdo-subject-test-hidden-input { display: none !important; }
.edvdo-subject-test-browse-button { margin-top: 16px; background: #FFFFFF; border: 1px solid #D1D5DC; padding: 10px 24px; border-radius: 8px; color: #3A3A3A; font-weight: 500; cursor: pointer; transition: background 0.15s, border-color 0.15s, box-shadow 0.15s; }
.edvdo-subject-test-browse-button:hover { background: #F8FAFC; border-color: #94A3B8; box-shadow: 0 2px 4px rgba(0,0,0,0.04); }
.edvdo-subject-test-preview-card-box { border: 1.8px dashed #CBD5E1; border-radius: 16px; min-height: 320px; padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #FFFFFF; width: 100%; box-sizing: border-box; }
.edvdo-subject-test-preview-icon-wrap { width: 88px; height: 88px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.edvdo-subject-test-preview-filename { color: #1B1B1B; margin: 0 0 6px 0; max-width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-weight: 600; }
.edvdo-subject-test-preview-meta-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; }
.edvdo-subject-test-preview-filesize, .edvdo-subject-test-preview-ext { color: #64748B; margin: 0; }
.edvdo-subject-test-preview-dot { width: 4px; height: 4px; border-radius: 50%; background: #94A3B8; display: inline-block; }
.edvdo-subject-test-preview-success-state { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 24px; }
.edvdo-subject-test-preview-check-badge { width: 22px; height: 22px; border-radius: 50%; background: #289155; display: flex; align-items: center; justify-content: center; }
.edvdo-subject-test-preview-success-text { color: #057D56; margin: 0; font-weight: 500; }
.edvdo-subject-test-preview-btn-row { display: flex; gap: 16px; align-items: center; justify-content: center; width: 100%; }
.edvdo-subject-test-preview-view-btn { box-sizing: border-box; display: flex; justify-content: center; align-items: center; padding: 10px 24px; gap: 8px; width: 160px; height: 44px; background: #FFFFFF; border: 1px solid #3F4DCB; border-radius: 8px; color: #3F4DCB; font-weight: 600; cursor: pointer; transition: background 0.15s, transform 0.15s; letter-spacing: -0.176px; }
.edvdo-subject-test-preview-view-btn:hover { background: #EEF2FF; transform: translateY(-1px); }
.edvdo-subject-test-preview-remove-btn { box-sizing: border-box; display: flex; justify-content: center; align-items: center; padding: 10px 24px; gap: 8px; width: 160px; height: 44px; background: #FFFFFF; border: 1px solid #E01716; border-radius: 8px; color: #E01716; font-weight: 600; cursor: pointer; transition: background 0.15s, transform 0.15s; letter-spacing: -0.176px; }
.edvdo-subject-test-preview-remove-btn:hover { background: #FDF2F2; transform: translateY(-1px); }
.edvdo-subject-test-info-banner { display: flex; align-items: center; gap: 12px; margin-top: 26px; background: #F8FAFC; padding: 14px 18px; border-radius: 10px; border: 1px solid #E2E8F0; width: 100%; box-sizing: border-box; }
.edvdo-subject-test-info-text { color: #475569; margin: 0; line-height: 1.45; }
.edvdo-subject-test-info-link { color: #3F4DCB; text-decoration: underline; font-weight: 600; }
.edvdo-subject-test-status-msg { padding: 14px 18px; border-radius: 10px; background: #FEE2E2; color: #991B1B; margin-bottom: 18px; }
.edvdo-subject-test-upload-actions-row { display: flex; justify-content: flex-end; width: 100%; margin-top: 28px; }
.edvdo-subject-test-submit-upload-btn { background: #3F4DCB; color: #FFFFFF; border: none; border-radius: 8px; width: 250px; height: 50px; font-weight: 600; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; letter-spacing: -0.176px; box-shadow: 0 4px 12px rgba(63, 77, 203, 0.2); }
.edvdo-subject-test-submit-upload-btn:hover:not(:disabled) { background: #323ea6; box-shadow: 0 6px 16px rgba(63, 77, 203, 0.3); }

/* ==========================================================================
   SHARED CONTAINER, DIVIDERS & MODAL (BASE: DESKTOP >= 1441px)
   ========================================================================== */
.edvdo-subject-test-hidden { display: none !important; }
.edvdo-subject-test-page-wrap { width: 100%; display: flex; justify-content: center; padding: 40px 48px; background: white; box-sizing: border-box; min-height: 100vh; }
.edvdo-subject-test-main-container { width: 100%; display: flex; flex-direction: column; gap: 26px; box-sizing: border-box; }
.edvdo-subject-test-subtitle { color: #1A2233; margin: 0; text-transform: capitalize; }
.edvdo-subject-test-title { color: #1B1B1B; margin: 0 0 14px 0; text-transform: capitalize; letter-spacing: 0.004em; font-weight: 700; }
.edvdo-subject-test-card-header { box-sizing: border-box; width: 100%; height: 114px; padding: 28px 52px; background: #F3F5FD; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.edvdo-subject-test-card-body-wrap { padding: 38px 52px; box-sizing: border-box; width: 100%; }

/* Strict Active vs Inactive state isolation */
.edvdo-subject-test-card-active { border: 1.5px solid #3F4DCB !important; box-shadow: 0 14px 35px -6px rgba(63, 77, 203, 0.1) !important; opacity: 1 !important; }
.edvdo-subject-test-card-inactive { border: 1px solid #E0E0E0 !important; opacity: 0.55 !important; }
.edvdo-subject-test-card-inactive .edvdo-subject-test-card-body-wrap { pointer-events: none !important; user-select: none !important; }
.edvdo-subject-test-card-inactive .edvdo-subject-test-submit-ranking-btn,
.edvdo-subject-test-card-inactive .edvdo-subject-test-submit-upload-btn { cursor: not-allowed !important; opacity: 0.5; pointer-events: none !important; }

.edvdo-subject-test-radio-container { position: relative; cursor: pointer; user-select: none; width: 22px; height: 22px; pointer-events: auto; }
.edvdo-subject-test-radio-container input { position: absolute; opacity: 0; cursor: pointer; width: 100%; height: 100%; inset: 0; z-index: 2; margin: 0; }
.edvdo-subject-test-radio-checkmark { position: absolute; top: 0; left: 0; height: 22px; width: 22px; background-color: #FFFFFF; border: 2px solid #C5C5C5; border-radius: 50%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s; }
.edvdo-subject-test-radio-container input:checked ~ .edvdo-subject-test-radio-checkmark { border-color: #3F4DCB; }
.edvdo-subject-test-radio-checkmark:after { content: ""; display: none; width: 12px; height: 12px; border-radius: 50%; background: #3F4DCB; margin: 0; padding: 0; }
.edvdo-subject-test-radio-container input:checked ~ .edvdo-subject-test-radio-checkmark:after { display: block; }

.edvdo-subject-test-grid-split { display: flex; justify-content: space-between; gap: 56px; align-items: center; width: 100%; }
.edvdo-subject-test-interactive-col { flex: 1; width: 100%; }
.edvdo-subject-test-mascot-col { width: 480px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; position: relative; }
.edvdo-subject-test-mascot-col::before { content: ""; position: absolute; width: 360px; height: 360px; background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(238, 242, 255, 0) 70%); border-radius: 50%; z-index: 0; pointer-events: none; }
.edvdo-subject-test-mascot-img { width: 100%; max-width: 440px; height: auto; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 12px 24px rgba(30, 41, 59, 0.07)); transition: transform 0.3s ease; }
.edvdo-subject-test-mascot-img:hover { transform: scale(1.02); }
.edvdo-subject-test-btn-disabled { background: #CBD5E1 !important; cursor: not-allowed !important; color: #64748B !important; box-shadow: none !important; }
.edvdo-subject-test-btn-processing { opacity: 0.6; pointer-events: none; }
.edvdo-subject-test-or-separator { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 12px 0; gap: 16px; }
.edvdo-subject-test-or-line { flex: 1; height: 0px; border-top: 2px solid #E2E8F0; }
.edvdo-subject-test-or-bubble { width: 48px; height: 48px; background: #EEF2FF; border: 1px solid #E0E7FF; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-sizing: border-box; box-shadow: 0 2px 5px rgba(63, 77, 203, 0.08); }
.edvdo-subject-test-or-text { color: #3F4DCB; margin: 0; font-weight: 700; }

.edvdo-subject-test-modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6) !important; display: flex; align-items: center; justify-content: center; z-index: 999999; padding: 24px; box-sizing: border-box; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.edvdo-subject-test-modal-box { background: #FFFFFF; border-radius: 18px; width: 100%; max-width: 520px; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); box-sizing: border-box; position: relative; }
.edvdo-subject-test-modal-header { background: #3F4DCB; padding: 22px 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; position: relative; flex-shrink: 0; box-sizing: border-box; }
.edvdo-subject-test-modal-header-left { display: flex; align-items: flex-start; gap: 14px; flex: 1; min-width: 0; padding-right: 10px; }
.edvdo-subject-test-modal-header-icon { width: 44px; height: 44px; background: rgba(255, 255, 255, 0.18); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.edvdo-subject-test-modal-header-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.edvdo-subject-test-modal-white-text { color: #FFFFFF; margin: 0; word-break: break-word; font-weight: 700; }
.edvdo-subject-test-modal-muted-text { color: #EEF2FF; margin: 0; word-break: break-word; opacity: 0.85; }
.edvdo-subject-test-modal-close { background: transparent !important; border: none !important; color: #FFFFFF !important; line-height: 1 !important; cursor: pointer !important; padding: 4px 8px !important; display: flex; align-items: center; justify-content: center; flex-shrink: 0; opacity: 0.9; transition: opacity 0.15s, transform 0.15s; margin-top: -4px; z-index: 9999; outline: none; pointer-events: auto !important; }
.edvdo-subject-test-modal-close:hover { opacity: 1; transform: scale(1.1); }
.edvdo-subject-test-modal-body { padding: 24px 28px; overflow-y: auto; flex: 1; box-sizing: border-box; }
.edvdo-subject-test-modal-card { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.edvdo-subject-test-modal-card-tag { color: #64748B; margin: 0 0 14px 0; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.edvdo-subject-test-modal-subject-row { margin-bottom: 16px; }
.edvdo-subject-test-modal-subject-row:last-child { margin-bottom: 0; }
.edvdo-subject-test-modal-subject-name { color: #1B1B1B; display: block; margin-bottom: 6px; font-weight: 500; }
.edvdo-subject-test-modal-track { height: 8px; background: #E2E8F0; border-radius: 99px; overflow: hidden; }
.edvdo-subject-test-modal-fill { height: 100%; background: #289155; border-radius: 99px; transition: width 0.6s ease; }
.edvdo-subject-test-modal-instruction { color: #64748B; text-align: center; margin: 0; }
.edvdo-subject-test-modal-actions { padding: 0 28px 28px; flex-shrink: 0; box-sizing: border-box; }
.edvdo-subject-test-approve-btn { width: 100%; background: #3F4DCB; color: #FFFFFF; border: none; border-radius: 8px; padding: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; box-shadow: 0 4px 12px rgba(63, 77, 203, 0.2); }
.edvdo-subject-test-approve-btn:hover { background: #323ea6; box-shadow: 0 6px 16px rgba(63, 77, 203, 0.3); }

/* ==========================================================================
   LAPTOP QUERIES (>= 1025px and <= 1440px)
   ========================================================================== */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .edvdo-subject-test-page-wrap { padding: 24px 32px; background: #F8FAFC; }
  .edvdo-subject-test-main-container { gap: 20px; }
  .edvdo-subject-test-card-header { padding: 20px 36px; height: 104px; }
  .edvdo-subject-test-card-body-wrap { padding: 24px 36px; }
  .edvdo-subject-test-grid-split { gap: 32px; }
  .edvdo-subject-test-interactive-col { width: 100%; }
  .edvdo-subject-test-mascot-col { width: 360px; }
  .edvdo-subject-test-mascot-col::before { display: none; }
  .edvdo-subject-test-mascot-img { max-width: 340px; }
  .edvdo-subject-test-sortable-item { height: 80px; padding: 14px 22px; border-radius: 8px; }
  .edvdo-subject-test-sortable-placeholder { height: 80px; border-radius: 8px; }
  .edvdo-subject-test-dropzone-box, .edvdo-subject-test-preview-card-box { min-height: 280px; padding: 36px 24px; }
}

/* ==========================================================================
   TABLET QUERIES (>= 481px and <= 1024px)
   ========================================================================== */
@media screen and (min-width: 481px) and (max-width: 1024px) {
  .edvdo-subject-test-page-wrap { padding: 20px 24px; background: #F8FAFC; }
  .edvdo-subject-test-main-container { gap: 16px; }
  .edvdo-subject-test-card-header { padding: 18px 24px; height: auto; min-height: 84px; }
  .edvdo-subject-test-card-body-wrap { padding: 20px 24px; }
  .edvdo-subject-test-grid-split { flex-direction: column; align-items: stretch; gap: 20px; }
  .edvdo-subject-test-interactive-col { width: 100%; }
  .edvdo-subject-test-mascot-col { width: 100%; order: -1; margin-bottom: 8px; }
  .edvdo-subject-test-mascot-col::before { display: none; }
  .edvdo-subject-test-mascot-img { max-height: 180px; width: auto; }
  .edvdo-subject-test-sortable-item { height: 74px; padding: 12px 18px; border-radius: 8px; }
  .edvdo-subject-test-sortable-placeholder { height: 74px; border-radius: 8px; }
  .edvdo-subject-test-dropzone-box, .edvdo-subject-test-preview-card-box { min-height: 240px; padding: 20px; }
  .edvdo-subject-test-rank-actions-row, .edvdo-subject-test-upload-actions-row { justify-content: flex-end; margin-top: 20px; }
}

/* ==========================================================================
   MOBILE QUERIES (>= 320px and <= 480px)
   ========================================================================== */
@media screen and (min-width: 320px) and (max-width: 480px) {
  .edvdo-subject-test-page-wrap { padding: 12px 8px; background: #F8FAFC; }
  .edvdo-subject-test-main-container { gap: 14px; }
  .edvdo-subject-test-title { margin-bottom: 8px; }
  .edvdo-subject-test-card-header { padding: 10px; height: auto; gap: 12px; }
  .edvdo-subject-test-card-body-wrap { padding: 10px; }
  .edvdo-subject-test-grid-split { flex-direction: column; gap: 16px; }
  .edvdo-subject-test-mascot-col { display: none; }
  .edvdo-subject-test-sortable-item { height: 68px; padding: 10px 12px; gap: 8px; border-radius: 8px; }
  .edvdo-subject-test-drag-grip { padding: 12px 8px; }
  .edvdo-subject-test-sortable-placeholder { height: 68px; border-radius: 8px; }
  .edvdo-subject-test-item-title-group { gap: 10px; }
  .edvdo-subject-test-subject-img-wrap { width: 38px; height: 38px; }
  .edvdo-subject-test-subject-img-icon { width: 22px; height: 22px; }
  .edvdo-subject-test-rank-actions-row, .edvdo-subject-test-upload-actions-row { width: 100%; margin-top: 18px; }
  .edvdo-subject-test-submit-ranking-btn, .edvdo-subject-test-submit-upload-btn { width: 100%; height: 46px; }
  .edvdo-subject-test-dropzone-box, .edvdo-subject-test-preview-card-box { min-height: unset; padding: 24px 14px; }
  .edvdo-subject-test-preview-btn-row { flex-direction: column; width: 100%; gap: 10px; }
  .edvdo-subject-test-preview-view-btn, .edvdo-subject-test-preview-remove-btn { width: 100%; }
  .edvdo-subject-test-info-banner { flex-direction: column; align-items: flex-start; padding: 12px; }
  .edvdo-subject-test-modal-overlay { padding: 14px 10px; align-items: center; }
  .edvdo-subject-test-modal-box { width: 100%; max-height: 85vh; border-radius: 14px; }
  .edvdo-subject-test-modal-header { padding: 14px 16px; gap: 10px; }
  .edvdo-subject-test-modal-header-icon { width: 36px; height: 36px; border-radius: 8px; }
  .edvdo-subject-test-modal-close { padding: 2px !important; }
  .edvdo-subject-test-modal-body { padding: 16px 14px; }
  .edvdo-subject-test-modal-card { padding: 14px; margin-bottom: 12px; }
  .edvdo-subject-test-modal-actions { padding: 0 14px 16px; }
  .edvdo-subject-test-approve-btn { padding: 12px; }
}
   /* ------------------------------------------------------------------------Subject test css -------------------------------------------------------------------------- */