@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ims-bg: #fff8f3;
  --ims-surface: #ffffff;
  --ims-border: #eadfd7;
  --ims-text: #171513;
  --ims-muted: #6f625b;
  --ims-accent: #f06a2a;
  --ims-accent-2: #171513;
  --ims-accent-soft: #fff1e8;
  --ims-accent-border: #ffd7c2;
  --ims-danger: #ef4444;
  --ims-success: #10b981;
  --ims-warning: #f06a2a;
  --ims-shadow: 0 18px 45px -28px rgba(23, 21, 19, 0.32), 0 6px 18px -14px rgba(240, 106, 42, 0.34);
}

body {
  background-color: var(--ims-bg);
  color: var(--ims-text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
}

.ims-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* Simple, Professional Centered Card for start/registration */
.ims-registration-card {
  max-width: 800px;
  margin: 40px auto;
  background: var(--ims-surface);
  border: 1px solid var(--ims-border);
  border-radius: 12px;
  box-shadow: var(--ims-shadow);
  padding: 40px;
}

.ims-card {
  background: var(--ims-surface);
  border: 1px solid var(--ims-border);
  border-radius: 12px;
  box-shadow: var(--ims-shadow);
  padding: 24px;
}

.ims-form-main-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--ims-text);
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.ims-form-subtitle {
  font-size: 14px;
  color: var(--ims-muted);
  margin: 0 0 32px 0;
}

/* Fieldset Section Styling */
.ims-form-section {
  border: 0;
  padding: 0;
  margin: 0 0 32px 0;
}

.ims-section-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--ims-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: 100%;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
  margin-bottom: 20px;
  display: block;
}

.ims-form {
  display: grid;
  gap: 20px;
}

.ims-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ims-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
}

.ims-field-with-help {
  position: relative !important;
}

.ims-field-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ims-field-help-container {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  margin-left: 4px !important;
}

.ims-field-help,
span.ims-field-help {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  border-radius: 50% !important;
  border: 1.5px solid #f06a2a !important;
  background: #fff1e8 !important;
  color: #171513 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-style: italic !important;
  line-height: 1 !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 1px 3px rgba(240, 106, 42, 0.2) !important;
  user-select: none !important;
}

.ims-field-help:hover,
span.ims-field-help:hover {
  background: #f06a2a !important;
  color: #ffffff !important;
  border-color: #171513 !important;
  transform: scale(1.15) !important;
  box-shadow: 0 4px 10px rgba(240, 106, 42, 0.4) !important;
}

.ims-field-help-text,
.ims-form .ims-field-help-text,
.ims-form-grid-new .ims-field-help-text,
span.ims-field-help-text,
.ims-field-with-help:focus-within .ims-field-help-text,
.ims-field-with-help input:focus ~ .ims-field-help-text,
.ims-form-grid-new label:focus-within .ims-field-help-text,
label:focus-within .ims-field-help-text {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  position: absolute !important;
  bottom: calc(100% + 8px) !important;
  left: -10px !important;
  width: max-content !important;
  max-width: 260px !important;
  padding: 8px 12px !important;
  background: #1e293b !important;
  color: #f8fafc !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3), 0 8px 10px -6px rgba(15, 23, 42, 0.2) !important;
  z-index: 9999 !important;
  text-align: left !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  pointer-events: none !important;
}

.ims-field-help-text::after {
  content: "" !important;
  position: absolute !important;
  top: 100% !important;
  left: 19px !important;
  transform: translateX(-50%) !important;
  border-width: 5px 5px 0 5px !important;
  border-style: solid !important;
  border-color: #1e293b transparent transparent transparent !important;
}

.ims-field-help:hover + .ims-field-help-text,
span.ims-field-help:hover + .ims-field-help-text {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.ims-required {
  color: var(--ims-danger);
  margin-left: 3px;
  font-weight: bold;
}

.ims-form input,
.ims-form textarea,
.ims-form select {
  width: 100%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--ims-text);
  border-radius: 10px;
  padding: 11px 16px;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.15s ease;
}

.ims-form input:focus,
.ims-form textarea:focus,
.ims-form select:focus {
  border-color: var(--ims-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ims-full {
  grid-column: 1 / -1;
}

/* Base Buttons */
.ims-button {
  justify-self: start;
  background: var(--ims-accent);
  color: #ffffff;
  border: 0;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ims-button:hover {
  background: var(--ims-accent-2);
}

.ims-button-secondary {
  background: #ffffff;
  color: #475569;
  border: 1px solid var(--ims-border);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ims-button-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.ims-feedback {
  min-height: 1.5rem;
  margin: 12px 0 0 0;
  font-size: 14px;
}

.ims-feedback[data-state="success"] {
  color: var(--ims-success);
}

.ims-feedback[data-state="error"] {
  color: var(--ims-danger);
}

/* ==========================================
   PREMIUM 3-COLUMN TEST TAKER SHELL LAYOUT
   ========================================== */
.ims-test-page {
  padding: 24px 32px !important;
  background-color: #f8fafc !important;
  min-height: 100vh !important;
  box-sizing: border-box !important;
}

.ims-test-page,
.ims-test-page *,
.ims-test-page *::before,
.ims-test-page *::after {
  box-sizing: border-box !important;
}

/* Top bar / Header */
.ims-test-top-bar {
  display: grid !important;
  grid-template-columns: 280px 1fr 320px !important;
  gap: 24px !important;
  align-items: center !important;
  margin-bottom: 24px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ims-test-logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ims-logo-icon {
  color: var(--ims-accent);
}

.ims-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--ims-text);
  letter-spacing: -0.02em;
}

.ims-test-title-area {
  display: flex;
  flex-direction: column;
}

.ims-test-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--ims-text);
}

.ims-test-subtitle {
  font-size: 13px;
  color: var(--ims-muted);
  margin: 2px 0 0 0;
}

.ims-test-top-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  justify-self: end !important;
  width: 100% !important;
}

.ims-btn-report {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ims-btn-report:hover {
  background: #f1f5f9;
  color: var(--ims-text);
}

.ims-btn-submit-top {
  background: #2563eb !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  line-height: normal !important;
  height: auto !important;
}

.ims-btn-submit-top:hover {
  background: #1d4ed8 !important;
}

/* Grid Container */
.ims-test-grid-container {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  gap: 24px;
  align-items: start;
}

.ims-test-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-right: -14px;
}

.ims-test-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--ims-shadow);
}

.ims-card-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--ims-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* Left Sidebar: Profile Card */
.ims-profile-card {
  text-align: center;
}

