/* --- GLOBAL TYPOGRAPHY & LAYOUT --- */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.8;
    font-size: 18px;
    /* SEO FIX: Force enable selection to fix Ranking Penalty */
    user-select: auto !important; 
    -webkit-user-select: auto !important;
}

h1, h2, h3, h4, h5, h6 { color: #212529; font-weight: bold; }
h1 { margin-top: 20px; font-weight: 700; }
/* SEO FIX: Ensure h3 looks the same as h5 */
h3.queshn { font-size: 1.25rem; margin-bottom: 0.5rem; } 
h4 { color: #000; font-size: 20px; font-weight: bold; }

/* --- QUESTION & ANSWER STYLING --- */
.question-text, .answer-option {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: Arial, sans-serif;
    line-height: 36px;
    color: #333;
}

.radio-option input[type='radio'] { margin-right: 10px; accent-color: #007bff; }
.radio-option label { cursor: pointer; display: inline-block; vertical-align: middle; }
.radio-option:hover { background-color: #e9ecef; border-radius: 5px; padding: 3px; }

/* --- DRAG AND DROP STYLING (Standardized) --- */
table.vmtbDnd { margin-top: 30px; border: none; border-collapse: collapse; min-width: 500px; }
table.vmtbDnd td { max-width: 300px; min-height: 40px; }
.tcela, .tcelb { min-width: 250px; width: 300px !important; background: #dce2e4; }
td.gtspcr, th.gtspcr { border: none !important; }
.gtspcr { width: 30px; }
.htcela, .htcelb { background: #dce2e4; z-index: 9999; }
.htcela div, .htcelb div { background: #fd7e87; width: 140px; margin: auto; margin-top: -28px !important; position: relative; z-index: 99999; text-align: center; }
table.vmtbDnd th div { padding: 5px; }
table.vmtbDnd td.tcela div { padding: 5px; margin: 5px; }
table.vmtbDnd td.tcelb div { padding: 5px; }
table.vmtbDnd td.tcelb .tcelbWrap { margin: 5px; padding: 0px; }
.ui-draggable-dragging.card { border: 1px solid #000; }
.card, .card6 { background-color: #e7fffd; min-height: 80px; cursor: pointer; display: flex; justify-content: center; align-items: center; }
.card4 { background-color: #ffecff; padding: 32px !important; display: flex; justify-content: center; align-items: center; }
.tcelbWrap { background-color: #ffecff; }
.tcelc .tcelans { display: none; }
.htcel8 { border: none !important; padding: .75rem; vertical-align: top; border-top: 1px solid #dee2e6; }
.htcel8 div { background: #fd7e87; width: 140px; margin: auto; margin-top: -28px !important; position: relative; z-index: 99999; text-align: center; }
.tcel6 { background: #dce2e4; }
.vmtbDndresult th { background: #81B5CB !important; text-align: center; vertical-align: middle; }
.vmtbDndresult .tcel6 { vertical-align: middle; }
.vmtbDndresult .tcel6 div { text-align: center; display: flex; justify-content: center; align-items: center; }
.vmtbDndresult .fa-check-circle { color: green; }
.vmtbDndresult .fa-times-circle { color: red; }
.vmtbDndresult .fa-question-circle { color: #5db1d5; }
.vmtbDndresult td { font-weight: 500; }
.vdndtabmark .radioo.single_ans { display: none; }
.vmtbDnd { margin-bottom: 50px; }

/* --- BUTTONS --- */
button[type="submit"] {
    background-color: #000;
    color: #FFF;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

/* --- TIMER (V1 Professional Card Style) --- */
.tym-left.re-exam {
    background-color: #fff;
    padding: 20px; 
    margin-bottom: 20px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0,0,0,0.05); /* Very subtle shadow for depth */
    border: 1px solid #dee2e6; /* Subtle border line */
    
    /* Flex alignment */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Timer Title */
.tym-left h4 {
    color: #333; /* Neutral Dark Grey (Not Red) */
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

/* The Timer Numbers */
#timerLabel {
    color: #000 !important;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 48px !important; /* Large and clear */
    font-weight: 800 !important;
    line-height: 1;
    font-variant-numeric: tabular-nums; /* Prevents jumping numbers */
}

/* --- SIDEBAR & RESULTS --- */
.sub_heading a.highlight_txt { color: #007bff; text-decoration: none; }
.sub_heading a.highlight_txt:hover { text-decoration: underline; }

.exams-sec.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.inst-side { margin-bottom: 20px; }
.inst-side h3 { margin-bottom: 10px; font-size: 22px; }

.fpe-result h3 { padding-top: 10px; margin-bottom: 5px; font-size: 22px; }
.fpe-result .passing-res { font-size: 1.7rem; font-weight: bold; margin-bottom: 5px; }
.fpe-result .result-perc { font-size: 2.2rem; font-weight: bold; margin-bottom: 10px; }
.fpe-result .inst-corrent-ans { margin-bottom: 10px; }

/* --- ANSWER STATUS MESSAGES --- */
/* --- ANSWER STATUS MESSAGES --- */
p.corretans {
    color: #198754 !important; /* Success Green */
    font-weight: 700;
    margin-bottom: 10px;
}

p.incorretans {
    color: #dc3545 !important; /* Error Red */
    font-weight: 700;
    margin-bottom: 10px;
}

p.incorretansskp {
    color: #0d6efd !important; /* Info Blue */
    font-weight: 700;
    margin-bottom: 10px;
}

/* --- PROFESSIONAL EXPLANATION BOX --- */
.explan {
    background-color: #f9f9f9 !important; /* Subtle Light Grey */
    padding: 25px;
    margin-top: 25px;
    border-radius: 0 8px 8px 0; /* Fixed border-radius */
    border-left: 5px solid #e0e0e0; /* Default Neutral Border */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Dynamic Border Colors */
.explan:has(.corretans) { border-left-color: #198754; }
.explan:has(.incorretans) { border-left-color: #dc3545; }
.explan:has(.incorretansskp) { border-left-color: #0d6efd; } /* Fixed class name */