/* ============================================
   QUICKENSOL - APPLY JOB SYSTEM CSS
   Modern, Vibrant & Interactive Design
   ============================================ */

:root {
  --primary: #1950ff; /* Quickensol Blue */
  --primary-dark: #003087; /* Deep Navy */
  --secondary: #ffd600; /* Quickensol Yellow */
  --accent: #ffd600; /* Yellow Accent */
  --success: #28a745; /* Green */
  --danger: #ef4444; /* Red */
  --warning: #ffc107; /* Amber Yellow */
  --light: #f8fafc; /* Light BG */
  --dark: #1a1a2e; /* Dark Navy */
  --text: #1a1a2e; /* Dark text */
  --border: #e2e8f0; /* Border */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.apply-body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #6366f1 100%);
  min-height: 100vh;
  color: var(--text);
}

/* ============== NAVBAR ============== */
.apply-navbar {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.apply-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.apply-logo img {
  height: 40px;
  transition: transform 0.3s ease;
}

.apply-logo:hover img {
  transform: scale(1.05);
}

.apply-logo-text {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.apply-nav-right {
  display: flex;
  gap: 10px;
}

.btn-outline-apply {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-outline-apply:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* ============== PAGE WRAPPER ============== */
.apply-page-wrapper {
  padding: 40px 0 60px;
  min-height: calc(100vh - 80px);
}

/* ============== JOBS LISTING ============== */
.jobs-hero {
  text-align: center;
  padding: 60px 20px 40px;
  color: #fff;
}

.jobs-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.jobs-hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
}

.lookup-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 25px;
  max-width: 500px;
  margin: 0 auto;
}

.lookup-box h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}

.lookup-box .input-group {
  display: flex;
  gap: 10px;
}

.lookup-box input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 50px;
  border: none;
  font-size: 14px;
  outline: none;
  font-family: "Poppins", sans-serif;
}

.lookup-box button {
  padding: 12px 22px;
  border-radius: 50px;
  border: none;
  background: #ffd600;
  color: #1a1a2e;
  font-weight: 700;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: 0.3s;
}

.lookup-box button:hover {
  background: #ffc107;
  box-shadow: 0 6px 18px rgba(255, 214, 0, 0.4);
}

/* ============== JOB CARDS ============== */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  padding: 30px 0;
}

.job-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.job-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(25, 80, 255, 0.2);
  border-color: var(--primary);
}

.job-dept-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #003087);
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.job-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.meta-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--light);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  color: #555;
  font-weight: 500;
}

.meta-tag i {
  color: var(--primary);
  font-size: 11px;
}

.job-card p.desc {
  color: #777;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.skill-chip {
  background: #eef2ff;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.btn-apply-now {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #ffd600, #ffc107);
  color: #1a1a2e !important;
  padding: 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
  letter-spacing: 0.3px;
}

.btn-apply-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 214, 0, 0.5);
  color: #1a1a2e !important;
  text-decoration: none;
}

.vacancy-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff3cd;
  color: #856404;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #ffc107;
}

/* ============== STEP FORM CONTAINER ============== */
.step-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Progress Bar */
.step-progress-wrap {
  background: #fff;
  margin-top: -100px;
  border-radius: 16px;
  border: 1px solid #d1d5db;
  padding: 32px;
  box-shadow: none;
  margin-bottom: 25px;
}

.job-title-top {
  text-align: center;
  margin-bottom: 25px;
}



.job-title-top h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}

.app-number-badge {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

.app-number-badge span {
  font-weight: 700;
  color: var(--primary);
  font-family: monospace;
  font-size: 14px;
  background: #eef2ff;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Steps indicator */
.steps-indicator {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 10px;
  gap: 15px;
}

.steps-indicator::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: #e3e6f0;
  z-index: 0;
}

.steps-indicator .progress-line {
  position: absolute;
  top: 20px;
  left: 5%;
  height: 2px;
  z-index: 1;
  transition: width 0.5s ease;
}

.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-dot .dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.4s ease;
  border: 2px solid #fff;
}

.step-dot.active .dot {
  transform: scale(1.1);
}

.step-dot.completed .dot {
  color: #fff;
}

.step-dot .dot-label {
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
  transition: all 0.3s ease;
}

.step-dot.active .dot-label {
  font-weight: 800;
}

.step-dot.completed .dot-label {
  color: #10b981;
}