.ims-profile-avatar-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.ims-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--ims-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ims-profile-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--ims-text);
  letter-spacing: -0.01em;
}

.ims-profile-id-badge {
  display: inline-block;
  background: #f1f5f9;
  color: var(--ims-accent);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.ims-profile-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ims-profile-meta-list li {
  display: flex;
  align-items: start;
  gap: 12px;
}

.ims-meta-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f8fafc;
  color: var(--ims-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ims-meta-content {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.ims-meta-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--ims-muted);
  text-transform: uppercase;
}

.ims-meta-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--ims-text);
  word-break: break-all;
}

/* Left Sidebar: Timer Card */
.ims-timer-card-new {
  text-align: center;
}

.ims-timer-display {
  font-size: 32px;
  font-weight: 800;
  color: var(--ims-accent);
  margin-bottom: 2px;
  letter-spacing: -0.03em;
}

.ims-timer-display.is-danger {
  color: var(--ims-danger);
}

.ims-timer-unit {
  font-size: 11px;
  font-weight: 600;
  color: var(--ims-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.ims-progress-bar-container {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.ims-progress-bar-fill {
  height: 100%;
  background: var(--ims-accent);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.ims-timer-total {
  font-size: 11px;
  font-weight: 600;
  color: var(--ims-muted);
}

/* Left Sidebar: Instructions Card */
.ims-instructions-list-new {
  margin: 0;
  padding: 0 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ims-instructions-list-new li {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ims-muted);
}

/* Middle Main Card: Question Panel */
.ims-question-card-new {
  padding: 32px !important;
}

.ims-question-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.ims-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  padding: 6px 12px;
  background: #eff6ff;
  color: var(--ims-accent);
  font-size: 12px;
  font-weight: 600;
}

.ims-badge-neutral-new {
  background: #f1f5f9;
  color: #475569;
}

.ims-badge-success-new {
  background: #ecfdf5;
  color: var(--ims-success);
}

.ims-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.ims-question-meta-row {
  font-size: 12px;
  font-weight: 600;
  color: var(--ims-muted);
  margin-bottom: 24px;
}

.ims-question-body-wrapper h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 24px 0;
  color: var(--ims-text);
  letter-spacing: -0.02em;
}

.ims-question-inline-counter {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ims-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

/* Option Card layout */
.ims-option-card {
  display: grid;
  grid-template-columns: 36px 1fr 20px;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ims-option-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.ims-option-key-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.ims-option-text-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--ims-text);
}

.ims-option-radio-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  display: inline-block;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

/* Option Selected Styles */
.ims-option-card.is-selected {
  border-color: var(--ims-accent);
  background: #f8faff;
}

.ims-option-card.is-selected .ims-option-key-circle {
  background: var(--ims-accent);
  color: #ffffff;
}

.ims-option-card.is-selected .ims-option-radio-indicator {
  border-color: var(--ims-accent);
  background: radial-gradient(circle, var(--ims-accent) 40%, transparent 40%);
}

/* Information Banner block */
.ims-upload-info-banner {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1e40af;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

/* Footer Question buttons */
.ims-test-page .ims-question-footer-actions {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  gap: 16px !important;
  margin-top: 32px !important;
  box-sizing: border-box !important;
}

.ims-test-page .ims-btn-nav-outline {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  border-radius: 8px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  height: auto !important;
  line-height: normal !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.ims-test-page .ims-btn-nav-outline svg {
  color: #2563eb !important;
}

.ims-test-page .ims-btn-nav-outline:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
}

.ims-test-page .ims-btn-nav-outline.is-active-marked {
  background: #eff6ff !important;
  border-color: #2563eb !important;
  color: #2563eb !important;
}

.ims-test-page .ims-btn-nav-primary {
  background: #2563eb !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 10px 28px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: auto !important;
  line-height: normal !important;
  margin: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.ims-test-page .ims-btn-nav-primary:hover {
  background: #1d4ed8 !important;
}

.ims-test-page .ims-btn-nav-primary.is-submit-mode {
  background: #2563eb !important;
}

.ims-test-page .ims-btn-nav-outline.is-loading,
.ims-test-page .ims-btn-nav-primary.is-loading,
.ims-test-page .ims-btn-submit-top.is-loading {
  opacity: 0.85 !important;
  pointer-events: none !important;
}

.ims-submit-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
}

.ims-submit-modal[hidden] {
  display: none !important;
}

.ims-submit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
}

.ims-submit-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 460px);
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
  padding: 28px;
  text-align: center;
}

.ims-submit-modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: #fff7ed;
  color: #f97316;
  display: grid;
  place-items: center;
}

.ims-submit-modal__dialog h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: var(--ims-text);
}

.ims-submit-modal__dialog p {
  margin: 0;
  color: var(--ims-muted);
  line-height: 1.6;
}

.ims-submit-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

/* Right Sidebar: Navigator Card */
.ims-navigator-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.ims-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ims-muted);
}

.ims-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

.legend-answered {
  background: var(--ims-success);
}

.legend-current {
  background: var(--ims-accent);
}

.legend-unanswered {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
}

/* Navigation Grid */
.ims-question-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.ims-nav-item {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ims-nav-item:hover {
  background: #f8fafc;
}

.ims-nav-item.is-unanswered {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--ims-muted);
}

.ims-nav-item.is-active {
  background: var(--ims-accent) !important;
  border-color: var(--ims-accent) !important;
  color: #ffffff !important;
}

.ims-nav-item.is-answered {
  background: var(--ims-success) !important;
  border-color: var(--ims-success) !important;
  color: #ffffff !important;
}

/* Navigator Progress bar */
.ims-navigator-progress-section {
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.ims-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
}

.ims-progress-label {
  color: var(--ims-text);
}

.ims-progress-stat {
  color: var(--ims-muted);
  font-size: 11px;
  margin-left: auto;
  margin-right: 8px;
}

.ims-progress-percent {
  color: var(--ims-accent);
}

/* Page Footer status */
.ims-test-footer {
  margin-top: 40px;
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ims-muted);
  border-top: 1px solid #e2e8f0;
}

/* drag and drop file styling */
.ims-upload-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  background: #fdfdfd;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.ims-upload-zone:hover,
.ims-upload-zone.is-dragover {
  border-color: var(--ims-accent);
  background: #eff6ff;
}

.ims-file-input-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.ims-upload-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f06a2a 0%, #f06a2a 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  box-shadow: 0 4px 6px -1px rgba(240, 106, 42, 0.2);
}

