
/* ==============================================
   SULTANGATE – THEME FOUNDATION (v1)
   - One palette, one panel style, unified buttons/inputs
   - No HTML renames required (selector groups map old classes)
   ============================================== */

/* ---------- 0) Tokens ---------- */
:root{
  --bg: #0b1b2c;                 /* page background */
  --bg-2: #0c2541;
  --ink: #ffffff;
  --muted: #b8c7d9;

  --accent: #ffb25c;             /* orange */
  --accent-ink: #0b1b2c;

  --panel-grad: linear-gradient(135deg,#0f2744 0%,#0b1f36 60%,#0b1b2c 100%);
  --panel-border: rgba(255,255,255,.06);
  --panel-shadow: 0 10px 30px rgba(0,0,0,.35);

  --soft-grad: linear-gradient(135deg,#0e223b 0%,#0b1f36 60%,#0b1b2c 100%);
  --focus: #ffa64d;
  --danger: #dc2626;
  --success: #16a34a;

  --radius: 16px;
  --radius-sm: 10px;
}

/* ---------- 1) Page shell ---------- */
html,body{height:100%}
body{
  margin:0; font-family:'Poppins',sans-serif;
  color:var(--ink); background:var(--bg);
  display:flex; flex-direction:column;
}

/* Target the body only when it has the 'login-bg-page' class 
.login-bg-page {
  /* Set your full background properties here *//*
  background-image: url("{{ url_for('static', filename='images/bg.webp') }}");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed; /* Optional: for parallax effect */
  
  /* IMPORTANT: Add a fallback background color 
  background-color: #041C3A; 
}*/

header{text-align:center; padding:2rem 1rem 1rem}
header img{width:160px}
h1{margin-top:1rem; font-size:1.5rem; color:#ad6615}
main{flex:1; display:flex; justify-content:center; align-items:center}
footer,.site-footer{ text-align:center; padding:16px; font-size:.85rem; color:var(--muted) }

/* ---------- 2) Panel system (new look) ---------- */
/* Base panel style; apply to all legacy boxes via selector groups */
.panel,
.login-box,
.card,
.ind-card,
.induction-type-box,
.induction-form,
.video-card,
.assessment-box,
.assessment-quiz-box,
.print-assessment-box,
.hide-assessment-box,
.admin-card,
.dashboard-hero,
.dashboard-incomplete,
.hr-only-card{
  background: var(--panel-grad);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow);
  color: var(--ink);
}

/* Slightly softer variant where needed */
.panel.soft,
.admin-card,
.assessment-quiz-box,
.dashboard-hero,
.profile-box,
.dashboard-incomplete { background: var(--soft-grad); }

/* Inner spacing harmony */
.login-box,
.card,
.ind-card,
.induction-type-box,
.induction-form,
.video-card,
.assessment-box,
.assessment-quiz-box,
.print-assessment-box,
.hide-assessment-box,
.admin-card,
.dashboard-hero,
.dashboard-incomplete,
.hr-only-card { padding: 1.25rem 1.25rem 1.35rem; }

/* Titles & subtitles */
.dashboard-title,
.form-title,
.admin-title,
.thankyou-title { color: var(--accent); text-shadow:none }
.panel-sub, .card-sub, .thankyou-subtext, .hero-text p { color: var(--muted) }

/* ---------- 3) Overview & panel heads (keep your previous) ---------- */
.overview-card{ background:var(--panel-grad); border:1px solid var(--panel-border); border-radius:var(--radius); box-shadow:var(--panel-shadow) }
.overview-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:.75rem }
.overview-head h3{ margin:0; font-size:1.25rem; letter-spacing:.3px; color:var(--accent) }

/* Non-glow tag */
.tag, .overview-tag{
  display:inline-flex; align-items:center; gap:.5rem; font-size:.85rem;
  padding:.35rem .6rem; border-radius:999px;
  background:rgba(255,255,255,.08); color:#ffefe1; border:1px solid rgba(255,255,255,.12);
}
/* Glow only when .live is present */
.tag.live::before, .overview-tag.live::before{
  content:""; width:8px; height:8px; border-radius:50%; background:var(--focus);
  box-shadow:0 0 0 0 rgba(255,166,77,.7); animation:pulse 1.8s infinite;
}
@keyframes pulse{0%{transform:scale(.9);box-shadow:0 0 0 0 rgba(255,166,77,.6)}70%{transform:scale(1);box-shadow:0 0 0 10px rgba(255,166,77,0)}100%{transform:scale(.9);box-shadow:0 0 0 0 rgba(255,166,77,0)}}

/* Stats grid (as you had) */
.overview-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.9rem }
@media (max-width:900px){ .overview-grid{ grid-template-columns:1fr } }
.overview-stat{ background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); border-radius:12px; padding:.9rem .95rem; display:flex; flex-direction:column; gap:.4rem }
.stat-label{ font-size:.85rem; color:var(--muted) }
.stat-value{ font-size:1.9rem; font-weight:700; line-height:1.1; color:#fff; margin-top:.1rem }
.stat-link{ margin-top:.25rem; width:max-content; font-size:.85rem; text-decoration:none; color:var(--accent); border-bottom:1px dashed rgba(255,178,92,.6) }
.live-row{ display:flex; align-items:center; gap:.55rem; padding:.1rem 0 .15rem }
.pulse-dot{ width:10px; height:10px; border-radius:50%; background:#4dffa6; box-shadow:0 0 8px rgba(77,255,166,.6) }
.live-text{ color:#e8f2ff; font-weight:600; font-size:1.05rem }

/* ---------- 4) Buttons unified ---------- */
.btn-pill,
.button-link,
.admin-btn,
.form-action button,
.video-controls button,
.btn { 
  display:inline-flex; align-items:center; justify-content:center;
  padding:.6rem 1.05rem; border-radius:999px; text-decoration:none;
  font-weight:700; font-size:.95rem; cursor:pointer; border:1px solid rgba(255,178,92,.45);
  background: var(--accent); color: var(--accent-ink);
  transition: transform .05s ease, filter .15s ease, background .15s ease;
}
.btn-pill:hover,
.button-link:hover,
.admin-btn:hover,
.form-action button:hover,
.video-controls button:hover,
.btn:hover { filter:brightness(1.05); transform: translateY(-1px) }

.btn-pill.ghost,
.button-link.ghost,
.admin-btn.ghost,
.btn.ghost { background:transparent; color:var(--accent); border-color:rgba(255,178,92,.55) }

.btn.success{ background:var(--success); border-color:transparent; color:#fff }
.btn[disabled], .btn-pill.disabled{ opacity:.55; pointer-events:none }

/* Keep tiny/sm utility sizes */
.btn.sm{ font-size:.82rem; padding:.35rem .6rem; border-radius:12px }

/* ---------- 5) Inputs unified ---------- */
.form-group input,
.hr-form input, .hr-form textarea,
.induction-form input, .induction-form textarea,
.filters input, .filters select,
#group-count-wrapper input {
  background: #3b3f42; color:#fff; border:1px solid rgba(255,255,255,.14);
  border-radius:10px; padding:.6rem .65rem; outline:none;
}
input[type="radio"]{ accent-color: var(--accent) }

/* ---------- 6) Tables + chips + badges ---------- */
.table{ width:100%; border-collapse:collapse }
.table th, .table td{ padding:.6rem .55rem; text-align:left; border-bottom:1px solid rgba(255,255,255,.06) }
.table thead th{ color:var(--muted) }

.chip{ display:inline-block; padding:.35rem .6rem; border-radius:999px; background:#161616; color:#fff; font-size:.85rem; text-decoration:none }
.chip.ghost{ background:transparent; border:1px solid #333; color:#ccc }

.badge{ padding:.2rem .45rem; border-radius:.35rem; font-size:.75rem; font-weight:700; color:#fff }
.badge.in-progress{ background:#6b7280 }
.badge.failed{ background:var(--danger) }
.badge.awaiting-feedback{ background:#d97706 }
.badge.extra-training{ background:#7c3aed }
.badge.ready-to-close{ background:var(--success) }

/* ---------- 7) Layout helpers ---------- */
.dashboard-container{ padding:2rem 1rem; max-width:1100px; margin:0 auto; display:flex; flex-direction:column }
.full{ width:100%; margin:1rem 0 1.25rem }
.dash-grid{ display:grid; gap:1rem; margin:1rem 0 1.5rem; grid-template-columns:1fr }
.dash-grid.three{ grid-template-columns:1fr }
@media (min-width:900px){
  .dash-grid{ grid-template-columns:1fr 1fr }
  .dash-grid.three{ grid-template-columns:repeat(3,1fr) }
}

/* ---------- 8) Small cleanups from legacy (optional) ---------- */
.dashboard-hero, .dashboard-incomplete{ text-align:left }  /* less "boxy" */
.video-section{ background:transparent; box-shadow:none; padding:0 }
.video-card h3, .assessment-box h3, .print-assessment-box h3 { color:var(--accent) }
.video-controls button{ background:transparent } /* now pill-styled */

/* ===== SultanGate responsive header ===== */
.sg-header{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: 0;             /* flush bar */
  border-left: 0; border-right: 0;
}
.btn-sg { 
  display:inline-flex; align-items:center; justify-content:center;
  padding:.4rem .75rem;margin:5px; border-radius:999px; text-decoration:none; margin: 4px 0;
  font-weight:700; font-size:.85rem; cursor:pointer; border:1px solid rgb(2, 39, 121);
  background: #3b3f42; color: #9e9e9e;
  transition: transform .05s ease, filter .15s ease, background .15s ease;
}
.btn-sg:hover { filter:brightness(1.05); transform: translateY(-1px) }
.btn-col{
  display: flex;
  flex-direction: column;
  gap: .35rem;
  align-items: flex-end;   /* right-aligned; use center/ flex-start as you like */
}
.btn-row-rs{
  display: flex;
  flex-direction: row;
  gap: .35rem;
  align-items: center; 
}
.btn-rs { 
  display:inline-flex; align-items:center; justify-content:center;
  padding:.4rem .75rem; margin-top:15px; border-radius:999px; text-decoration:none;
  font-weight:700; font-size:.85rem; cursor:pointer; border:1px solid rgb(151, 87, 3);
  background: #ffc402; color: #000000;
  transition: transform .05s ease, filter .15s ease, background .15s ease;
}
.btn-rs:hover { filter:brightness(1.05); transform: translateY(-1px) }

.sg-header__actions .btn-sg {
  width: 150px;      /* or any fixed width you like */
  text-align: center;
}

.sg-header__left{ display:flex; align-items:center; gap:.6rem; min-width:0; }
.sg-hotel-logo{ width:150px; height:auto; object-fit:contain; padding: 10px;}
.sg-hotel-name{ color:var(--accent); font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.sg-header__brand{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; gap:.25rem; min-width:0;
}
.sg-app-name{ font-size: 2.5rem;font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.sg-app-mark{ height:75px; object-fit:contain; }
.sg-tagline{ font-size:.85rem; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.sg-header__actions{ display:flex; justify-content:flex-end; }
.sg-header__actions .btn-pill{ padding:.5rem .9rem; }

/* mobile: stack + center */
@media (max-width: 720px){
  .sg-header{
    grid-template-columns: 1fr; 
    gap: .5rem;
    text-align:center;
  }
  .sg-hotel-logo{display: none;}
  .sg-header__left{ justify-content: center; }
  .sg-header__brand{justify-content: center;
}
  .sg-header__actions{justify-content:center; margin-top: 20px; }
  .sg-app-mark{ height: 56px; align-items: center; }                
  .sg-app-name{font-size: 1.5rem;}
  .sg-tagline{ font-size:.7rem; justify-content: center;}
  .btn-col{align-items: center;}
  .sg-header__actions .btn-sg {width: 360px; height: 30px; text-align: center;}
}

/* Toast-style flash messages – SultanGate */
.flash-wrap {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 360px;
}

/* Base toast */
.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #f9fafb;
  background: radial-gradient(circle at top left,#12243b 0%,#07111f 55%,#040915 100%);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 14px 40px rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);
}

.flash-body {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* Icon inside the toast */
.flash-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.9);
}

/* Category colours */
.flash.success {
  border-left: 4px solid #16a34a;
}
.flash.success .flash-icon {
  color: #bbf7d0;
  background: rgba(22, 163, 74, 0.25);
}

.flash.error {
  border-left: 4px solid #ef4444;
}
.flash.error .flash-icon {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.25);
}

.flash.warn,
.flash.warning {
  border-left: 4px solid #f59e0b;
}
.flash.warn .flash-icon,
.flash.warning .flash-icon {
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.25);
}

/* Close button – override any global button styles */
.flash .flash-x {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #e5e7eb;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.flash .flash-x:hover,
.flash .flash-x:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.flash .flash-x:focus-visible {
  outline: 2px solid #f97316;
  outline-offset: 2px;
  border-radius: 999px;
}

/* Small screens – bring toasts away from the very edge */
@media (max-width: 600px) {
  .flash-wrap {
    right: 0.75rem;
    left: 0.75rem;
    max-width: none;
  }
}

/* ================= Thank You Page Polish (A+B) ================= */

/* Layout rhythm */
.thankyou-container {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(16px, 2.5vw, 28px) clamp(16px, 3vw, 32px);
}

/* Header spacing/visibility */
.thankyou-header {
  text-align: center;
  padding: clamp(16px, 2.5vw, 24px) 16px 8px;
}
.brand-logo {
  width: clamp(120px, 18vw, 160px);
  height: auto;
}
.brand-title {
  margin-top: 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: #ad6615;
}

/* Employee strip (chips) */
.employee-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 4px 0 clamp(18px, 3vw, 24px);
}
.employee-chip {
  background: #041C3A;
  border: 1px solid rgba(247,147,30,0.25);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.chip-label {
  font-size: 0.85rem;
  color: #b8c6d9;
}
.chip-value {
  font-weight: 600;
  color: #F7931E;
}

/* Thank-you hero */
.thankyou-hero {
  background: linear-gradient(180deg, rgba(4,28,58,0.6), rgba(1,42,94,0.6));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  border-radius: 12px;
  padding: clamp(16px, 3vw, 24px);
  text-align: center;
  margin-bottom: clamp(16px, 3vw, 24px);
}
.thankyou-title {
  font-family: 'Cinzel', serif;
  color: #F7931E;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  margin: 0 0 8px;
}
.thankyou-subtext {
  color: #d5deea;
  margin: 0;
  line-height: 1.6;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
}

/* Actions */
.thankyou-actions {
  display: flex;
  justify-content: center;
  margin: clamp(12px, 2vw, 18px) 0 clamp(20px, 3vw, 28px);
}

.button-primary {
  background-color: #F7931E;
  color: #012A5E;
}
.button-primary:hover { background-color: #FFA733; }

.button-secondary {
  background-color: transparent;
  color: #F7931E;
  border: 1px solid #F7931E;
}
.button-secondary:hover {
  background-color: #F7931E;
  color: #012A5E;
}

/* HR card polish */
.hr-only-card {
  min-width: min(100%, 560px);
  background-color: #041C3A;
  border: 1px solid rgba(247,147,30,0.35);
  padding: clamp(16px, 3vw, 24px);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  margin: clamp(24px, 4vw, 40px) auto 0;
  text-align: center;
}
.hr-only-title {
  color: #F7931E;
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  margin: 0 0 8px;
}
.hr-only-text {
  color: #d0d8e6;
  margin: 0 0 12px;
  line-height: 1.6;
}

/* Footer spacing */
.site-footer {
  text-align: center;
  padding: 16px;
  font-size: 0.85rem;
  color: #b8c6d9;
}

/* Mobile-first improvements */
.full-mobile { width: 100%; text-align: center; }

/* Responsive grid collapse */
@media (max-width: 640px) {
  .employee-strip { grid-template-columns: 1fr; }
}

/* Prefer reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .button-link, .hr-only-card { transition: none !important; }
}



/* Global Style for SultanGate HR Induction */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #012A5E;
  color: #fff;
  display: flex; 
  flex-direction: column;
  height: 100vh;
}

header {
  text-align: center;
  padding: 2rem 1rem 1rem;
}

header img {
  width: 160px;
}

h1 {
  margin-top: 1rem;
  font-size: 1.5rem;
  color: #ad6615;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  background-color: #041C3A;
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 0 10px #00000080;
}

.login-box h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.6rem;
  border-radius: 6px;
  border: none;
  outline: none;
}

button {
  width: 60%;
  padding: 0.75rem;
  background: #F7931E;
  color: #012A5E;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  display: block;
  margin: 1rem auto 0 auto;
}


button:hover {
  background: #FFA733;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: #ccc;
}
/*Dashboard Styling*/
.dashboard-container {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dashboard-title {
  font-size: 28px;
  margin-bottom: 2rem;
  color: #F7931E;
  font-family: 'Cinzel', serif;
  text-shadow: 1px 1px 2px #00000060;
}

.dashboard-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.card {
  background-color: #041C3A;
  border-radius: 10px;
  padding: 1.5rem;
  width: 260px;
  color: #fff;
  box-shadow: 0 0 10px #00000030;
}


.ind-card {
  background-color: #041C3A;
  border-radius: 10px;
  padding: 1.5rem;
  width: 480px;
  max-width: 600px;
  color: #fff;
  box-shadow: 0 0 10px #00000030;
  margin-bottom: 25px;
  border:1px solid #864800;
  margin-left: auto;
  margin-right: auto;
}
.ind-card.card{
  transition: transform 0.3s, box-shadow 0.3s;
  
}

.ind-card:hover{
  background-color: #021f42;
  transform: scale(1.03);
  
}
.ind-list .hi{
  margin:0;
  font-weight:600;
  font-size: 1.8rem;
}
.ind-list .title{
  margin:-5px 0 0 0;
  color:#94a3b8; 
  font-size: 1.2rem;
}

@media (max-width: 600px){
  .ind-card{
    width: 90%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .ind-list .hi{
  margin:0;
  font-weight:500;
  font-size: 1.2rem;
  }
  .ind-list .title{
  margin:-5px 0 0 0;
  color:#94a3b8; 
  font-size: 1rem;
  }
}

/* ===== Dashboard – Overview card (distinct look) ===== */
.overview-card{
  --ov-bg: linear-gradient(135deg, #0f2744 0%, #0b1f36 60%, #0b1b2c 100%);
  --ov-border: rgba(255,255,255,0.06);
  --ov-shadow: 0 10px 30px rgba(0,0,0,0.35);
  --pill-bg: rgba(255,255,255,0.08);
  --pill-text: #ffefe1;
  background: var(--ov-bg);
  border: 1px solid var(--ov-border);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: var(--ov-shadow);
  margin: 1rem 0 1.5rem;
}

.overview-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: .75rem;
}
.overview-head h3{
  margin:0; font-size:1.25rem; letter-spacing:.3px; color:#ffb25c;
}

.overview-tag{
  display:inline-flex; align-items:center; gap:.85rem;
  font-size: .65rem; padding:.35rem .6rem; border-radius:999px;
  background: var(--pill-bg); color: var(--pill-text);
  border: 1px solid rgba(255,255,255,0.12);
}
.overview-tag::before{
  content:""; width:8px; height:8px; border-radius:50%;
  background:#ffa64d; box-shadow:0 0 0 0 rgba(255,166,77,.7);
  animation:pulse 1.8s infinite;
}
@keyframes pulse{
  0%{ transform:scale(.9); box-shadow:0 0 0 0 rgba(255,166,77,.6);}
  70%{ transform:scale(1); box-shadow:0 0 0 10px rgba(255,166,77,0);}
  100%{ transform:scale(.9); box-shadow:0 0 0 0 rgba(255,166,77,0);}
}

.overview-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}
@media (max-width: 900px){
  .overview-grid{ grid-template-columns: 1fr; }
}

.overview-stat{
  background: rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:12px;
  padding:.9rem .95rem;
  display:flex; flex-direction:column; gap:.4rem;
}
.stat-label{
  font-size:.85rem; color:#b8c7d9; letter-spacing:.2px;
}
.stat-value{
  font-size:1.9rem; font-weight:700; line-height:1.1;
  color:#ffffff; margin-top:.1rem;
}
.stat-link{
  margin-top:.25rem; width:max-content;
  font-size:.85rem; text-decoration:none;
  color:#ffb25c; border-bottom:1px dashed rgba(255,178,92,.6);
}
.stat-link:hover{ opacity:.9; }

.live-row{
  display:flex; align-items:center; gap:.55rem; padding:.1rem 0 .15rem;
}
.pulse-dot{ width:10px; height:10px; border-radius:50%; background:#4dffa6; box-shadow:0 0 8px rgba(77,255,166,.6);}
.live-text{ color:#e8f2ff; font-weight:600; font-size:1.05rem; }

/* ===== Grid ===== */
.dash-grid{
  display:grid; gap:1rem; margin:1rem 0 1.5rem;
  grid-template-columns: 1fr; /* mobile */
}
.dash-grid.three{ grid-template-columns: 1fr; }
@media (min-width: 900px){
  .dash-grid{ grid-template-columns: 1fr 1fr; }
  .dash-grid.three{ grid-template-columns: repeat(3, 1fr); }
}

/* ===== Base panel card (same family as overview) ===== */
.panel-card{
  --bg: linear-gradient(135deg, #0f2744 0%, #0b1f36 60%, #0b1b2c 100%);
  --border: rgba(255,255,255,0.06);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
  display:flex; flex-direction:column; gap:.75rem;
}
.panel-card.soft{
  --bg: linear-gradient(135deg, #0e223b 0%, #0b1f36 60%, #0b1b2c 100%);
}
.start-card{
  --bg: linear-gradient(135deg, #142f52 0%, #0c2541 60%, #0a1e33 100%);
}

/* Header */
.panel-head{
  display:flex; align-items:center; justify-content:space-between;
}
.panel-head h3{
  margin:0; font-size:1.15rem; letter-spacing:.3px; color:#ffb25c;
}
.panel-sub{
  color:#b8c7d9; margin:0; font-size:.95rem;
}

/* Actions / Buttons */
.panel-actions{ display:flex; gap:.5rem; flex-wrap:wrap; margin-top:.25rem; }
.btn-pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.55rem 1rem; border-radius:999px; text-decoration:none;
  font-weight:600; font-size:.95rem;
  background:#ffb25c; color:#0b1b2c; border:1px solid rgba(255,178,92,.4);
  transition: transform .05s ease, filter .15s ease;
}
.btn-pill:hover{ filter:brightness(1.05); transform: translateY(-1px); }
.btn-pill.ghost{
  background: transparent; color:#ffb25c; border-color: rgba(255,178,92,.5);
}
.btn-pill.disabled{ opacity:.55; pointer-events:none; }

/* Mini metrics for Analytics */
.mini-metrics{
  display:grid; gap:.65rem; margin:.2rem 0 .6rem;
}
.mini-metrics > div{
  display:flex; align-items:center; justify-content:space-between;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding:.55rem .7rem;
}
.mm-label{ color:#b8c7d9; font-size:.9rem; }
.mm-val{ color:#ffffff; font-weight:700; }

/* Full-width helpers */
.full{ width:100%; margin:1rem 0 1.25rem; }

/* Grid (unchanged from earlier) */
.dash-grid{ display:grid; gap:1rem; margin:1rem 0 1.5rem; grid-template-columns:1fr; }
.dash-grid.three{ grid-template-columns:1fr; }
@media (min-width:900px){
  .dash-grid{ grid-template-columns: 1fr 1fr; }
  .dash-grid.three{ grid-template-columns: repeat(3, 1fr); }
}

/* Tag pills: base (no glow) */
.tag{
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.85rem; padding:.35rem .6rem; border-radius:999px;
  background: rgba(255,255,255,0.08); color:#ffefe1;
  border:1px solid rgba(255,255,255,0.12);
}

/* Glow only when .live is present */
.tag.live::before{
  content:""; width:8px; height:8px; border-radius:50%;
  background:#ffa64d; box-shadow:0 0 0 0 rgba(255,166,77,.7);
  animation:pulse 1.8s infinite;
}
@keyframes pulse{
  0%{ transform:scale(.9); box-shadow:0 0 0 0 rgba(255,166,77,.6);}
  70%{ transform:scale(1); box-shadow:0 0 0 10px rgba(255,166,77,0);}
  100%{ transform:scale(.9); box-shadow:0 0 0 0 rgba(255,166,77,0);}
}

/* Keep your existing .panel-card / .overview-card / .btn-pill styles */

.card-actions {
  display: flex;        
  justify-content: space-around; 
  gap: 10px;           
  margin-top: 15px;     
  margin-bottom: 15px;   
}

.button-link {
  flex-grow: 1; 
  text-align: center;
  
}

.card h3 {
  margin-bottom: 1rem;
  color: #F7931E;
}

.card p {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

.button-link {
  display: block;
  width: fit-content;
  margin: 1rem auto 0 auto;
  padding: 0.5rem 1.5rem;
  background-color: #F7931E;
  color: #012A5E;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.button-link:hover {
  background-color: #FFA733;
}
/* === Registration Page Styling === */

.registration-container {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.registration-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.registration-left {
  flex: 0 0 340px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.registration-right {
  flex: 1 1 500px;
  min-width: 320px;
}

.form-title {
  font-family: 'Cinzel', serif;
  font-size: 40px;
  color: #F7931E;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Induction Type Box */
.induction-type-box {
  background-color: #041C3A;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 8px #00000030;
  color: #fff;
  margin-bottom: 2rem;
  align-items: center;
}

.induction-type-box h3 {
  color: #F7931E;
  margin-bottom: 1rem;
}

.induction-type-box label {
  margin-right: 1.5rem;
  display: inline-block;
}

#group-count-wrapper label {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
}

#group-count-wrapper input {
  padding: 0.5rem;
  border-radius: 6px;
  border: none;
  width: 120px;
}

/* Employee Form */
.induction-form {
  background-color: #041C3A;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px #00000030;
}

.form-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #fff;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="tel"],
.form-group input[type="email"],
#group-count-wrapper input {
  padding: 0.6rem;
  border-radius: 6px;
  border: none;
  outline: none;
}

/* Button */
.form-action {
  text-align: center;
  margin-top: 2rem;
}

.form-action button {
  background-color: #F7931E;
  color: #012A5E;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.form-action button:hover {
  background-color: #FFA733;

}
.group-input-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
}
.group-input-row input[type="number"] {
  width: 100px; /* 📏 Fixed width for input */
  flex-shrink: 0;
}

#add-employee-btn {
  white-space: nowrap;
  background-color: #F7931E;
  color: #012A5E;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}

#add-employee-btn:hover {
  background-color: #FFA733;
}

* {
  box-sizing: border-box;
}
/*test*/
.induction-left-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%; /* 🧠 take all height of parent */
}

.registration-left {
  display: flex;
  align-items: center;
  justify-content: center;
}
/*Video Induction Page*/
.video-container {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.video-container h2 {
  color: #F7931E;
  font-family: 'Cinzel', serif;
  margin-bottom: 0.5rem;
}
.video-container p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.video-section {
  margin-bottom: 3rem;
  background-color: #041C3A;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px #00000050;
  
}
.video-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 1rem;
  padding: 0 0.5rem;
  margin-bottom: 0.5rem;
}
.video-status {
  background-color: #000;
  color: #F7931E;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
}
.video-subtext {
  margin-bottom: 2rem;
  color: #ccc;
  font-size: 1rem;
}
.video-controls {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.video-controls button {
  padding: 0.5rem 1.5rem;
  background-color: #041C3A;
  color: #fff;
  border: 1px solid #F7931E;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.video-controls button:hover:enabled {
  background-color: #F7931E;
  color: #012A5E;
}

.video-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.video-card {
  background-color: #041C3A;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 0 10px #00000030;
}

.video-card h3 {
  color: #F7931E;
  margin-bottom: 1rem;
}

.video-box iframe {
  position: relative;
  width: 100%;
  height: 100%;
  inset: 0;
  display: block;
  border-radius: 1px;
}
/* ========== Assessment Page Styling ========== */
.assessment-page {
  background-color: #012A5E;
  color: #fff;
}

.assessment-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  text-align: center;
} 

.assessment-container h2 {
  font-family: 'Cinzel', serif;
  color: #F7931E;
  margin-bottom: 2rem;
}

.assessment-box {
  background-color: #041C3A;
  border: 1px solid #F7931E;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  margin-top: 2rem;
  color: #fff;
  text-align: left;
}

.assessment-box h3 {
  color: #F7931E;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.assessment-box p {
  margin: 0.5rem 0;
  color: #ccc;
  font-weight: 500;
}

.hr-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hr-form input,
.hr-form textarea {
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid #F7931E;
  background-color: #012A5E;
  color: #fff;
}

.hr-form textarea {
  resize: vertical;
  height: 120px;
}

/* ========== Registration Successful Page Styling ========== */
.ragistration-successful-page {
  background-color: #012A5E;
  color: #fff;
}

.registration-successful-container {
  max-width: 760px;
  max-height: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  text-align: center;
} 

.registration-successful-container h2 {
  font-family: 'Cinzel', serif;
  color: #F7931E;
  margin-bottom: 2rem;
}

.registration-successful-box {
  --bg: linear-gradient(135deg, #0f2744 0%, #0b1f36 60%, #0b1b2c 100%);
  --border: rgba(255,255,255,0.06);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  margin-top: 2rem;
  color: #fff;
  text-align: left;
/*
  display: flex;
  flex-direction: column;
  text-align: center;
  max-width: 760px;
  max-height: 600px;
  padding: 2rem 1rem;
  margin-left: auto;
  margin-right: auto;
*/
}

.registration-successful-box h3 {
  margin:0; 
  font-size:1.15rem; 
  letter-spacing:.3px; 
  color:#ffb25c;
  margin-bottom: 20px;
}

.registration-successful-box p {
  margin: 0.5rem 0;
  color: #ccc;
  font-weight: 500;
}

/* RS strip (chips) */
.rs-strip {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  margin: 4px 0 clamp(18px, 3vw, 24px);
}
.rs-chip {
  background: var(--bg);
  border: 1px solid rgba(247,147,30,0.25);
  border-radius: 10px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  align-items: baseline;
}
.rs-label {
  font-size: 0.85rem;
  color: #b8c6d9;
}
.rs-value {
  font-weight: 600;
  color: #f3f3f3;
}


/*Thank you Page Styles*/

.ty-container {
  max-width: 760px;
  max-height: auto;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  text-align: center;
} 

.ty-box {
  --bg: linear-gradient(135deg, #0f2744 0%, #0b1f36 60%, #0b1b2c 100%);
--border: rgba(255,255,255,0.06);
--shadow: 0 10px 30px rgba(0,0,0,0.35);
background: var(--bg);
border: 1px solid var(--border);
padding: 1.5rem;
border-radius: 8px;
margin-bottom: 2rem;
margin-top: 2rem;
color: #fff;
text-align: left;
/*
display: flex;
flex-direction: column;
text-align: center;
max-width: 760px;
max-height: 600px;
padding: 2rem 1rem;
margin-left: auto;
margin-right: auto;
*/
}

.ty-box h3 {
  margin:0; 
  font-size:1.15rem; 
  letter-spacing:.3px; 
  color:#ffb25c;
  margin-bottom: 20px;
}

.ty-box p {
  margin: 0.5rem 0;
  color: #ccc;
  font-weight: 500;
}


/*Quiz*/
.assessment-quiz-box {
  background-color: #181818;
  border: 1px solid #F7931E;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  margin-top: 2rem;
  color: #fff;
  text-align: left;
}
.assessment-quiz-box h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.mcq-options{
  color: #c9c6c6;
  font-size: 0.9rem;
}
/* Make radio dot use brand color (modern browsers) */
input[type="radio"] {
  accent-color: #F7931E;
}

/* === Admin Panel Styling === */
.admin-panel-page {
  background-color: #012A5E;
  color: #fff;
  padding-top: 1rem;
}

.admin-dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.admin-title {
  font-size: 40px;
  color: #F7931E;
  text-align: center;

}

.admin-section {
  width: 100%;
  display: flex;
  flex-direction: column ;
  align-items: center;
  margin-bottom: 3rem;
}

.section-title {
  color: #F7931E;
  font-size: 20px;
  margin-bottom: 1rem;
  border-bottom: 1px solid #F7931E;
  padding-bottom: 0.5rem;
}

.admin-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.admin-card {
  background-color: #041C3A;
  border: 1px solid #F7931E;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  width: 220px;
  font-weight: bold;
  box-shadow: 0 0 10px #00000040;
}

.admin-card p {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  color: #FFA733;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.admin-btn {
  padding: 0.75rem 1.5rem;
  background-color: #F7931E;
  color: #012A5E;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.admin-btn:hover {
  background-color: #FFA733;
}

.admin-btn.danger {
  background-color: #c0392b;
  color: #fff;
}

.admin-btn.danger:hover {
  background-color: #e74c3c;
  
}
/* ===========================
   Incomplete/Completed Inductions — SCOPED
   Apply only inside .ind-list
   =========================== */
.ind-list {
  --ind-bg: #0b1b2c;
  --ind-ink: #ffffff;
  --ind-muted: #cbd5e1;

  --ind-panel: linear-gradient(135deg,#0f2744 0%,#0b1f36 60%,#0b1b2c 100%);
  --ind-border: rgba(255,255,255,.07);
  --ind-shadow: 0 10px 30px rgba(0,0,0,.35);

  --ind-accent: #F7931E;
  --ind-accent-ink: #012A5E;

  --ind-success: #16a34a;
  --ind-warn: #f59e0b;
  --ind-err: #ef4444;
  --ind-steel: #334155;
  --ind-gold: #F4BB3A;
  --ind-gold-ink: #3b2a07;

  --ind-radius: 14px;

  color: var(--ind-ink);
}

.ind-list .ind-shell{
  max-width: 1100px;
  margin: 18px auto 28px;
  padding: 18px;
  background: var(--ind-panel);
  border: 1px solid var(--ind-border);
  border-radius: var(--ind-radius);
  box-shadow: var(--ind-shadow);
}

/* Title */
.ind-list .ind-title{
  margin: 4px 0 16px;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: .3px;
  color: var(--ind-accent);
}

/* Table */
.ind-list .ind-table-wrap{ width: 100%; overflow-x: auto; }
.ind-list .ind-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--ind-border);
  border-radius: 12px;
  overflow: hidden;
}
.ind-list .ind-table thead th{
  text-align: left;
  font-weight: 700;
  font-size: .92rem;
  color: #e7edf6;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-bottom: 1px solid var(--ind-border);
  white-space: nowrap;
}
.ind-list .ind-table tbody td{
  padding: 12px 14px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #dbe3ee;
}
.ind-list .ind-table tbody tr:hover td{
  background: rgba(255,255,255,.03);
}

.ind-list .ind-mini{ line-height: 1.35 }
.ind-list .ind-mini > div{font-size: 0.85rem; font-weight: 600; margin: 2px 0; color: var(--ind-muted) }
.ind-list .ind-empty{ text-align:center; color: var(--ind-muted) }

.ind-list .ind-col-actions{ width: 240px }

.ind-list.table thead.tr_cnt th{
  text-align: center;
}
/* Actions column */
.ind-list .ind-actions{ 
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.ind-list .ind-actions .ind-btn{ 
  margin-right: 0;
  width: 100%;
  justify-content: center;
 }
.ind-list .ind-actions .ind-btn:last-child{ margin-right: 0 }

/* Badges */
.ind-list .ind-badge{
  display: inline-block;
  min-width: 110px;
  padding: .28rem .6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .65rem;
  text-align: center;
  border: 1px solid transparent;
  text-transform: capitalize;
}
.ind-list .ind-badge.in-progress{
  background: #1e293b; color:#e2e8f0; border-color:#32445d;
}
.ind-list .ind-badge.failed{
  background: rgba(239,68,68,.12); color:#ffd7d7; border-color: rgba(239,68,68,.45);
}
.ind-list .ind-badge.awaiting-feedback{
  background:#0b3a70; color:#d7e7ff; border-color:#1f4c84;
}
.ind-list .ind-badge.extra-training{
  background:#3b2f0b; color:#ffe9b0; border-color:#7a6420;
}
.ind-list .ind-badge.ready-to-close{
  background: var(--ind-gold); color: var(--ind-gold-ink); border-color:#e9ad24;
}

/* Buttons (scoped) */

.ind-list .ind-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.6rem 2.25rem; border-radius:999px; text-decoration:none;
  font-weight:700; font-size:.95rem; cursor:pointer; border:1px solid rgba(255,178,92,.45);
  background: var(--accent); color: var(--accent-ink);
  transition: transform .05s ease, filter .15s ease, background .15s ease;
}
.ind-list .ind-btn:hover{ filter:brightness(1.05); transform: translateY(-1px) }
.ind-list .ind-btn--ghost{ background:transparent; color: var(--ind-accent); border-color: rgba(247,147,30,.55) }
.ind-list .ind-btn--primary{ background:#13315b; color:#e6f0ff; border-color:#1d4a86 }
.ind-list .ind-btn--success{ background: var(--ind-success); color:#fff; border-color: transparent }
.ind-list .ind-btn[disabled]{ opacity:.55; pointer-events:none }
.ind-list .ind-btn--sm{ font-size:.82rem; padding:.35rem .6rem; border-radius:10px }

/* Footer actions under table */
.ind-list .ind-footer-actions{
  display:flex; gap:.85rem; justify-content:center; flex-wrap:wrap;
  margin-top: 12px;
}

/* Responsive tweaks (scoped) */
@media (max-width: 980px){
  .ind-list .ind-col-actions{ width: 210px }
}
@media (max-width: 720px){
  .ind-list .ind-title{ font-size: 1.35rem }
  .ind-list .ind-table thead th, 
  .ind-list .ind-table tbody td{ padding:10px 12px }
  .ind-list .ind-btn--sm{ padding:.32rem .55rem; font-size:.8rem }
}
@media (max-width: 600px){
  /* Hide Department on narrow screens */
  .ind-list .ind-table thead th:nth-child(3),
  .ind-list .ind-table tbody td:nth-child(3){ display:none }
  .ind-list .ind-col-actions{ width: 190px }
}


/* === Admin Navigation Buttons (Top Right) === */
.admin-nav-buttons {
  position: absolute;
  top: 20px;
  right: 30px;
  display: flex;
  gap: 1rem;
  z-index: 999;
}

.admin-nav-buttons a {
  background-color: #F7931E;
  color: #012A5E;
  padding: 0.4rem 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: background 0.3s;
}

.admin-nav-buttons a:hover {
  background-color: #FFA733;
}
/* === Dashboard Page Enhancements === */
.dashboard-page {
  background: linear-gradient(to bottom right, #012A5E, #041C3A);
  color: #fff;
}

/* Hero Section */
.dashboard-hero {
  background: linear-gradient(to right, #012A5E, #041C3A);
  color: #F7931E;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 10px;
  margin: 1.5rem auto;
  box-shadow: 0 0 12px #00000050;
  max-width: 1100px;
}

.dashboard-hero h2 {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  margin-bottom: 0.5rem;
}

.dashboard-hero p {
  color: #ccc;
  font-size: 1rem;
  margin: 0;
}

/* Dashboard Card Subtext */
.card-sub {
  font-size: 0.8rem;
  color: #ccc;
  margin-top: 0.5rem;
  display: block;
  text-align: center;
}

/* Hover Animations */
.dashboard-cards .card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.dashboard-cards .card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 12px #00000060;
}

/* Quick Action Bar */
.quick-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.quick-actions a {
  background-color: #F7931E;
  color: #012A5E;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
  font-size: 0.9rem;
}

.quick-actions a:hover {
  background-color: #FFA733;
}
/*Dashboard*/
.dashboard-hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-text h2 {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  color: #F7931E;
  margin-bottom: 0.5rem;
}

.hero-text p {
  color: #ccc;
  font-size: 1rem;
}
/* ===== Modal Scaffold (Step 3a) ===== */
.modal.hidden { display: none; }

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000; /* above page content */
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(1px);
}

.modal-dialog {
  position: relative;
  width: min(900px, 92vw);
  max-height: 88vh;
  background: #0f0f0f;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  padding: 0px;
  display: flex;
  flex-direction: column;
  z-index: 1001; /* above backdrop */
  overflow: hidden;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 42px;              /* 🔑 fixed size circle */
  height: 28px; 
  border-radius: 8%;       /* 🔑 circle shape */
  font-size: 28px;          /* 🔑 smaller "X" */
  line-height: 0px;        /* centers the X */
  text-align: center;
  background: #f7931e;      /* accent orange background */
  color: #ffffff;           /* dark X for contrast */
  border: none; 
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  opacity: 85%;
}

.modal-close:hover {
  background: #992907;      /* lighter hover */
  transform: scale(1.1);    /* subtle zoom */
}

.modal-header {
  padding: 0.5rem 1rem;
  margin: 0;
  color: #f1f1f1;
}

.modal-content {
  flex: 1 1 auto;
  position: relative;
  aspect-ratio: 16/ 9;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  background: #000000;
  padding: 0;
}

.modal-content iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.modal-player-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9; /* keeps space reserved for the player */
  background: #000;
  display: grid;
  place-items: center;
  color: #888;
  font-size: 14px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 0.5rem 1rem;
  background: #0f0f0f;
}

.end-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Prevent background scroll when modal is open; toggle via JS in Step 3b */
body.no-scroll { overflow: hidden; }

.video-section.is-completed {
  opacity: 0.72;
  pointer-events: none; /* fully locked */
}
/*Toast Style*/
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(220, 53, 69, 0.95);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.toast.show {
  opacity: 1;
}
/* ================= Thank You Page Polish (A+B) ================= */

/* Layout rhythm */
.thankyou-container {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(16px, 2.5vw, 28px) clamp(16px, 3vw, 32px);
}

/* Header spacing/visibility */
.thankyou-header {
  text-align: center;
  padding: clamp(16px, 2.5vw, 24px) 16px 8px;
}
.brand-logo {
  width: clamp(120px, 18vw, 160px);
  height: auto;
}
.brand-title {
  margin-top: 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: #ad6615;
}

/* Employee strip (chips) */
.employee-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 4px 0 clamp(18px, 3vw, 24px);
}
.employee-chip {
  background: #041C3A;
  border: 1px solid rgba(247,147,30,0.25);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;

}
.chip-label {
  font-size: 0.85rem;
  color: #b8c6d9;
}
.chip-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: #F7931E;
}
.chip-value1 {
  font-weight: 400;
  color: #9e9e9e;
}

/* Thank-you hero */
.thankyou-hero {
  background: linear-gradient(180deg, rgba(4,28,58,0.6), rgba(1,42,94,0.6));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  border-radius: 12px;
  padding: clamp(16px, 3vw, 24px);
  text-align: center;
  margin-bottom: clamp(16px, 3vw, 24px);
}
.thankyou-title {
  font-family: 'Cinzel', serif;
  color: #F7931E;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  margin: 0 0 8px;
}
.thankyou-subtext {
  color: #d5deea;
  margin: 0;
  line-height: 1.6;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
}

/* Actions */
.thankyou-actions {
  display: flex;
  justify-content: center;
  margin: clamp(12px, 2vw, 18px) 0 clamp(20px, 3vw, 28px);
}

.button-primary {
  background-color: #F7931E;
  color: #012A5E;
}
.button-primary:hover { background-color: #FFA733; }

.button-secondary {
  background-color: transparent;
  color: #F7931E;
  border: 1px solid #F7931E;
}
.button-secondary:hover {
  background-color: #F7931E;
  color: #012A5E;
}

/* HR card polish */
.hr-only-card {
  min-width: min(100%, 560px);
  background-color: #041C3A;
  border: 1px solid rgba(247,147,30,0.35);
  padding: clamp(16px, 3vw, 24px);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  margin: clamp(24px, 4vw, 40px) auto 0;
  text-align: center;
}
.hr-only-title {
  color: #F7931E;
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  margin: 0 0 8px;
}
.hr-only-text {
  color: #d0d8e6;
  margin: 0 0 12px;
  line-height: 1.6;
}

/* Footer spacing */
.site-footer {
  text-align: center;
  padding: 16px;
  font-size: 0.85rem;
  color: #b8c6d9;
}

/* Mobile-first improvements */
.full-mobile { max-width:360px; text-align: center; }

/* Responsive grid collapse */
@media (max-width: 640px) {
  .employee-strip { grid-template-columns: 1fr; }
}

/* Prefer reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .button-link, .hr-only-card { transition: none !important; }
}

.dashboard-incomplete {
  background: linear-gradient(to right, #012A5E, #041C3A);
  color: #F7931E;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 10px;
  margin: 1.5rem auto;
  box-shadow: 0 0 12px #00000050;
  max-width: 1100px;
}

.dashboard-incomeplete h2 {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  margin-bottom: 0.5rem;
}

.dashboard-incomeplete p {
  color: #ccc;
  font-size: 1rem;
  margin: 0;
}

/* Filters + chips */
.filters { display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:1rem; }
.filters input, .filters select { padding:.5rem .6rem; }
.filters button { padding:.5rem .8rem; }

.chip-row { display:flex; gap:.5rem; flex-wrap:wrap; margin:.5rem 0 1rem; align-content: center; }
.chip { display:inline-block; padding:.35rem .6rem; border-radius:999px; background:#161616; color:#fff; text-decoration:none; font-size:.85rem; }
.chip.ghost { background:transparent; border:1px solid #333; color:#ccc; }

/* Badges by status */
.badge { padding:.2rem .45rem; border-radius:.35rem; font-size:.75rem; font-weight:600; color:#fff; }
.badge.in-progress { background:#6b7280; }
.badge.failed { background:#dc2626; }
.badge.awaiting-feedback { background:#d97706; }
.badge.extra-training { background:#7c3aed; }
.badge.ready-to-close { background:#16a34a; }

/* Buttons + table */
.btn.sm { font-size:.8rem; padding:.35rem .6rem; }
.btn.ghost { background:transparent; border:1px solid #444; }
.btn.success { background:#16a34a; color:#fff; border:none; }
.btn[disabled] { opacity:.5; cursor:not-allowed; }
.table-responsive { overflow-x:auto; }
.tiny { font-size:.75rem; }
.muted { color:#9aa0a6; }


/*Print_Page */
.print-assessment-box {
  background-color: #041C3A;
  border: 1px solid #F7931E;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  margin-top: 2rem;
  color: #fff;
  text-align: left;
  max-width: 1100px;
}

.print-assessment-box h3 {
  color: #F7931E;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.print-assessment-box p {
  margin: 0.5rem 0;
  color: #ccc;
  font-weight: 500;
}

.hide-assessment-box {
  background-color: #041C3A;
  border: 1px solid #F7931E;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  margin-top: 2rem;
  color: #fff;
  text-align: left;
  max-width: 1100px;
}
.btn.primary { background: var(--accent, #f7931a); color: #071b2c; }
.btn.primary:hover { filter: brightness(1.05); }

/*Animated Logo -dashboard*/

/* 1. INITIAL (Hidden) STATE */
.animated-logo {
  /* Hide the image (opacity 0) */
  opacity: 0;
  
  /* Push it slightly off to the right (e.g., 20 pixels) */
  transform: translateX(20px);
  
  /* Define the transition speed and style */
  transition: opacity 1s ease-out, transform 1s ease-out;
  
  /* Your existing styles */
  width: 100px; 
  height: auto;
}

/* 2. FINAL (Visible/Animated) STATE */
.animated-logo.is-visible {
  /* Fade it in (opacity 1) */
  opacity: 1;
  
  /* Slide it back to its original position (no translation) */
  transform: translateX(0);
}
/*Hover effect*/
.forgot-link{
  text-align: center;
  margin-top: .75rem;
}
.forgot-link a.forgot-link{
  color: #7c7b7b;
  font-size: 0.9rem;
}
a.forgot-link:hover { color:#fff; }


/*Admin Profile segment*/

.profile-box {
  background-color: #041C3A;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 8px #00000030;
  color: #fff;
  margin-bottom: 2rem;
  min-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.profile-box h3 {
  color: #F7931E;
  margin-bottom: 1rem;
  text-align: left;
}

.profile-box label {
  margin-right: 1.5rem;
  display: inline-block;
}
.profile-card {
  background-color: #041C3A;
  border: 1px solid #575863;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  min-width: 360px;
  margin: 0 auto;
  margin-top: 10px;
  font-weight: bold;
  box-shadow: 0 0 10px #00000040;
}
.profile-card .muted{
  font-size: 0.7rem;
}
.profile-card .form{
  justify-content: center;
}

.profile-box .profile-card .ind-list{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.profile-box .profile-card .ind-list .who{
  text-align: left;
}
.profile-box .profile-card .ind-list .who .hi{
  margin:0;
  font-weight:600;
  font-size: 1.8rem;
}
.profile-box .profile-card .ind-list .who .title{
  margin:-5px 0 0 0;
  color:#94a3b8; 
  font-size: 1.2rem;
}
.profile-box .profile-card .ind-list .avatar{
  border-radius:50%;
  object-fit:cover;
}
.am-col{
  display: flex;
  min-width: 360px;
  flex-direction: column;
  gap: .35rem;
  align-items: center;   /* right-aligned; use center/ flex-start as you like */
}
.am-col .btn-sg{
  width: 300px;
  margin-top: 5px;
}
/* HR Analytics – unlock preview */
.analytics-preview-card {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left,#101827 0%,#050816 55%,#020617 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.analytics-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.analytics-head-main {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.analytics-lock-icon {
  width: 28px;
  height: 28px;
  opacity: 0.9;
}

.analytics-title {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.analytics-status {
  margin-top: 0.1rem;
}

/* Chart preview thumbnails */
.analytics-previews {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.analytics-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.analytics-chart-thumb {
  max-width: 110px;
  border-radius: 8px;
  opacity: 0.9;
  filter: saturate(0.95);
}

/* Wider screens – place previews side by side */
@media (min-width: 900px) {
  .analytics-previews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Employee meta info strip (Trainer/Review) */
.emp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--ind-ink, #fff);
  margin: 8px 0 12px;
}

.emp-item {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.emp-item strong {
  color: var(--ind-accent, #F7931E);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Trainer Review – Employee summary block */
.emp-meta-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 8px 0 16px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  max-width: 480px;
  font-size: 0.95rem;
  color: var(--ind-ink, #fff);
}

.emp-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  line-height: 1.5;
  margin-bottom: 6px;
}

.emp-row:last-child {
  margin-bottom: 0;
}

.emp-label {
  min-width: 120px;              /* keeps the colons lined up */
  color: var(--ind-muted, #cbd5e1);
  font-weight: 400;
  font-size: 0.9rem;
}

.emp-value {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: 0.95rem;
  word-break: break-word;
}

/* Trainer Review – Training Reason Badges */
.training-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.training-badge.badge-requested {
  background: rgba(255, 193, 7, 0.15); /* amber tint */
  border: 1px solid rgba(255, 193, 7, 0.4);
  color: #ffc107;
}

.training-badge.badge-mandatory {
  background: rgba(255, 71, 87, 0.15); /* red tint */
  border: 1px solid rgba(255, 71, 87, 0.4);
  color: #ff4757;
}

.trainer-actions {
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;       /* centers vertically in the row */
  margin-top: 10px;
}

/* ===========================
   Incomplete/Completed Inductions — status chips
   =========================== */
.ind-list .ind-status-chips .ind-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: .8rem;
  line-height: 1.2;
  padding: .5rem .75rem;
  color: var(--ind-ink, #fff);
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}

.ind-list .ind-status-chips .ind-chip--active {
  background: var(--ind-accent, #F7931E);
  border-color: var(--ind-accent, #F7931E);
  color: #000;
  font-weight: 600;
}

.ind-list .ind-status-chips .ind-chip__label {
  white-space: nowrap;
}

.ind-list .ind-status-chips .ind-chip__count {
  background: rgba(0,0,0,.4);
  border-radius: .5rem;
  padding: .15rem .4rem;
  font-size: .7rem;
  line-height: 1.1;
  font-weight: 600;
}

.ind-list .ind-status-chips .ind-chip--active .ind-chip__count {
  background: rgba(0,0,0,.2);
}

/* ===== LAYOUT (sidebar + main content area) ===== */

.active-ind-container {
    display: flex;
    min-height: 100vh;
}

/* left menu */
.active-ind-sidebar {
    width: 350px;
    background-color: #0c2541;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.active-ind-sidebar h3 {
    margin-top: 0;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.active-ind-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.active-ind-sidebar ul li {
    margin: 0 0 8px 0;
}
.active-ind-sidebar ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;

    color: white;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px dotted #555;
    font-size: 0.9rem;
    line-height: 1.4;
}
.active-ind-sidebar ul li a .count {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    font-size: 0.75rem;
    padding: 2px 6px;
    line-height: 1.2;
    min-width: 1.5rem;
    text-align: center;
}
.active-ind-sidebar ul li a:hover {
    background-color: #1a3a5f;
    border-radius: 4px;
    padding-left: 5px;
}

/* right side content area behind the card */
.active-ind-main-content {
    flex-grow: 1;
    background-color: #012A5E;
    padding: 20px 40px;
    box-sizing: border-box;
    color: #fff;
}

/* Full-width override only for HR induction screens */
.hr-induction-screen .ind-shell {
    max-width: 100%;
    width: 100%;
    margin: 0;           /* remove auto-centering from global */
    border-radius: 6px;  /* (optional) slightly less round if you want it to feel like a block */
}

.hr-induction-screen .ind-list {
    margin: 0;
    padding: 0;
}

/* Push table header + content away from the blue edge, not glued */
.active-ind-main-content {
    flex-grow: 1;
    background-color: #012A5E;
    padding: 20px 30px;
    box-sizing: border-box;
    color: #fff;
}

/* Desktop sidebar stays visible, mobile filter hidden by default */
.mobile-filter-bar {
  display: none;
  margin-bottom: 1rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.9rem;
}

.mobile-filter-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #fff;
}

.mobile-filter-select {
  width: 100%;
  background-color: #0c2541;
  color: #fff;
  font-size: 0.9rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.5rem 0.6rem;
}

/* On mobile:
   - hide the big sidebar
   - show the dropdown instead
*/
@media (max-width: 768px) {
  .active-ind-container {
    flex-direction: column;
  }

  .active-ind-sidebar {
    display: none;
  }

  .active-ind-main-content {
    padding: 16px;
  }

  .mobile-filter-bar {
    display: block;
  }
}

.page-heading-mobile {
  display: none;
  color: #c48809;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  text-align: center;
}

@media (max-width: 768px) {
  .page-heading-mobile {
    display: block;
  }
}

.trainer-hours{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:.5rem;
}


/* ================================
   Trainer • Quiz Bank (scoped)
   ================================ */
.trainer-quiz .panel-card.full {
  padding: 1.25rem;
}

.trainer-quiz .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.trainer-quiz .panel-head .tag {
  font-size: .85rem;
  padding: .25rem .5rem;
  border-radius: 999px;
  border: 1px solid var(--ind-border, rgba(255,255,255,.15));
  opacity: .9;
}

/* Table */
.trainer-quiz .ind-table-wrap {
  overflow-x: auto;
}

.trainer-quiz table.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--ind-border, rgba(255,255,255,.08));
  box-shadow: var(--ind-shadow, 0 6px 18px rgba(0,0,0,.25));
}

.trainer-quiz table.table th,
.trainer-quiz table.table td {
  padding: .75rem .9rem;
  vertical-align: top;
  border-bottom: 1px solid var(--ind-border, rgba(255,255,255,.06));
}

.trainer-quiz table.table thead th {
  font-size: .9rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  opacity: .85;
}

/* Zebra rows */
.trainer-quiz table.table tbody tr:nth-child(odd) {
  background: rgba(255,255,255,.02);
}

/* Question meta */
.trainer-quiz .ind-mini > div {
  margin: .15rem 0;
  opacity: .95;
}

/* Options list */
.trainer-quiz .mcq-options {
  margin: .25rem 0;
  line-height: 1.35;
}

.trainer-quiz .mcq-options .tag.live {
  font-size: .78rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 200, 120, .35);
  background: rgba(0, 200, 120, .12);
}

/* Quick actions */
.trainer-quiz .quick-actions {
  margin-top: 1rem;
  display: flex;
  gap: .5rem;
}

/* Responsive */
@media (max-width: 800px) {
  .trainer-quiz table.table th:nth-child(3),
  .trainer-quiz table.table td:nth-child(3) {
    display: none; /* hide Meta column on narrow screens */
  }
  .trainer-quiz .panel-head {
    flex-direction: column;
    align-items: flex-start;
  }
}