/* ============== FORM CARD ============== */
.form-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  margin-bottom: 25px;
}

.form-card-header {
  margin-bottom: 30px;
  text-align: center;
}



.form-card-header h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-card-header p {
  color: #888;
  font-size: 14px;
}

/* Form Groups */
.form-group-apply {
  margin-bottom: 20px;
}

.form-group-apply label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group-apply label span.req {
  color: var(--danger);
  margin-left: 2px;
}

.apply-input,
.apply-textarea,
.apply-select {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: #fff;
  transition: all 0.3s;
  outline: none;
}

.apply-input:focus,
.apply-textarea:focus,
.apply-select:focus {
  border-color: var(--primary);
  /* box-shadow: 0 0 0 4px rgba(25, 80, 255, 0.08); */
  background: #fafbff;
}

.apply-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.apply-file-input {
  width: 100%;
  padding: 12px 18px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  background: var(--light);
  transition: 0.3s;
  font-family: "Poppins", sans-serif;
}

.apply-file-input:hover {
  border-color: var(--primary);
}

.input-hint {
  font-size: 11px;
  color: #aaa;
  margin-top: 5px;
}

.input-hint i {
  margin-right: 3px;
}

/* Two column grid */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 576px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* Submit Button & White bg + Yellow border */
.btn-step-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: #ffd600;
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.3px;
}

.btn-step-submit:hover {
  background: #ffc107;
  filter: brightness(0.95);
}

.btn-step-submit i {
  margin-left: 4px;
}

/* Full-width submit button for forms */
.form-card .btn-step-submit {
  width: 100%;
}

/* Save notice */
.save-notice {
  text-align: center;
  margin-top: 18px;
  font-size: 12px;
  color: #aaa;
}

.save-notice i {
  color: var(--success);
  margin-right: 4px;
}