.ims-upload-text {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.ims-upload-info {
  font-size: 12px;
  color: #64748b;
}

.ims-upload-selected {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #166534;
  animation: ims-fade-in 0.15s ease-out;
}

.ims-upload-success-icon {
  align-items: center;
  background: #16a34a;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  height: 20px;
  justify-content: center;
  line-height: 1;
  width: 20px;
}

.ims-upload-remove {
  align-items: center;
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  color: #166534;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  line-height: 1;
  margin-left: 4px;
  padding: 0;
  transition: all 0.18s ease;
  width: 28px;
}

.ims-upload-remove:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #b91c1c;
}

.ims-upload-zone.has-file {
  background: #f0fdf4 !important;
  border-color: #86efac !important;
}

.ims-upload-zone.has-file .ims-upload-icon-column {
  background: #dcfce7 !important;
  color: #16a34a !important;
}

.ims-security-skip-alert {
  margin: 0 0 18px 0;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.ims-option-card.is-security-disabled {
  opacity: 0.58;
  background: #f8fafc !important;
  border-color: #e5e7eb !important;
  pointer-events: none;
}

.ims-nav-item.is-security-skipped {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border-color: #fecaca !important;
}

.ims-form input.is-field-invalid + .ims-upload-zone {
  border-color: var(--ims-danger) !important;
  background: #fef2f2 !important;
}

/* Responsive grid rules */
@media (max-width: 1080px) {
  .ims-test-grid-container {
    grid-template-columns: 1fr;
  }
  .ims-test-top-bar {
    grid-template-columns: 1fr auto;
  }
  .ims-test-logo-area {
    display: none;
  }
}

@media (max-width: 640px) {
  .ims-form-grid {
    grid-template-columns: 1fr;
  }
  .ims-registration-card,
  .ims-card {
    padding: 24px;
  }
  .ims-test-page {
    padding: 16px;
  }
}

/* Specificity overrides for hidden attribute and custom form validation styling */
[hidden] {
  display: none !important;
}

.ims-form .is-field-invalid {
  border-color: var(--ims-danger) !important;
  background-color: #fffbfa !important;
}

.ims-form .is-field-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.ims-field-error-msg {
  display: block;
  margin-top: 4px;
}


/* ==========================================
   HIGH-FIDELITY REGISTRATION FORM LAYOUT
   ========================================== */
.ims-registration-container {
  max-width: 1120px;
  margin: 40px auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Header illustration layout */
.ims-registration-header {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(380px, 0.72fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 24px;
}

.ims-registration-logo {
  display: block;
  height: 56px;
  margin-bottom: 18px;
  object-fit: contain;
  width: auto;
}

.ims-registration-main-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.03em;
}

.ims-registration-subtitle {
  font-size: 15px;
  color: var(--ims-muted);
  margin: 0;
}

.ims-illustration-img {
  width: min(220px, 100%);
  max-width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 22px;
  box-shadow: 0 18px 36px -24px rgba(240, 90, 36, 0.72);
}

/* Horizontal Stepper Styling */
.ims-registration-stepper {
  background: #fbfbfe;
  border: 1px solid #ffd7c2;
  border-radius: 14px;
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  gap: 12px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.01);
}

.ims-step {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.ims-step.is-active {
  opacity: 1;
}

.ims-step-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff4ec;
  color: #f06a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ims-step.is-active .ims-step-icon-wrapper {
  background: #ffd7c2;
}

.ims-step-label-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.ims-step-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e1b4b;
}

.ims-step-desc {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.ims-step-chevron {
  color: #cbd5e1;
  display: flex;
  align-items: center;
}

/* Body Grid layout (track line on left, form on right) */
.ims-registration-body-grid {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
}

.ims-registration-left-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 14px;
}

.ims-track-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff4ec;
  color: #f06a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.02);
}

