/* ==========================================================================
   SECTION 1: STUDENT AUTHENTICATION CARD (TABBED FLEXIBLE VIEWPORTS)
   ========================================================================== */
.ssimt-auth-wrapper {
    max-width: 480px;
    margin: 40px auto;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; */
    font-family: "Roboto", Sans-serif;
}

.ssimt-auth-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ssimt-auth-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.ssimt-tab-btn {
    flex: 1;
    background: antiquewhite;
    border: none;
    padding: 16px 10px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    outline: none;
}

.ssimt-tab-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.ssimt-tab-btn.active {
    color: #ffffff;
    background: #FF5421;
    border-bottom: 3px solid #FF5421;
    margin-bottom: -1px;
}

.ssimt-auth-body {
    padding: 30px;
    background: #1C335F;
}

.ssimt-auth-panel {
    display: none;
}

.ssimt-auth-panel.active {
    display: block;
}

.ssimt-auth-panel h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
}

.ssimt-auth-lead {
    color: #fff;
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0 0 24px 0;
}

.ssimt-input-group {
    margin-bottom: 18px;
    text-align: left;
}

.ssimt-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.ssimt-auth-body input[type="text"],
.ssimt-auth-body input[type="email"],
.ssimt-auth-body input[type="password"] {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #fff;
    color: #334155;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
    margin-bottom: 0;
}

.ssimt-auth-body input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
    outline: none;
}

.ssimt-btn-block {
    width: 100%;
    display: block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #0073aa;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    box-sizing: border-box;
    margin-top: 10px;
}

.ssimt-btn-block:hover {
    background-color: #005177;
}

.ssimt-switch-text {
    text-align: center;
    margin: 20px 0 0 0;
    font-size: 13px;
    color: #fff;
}

.ssimt-switch-trigger {
    color: #FF5421;
    text-decoration: none;
    font-weight: 600;
}

.ssimt-switch-trigger:hover {
    text-decoration: underline;
}

.ssimt-form-msg {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

.entry-content form input, .entry-content form textarea {
    background: revert !important;
}

/* ==========================================================================
   SECTION 2: QUIZ RUNTIME MODULE CORE ENGINE
   ========================================================================== */
#ssimt-quiz-wrapper {
    background: #1C335F;
    border: 1px solid #e2e8f0;
    padding: 35px;
    border-radius: 10px;
    margin-top: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; */
    font-family: "Roboto", Sans-serif;
    color: #fff;
}
#ssimt-quiz-wrapper h2, #ssimt-quiz-wrapper h3 {
  color: #fff;
}
.ssimt-quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

#ssimt-clock-timer {
  font-size: 1.25em;
  font-weight: 700;
  color: #fff;
  background: #FF5421;
  padding: 6px 16px;
  /* border: 1px solid #fee2e2; */
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.ssimt-section-indicator {
    margin: 24px 0;
    padding: 14px 18px;
    background: #f0f9ff;
    border-left: 4px solid #0073aa;
    font-weight: 600;
    color: #0369a1;
    border-radius: 0 6px 6px 0;
    font-size: 15px;
}

.ssimt-question-block {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px dashed #e2e8f0;
}

.ssimt-q-text {
    font-size: 1.15em;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.5;
}

.ssimt-ans-opt {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
    padding: 10px 14px;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 14.5px;
    color: #334155;
    transition: all 0.15s ease;
    width:50%;
}

.ssimt-ans-opt:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.ssimt-ans-opt input[type="radio"] {
    margin: 0 12px 0 0;
    width: 16px;
    height: 16px;
    accent-color: #0073aa;
}

.ssimt-btn {
    background-color: #FF5421;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.15s ease;
}

.ssimt-btn:hover {
    background-color: #005177;
}

/* ==========================================================================
   SECTION 3: SCORE CARD METRICS & CONGRATULATIONS PANEL
   ========================================================================== */
.ssimt-quiz-finished {
    text-align: center;
    padding: 45px 30px;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    border-radius: 12px;
    max-width: 580px;
    margin: 40px auto;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.05);
}

.ssimt-quiz-finished h2 {
    color: #16a34a;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.ssimt-metrics {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.8;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 24px;
    border-radius: 8px;
    display: inline-block;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    color: #475569;
}

.ssimt-metrics strong {
    color: #0f172a;
}

.txt-success { 
    color: #16a34a; 
    font-weight: 700; 
}

.txt-fail { 
    color: #dc2626; 
    font-weight: 700; 
}

/* ==========================================================================
   SECTION 4: BACKEND WORDPRESS ADMINISTRATIVE DASHBOARD
   ========================================================================== */
.ssimt-admin-wrap {
    margin: 25px 20px 25px 0;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; */
    font-family: "Roboto", Sans-serif;
}

.ssimt-admin-header {
    background: #ffffff;
    padding: 24px 28px;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ssimt-admin-header h1 {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1d2327;
}

.ssimt-admin-header p {
    margin: 0;
    color: #64748b;
    font-size: 13.5px;
}

/* Data Tables Optimization */
table.wp-list-table.ssimt-admin-table {
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

.ssimt-admin-table th {
    background: #f8fafc;
    font-weight: 700 !important;
    color: #1e293b !important;
    padding: 14px 12px !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

.ssimt-admin-table td {
    padding: 14px 12px !important;
    vertical-align: middle !important;
    font-size: 13.5px;
}

/* Status Pill Indicators */
.ssimt-badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ssimt-badge-passed {
    background-color: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.ssimt-badge-failed {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Control Config Modules */
.ssimt-settings-card {
    background: #ffffff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.ssimt-settings-card h2 {
    margin: 0 0 20px 0;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 14px;
    font-size: 19px;
    color: #0f172a;
    font-weight: 700;
}

.ssimt-form-field {
    margin-bottom: 24px;
}

.ssimt-form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
}

.ssimt-form-field input[type="text"],
.ssimt-form-field input[type="number"],
.ssimt-form-field select {
    min-width: 380px;
    max-width: 100%;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #8c8f94;
    padding: 0 14px;
    font-size: 14px;
    background: #ffffff;
    color: #2c3338;
}

.ssimt-form-field input:focus,
.ssimt-form-field select:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.25);
    outline: none;
}

.ssimt-form-field p.description {
    margin: 6px 0 0 0;
    font-style: italic;
    color: #64748b;
    font-size: 13px;
}

.ssimt-input-group label {
    font-family: "Roboto", Sans-serif;
}
.ssimt-ans-opt {
    font-family: "Roboto", Sans-serif;
}

/*Guideline*/
#post-22105 {
    font-family: "Roboto", sans-serif;
}
#post-22105 h1, #post-22105 h2 {
    font-family: "Roboto", sans-serif;
}

.reg-msg {
    color: red;background: #fff;border: 1px solid;border-radius: 5px;
}