/* ============== REUSABLE QUESTION CARD ============== */
.question-card {
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.question-card:hover {
  background: #f0f3ff;
}

.question-number {
  background: #ffd800;
  color: #1a1a2e;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.question-title {
  font-size: 15px;
  margin: 0;
  padding-top: 2px;
  line-height: 1.4;
  font-weight: 600;
  color: #323232;
  margin-bottom: 12px;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
}

/* ============== VISION QUESTIONS (Step 2) - Using Reusable Classes ============== */
.vision-question-card {
  /* Inherits from .question-card */
}

.vision-question-card:hover {
  border-left-color: #ffd800;
  background: #f8f9ff;
}

.vision-q-num {
  /* Inherits from .question-number */
}

.vision-question-card h5 {
  /* Inherits from .question-title */
}

.vision-score-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 25px;
  padding: 18px;
  background: linear-gradient(135deg, #eef2ff, #f3e8ff);
  border-radius: 12px;
}

.score-param {
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.score-param .param-name {
  font-size: 11px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.score-param .param-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

/* ============== MCQ QUIZ (Step 3) ============== */
.quiz-timer-bar {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); */
}

.timer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 160px;
}

.timer-label {
  font-size: 10px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.timer-display {
  font-size: 36px;
  font-weight: 900;
  font-family: 'Courier New', monospace;
  color: #1950ff;
  min-width: 90px;
}

.timer-display.danger {
  color: #ef4444;
  animation: pulse-timer 0.8s infinite;
}

@keyframes pulse-timer {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.timer-progress {
  height: 8px;
  background: #e8edf5;
  border-radius: 4px;
  overflow: hidden;
  flex: 1;
  min-width: 150px;
}

.timer-progress-inner {
  height: 100%;
  background: linear-gradient(90deg, #ffd600, #ffc107);
  transition: width 1s linear;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(255, 214, 0, 0.2);
}

.quiz-stats {
  display: flex;
  gap: 40px;
  flex-shrink: 0;
  min-width: 150px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.stat-label {
  font-size: 9px;
  font-weight: 700;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 20px;
  font-weight: 900;
  color: #1950ff;
}

/* Question Navigator - Inside Header */
.quiz-navigator {
  background: #f0f4ff;
  border-radius: 12px;
  border: 1px solid #dce4ff;
  padding: 16px;
  margin-top: 24px;
}

.navigator-label {
  font-size: 11px;
  font-weight: 700;
  color: #1950ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: block;
}

.mcq-question-card {
  background: transparent;
  border-radius: 0;
  padding: 24px 0;
  box-shadow: none;
  margin-bottom: 0;
  display: none;
  border-top: 1px solid #e8edf5;
}

.mcq-question-card:first-of-type {
  border-top: none;
  padding-top: 0;
}

.mcq-question-card.active {
  display: block;
  animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mcq-q-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.mcq-q-num {
  background: linear-gradient(135deg, #1950ff, #003087);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(25, 80, 255, 0.15);
}

.topic-tag {
  background: #fff8dc;
  color: #b8860b;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #ffe4b5;
}

.mcq-q-text {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 20px;
  line-height: 1.6;
}

.mcq-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mcq-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  background: #fff;
}

.mcq-option:hover {
  border-color: #1950ff;
  background: #f8faff;
}

.mcq-option input[type="radio"] {
  display: none;
}

.option-indicator {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f0f4ff;
  border: 1px solid #dce4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #1950ff;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.mcq-option.selected {
  border-color: #1950ff;
  background: #f0f4ff;
}

.mcq-option.selected .option-indicator {
  background: #28a745 ;
  color: #fff;
  border-color: #28a745 ;
}

.option-text {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.mcq-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e8edf5;
}

.btn-mcq-nav {
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid #dce4ff;
  background: #fff;
  color: #1950ff;
  font-weight: 600;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-mcq-nav:hover {
  background: #f0f4ff;
  border-color: #1950ff;
}

.btn-mcq-prev {
  order: 1;
}

.btn-mcq-next {
  background: #ffd600;
  color: #000;
  border-color: #ffd600;
  order: 2;
}

.btn-mcq-next:hover {
  background: #ffc107;
  border-color: #ffc107;
}

/* Override btn-step-submit styling in quiz context */
.mcq-nav-buttons .btn-step-submit {
  width: auto;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: #ffd600;
  color: #000;
  order: 2;
}

.mcq-nav-buttons .btn-step-submit:hover {
  background: #ffc107;
  filter: none;
}

.question-dots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
  gap: 8px;
  grid-auto-flow: row;
}

.q-dot {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #666;
  border: 1px solid #dce4ff;
  min-height: 36px;
}

.q-dot:hover {
  background: #e8ecf8;
  border-color: #1950ff;
  transform: scale(1.05);
}

.q-dot.answered {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

.q-dot.current {
  background: #1950ff;
  color: #fff;
  border-color: #1950ff;
  

}

/* ============== PRACTICAL TASK (Step 4) ============== */
.task-brief-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.task-brief-header {
  margin-bottom: 16px;
}

.task-brief-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.task-brief-subtitle {
  font-size: 13px;
  color: #1950ff;
  font-weight: 600;
}

.task-brief-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.task-brief-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task-brief-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #555;
}

.task-item-number {
  background: linear-gradient(135deg, #1950ff, #003087);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.task-item-text {
  padding-top: 2px;
  line-height: 1.5;
}

/* Task Card */
.task-card {
  background: #fafbff;
  border-radius: 12px;
  border: 1px solid #e8edf5;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.task-card:hover {
  border-color: #dce4ff;
  background: #f0f4ff;
}

.task-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.task-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.task-header-content {
  flex: 1;
}

.task-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.4;
}

.keyword-counter {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
  font-weight: 600;
}

.canva-help-box {
  background: #fff8e1;
  border: 1px solid #ffc107;
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #856404;
}

.canva-help-box a {
  color: var(--primary);
  font-weight: 600;
}

/* ============== RESULT PAGE ============== */
.result-card {
  text-align: center;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.result-header {
  padding: 50px 30px 40px;
  background: #f8f9ff;
  border-bottom: 2px solid #e8edf5;
  color: #1a1a2e;
  position: relative;
}

.result-icon {
  font-size: 60px;
  margin-bottom: 15px;
}

.result-header h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.result-header p {
  color: #555;
  font-size: 16px;
}

.result-total-score {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #1950ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 25px auto 0;
  box-shadow: 0 4px 20px rgba(25, 80, 255, 0.15);
}

.result-total-score .score-num {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  color: #1950ff;
}

.result-total-score .score-label {
  font-size: 12px;
  color: #888;
}

.result-body {
  padding: 40px;
}

.score-breakdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 0;
}

.score-item {
  background: var(--light);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.score-item .s-label {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.score-item .s-val {
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: #424242;
  margin-bottom: 4px;
}

.score-item .s-max {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 14px;
}

.score-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background:#1950ff;
  border-radius: 4px;
  transition: width 1.5s ease;
}

.result-feedback {
  background: linear-gradient(135deg, #eef2ff, #f3e8ff);
  border-radius: 16px;
  padding: 22px;
  margin: 20px 0;
  text-align: left;
}

.result-feedback h5 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.result-feedback p {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

.result-app-num {
  background: #f8f9ff;
  border: 2px dashed var(--primary);
  border-radius: 12px;
  padding: 15px;
  margin: 20px 0;
}

.result-app-num p {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.result-app-num strong {
  font-size: 20px;
  color: var(--primary);
  font-family: monospace;
  letter-spacing: 2px;
}

/* ============== FOOTER ============== */
.apply-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 20px 0;
  margin-top: 40px;
}

.apply-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.apply-footer-links {
  display: flex;
  gap: 20px;
}

.apply-footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 12px;
  transition: 0.2s;
}

.apply-footer-links a:hover {
  color: #fff;
}

/* ============== TOAST ============== */
.apply-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 14px 22px;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s;
}

.apply-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.apply-toast.success {
  background: var(--success);
}
.apply-toast.error {
  background: var(--danger);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 768px) {
  .jobs-hero h1 {
    font-size: 28px;
  }
  .jobs-hero p {
    font-size: 15px;
  }
  .form-card {
    padding: 24px 18px;
  }
  .score-breakdown {
    grid-template-columns: 1fr 1fr;
  }
  .step-dot .dot-label {
    font-size: 9px;
  }
  .quiz-timer-bar {
    flex-wrap: wrap;
    gap: 15px;
    padding: 16px;
  }
  .timer-info {
    min-width: auto;
    flex: 1;
    min-width: 140px;
  }
  .timer-display {
    font-size: 32px;
  }
  .timer-progress {
    flex: 1;
    min-width: 120px;
  }
  .quiz-stats {
    gap: 30px;
    min-width: auto;
    flex: 1;
    justify-content: center;
  }
  .stat-value {
    font-size: 18px;
  }
  .question-dots {
    grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
  }
  .apply-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .apply-navbar {
    padding: 10px 0;
  }
  .step-container {
    padding: 0 10px;
  }
  .form-card {
    padding: 20px 15px;
  }
  .score-breakdown {
    grid-template-columns: 1fr;
  }
  .quiz-timer-bar {
    padding: 14px 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .timer-info {
    min-width: 120px;
    flex: 1;
  }
  .timer-label {
    font-size: 9px;
  }
  .timer-display {
    font-size: 32px;
  }
  .timer-progress {
    flex: 1;
    height: 6px;
    min-width: 100px;
  }
  .quiz-stats {
    gap: 25px;
    width: 100%;
    justify-content: space-between;
    min-width: auto;
  }
  .stat-label {
    font-size: 8px;
  }
  .stat-value {
    font-size: 16px;
  }
  .question-dots {
    grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
    gap: 6px;
  }
  .q-dot {
    min-height: 30px;
    font-size: 10px;
  }
  .mcq-q-text {
    font-size: 15px;
  }
  .option-text {
    font-size: 13px;
  }
}

.confetti-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* ============== COPY-PASTE PROTECTION ============== */
.no-copy-paste {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.no-copy-paste:focus {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Validation Error Styles */
.validation-error {
  color: #ef4444 !important;
  font-size: 12px !important;
  margin-top: 4px !important;
  display: block !important;
  font-weight: 500;
}

input.error,
textarea.error,
select.error {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
}

input.valid,
textarea.valid,
select.valid {
  border-color: #10b981 !important;
}

/* ============== UPDATED FORM CARD STYLES ============== */
.form-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #d1d5db;
  padding: 38px;
  box-shadow: none;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .form-card {
    padding: 28px;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .form-card {
    padding: 20px;
    margin-bottom: 24px;
  }
}

.form-card-header {
  margin-bottom: 28px;
  text-align: center;
}

.step-icon-big {
  width: 60px;
  height: 60px;
  background: #f0f4f8;
  color: #3b82f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.form-card-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.form-card-header p {
  color: #888;
  font-size: 14px;
}

/* Vision score and word count styles handled above */


/* ============== STEP 2 - VISION TEST STYLES ============== */
.vision-score-info {
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 576px) {
    .vision-score-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

.score-param {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    padding: 20px 14px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.score-param:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.score-param:nth-child(1) .score-emoji { background: #eef2ff; }
.score-param:nth-child(2) .score-emoji { background: #fdf2f8; }
.score-param:nth-child(3) .score-emoji { background: #f0fdf4; }
.score-param:nth-child(4) .score-emoji { background: #fff7ed; }

.score-param:nth-child(1) .score-emoji img { filter: invert(30%) sepia(80%) saturate(400%) hue-rotate(210deg); }
.score-param:nth-child(2) .score-emoji img { filter: invert(25%) sepia(60%) saturate(500%) hue-rotate(290deg); }
.score-param:nth-child(3) .score-emoji img { filter: invert(35%) sepia(70%) saturate(400%) hue-rotate(100deg); }
.score-param:nth-child(4) .score-emoji img { filter: invert(50%) sepia(60%) saturate(500%) hue-rotate(5deg); }

.score-emoji {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-emoji img {
    width: 26px;
    height: 26px;
}

.param-name {
    color: #374151;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* Word Count Display */
.word-count-display {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.word-count-label {
    font-size: 12px;
    color: #888;
    font-weight: 600;
}

.word-count-value {
    font-size: 24px;
    font-weight: 800;
    color: #1950ff;
}

.word-count-recommended {
    font-size: 24px;
    font-weight: 800;
    color: #10b981;
}

.word-count-status {
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
}


/* ============== REVIEW & SUBMIT (Step 5) ============== */

/* Alert Boxes */
.alert-box {
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.alert-box i {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.alert-box h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 700;
}

.alert-warning {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}

.alert-warning i {
  color: #d97706;
}

.alert-success {
  background: #d1fae5;
  border-color: #6ee7b7;
  color: #065f46;
  flex-direction: column;
}

.alert-success i {
  color: #10b981;
}

/* Review Summary Grid */
.review-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.summary-card {
  background: #f8fafc;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.2s ease;
}

.summary-card:hover {
  border-color: #dce4ff;
  background: #f0f4ff;
}

.summary-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1950ff, #003087);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.summary-content {
  flex: 1;
}

.summary-content label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.summary-content h5 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.summary-content p {
  font-size: 13px;
  color: #888;
  margin: 0;
}

/* Review Checklist */
.review-checklist {
  background: #fafbff;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f4ff;
}

.checklist-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checklist-item.completed .checklist-indicator i {
  color: #10b981;
}

.checklist-item.pending .checklist-indicator i {
  color: #bbb;
}

.checklist-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.checklist-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.checklist-label {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
}

.checklist-status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.checklist-item.completed .checklist-status {
  background: #d1fae5;
  color: #065f46;
}

.checklist-item.pending .checklist-status {
  background: #fee2e2;
  color: #7f1d1d;
}

/* Responsive */
@media (max-width: 576px) {
  .review-summary-grid {
    grid-template-columns: 1fr;
  }
  
  .alert-box {
    flex-direction: column;
  }
}


/* ============== RESULT PAGE (Final) ============== */

.result-card-header {
  background: linear-gradient(135deg, #f0f4ff, #fff);
  border-radius: 16px;
  border: 1px solid #e8edf5;
  padding: 48px 36px;
  margin-bottom: 36px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.result-icon-large {
  font-size: 72px;
  margin-bottom: 20px;
  display: block;
  line-height: 1;
}

.result-icon-large i {
  color: #1950ff;
}

.result-card-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 8px 0;
}

.result-card-header p {
  font-size: 16px;
  color: #666;
  margin: 0 0 28px 0;
}

.result-score-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1950ff, #003087);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 28px rgba(25, 80, 255, 0.25);
}

.score-number {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}

.score-denominator {
  font-size: 16px;
  opacity: 0.9;
  margin-top: 6px;
}

.result-section {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f0f4ff;
}

.result-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.result-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-section-title i {
  color: #1950ff;
  font-size: 20px;
}

/* Tracker - better spacing */
.application-tracker {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Feedback Card */
.feedback-card {
  background: #f0f4ff;
  border-radius: 12px;
  border: 1px solid #dce4ff;
  padding: 22px;
}

.feedback-card h5 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feedback-card p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Application Reference Card */
.app-reference-card {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-ref-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fbbf24;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.app-ref-content {
  flex: 1;
}

.app-ref-label {
  font-size: 10px;
  font-weight: 700;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 4px 0;
}

.app-ref-number {
  font-size: 20px;
  font-weight: 900;
  color: #1950ff;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  margin: 0 0 6px 0;
}

.app-ref-hint {
  font-size: 12px;
  color: #b45309;
  margin: 0;
}

/* Next Steps Card */
.next-steps-card {
  background: #f0f4ff;
  border: 1px solid #dce4ff;
  border-radius: 12px;
  padding: 22px;
}

.next-steps-card.rejected {
  background: #fef2f2;
  border-color: #fee2e2;
}

.next-steps-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.next-steps-card.rejected h5 {
  color: #dc3545;
}

.next-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.next-steps-list li {
  font-size: 14px;
  color: #555;
  padding: 10px 0 10px 26px;
  position: relative;
  line-height: 1.6;
}

.next-steps-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #1950ff;
  font-weight: 700;
}

.next-steps-card.rejected .next-steps-list li::before {
  color: #dc3545;
}

.next-steps-list a {
  color: #1950ff;
  text-decoration: none;
  font-weight: 600;
}

.next-steps-card.rejected .next-steps-list a {
  color: #dc3545;
}

/* Result Actions */
.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-action.btn-primary {
  background: #1950ff;
  color: #fff;
}

.btn-action.btn-primary:hover {
  background: #003087;
}

.btn-action.btn-secondary {
  background: #f8fafc;
  color: #1950ff;
  border: 2px solid #1950ff;
}

.btn-action.btn-secondary:hover {
  background: #f0f4ff;
}

/* Social Share */
.social-share {
  text-align: center;
  padding: 20px 0;
}

.social-share p {
  font-size: 12px;
  color: #999;
  font-weight: 600;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 16px;
}

.social-icons a[href*="linkedin"] {
  background: #0077b5;
}

.social-icons a[href*="linkedin"]:hover {
  background: #005885;
  transform: translateY(-2px);
}

.social-icons a[href*="facebook"] {
  background: #1877f2;
}

.social-icons a[href*="facebook"]:hover {
  background: #0a66c2;
  transform: translateY(-2px);
}

.social-icons a[href*="twitter"] {
  background: #1da1f2;
}

.social-icons a[href*="twitter"]:hover {
  background: #1a8cd8;
  transform: translateY(-2px);
}

.social-icons a[href*="instagram"] {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icons a[href*="instagram"]:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
}

/* Tracker Stage - Application Status */
.tracker-stage {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.2s ease;
}

.tracker-stage.completed {
  background: #f0fdf4;
  border-color: #86efac;
}

.tracker-stage.current {
  background: #eff6ff;
  border-color: #93c5fd;
  border-width: 2px;
  padding: 17px;
}

.tracker-stage.pending {
  background: #fafafa;
  border-color: #e5e7eb;
}

.tracker-stage.rejected-notice {
  background: #fef2f2;
  border-color: #fecaca;
}

.stage-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: #fff;
  font-weight: 600;
}

.tracker-stage.completed .stage-icon {
  background: #22c55e;
}

.tracker-stage.current .stage-icon {
  background: #1950ff;
  animation: pulse 2s infinite;
}

.tracker-stage.pending .stage-icon {
  background: #d1d5db;
  color: #6b7280;
}

.tracker-stage.rejected-notice .stage-icon {
  background: #ef4444;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.stage-content {
  flex: 1;
  min-width: 0;
}

.stage-content h5 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 4px 0;
}

.stage-content p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.tracker-stage.completed .stage-content h5 {
  color: #166534;
}

.tracker-stage.current .stage-content h5 {
  color: #003087;
}

.tracker-stage.rejected-notice .stage-content h5 {
  color: #991b1b;
}

/* Result Footer */
.result-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #e8edf5;
  color: #666;
}

.result-footer p {
  font-size: 13px;
  margin: 10px 0;
}

.result-footer a {
  color: #1950ff;
  text-decoration: none;
  font-weight: 600;
}

.result-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
  .result-actions {
    grid-template-columns: 1fr;
  }
  
  .result-header-section {
    padding: 24px 16px;
  }
  
  .result-score-circle {
    width: 120px;
    height: 120px;
  }
  
  .score-number {
    font-size: 40px;
  }
  
  .result-title-section h3 {
    font-size: 24px;
  }
  
  .app-reference-card {
    flex-direction: column;
    text-align: center;
  }
  
  .app-ref-icon {
    width: 48px;
    height: 48px;
  }
}