.ims-track-line-one {
  width: 2px;
  height: 240px;
  background: repeating-linear-gradient(to bottom, transparent, transparent 4px, #e2e8f0 4px, #e2e8f0 8px);
}

.ims-track-line-two {
  width: 2px;
  height: 120px;
  background: repeating-linear-gradient(to bottom, transparent, transparent 4px, #e2e8f0 4px, #e2e8f0 8px);
}

/* Form Container on the right */
.ims-registration-form-card {
  background: #ffffff;
  border: 1px solid var(--ims-border);
  border-radius: 16px;
  padding: 28px 40px;
  box-shadow: var(--ims-shadow);
  display: flex;
  flex-direction: column;
}

.ims-section-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ims-section-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ims-section-number {
  border: 1.5px solid #f06a2a;
  color: #f06a2a;
  font-size: 11px;
  font-weight: 800;
  border-radius: 6px;
  padding: 2px 6px;
  letter-spacing: 0.05em;
}

.ims-section-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.ims-section-title-main {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.ims-section-subtitle-main {
  font-size: 12px;
  color: var(--ims-muted);
  font-weight: 500;
}

.ims-form-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.ims-combobox-field {
  position: relative;
}

.ims-combobox-native {
  height: 1px !important;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute !important;
  top: 28px;
  width: 1px !important;
}

.ims-combobox {
  position: relative;
  z-index: 1;
}

.ims-combobox.is-open {
  z-index: 80;
}

.ims-combobox-input {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  color: #0f172a !important;
  cursor: pointer !important;
  font-size: 14px !important;
  min-height: 44px !important;
  overflow: hidden !important;
  padding: 10px 38px 10px 12px !important;
  position: relative !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  width: 100% !important;
}

.ims-combobox-input::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

.ims-combobox::after {
  border-bottom: 2px solid #0f172a;
  border-right: 2px solid #0f172a;
  content: "";
  height: 8px;
  pointer-events: none;
  position: absolute;
  right: 14px;
  top: 15px;
  transform: rotate(45deg);
  width: 8px;
}

.ims-combobox.is-open::after {
  top: 19px;
  transform: rotate(225deg);
}

.ims-combobox-input:focus {
  border-color: var(--ims-accent) !important;
  box-shadow: 0 0 0 3px rgba(240, 106, 42, 0.14) !important;
  outline: none !important;
}

.ims-combobox-options {
  background: #ffffff !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16) !important;
  box-sizing: border-box !important;
  display: none;
  left: 0;
  margin-top: 6px;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  padding: 6px !important;
  position: absolute;
  right: 0;
  top: 100%;
  width: 100% !important;
  z-index: 90;
}

.ims-combobox-search-wrap {
  background: #ffffff !important;
  border-bottom: 1px solid #eef2f7 !important;
  box-sizing: border-box !important;
  margin-bottom: 6px !important;
  padding: 2px 2px 8px !important;
  width: 100% !important;
  z-index: 10 !important;
}

.ims-combobox-search {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 7px !important;
  box-sizing: border-box !important;
  color: #0f172a !important;
  cursor: text !important;
  font-size: 13px !important;
  min-height: 36px !important;
  padding: 8px 10px !important;
  width: 100% !important;
}

.ims-combobox-search:focus {
  border-color: var(--ims-accent) !important;
  box-shadow: 0 0 0 3px rgba(240, 106, 42, 0.12) !important;
  outline: none !important;
}

.ims-combobox-list {
  max-height: 178px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  width: 100% !important;
}

.ims-combobox.is-open .ims-combobox-options {
  display: block;
}

.ims-combobox-option {
  appearance: none !important;
  background: #ffffff !important;
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  color: #0f172a !important;
  cursor: pointer !important;
  display: block !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  min-height: 38px !important;
  outline: 0 !important;
  overflow: hidden !important;
  padding: 9px 10px !important;
  text-align: left !important;
  text-decoration: none !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  width: 100% !important;
  position: relative !important;
  z-index: 1 !important;
}

.ims-combobox-option[hidden] {
  display: none !important;
}

.ims-combobox-option:hover,
.ims-combobox-option:focus,
.ims-combobox-option.is-selected {
  background: var(--ims-accent-soft) !important;
  color: #b84614 !important;
  outline: none !important;
}

.ims-combobox-empty {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
  text-align: center;
}

.ims-captcha-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-top: 18px;
  padding: 12px 14px;
}

.ims-captcha-box label {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(90px, auto) auto minmax(90px, 150px);
}

.ims-captcha-label {
  color: #0f172a;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ims-captcha-box .g-recaptcha {
  min-height: 78px;
}

.ims-captcha-question {
  background: #fff1e8;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  color: #b84614;
  font-weight: 800;
  padding: 8px 12px;
  text-align: center;
}

.ims-captcha-box input[name="ims_captcha_answer"] {
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  padding: 9px 10px;
  width: 100%;
}

.ims-section-divider {
  border: 0;
  border-top: 1px solid #f1f5f9;
  margin: 22px 0;
}

/* Upload zone override */
.ims-upload-grid-wrapper {
  width: 100%;
}

.ims-upload-zone {
  border: 2px dashed #ffd7c2 !important;
  background: #fbfbfe !important;
  border-radius: 14px !important;
  padding: 14px 24px !important;
  display: grid !important;
  grid-template-columns: 56px 1fr !important;
  gap: 16px !important;
  align-items: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  min-height: 128px !important;
}

.ims-upload-icon-column {
  color: #f06a2a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff4ec !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
}

.ims-upload-text-column {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.ims-upload-text-or {
  font-size: 11px;
  color: var(--ims-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 2px 0;
}

.ims-registration-container .ims-upload-selected {
  margin-top: 6px;
  padding: 8px 10px;
  max-width: 100%;
}

/* Form actions override to defeat active themes */
.ims-submit-wrapper-new {
  margin-top: 26px;
}

.ims-registration-container .ims-btn-submit-form,
.ims-thankyou-card .ims-btn-submit-form {
  display: flex !important;
  width: 100% !important;
  background: #f06a2a !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 6px -1px rgba(240, 106, 42, 0.15), 0 2px 4px -1px rgba(240, 106, 42, 0.1) !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  line-height: normal !important;
  text-decoration: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.ims-registration-container .ims-btn-submit-form:hover,
.ims-thankyou-card .ims-btn-submit-form:hover {
  background: #171513 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 15px -3px rgba(240, 106, 42, 0.25) !important;
}

.ims-registration-container .ims-btn-browse {
  display: inline-flex !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #f06a2a !important;
  border-radius: 8px !important;
  padding: 8px 24px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  margin: 6px 0 !important;
  outline: none !important;
  height: auto !important;
  line-height: normal !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.ims-registration-container .ims-btn-browse:hover {
  background: #fff4ec !important;
  border-color: #cbd5e1 !important;
  color: #171513 !important;
}

/* Responsive grid overrides */
@media (max-width: 820px) {
  .ims-registration-stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .ims-step-chevron {
    display: none;
  }
  .ims-registration-body-grid {
    grid-template-columns: 1fr;
  }
  .ims-registration-left-track {
    display: none;
  }
  .ims-captcha-box label {
    grid-template-columns: 1fr;
  }
}

/* Thank You Page Styling */
.ims-thankyou-card {
  max-width: 560px !important;
  margin: 60px auto !important;
  padding: 48px 40px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.ims-thankyou-graphic-wrapper {
  margin-bottom: 24px;
}

.ims-thankyou-subtitle-new {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 28px 0;
  text-align: center;
}

.ims-next-steps-header {
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  text-align: center;
}

.ims-thankyou-steps-timeline {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  width: 100% !important;
  margin-bottom: 36px !important;
  box-sizing: border-box !important;
}

.ims-timeline-item {
  display: grid !important;
  grid-template-columns: 44px 1fr !important;
  gap: 16px !important;
  align-items: start !important;
  text-align: left !important;
}

.ims-timeline-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff4ec;
  color: #f06a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ims-timeline-content {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.4 !important;
}

.ims-timeline-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.ims-timeline-desc {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}

.ims-thankyou-actions-new {
  width: 100%;
}

/* Dynamic Spinner Styles */
.ims-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: ims-spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: -3px;
}

@keyframes ims-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Start Test Verification Page Styles */
.ims-test-verification-outer-container {
  max-width: 820px !important;
  margin: 40px auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 32px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

.ims-verification-top-card {
  padding: 40px !important;
  border-radius: 16px !important;
}

.ims-verification-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.15fr !important;
  gap: 40px !important;
  align-items: start !important;
}

.ims-verification-left-col {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
}

.ims-verification-graphic {
  margin-bottom: 8px;
}

.ims-verification-title {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 12px 0 8px 0 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
}

.ims-verification-subtitle {
  font-size: 13.5px !important;
  color: #64748b !important;
  margin: 0 0 24px 0 !important;
  line-height: 1.5 !important;
}

.ims-verification-notice-box {
  background: #fff4ec !important;
  border: 1px solid #ffd7c2 !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  display: flex !important;
  gap: 12px !important;
  align-items: start !important;
}

.ims-notice-icon-badge {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  background: #ffd7c2 !important;
  color: #f06a2a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.ims-notice-text {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #171513 !important;
  line-height: 1.4 !important;
}

/* Prefix input styles */
.ims-input-group-new {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  text-align: left !important;
}

.ims-input-label-text {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #334155 !important;
}

.ims-input-prefix-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.ims-input-prefix-icon {
  position: absolute !important;
  left: 14px !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.ims-prefix-input-field {
  padding-left: 44px !important;
  border-radius: 10px !important;
  border: 1.5px solid #cbd5e1 !important;
  font-size: 14px !important;
  color: #0f172a !important;
  width: 100% !important;
  height: 46px !important;
  box-sizing: border-box !important;
  outline: none !important;
  background: #ffffff !important;
  transition: all 0.15s ease !important;
}

.ims-prefix-input-field:focus {
  border-color: #f06a2a !important;
  box-shadow: 0 0 0 3px rgba(240, 106, 42, 0.1) !important;
}

.ims-input-help-text {
  font-size: 11px !important;
  color: #94a3b8 !important;
  margin-top: 2px !important;
  font-weight: 500 !important;
}

.ims-verification-submit-wrapper {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 12px !important;
}

.ims-btn-start-test-new {
  display: inline-flex !important;
  background: #2563eb !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 11px 28px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  align-items: center !important;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.15) !important;
}

.ims-btn-start-test-new:hover {
  background: #1d4ed8 !important;
  box-shadow: 0 8px 12px -3px rgba(37, 99, 235, 0.2) !important;
}

.ims-secure-badge-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 12px !important;
  color: #64748b !important;
  font-weight: 600 !important;
  margin-top: 24px !important;
  border: 1px solid #f1f5f9 !important;
}

/* Bottom instructions card styling */
.ims-instructions-bottom-card {
  padding: 32px 40px !important;
  border-radius: 16px !important;
}

.ims-instructions-header-row {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 24px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.ims-instructions-header-icon-box {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  background: #ffe4e6 !important;
  color: #e11d48 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.ims-instructions-header-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #be123c !important;
  margin: 0 !important;
}

.ims-instructions-rows {
  display: flex !important;
  flex-direction: column !important;
}

.ims-instruction-row-item {
  display: grid !important;
  grid-template-columns: 28px 1fr 28px !important;
  gap: 16px !important;
  align-items: center !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  text-align: left !important;
}

.ims-instruction-number-badge {
  width: 24px !important;
  height: 24px !important;
  border-radius: 6px !important;
  background: #ffe4e6 !important;
  color: #be123c !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ims-instruction-text {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  line-height: 1.5 !important;
}

.ims-instruction-icon-right {
  color: #f06a2a !important;
  display: flex !important;
  justify-content: flex-end !important;
}

.ims-instruction-warning-box {
  background: #fffbeb !important;
  border: 1px solid #fef3c7 !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  display: flex !important;
  gap: 12px !important;
  align-items: start !important;
  margin-top: 28px !important;
  text-align: left !important;
}

.ims-warning-icon-circle {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: #d97706 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.ims-warning-text-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  line-height: 1.4 !important;
}

.ims-warning-text-block strong {
  font-size: 13.5px !important;
  color: #92400e !important;
  font-weight: 700 !important;
}

.ims-warning-text-block span {
  font-size: 13px !important;
  color: #b45309 !important;
  font-weight: 500 !important;
}

.ims-instructions-footer-help {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 28px !important;
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 600 !important;
}

.ims-text-highlight-red {
  color: #e11d48 !important;
  font-weight: 700 !important;
  margin-left: 4px !important;
}

/* Responsive grid rules */
@media (max-width: 768px) {
  .ims-verification-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* Test Shell Royal Blue Color Overrides */
.ims-test-page {
  --ims-accent: #2563eb !important;
  --ims-accent-2: #1d4ed8 !important;
}

.ims-test-page .ims-profile-avatar {
  color: #2563eb !important;
  background: #eff6ff !important;
}

.ims-test-page .ims-profile-id-badge {
  color: #2563eb !important;
  background: #f1f5f9 !important;
}

.ims-test-page .ims-progress-percent {
  color: #2563eb !important;
}

.ims-test-page .ims-progress-bar-fill {
  background: #2563eb !important;
}

.ims-test-page .ims-timer-display {
  color: #2563eb !important;
}

.ims-test-page .ims-timer-display.is-danger {
  color: #ef4444 !important;
}

.ims-test-page .legend-current {
  background: #2563eb !important;
}

.ims-test-page .ims-nav-item.is-current {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

.ims-test-page .ims-badge-new {
  color: #2563eb !important;
  background: #eff6ff !important;
}

.ims-test-page .ims-option-card.is-selected {
  border-color: #2563eb !important;
  background: #f8faff !important;
}

.ims-test-page .ims-option-card.is-selected .ims-option-key-circle {
  background: #2563eb !important;
  color: #ffffff !important;
}

.ims-test-page .ims-option-card.is-selected .ims-option-radio-indicator {
  border-color: #2563eb !important;
  background: radial-gradient(circle, #2563eb 40%, transparent 40%) !important;
}

.ims-test-page .ims-btn-submit-top {
  background: #2563eb !important;
  color: #ffffff !important;
}

.ims-test-page .ims-btn-submit-top:hover {
  background: #1d4ed8 !important;
}

.ims-test-page .ims-btn-nav-primary {
  background: #2563eb !important;
  color: #ffffff !important;
}

.ims-test-page .ims-btn-nav-primary:hover {
  background: #1d4ed8 !important;
}

/* Dedicated Full-Screen Page Breakouts */
body:has(.ims-test-page) #primary,
body:has(.ims-test-page) #content,
body:has(.ims-test-page) .site-content,
body:has(.ims-test-page) .entry-content,
body:has(.ims-test-page) .post-inner,
body:has(.ims-test-page) .entry,
body:has(.ims-test-page) .container,
body:has(.ims-test-page) .wrap,
body:has(.ims-test-page) .entry-header {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: #f8fafc !important;
  box-shadow: none !important;
  border: none !important;
}

body:has(.ims-test-page) {
  background-color: #f8fafc !important;
}

body:has(.ims-test-page) .entry-title {
  display: none !important;
}

body:has(.ims-registration-container) .entry-title,
body:has(.ims-registration-container) .page-title,
body:has(.ims-registration-container) .entry-header,
body:has(.ims-thankyou-card) .entry-title,
body:has(.ims-thankyou-card) .page-title,
body:has(.ims-thankyou-card) .entry-header,
body:has(.ims-thankyou-card) .site-title,
body:has(.ims-thankyou-card) .site-branding,
body:has(.ims-thankyou-card) .wp-block-site-title {
  display: none !important;
}

/* Ensure outer grid container is centered */
.ims-test-page {
  max-width: 1200px !important;
  margin: 0 auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}


/* Test Verification 2-Column Side-by-Side Layout & Locked Fields */
.ims-input-readonly {
  background-color: #f1f5f9 !important;
  color: #475569 !important;
  cursor: not-allowed !important;
  border-color: #cbd5e1 !important;
  font-weight: 600 !important;
}

.ims-verified-lock-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  margin-top: 6px !important;
}

.ims-instructions-badge-header {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.ims-test-stats-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 20px !important;
}

.ims-stat-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  color: #475569 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.ims-stat-pill strong {
  color: #0f172a !important;
}

.ims-instructions-list-new {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin-top: 10px !important;
}

.ims-instruction-item-new {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

.ims-inst-num {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  background: #f06a2a !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

.ims-inst-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.ims-inst-content strong {
  font-size: 13px !important;
  color: #0f172a !important;
}

.ims-inst-content span {
  font-size: 12px !important;
  color: #64748b !important;
  line-height: 1.4 !important;
}

.ims-form-header-box {
  margin-bottom: 18px !important;
}

.ims-form-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
}

/* Exiliensoft frontend theme polish */
body:has(.ims-registration-container),
body:has(.ims-test-page),
body:has(.ims-thankyou-card),
body:has(.ims-registration-card) {
  background:
    radial-gradient(circle at 8% 2%, rgba(240, 106, 42, 0.14), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(23, 21, 19, 0.08), transparent 32%),
    linear-gradient(180deg, #fffaf6 0%, #fff6ef 42%, #ffffff 100%) !important;
  color: #171513 !important;
}

.ims-registration-container,
.ims-registration-card,
.ims-thankyou-card,
.ims-test-page {
  color: #171513 !important;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

body:has(.ims-registration-container) #primary,
body:has(.ims-registration-container) #content,
body:has(.ims-registration-container) .site-content,
body:has(.ims-registration-container) .entry-content,
body:has(.ims-registration-container) .post-inner,
body:has(.ims-registration-container) .entry,
body:has(.ims-registration-container) .container,
body:has(.ims-registration-container) .wrap,
body:has(.ims-thankyou-card) #primary,
body:has(.ims-thankyou-card) #content,
body:has(.ims-thankyou-card) .site-content,
body:has(.ims-thankyou-card) .entry-content,
body:has(.ims-thankyou-card) .post-inner,
body:has(.ims-thankyou-card) .entry,
body:has(.ims-thankyou-card) .container,
body:has(.ims-thankyou-card) .wrap {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ims-registration-container {
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ims-registration-form-card {
  padding-left: 46px !important;
  padding-right: 46px !important;
}

.ims-registration-header {
  background: linear-gradient(135deg, #ffffff 0%, #fff4ec 58%, #ffe3d5 100%) !important;
  border: 1px solid #f2d8c8 !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 55px -38px rgba(23, 21, 19, 0.55), 0 14px 28px -24px rgba(240, 106, 42, 0.62) !important;
  padding: 24px 28px !important;
  overflow: hidden !important;
}

.ims-registration-header-graphic {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  min-width: 0 !important;
}

.ims-registration-logo {
  height: 68px !important;
  max-width: 230px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 18px rgba(240, 106, 42, 0.16)) !important;
}

.ims-registration-main-title,
.ims-form-main-title {
  color: #171513 !important;
  font-weight: 800 !important;
}

.ims-registration-main-title::after,
.ims-form-main-title::after {
  content: "" !important;
  display: block !important;
  width: 74px !important;
  height: 4px !important;
  margin-top: 10px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #f05a24 0%, #ff8a4d 100%) !important;
}

.ims-registration-subtitle,
.ims-form-subtitle,
.ims-thankyou-subtitle-new {
  color: #70645d !important;
}

.ims-registration-form-card,
.ims-registration-card,
.ims-thankyou-card,
.ims-test-card,
.ims-card,
.ims-verification-top-card {
  background: rgba(255, 255, 255, 0.97) !important;
  border: 1px solid #f0dfd4 !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 60px -42px rgba(23, 21, 19, 0.58), 0 12px 30px -24px rgba(240, 106, 42, 0.52) !important;
}

.ims-registration-stepper {
  background: #2f2f2f !important;
  border: 1px solid #3d3b38 !important;
  box-shadow: 0 18px 40px -30px rgba(23, 21, 19, 0.7) !important;
}

.ims-step-title {
  color: #ffffff !important;
}

.ims-step-desc {
  color: #d8d1cb !important;
}

.ims-step.is-active .ims-step-title {
  color: #ffffff !important;
}

.ims-step-icon-wrapper,
.ims-track-icon-box,
.ims-section-number,
.ims-inst-num {
  background: #fff0e7 !important;
  border-color: #ffcdb3 !important;
  color: #f05a24 !important;
}

.ims-step.is-active .ims-step-icon-wrapper,
.ims-step.is-complete .ims-step-icon-wrapper,
.ims-track-item.is-active .ims-track-icon-box,
.ims-inst-num {
  background: linear-gradient(135deg, #ff7a3d 0%, #f05a24 100%) !important;
  border-color: #f05a24 !important;
  color: #ffffff !important;
}

.ims-section-title,
.ims-card-header,
.ims-form-title,
.ims-test-page h1,
.ims-test-page h2,
.ims-test-page h3 {
  color: #171513 !important;
}

.ims-form label,
.ims-field-label,
.ims-combobox-field > span {
  color: #2f2f2f !important;
  font-weight: 700 !important;
}

.ims-form input,
.ims-form select,
.ims-form textarea,
.ims-combobox-input {
  background: #ffffff !important;
  border: 1px solid #ead8cf !important;
  border-radius: 10px !important;
  color: #171513 !important;
  box-shadow: 0 1px 0 rgba(23, 21, 19, 0.03) !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

.ims-form input:focus,
.ims-form select:focus,
.ims-form textarea:focus,
.ims-combobox.is-open .ims-combobox-input,
.ims-combobox-input:focus,
.ims-combobox-search:focus {
  border-color: #f05a24 !important;
  box-shadow: 0 0 0 4px rgba(240, 106, 42, 0.14) !important;
  outline: none !important;
}

.ims-combobox::after {
  border-color: #2f2f2f !important;
}

.ims-combobox-options {
  background: #ffffff !important;
  border: 1px solid #f0d8ca !important;
  border-radius: 12px !important;
  box-shadow: 0 24px 48px -32px rgba(23, 21, 19, 0.52), 0 12px 22px -18px rgba(240, 106, 42, 0.45) !important;
  overflow: hidden !important;
}

.ims-combobox-search-wrap {
  background: #ffffff !important;
  border-bottom: 1px solid #f2e3da !important;
  box-shadow: 0 8px 16px -14px rgba(23, 21, 19, 0.35) !important;
  z-index: 4 !important;
}

.ims-combobox-search {
  background: #fffaf6 !important;
  border: 1px solid #f0d8ca !important;
  border-radius: 9px !important;
  color: #171513 !important;
}

.ims-combobox-list {
  background: #ffffff !important;
  padding: 8px !important;
}

.ims-combobox-option {
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #171513 !important;
  font-weight: 700 !important;
  padding: 11px 12px !important;
  text-align: left !important;
}

.ims-combobox-option[hidden] {
  display: none !important;
}

.ims-combobox-option:hover,
.ims-combobox-option:focus,
.ims-combobox-option.is-selected {
  background: #fff0e7 !important;
  color: #f05a24 !important;
}

.ims-combobox-empty {
  color: #70645d !important;
  background: #fff8f3 !important;
  border-radius: 8px !important;
  margin: 8px !important;
}

.ims-upload-zone {
  background: #fffaf6 !important;
  border: 2px dashed #ffcdb3 !important;
  border-radius: 16px !important;
}

.ims-upload-zone:hover,
.ims-upload-zone.is-dragover {
  background: #fff3eb !important;
  border-color: #f05a24 !important;
}

.ims-upload-zone.has-file {
  background: #ecfdf5 !important;
  border-color: #22c55e !important;
}

.ims-upload-zone.has-file .ims-upload-title,
.ims-upload-zone.has-file .ims-upload-file-name {
  color: #047857 !important;
}

.ims-upload-remove {
  background: #ffffff !important;
  border: 1px solid #fecaca !important;
  color: #dc2626 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 16px -12px rgba(220, 38, 38, 0.55) !important;
}

.ims-upload-remove:hover {
  background: #fee2e2 !important;
  border-color: #f87171 !important;
  color: #991b1b !important;
}

.ims-btn-submit-form,
.ims-btn-start-test-new,
.ims-test-page .ims-btn-nav-primary,
.ims-test-page .ims-btn-submit-top,
.ims-thankyou-card .ims-btn-submit-form {
  background: linear-gradient(135deg, #ff7a3d 0%, #f05a24 100%) !important;
  border: 1px solid #f05a24 !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  box-shadow: 0 18px 32px -20px rgba(240, 90, 36, 0.82) !important;
  font-weight: 800 !important;
}

.ims-btn-submit-form:hover,
.ims-btn-start-test-new:hover,
.ims-test-page .ims-btn-nav-primary:hover,
.ims-test-page .ims-btn-submit-top:hover,
.ims-thankyou-card .ims-btn-submit-form:hover {
  background: linear-gradient(135deg, #f05a24 0%, #d94716 100%) !important;
  box-shadow: 0 22px 38px -22px rgba(217, 71, 22, 0.86) !important;
  transform: translateY(-1px) !important;
}

.ims-btn-browse,
.ims-test-page .ims-btn-nav-outline {
  background: #ffffff !important;
  border: 1px solid #f0cbb8 !important;
  color: #f05a24 !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
}

.ims-btn-browse:hover,
.ims-test-page .ims-btn-nav-outline:hover {
  background: #fff0e7 !important;
  border-color: #f05a24 !important;
  color: #d94716 !important;
}

.ims-test-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(240, 106, 42, 0.12), transparent 30%),
    linear-gradient(180deg, #fffaf6 0%, #ffffff 46%, #fff8f3 100%) !important;
}

body:has(.ims-test-page) #primary,
body:has(.ims-test-page) #content,
body:has(.ims-test-page) .site-content,
body:has(.ims-test-page) .entry-content,
body:has(.ims-test-page) .post-inner,
body:has(.ims-test-page) .entry,
body:has(.ims-test-page) .container,
body:has(.ims-test-page) .wrap,
body:has(.ims-test-page) .entry-header {
  background: transparent !important;
}

.ims-test-page .ims-profile-avatar,
.ims-test-page .ims-progress-bar-fill,
.ims-test-page .legend-current,
.ims-test-page .ims-nav-item.is-current,
.ims-test-page .ims-option-card.is-selected .ims-option-key-circle {
  background: #f05a24 !important;
  border-color: #f05a24 !important;
  color: #ffffff !important;
}

.ims-test-page .ims-profile-id-badge,
.ims-test-page .ims-progress-percent,
.ims-test-page .ims-timer-display,
.ims-test-page .ims-badge-new {
  color: #f05a24 !important;
}

.ims-test-page .ims-badge-new,
.ims-instructions-badge-header,
.ims-verified-lock-badge {
  background: #fff0e7 !important;
  border-color: #ffcdb3 !important;
  color: #d94716 !important;
}

.ims-test-page .ims-option-card {
  border-color: #efe0d7 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
}

.ims-test-page .ims-option-card:hover {
  border-color: #f7b28f !important;
  background: #fffaf6 !important;
}

.ims-test-page .ims-option-card.is-selected {
  border-color: #f05a24 !important;
  background: #fff0e7 !important;
  box-shadow: 0 16px 32px -26px rgba(240, 90, 36, 0.75) !important;
}

.ims-test-page .ims-option-card.is-selected .ims-option-radio-indicator {
  border-color: #f05a24 !important;
  background: radial-gradient(circle, #f05a24 40%, transparent 41%) !important;
}

.ims-test-page .ims-timer-display.is-danger {
  color: #dc2626 !important;
  background: #fee2e2 !important;
  border-color: #fecaca !important;
}

.ims-stat-pill,
.ims-instruction-item-new {
  border-color: #f0dfd4 !important;
  background: #fffaf6 !important;
}

.ims-stat-pill strong,
.ims-inst-content strong {
  color: #171513 !important;
}

.ims-inst-content span {
  color: #70645d !important;
}

@media (max-width: 640px) {
  .ims-registration-header {
    padding: 20px !important;
    border-radius: 18px !important;
  }

  .ims-registration-logo {
    height: 58px !important;
    max-width: 210px !important;
  }

  .ims-registration-header {
    grid-template-columns: 1fr !important;
  }

  .ims-registration-header-graphic {
    justify-content: flex-start !important;
  }

  .ims-illustration-img {
    width: min(190px, 100%) !important;
    max-width: 190px !important;
  }

  .ims-registration-form-card,
  .ims-registration-card,
  .ims-thankyou-card,
  .ims-test-card,
  .ims-card {
    border-radius: 14px !important;
  }
}

/* Interview verification and assessment completion refinements */
body:has(.ims-test-verification-outer-container) .entry-title,
body:has(.ims-test-verification-outer-container) .page-title,
body:has(.ims-test-verification-outer-container) .entry-header {
  display: none !important;
}

.ims-test-verification-outer-container {
  width: min(1120px, calc(100% - 40px)) !important;
  max-width: 1120px !important;
  margin: 34px auto !important;
  padding: 0 !important;
}

.ims-verification-top-card {
  padding: 44px !important;
  border-radius: 20px !important;
  background:
    linear-gradient(90deg, rgba(255, 240, 231, 0.82) 0%, rgba(255, 255, 255, 0.98) 38%, #ffffff 100%) !important;
  border-color: #f0d8ca !important;
}

.ims-verification-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr) !important;
  gap: 54px !important;
}

.ims-instructions-badge-header {
  width: fit-content !important;
  background: #fff0e7 !important;
  color: #d94716 !important;
  border-color: #ffcdb3 !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
}

.ims-verification-title {
  color: #171513 !important;
  font-size: 30px !important;
  line-height: 1.15 !important;
}

.ims-verification-subtitle {
  color: #70645d !important;
  font-size: 15px !important;
  max-width: 560px !important;
}

.ims-test-stats-bar {
  margin-bottom: 24px !important;
}

.ims-instructions-list-new {
  gap: 14px !important;
}

.ims-instruction-item-new {
  display: grid !important;
  grid-template-columns: 34px 1fr !important;
  align-items: start !important;
  padding: 18px 20px !important;
  border-radius: 14px !important;
  background: rgba(255, 250, 246, 0.92) !important;
  border-color: #f0d8ca !important;
}

.ims-inst-num {
  width: 30px !important;
  height: 30px !important;
  margin-top: 1px !important;
}

.ims-inst-content strong {
  font-size: 14.5px !important;
  line-height: 1.3 !important;
}

.ims-inst-content span {
  font-size: 13.5px !important;
  line-height: 1.58 !important;
}

.ims-verification-right-col {
  background: #ffffff !important;
  border: 1px solid #f0dfd4 !important;
  border-radius: 18px !important;
  padding: 28px !important;
  box-shadow: 0 18px 34px -30px rgba(23, 21, 19, 0.5) !important;
}

.ims-form-header-box {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.ims-prefix-input-field,
.ims-input-readonly {
  min-height: 48px !important;
  border-color: #ead8cf !important;
  background: #fffaf6 !important;
}

.ims-input-prefix-icon {
  color: #f05a24 !important;
}

.ims-captcha-box {
  background: #fffaf6 !important;
  border: 1px solid #f0dfd4 !important;
  border-radius: 14px !important;
  padding: 14px !important;
}

.ims-secure-badge-box {
  background: #fff0e7 !important;
  color: #d94716 !important;
  border: 1px solid #ffcdb3 !important;
  border-radius: 999px !important;
}

.ims-test-page {
  max-width: 1280px !important;
}

.ims-test-grid-container {
  grid-template-columns: minmax(240px, 260px) minmax(0, 1fr) minmax(260px, 300px) !important;
  gap: 24px !important;
}

.ims-test-top-bar {
  border-color: #f0dfd4 !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 40px -34px rgba(23, 21, 19, 0.55) !important;
}

.ims-official-logo {
  height: 46px !important;
  max-width: 190px !important;
}

.ims-avatar-initials,
.ims-candidate-id-badge {
  background: #fff0e7 !important;
  color: #d94716 !important;
}

.ims-avatar-initials {
  box-shadow: 0 12px 22px -18px rgba(240, 90, 36, 0.75) !important;
}

.ims-question-card-new {
  padding: 34px !important;
}

.ims-question-body-wrapper h3 {
  font-size: 22px !important;
  line-height: 1.48 !important;
}

.ims-nav-item.is-active,
.ims-nav-item.is-current {
  background: #f05a24 !important;
  border-color: #f05a24 !important;
  color: #ffffff !important;
}

.ims-autosave-status,
.ims-top-timer-card {
  background: #fffaf6 !important;
  border-color: #f0d8ca !important;
}

.ims-thankyou-page {
  max-width: 1220px !important;
  padding: 34px 28px !important;
}

.ims-thankyou-page > div:first-of-type {
  border-color: #f0dfd4 !important;
  box-shadow: 0 18px 40px -34px rgba(23, 21, 19, 0.55) !important;
}

.ims-thankyou-page > div:first-of-type img {
  height: 50px !important;
}

.ims-thankyou-page > div:nth-of-type(2) {
  background:
    radial-gradient(circle at 91% 12%, rgba(240, 106, 42, 0.12), transparent 18%),
    linear-gradient(135deg, #ffffff 0%, #fff7f0 100%) !important;
  border-color: #ffcdb3 !important;
  box-shadow: 0 24px 54px -40px rgba(240, 90, 36, 0.7) !important;
}

.ims-thankyou-page > div:nth-of-type(2) h2 {
  color: #171513 !important;
}

.ims-thankyou-page > div:nth-of-type(2) > div:first-of-type > div:first-child {
  background: #fff0e7 !important;
}

.ims-thankyou-page > div:nth-of-type(2) > div:first-of-type > div:last-child {
  background: linear-gradient(135deg, #ff7a3d, #f05a24) !important;
  box-shadow: 0 12px 24px -14px rgba(240, 90, 36, 0.8) !important;
}

.ims-thankyou-page > div:nth-of-type(3) > div {
  border-color: #f0dfd4 !important;
  box-shadow: 0 18px 38px -34px rgba(23, 21, 19, 0.52) !important;
}

.ims-thankyou-page svg[stroke="#2563eb"] {
  stroke: #f05a24 !important;
}

@media (max-width: 980px) {
  .ims-verification-grid,
  .ims-test-grid-container {
    grid-template-columns: 1fr !important;
  }

  .ims-verification-top-card {
    padding: 28px !important;
  }
}

@media (max-width: 720px) {
  .ims-test-verification-outer-container {
    width: min(100% - 24px, 1120px) !important;
    margin: 22px auto !important;
  }

  .ims-verification-right-col {
    padding: 22px !important;
  }

  .ims-thankyou-page {
    padding: 22px 14px !important;
  }

  .ims-thankyou-page > div:nth-of-type(3) {
    grid-template-columns: 1fr !important;
  }
}