/* ═══════════════════════════════════════
   LEKHPAL EXAM — Color Override (Amber)
   Load AFTER pet.css to override purple
   with amber/gold for Lekhpal section
   ═══════════════════════════════════════ */
:root {
  --pet:    #d97706;   /* amber-600  */
  --pet-d:  #b45309;   /* amber-700  */
  --pet-l:  #fbbf24;   /* amber-400  */
  --pet-v:  #f59e0b;   /* amber-500  */
  --pet-gold: #fcd34d; /* amber-300  */
}

/* Hero gradient for Lekhpal hub page */
.lk-hero {
  background: linear-gradient(145deg, #1c0900, #451a03, #78350f, #92400e);
}

/* Override active sidebar link color */
.pet-sidebar-link.active {
  background: rgba(217,119,6,.18);
  border-color: rgba(217,119,6,.35);
  color: #fbbf24;
}
.pet-sidebar-link.active .sbl-icon { color: #f59e0b; }

/* Exam section badge colors */
.lk-sect-badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
}
.lk-sect-badge.hindi   { background: rgba(99,102,241,.18); color: #a5b4fc; }
.lk-sect-badge.maths   { background: rgba(16,185,129,.18); color: #6ee7b7; }
.lk-sect-badge.gk      { background: rgba(59,130,246,.18); color: #93c5fd; }
.lk-sect-badge.revenue { background: rgba(217,119,6,.22);  color: #fcd34d; border: 1px solid rgba(217,119,6,.3); }

/* Exam pattern table */
.lk-exam-table { width: 100%; border-collapse: collapse; font-size: .82rem; margin-bottom: 1.5rem; }
.lk-exam-table th { background: rgba(217,119,6,.18); color: #fcd34d; padding: .6rem .9rem; text-align: left; border-bottom: 1px solid rgba(217,119,6,.25); }
.lk-exam-table td { padding: .55rem .9rem; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.8); }
.lk-exam-table tr:hover td { background: rgba(255,255,255,.03); }

/* Syllabus blocks */
.lk-syllabus-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 4px solid var(--pet);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1rem;
}
.lk-syllabus-card-title {
  font-weight: 800;
  font-size: .95rem;
  color: var(--pet-l);
  margin-bottom: .7rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.lk-syllabus-card-marks {
  font-size: .72rem;
  background: rgba(217,119,6,.2);
  color: #fcd34d;
  padding: .15rem .5rem;
  border-radius: 20px;
  font-weight: 700;
}
.lk-syllabus-topics {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.lk-syllabus-topic {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  font-size: .73rem;
  padding: .22rem .6rem;
  border-radius: 6px;
}

/* Notice/info boxes */
.lk-notice-box {
  background: rgba(217,119,6,.1);
  border: 1px solid rgba(217,119,6,.25);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  line-height: 1.6;
}
.lk-notice-box strong { color: #fbbf24; }

/* Cutoff table */
.lk-cutoff-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.lk-cutoff-table th { background: rgba(217,119,6,.18); color: #fcd34d; padding: .6rem .9rem; text-align: center; }
.lk-cutoff-table td { padding: .55rem .9rem; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.8); text-align: center; }
.lk-cutoff-table .cat-gen { color: #fbbf24; font-weight: 700; }
.lk-cutoff-table .cat-obc { color: #6ee7b7; font-weight: 600; }
.lk-cutoff-table .cat-sc  { color: #93c5fd; font-weight: 600; }
.lk-cutoff-table .cat-st  { color: #f9a8d4; font-weight: 600; }

/* Study resource cards */
.lk-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .9rem;
  margin-bottom: 1.5rem;
}
.lk-resource-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 1.1rem;
  transition: border-color .2s;
}
.lk-resource-card:hover { border-color: rgba(217,119,6,.35); }
.lk-resource-icon { font-size: 1.6rem; margin-bottom: .4rem; }
.lk-resource-name { font-weight: 700; font-size: .85rem; color: rgba(255,255,255,.9); margin-bottom: .25rem; }
.lk-resource-desc { font-size: .74rem; color: rgba(255,255,255,.45); }

/* Section heading (used across Lekhpal pages) */
.pet-section-heading {
  font-size: .95rem;
  font-weight: 800;
  color: #fbbf24;
  margin: 1.2rem 0 .8rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid rgba(217,119,6,.2);
}

/* Hero stats bar */
.pet-hero-stats {
  display: flex;
  gap: 1.2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.pet-hero-stat { text-align: center; }
.pet-hero-stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fcd34d;
  line-height: 1;
}
.pet-hero-stat-lbl {
  font-size: .65rem;
  color: rgba(255,255,255,.5);
  margin-top: .2rem;
}

/* Module cards (alias for pet-mod-card pattern) */
.pet-module-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1.2rem 1rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: border-color .2s, background .2s;
}
.pet-module-card:hover {
  border-color: rgba(217,119,6,.4);
  background: rgba(217,119,6,.06);
}
.pet-module-icon { font-size: 1.6rem; }
.pet-module-name {
  font-size: .88rem;
  font-weight: 800;
  color: rgba(255,255,255,.9);
}
.pet-module-desc { font-size: .72rem; color: rgba(255,255,255,.4); }
