﻿/* ==========================================================================
   RAILWAY RECRUITMENT BOARD (RRB) THEME & GOVERNMENT BRANDING
   ========================================================================== */

:root {
  --navy: #0b2545;          /* Indian Railways Govt Navy */
  --navy-border: #081a30;
  --blue: #00488f;          /* Official Indian Railways Blue */
  --blue-hover: #003366;
  --blue-bright: #00488f;
  --blue-bright-hover: #003870;
  --green: #059669;
  --green-hover: #047857;
  --amber: #f59e0b;         /* Rail Gold / Amber */
  --amber-hover: #d97706;
  --red: #dc2626;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-50: #f8fafc;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
}

/* 1. TOP GOVT OF INDIA BAR */
.top-govt-bar { background: #0b2545; color: #cbd5e1; font-size: 11.5px; border-bottom: 1px solid #081a30; padding: 3px 0; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; }
.top-bar-left { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.top-bar-left .hindi-text { font-family: 'Noto Sans Devanagari', sans-serif; font-size: 12px; }
.top-bar-right { display: flex; align-items: center; gap: 10px; }
.top-link { color: #94a3b8; font-weight: 500; transition: color .2s; }
.top-link:hover { color: #fff; }
.bar-sep { color: #334155; }
.font-resizers { display: flex; align-items: center; gap: 4px; font-weight: 700; }
.font-resizers button { background: none; border: 0; color: #cbd5e1; font-size: 11px; cursor: pointer; padding: 0 3px; font-weight: 700; }
.font-resizers button:hover { color: #fff; }
.lang-toggle { display: inline-flex; align-items: center; gap: 5px; background: #133863; padding: 2px 8px; border-radius: 4px; color: #fff; font-size: 11px; }
.lang-toggle i { color: #38bdf8; font-size: 10px; }

/* 2. MAIN HEADER */
.site-header { background: #fff; border-bottom: 1px solid #cbd5e1; position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 4px rgba(0,0,0,.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-emblem { width: 50px; height: 50px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-hi { font-family: 'Noto Sans Devanagari', sans-serif; font-size: 15px; font-weight: 700; color: #0b2545; line-height: 1.1; }
.brand-en { font-size: 20px; font-weight: 800; color: #00488f; letter-spacing: -.02em; line-height: 1.15; }
.brand-dept { font-size: 11px; font-weight: 600; color: #64748b; letter-spacing: .03em; text-transform: uppercase; }

.railway-motto-seal { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-left: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; }
.rail-seal-img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.seal-motto { display: flex; flex-direction: column; }
.motto-top { font-size: 13px; font-weight: 700; color: #0b2545; white-space: nowrap; }
.motto-sub { font-size: 11.5px; font-weight: 600; color: #0066cc; font-style: italic; white-space: nowrap; }

.header-right-desk { display: flex; align-items: center; gap: 16px; }
.helpline-badge { display: flex; align-items: center; gap: 10px; }
.help-icon { width: 38px; height: 38px; border-radius: 50%; background: #eff6ff; border: 1px solid #bfdbfe; color: #00488f; display: grid; place-items: center; font-size: 15px; }
.help-info { display: flex; flex-direction: column; line-height: 1.2; }
.help-title { font-size: 10.5px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.help-num { font-size: 15px; font-weight: 700; color: #00488f; }

.btn-login-top { display: inline-flex; align-items: center; gap: 7px; background: #00488f; color: #fff; font-size: 13.5px; font-weight: 700; padding: 8px 16px; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,72,143,.25); transition: background .2s; }
.btn-login-top:hover { background: #003366; color: #fff; }

.main-nav-bar { background: #00488f; color: #fff; border-top: 1px solid #003b75; box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.nav-links { display: flex; align-items: center; height: 100%; gap: 2px; }
.nav-links a { color: #f1f5f9; padding: 0 16px; height: 42px; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.nav-links a:hover { background: #00386e; color: #fff; }
.nav-links a.active { background: #0b2545; color: #f59e0b; border-bottom: 3px solid #f59e0b; font-weight: 700; }
.nav-tag-btn { display: inline-flex; align-items: center; gap: 6px; background: #f59e0b; color: #0b2545; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: .02em; }
.nav-tag-btn:hover { background: #d97706; color: #fff; }

/* 3. HERO & QUICK CARDS */
.hero-railway { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid #cbd5e1; box-shadow: 0 4px 10px rgba(11,37,69,.08); }
.hero-railway img { display: block; width: 100%; height: auto; max-height: 380px; object-fit: cover; }
.hero-railway h1 { font-size: 1.5em; }
.quick-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0; }
.q-purple { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); }
.q-purple:hover { background: #5b21b6; }

/* 4. FOOTER */
.site-footer { background: #0b2545; color: #cbd5e1; margin-top: 36px; border-top: 4px solid #00488f; }
.footer-links-bar { padding: 36px 0 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fl-container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.fl-col h5 { font-size: 13.5px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; border-bottom: 2px solid #f59e0b; display: inline-block; padding-bottom: 4px; }
.fl-col p { font-size: 12.5px; line-height: 1.6; color: #94a3b8; }
.fl-list { list-style: none; padding: 0; margin: 0; }
.fl-list li { margin-bottom: 8px; }
.fl-list li a { color: #cbd5e1; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.fl-list li a:hover { color: #f59e0b; }
.fl-list li a i { font-size: 10px; color: #38bdf8; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 10px; font-size: 12.5px; }
.footer-contact-item i { color: #f59e0b; margin-top: 3px; font-size: 13px; }
.fc-label { display: block; font-size: 11px; color: #94a3b8; text-transform: uppercase; }
.footer-contact-item a { color: #fff; font-weight: 600; }

.footer-bottom-flex { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; font-size: 12px; color: #94a3b8; }
.fb-left { display: flex; align-items: center; gap: 12px; }
.fb-rail-logo { width: 36px; height: 36px; object-fit: contain; }
.fb-title { color: #fff; font-weight: 700; font-size: 13px; }
.fb-sub { font-size: 11px; color: #94a3b8; }
.fb-right { text-align: right; line-height: 1.5; font-size: 11.5px; }
.lp-rail-logo { width: 50px; height: 50px; object-fit: contain; margin-bottom: 8px; }

@media (max-width: 992px) {
  .fl-container { grid-template-columns: 1fr 1fr; }
  .quick-cards { grid-template-columns: repeat(2, 1fr); }
  .hide-tablet { display: none !important; }
}
@media (max-width: 768px) {
  .fl-container { grid-template-columns: 1fr; }
  .quick-cards { grid-template-columns: 1fr; }
  .hide-mobile { display: none !important; }
  .header-actions { display: flex; }
  .main-nav-bar { display: none; }
  .main-nav-bar.open, .main-nav-bar.mobile-open { display: block; height: auto; padding: 8px 0; }
  .nav-container { flex-direction: column; height: auto; gap: 8px; }
  .nav-links { flex-direction: column; width: 100%; height: auto; }
  .nav-links a { width: 100%; height: 36px; }
  .footer-bottom-flex { flex-direction: column; text-align: center; }
  .fb-right { text-align: center; }
}

/* ===== BASE (colors & fonts matched with the Vercel version) ===== */
:root {
  --navy: #0c2340;          /* header bars, footer, active nav */
  --navy-border: #081a30;
  --blue: #0066cc;          /* login button, links */
  --blue-hover: #0052a3;
  --blue-bright: #0070f3;   /* latest jobs card, job icon */
  --blue-bright-hover: #005edb;
  --green: #059669;         /* apply online */
  --green-hover: #047857;
  --amber: #f59e0b;         /* admit card */
  --amber-hover: #d97706;
  --red: #dc2626;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-50: #f8fafc;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--slate-800);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header { background: #fff; border-bottom: 1px solid var(--slate-200); position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 1px rgba(0,0,0,.03); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; padding-bottom: 12px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 66px; height: 66px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 22px; font-weight: 700; letter-spacing: -.025em; color: var(--navy); line-height: 1.25; transition: color .2s; }
.brand:hover .brand-name { color: var(--blue); }
.brand-sub { font-size: 13px; font-weight: 600; color: var(--slate-700); letter-spacing: .025em; text-transform: uppercase; }
.brand-tag { font-size: 11px; font-weight: 500; color: var(--slate-500); letter-spacing: .025em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 6px 14px; border-radius: 4px; font-size: 16px; font-weight: 600; color: var(--slate-700); transition: background-color .2s, color .2s; }
.main-nav a:hover { background: #f1f5f9; color: var(--navy); }
.main-nav a.active { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.main-nav .btn-login { display: flex; align-items: center; gap: 6px; background: var(--blue); color: #fff; margin-left: 12px; font-size: 15px; padding: 6px 16px; }
.main-nav .btn-login:hover { background: var(--blue-hover); color: #fff; }
.main-nav .btn-login .lbl-menu { display: none; }
.menu-toggle { display: none; background: none; border: 0; font-size: 22px; color: var(--navy); cursor: pointer; }
.header-actions { display: none; align-items: center; gap: 12px; }
.btn-login-mobile { display: flex; align-items: center; gap: 6px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 4px; white-space: nowrap; }
.btn-login-mobile:hover { background: var(--blue-hover); color: #fff; }

/* ===== TICKER ===== */
.ticker { background: var(--navy); border-top: 1px solid var(--navy-border); border-bottom: 1px solid var(--navy-border); color: #fff; }
.ticker-inner { display: flex; align-items: center; height: 44px; overflow: hidden; }
.ticker-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding-right: 16px;
  border-right: 1px solid rgba(71, 85, 105, .6); background: var(--navy); z-index: 2;
}
.tk-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 11px; box-shadow: var(--shadow-sm); }
.tk-text { font-size: 15px; font-weight: 700; }
.ticker-track { flex: 1; overflow: hidden; }
.ticker-move { display: inline-flex; white-space: nowrap; animation: scroll 45s linear infinite; padding-left: 16px; }
.ticker-move:hover, .ticker-move.paused { animation-play-state: paused; }
.ticker-move a { display: inline-flex; align-items: center; gap: 10px; padding-right: 32px; font-size: 16px; font-weight: 600; color: #f1f5f9; }
.ticker-move a:hover { color: #fbbf24; }
.badge-new { background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 9999px; text-transform: uppercase; }
.dot { color: var(--slate-400); }
.ticker-arrow { flex-shrink: 0; background: none; border: 0; color: #fff; padding-left: 14px; cursor: pointer; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== HERO ===== */
main.container { padding-top: 16px; padding-bottom: 16px; }
.hero { border-radius: 8px; overflow: hidden; border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); background: var(--slate-50); }
.hero img { display: block; width: 100%; height: auto; }

/* ===== QUICK CARDS ===== */
.quick-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.q-card {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 8px;
  color: #fff; box-shadow: var(--shadow-sm); transition: background-color .2s, transform .1s;
}
.q-card:active { transform: scale(.98); }
.q-card strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
.q-card small { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.85); }
.q-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.q-blue { background: var(--blue-bright); }
.q-blue:hover { background: var(--blue-bright-hover); }
.q-green { background: var(--green); }
.q-green:hover { background: var(--green-hover); }
.q-orange { background: var(--amber); }
.q-orange:hover { background: var(--amber-hover); }

/* ===== LAYOUT ===== */
.content-grid { display: flex; gap: 24px; margin-top: 16px; align-items: flex-start; }
#jobs { flex: 1; min-width: 0; }
.sidebar { width: 360px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }

/* ===== PANELS ===== */
.panel-head { background: var(--navy); color: #fff; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; border-radius: 8px 8px 0 0; }
.panel-head h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.hd-icon { color: #38bdf8; }
.panel-link { font-size: 12.5px; font-weight: 600; color: var(--slate-200); display: flex; align-items: center; gap: 4px; }
.panel-link:hover { color: #fff; }

/* ===== JOB CARDS ===== */
.job-list {
  border: 1px solid var(--slate-200); border-top: 0; border-radius: 0 0 8px 8px;
  background: rgba(248, 250, 252, .5); padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.job-card {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--slate-200);
  border-radius: 8px; padding: 16px; transition: border-color .2s, box-shadow .2s;
}
.job-card:hover { border-color: var(--slate-300); box-shadow: 0 4px 6px -1px rgba(0,0,0,.06); }
.job-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--blue-bright); color: #fff;
  display: grid; place-items: center; font-size: 22px; flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.job-main { flex: 1 1 0; min-width: 0; }
.job-title { display: block; font-size: 15.5px; font-weight: 700; color: var(--navy); line-height: 1.375; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.job-title:hover { color: var(--blue); }
.job-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 13px; color: var(--slate-700); }
.meta { display: flex; align-items: center; gap: 6px; color: var(--slate-600); min-width: 0; }
.meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta i { width: 16px; text-align: center; flex-shrink: 0; }
.meta .fa-indian-rupee-sign { color: var(--green); }
.meta .fa-location-dot { color: #e11d48; }
.meta .qual-ic { color: var(--blue); }
.meta .fa-calendar { color: #d97706; }
.meta.salary { font-weight: 600; color: var(--slate-900); }
.meta.salary span { white-space: normal; }
.meta.date { font-weight: 500; color: #b45309; }
.job-actions { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.view-link { font-size: 12px; font-weight: 500; color: var(--blue); display: flex; align-items: center; gap: 2px; padding: 4px 0; }
.view-link:hover { text-decoration: underline; }
.btn-apply {
  background: var(--green); color: #fff; padding: 8px 20px; border-radius: 9999px; font-weight: 600; font-size: 13.5px;
  display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; transition: background-color .2s; box-shadow: var(--shadow-sm);
}
.btn-apply:hover { background: var(--green-hover); }

/* ===== LOGIN ===== */
#login { background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
#login .panel-head { border-radius: 0; justify-content: flex-start; }
#login .panel-head h3, .panel-vac .panel-head h3 { font-size: 14.5px; }
.login-form { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--slate-400); font-size: 14px; }
.login-form input, .login-form select {
  width: 100%; padding: 8px; border: 1px solid var(--slate-300); border-radius: 4px; font: inherit;
  font-size: 12.5px; background: #fff; color: var(--slate-900);
}
.login-form .input-icon input { padding: 8px 12px 8px 36px; font-size: 13.5px; }
.login-form input:focus, .login-form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.dob-label { font-size: 11px; font-weight: 600; color: var(--slate-700); display: flex; gap: 4px; align-items: center; margin-bottom: -8px; }
.dob-label i { color: var(--blue); }
.req { color: var(--red); }
.dob-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.btn-primary {
  width: 100%; background: var(--blue); color: #fff; border: 0; border-radius: 4px; padding: 10px 0; font: inherit;
  font-size: 14px; font-weight: 700; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; transition: background-color .2s;
}
a.btn-primary { text-decoration: none; }
.btn-primary:hover { background: var(--blue-hover); }
.forgot { text-align: center; font-size: 12px; color: var(--blue); font-weight: 500; padding-top: 4px; }
.forgot:hover { text-decoration: underline; }
.form-msg { font-size: 12px; }
.form-msg:empty { display: none; }
.form-msg.error { color: var(--red); }
.form-msg.success { color: var(--green); }

/* ===== SIDE LINKS ===== */
.side-links { display: flex; flex-direction: column; gap: 12px; }
.side-link {
  display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--slate-200);
  border-radius: 8px; box-shadow: var(--shadow-sm); transition: border-color .2s;
}
.side-link:hover { border-color: var(--slate-300); }
.s-text { flex: 1; min-width: 0; }
.side-link strong { display: block; font-size: 14px; font-weight: 700; color: var(--slate-800); }
.side-link small { display: block; font-size: 12px; color: var(--slate-500); }
.side-link .arrow { color: var(--slate-400); }
.s-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: #fff; font-size: 16px; }
.s-red { background: #ef4444; }
.s-blue { background: var(--blue-bright); }
.s-green { background: var(--green); }
.s-purple { background: #7c3aed; }

/* ===== NOTICE ===== */
.notice { background: #fffbeb; border: 1px solid #fef3c7; border-radius: 8px; padding: 14px; color: #78350f; box-shadow: var(--shadow-sm); }
#portalNotice { scroll-margin-top: 110px; }
.notice-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.notice-head i { color: #d97706; font-size: 14px; }
.notice h4 { font-size: 13.5px; font-weight: 700; color: #78350f; }
.notice p { font-size: 12px; color: #92400e; line-height: 1.625; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); border-top: 1px solid var(--navy-border); color: #fff; margin-top: 16px; }
.footer-wrap { padding-top: 24px; padding-bottom: 24px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(51, 65, 85, .6); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #fff; padding: 2px; border: 1px solid var(--slate-400); flex-shrink: 0; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand h4 { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -.025em; }
.footer-brand p { font-size: 12px; font-weight: 500; color: var(--slate-300); }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 13.5px; font-weight: 500; color: var(--slate-200); }
.footer-nav a { padding: 4px 0; transition: color .2s; }
.footer-nav a:hover { color: #fbbf24; }
.footer-nav span { color: var(--slate-600); }
.footer-mid { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 12.5px; color: var(--slate-300); border-bottom: 1px solid rgba(51, 65, 85, .4); }
.footer-info { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-info span { display: flex; align-items: center; gap: 6px; }
.footer-info .fa-envelope { color: #38bdf8; }
.footer-info .ft-globe { color: #fbbf24; }
.footer-social { display: flex; align-items: center; gap: 8px; }
.follow { font-size: 12px; color: var(--slate-400); margin-right: 4px; }
.footer-social a, .footer-social > span:not(.follow) { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; line-height: 1; transition: opacity .2s; }
.footer-social a:hover { opacity: .9; }
.so-fb { background: #1877f2; font-size: 11px !important; }
.so-x { background: #000; }
.so-yt { background: #ff0000; }
.so-in { background: #0a66c2; }
.footer-bottom { text-align: center; padding-top: 12px; font-size: 12px; color: var(--slate-400); }

/* ===== JOBS PAGE ===== */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--slate-500); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .current { color: var(--slate-800); font-weight: 600; }

.drive-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px;
  background: linear-gradient(to right, #1e3a8a, var(--navy)); color: #fff; border-radius: 8px; padding: 16px; box-shadow: var(--shadow-sm);
}
.drive-tag { display: inline-block; background: #fbbf24; color: var(--slate-900); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; }
.drive-banner h1 { font-size: 20px; font-weight: 700; margin-top: 4px; letter-spacing: -.025em; }
.drive-banner p { font-size: 13px; color: var(--slate-200); margin-top: 2px; }
.drive-deadline {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; padding: 8px 16px; border-radius: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(4px);
}
.dl-label { font-size: 12px; color: var(--slate-300); display: flex; align-items: center; gap: 4px; }
.dl-date { font-size: 18px; font-weight: 700; color: #fcd34d; }

.search-bar { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 8px; padding: 12px; margin-bottom: 20px; }
.search-box { position: relative; width: 256px; }
.search-box i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--slate-400); font-size: 12px; }
.search-box input {
  width: 100%; padding: 6px 12px 6px 36px; font: inherit; font-size: 12px; background: #fff;
  border: 1px solid var(--slate-300); border-radius: 6px; color: var(--slate-900);
}
.search-box input:focus { outline: none; box-shadow: 0 0 0 1px var(--blue); border-color: var(--blue); }

.content-grid--flush { margin-top: 0; }
.panel-note { font-size: 12px; color: var(--slate-300); }
.no-jobs { background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; padding: 32px 16px; text-align: center; color: var(--slate-500); font-size: 13px; }
.no-jobs i { display: block; font-size: 28px; color: var(--slate-300); margin-bottom: 8px; }

/* ===== ADMIT CARD PAGE ===== */
main.admit-page { padding-top: 24px; padding-bottom: 24px; }
.admit-page .breadcrumb { margin-bottom: 16px; }
.admit-wrap { max-width: 896px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.admit-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--navy); color: #fff; padding: 24px; border-radius: 12px; box-shadow: var(--shadow-sm);
}
.admit-banner h1 { font-size: 22px; font-weight: 700; margin-top: 4px; letter-spacing: -.025em; }
.admit-banner p { font-size: 12px; color: var(--slate-200); margin-top: 2px; }
.admit-badge { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fcd34d; display: grid; place-items: center; font-size: 24px; flex-shrink: 0; }
.admit-card-box { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 24px; box-shadow: var(--shadow-sm); }
.admit-card-box h2 {
  font-size: 15px; font-weight: 700; color: var(--slate-900); display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #f1f5f9;
}
.admit-card-box h2 i { color: var(--blue); font-size: 14px; }
#admitForm { display: flex; flex-direction: column; gap: 16px; }
.admit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admit-grid label { display: block; font-size: 12px; font-weight: 600; color: var(--slate-800); margin-bottom: 4px; }
.admit-grid .req { color: #ef4444; }
.admit-grid input {
  width: 100%; padding: 8px 12px; font: inherit; font-size: 12px; color: var(--slate-900);
  border: 1px solid var(--slate-300); border-radius: 4px; background: #fff;
}
.admit-grid input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.btn-admit {
  align-self: flex-start; min-height: 44px; padding: 10px 32px; margin-top: 8px; background: var(--blue); color: #fff; border: 0; border-radius: 4px;
  font: inherit; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: background-color .2s;
}
.btn-admit:hover { background: var(--blue-hover); }
.guidelines { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 12px; padding: 20px; font-size: 12px; color: var(--slate-700); }
.guidelines h4 { font-size: 13px; font-weight: 700; color: var(--slate-900); display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.guidelines h4 i { color: var(--blue); }
.guidelines ul { list-style: disc inside; padding-left: 4px; color: var(--slate-600); display: flex; flex-direction: column; gap: 4px; }

/* ===== CONTACT PAGE ===== */
.contact-banner { margin-bottom: 24px; }
.tag-sky { background: #0ea5e9; color: #fff; }
.badge-sky { color: #7dd3fc; }
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.admit-grid.one-col { grid-template-columns: 1fr; }
.admit-grid select, .admit-grid textarea {
  width: 100%; padding: 8px 12px; font: inherit; font-size: 12px; color: var(--slate-900);
  border: 1px solid var(--slate-300); border-radius: 4px; background: #fff;
}
.admit-grid textarea { resize: vertical; }
.admit-grid select:focus, .admit-grid textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.contact-form .btn-admit { margin-top: 0; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.office-box { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-sm); }
.office-box h3 { font-size: 14.5px; font-weight: 700; color: var(--navy); padding-bottom: 8px; border-bottom: 1px solid #f1f5f9; margin-bottom: 16px; }
.office-item { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; color: var(--slate-700); }
.office-item + .office-item { margin-top: 12px; }
.office-item strong { display: block; color: var(--slate-900); font-weight: 600; }
.office-item p { color: var(--slate-600); margin-top: 2px; line-height: 1.625; }
.o-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 13px; }
.o-blue { background: #eff6ff; color: var(--blue); }
.o-sky { background: #f0f9ff; color: #0284c7; }
.o-amber { background: #fffbeb; color: #d97706; }
.faq-box { padding: 16px; }
.faq-box p { color: var(--slate-600); line-height: 1.625; }
.faq-box p + p { margin-top: 6px; }
.faq-box strong { color: var(--slate-600); }

/* ===== LOGIN PAGE ===== */
.login-page-grid { max-width: 896px; margin: 0 auto; display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; }
.login-card { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.login-card-head { background: var(--navy); color: #fff; padding: 14px 20px; display: flex; align-items: center; gap: 10px; }
.login-card-head > i { font-size: 18px; }
.login-card-head h1 { font-size: 16px; font-weight: 700; letter-spacing: .025em; }
.login-card-head p { font-size: 12px; color: var(--slate-300); }
.login-page-form { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.lp-label { display: block; font-size: 12px; font-weight: 600; color: var(--slate-800); margin-bottom: 4px; }
.lp-label-icon { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.lp-label-icon i { color: var(--blue); font-size: 14px; }
.lp-input-icon { position: relative; }
.lp-input-icon i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--slate-400); font-size: 15px; pointer-events: none; }
.login-page-form input, .login-page-form select {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 14px; font-weight: 500; color: var(--slate-900);
  border: 1px solid var(--slate-300); border-radius: 8px; background: #fff;
}
.login-page-form .lp-input-icon input { padding-left: 36px; }
.login-page-form input::placeholder { color: var(--slate-400); }
.login-page-form select { cursor: pointer; }
.login-page-form input:focus, .login-page-form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.lp-dob-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lp-btn {
  width: 100%; padding: 12px 0; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font: inherit;
  font-size: 14.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); transition: background-color .2s, transform .1s;
}
.lp-btn:hover { background: var(--blue-hover); }
.lp-btn:active { transform: scale(.99); }
.lp-btn:disabled { opacity: .75; cursor: default; }
.lp-links { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid #f1f5f9; font-size: 12px; font-weight: 600; }
.lp-link-blue { color: var(--blue); }
.lp-link-green { color: #047857; }
.lp-links a:hover { text-decoration: underline; }

.login-side { display: flex; flex-direction: column; gap: 16px; }
.lp-instructions { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 12px; padding: 20px; font-size: 12px; box-shadow: var(--shadow-sm); }
.lp-instructions h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--navy); }
.lp-instructions h3 i { color: var(--blue); font-size: 17px; }
.lp-instructions ul { list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--slate-700); line-height: 1.625; }
.lp-register { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 20px; text-align: center; box-shadow: var(--shadow-sm); }
.lp-register img { width: 64px; height: 64px; object-fit: contain; display: block; margin: 0 auto 8px; }
.lp-register h3 { font-size: 14px; font-weight: 700; color: var(--slate-800); }
.lp-register p { font-size: 12px; color: var(--slate-500); margin: 4px 0 12px; }
.lp-btn-green {
  width: 100%; padding: 8px 0; border-radius: 8px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 6px; transition: background-color .2s;
}
.lp-btn-green:hover { background: var(--green-hover); }

/* ===== JOB DETAIL ===== */
main.jd-page { padding-top: 16px; padding-bottom: 24px; }
.jd-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.jd-card { background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; box-shadow: var(--shadow-sm); }
.jd-head { padding: 18px 20px; }
.jd-tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.jd-code { background: #e0f2fe; color: var(--blue); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.jd-last { background: #fef3c7; color: #78350f; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; display: flex; align-items: center; gap: 6px; }
.jd-last i { color: #b45309; }
.jd-head h1 { font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.jd-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f1f5f9; font-size: 13px; color: var(--slate-700); }
.jd-meta span { display: flex; align-items: center; gap: 6px; }
.jd-meta strong { color: inherit; }
.jd-fee strong { color: var(--slate-800); font-weight: 900; }
.jd-fee b { color: var(--green-hover); }
.c-blue { color: var(--blue); } .c-green { color: var(--green); } .c-rose { color: #e11d48; } .c-sky { color: #0284c7; }
.jd-body { padding: 20px; display: flex; flex-direction: column; gap: 20px; font-size: 15px; color: var(--slate-800); line-height: 1.65; }
.jd-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; padding-bottom: 6px; margin-bottom: 8px; border-bottom: 1px solid var(--slate-200); }
.jd-body h3 i { font-size: 15px; color: var(--blue); }
.jd-body h3 i.c-green { color: var(--green); }
.jd-body p { font-weight: 500; }
.jd-body .jd-sub { margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--slate-700); }
.jd-quals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 8px; padding: 14px; font-size: 14px; }
.jd-quals span { display: block; font-size: 12px; font-weight: 600; color: var(--slate-600); }
.jd-quals strong { color: var(--slate-900); }
.jd-steps { list-style: decimal inside; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--slate-700); padding-left: 4px; }
.jd-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--slate-200); flex-wrap: wrap; }
.jd-back { font-size: 12px; font-weight: 600; color: var(--slate-600); display: flex; align-items: center; gap: 6px; }
.jd-back:hover { color: var(--blue); }
.jd-proceed { min-height: 44px; padding: 10px 24px; border-radius: 9999px; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm); transition: background-color .2s, transform .1s; }
.jd-proceed:hover { background: var(--green-hover); }
.jd-proceed:active { transform: scale(.97); }
.jd-closed { font-size: 13px; font-weight: 600; color: var(--red); display: flex; align-items: center; gap: 6px; }
@media (max-width: 639px) {
  .jd-head h1 { font-size: 20px; }
  .jd-head, .jd-body { padding: 16px; }
  .jd-quals { grid-template-columns: 1fr; }
  .jd-foot { flex-direction: column-reverse; align-items: stretch; }
  .jd-proceed { justify-content: center; }
  .jd-back { justify-content: center; }
}
.jd-missing { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 24px; }
.jd-missing > i { font-size: 40px; color: var(--slate-400); }
.jd-missing h2 { border: 0; margin: 0; padding: 0; justify-content: center; }
.jd-missing p { font-size: 13px; color: var(--slate-500); }
.jd-missing .btn-admit { align-self: center; }
.btn-apply.is-closed { background: var(--slate-400); cursor: default; }

/* ===== APPLY FORM ===== */
.apply-form { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
main.apply-page { padding-top: 16px; padding-bottom: 24px; }
.apply-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding: 20px 32px; color: #fff;
  border-radius: 8px; box-shadow: var(--shadow-sm); background: linear-gradient(90deg, var(--navy), var(--blue), #0284c7);
}
.apply-hero h1 { font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.apply-hero p { font-size: 13px; color: #e0f2fe; max-width: 576px; margin-top: 4px; line-height: 1.4; }
.apply-hero-tag { text-align: right; font-family: Georgia, serif; font-style: italic; flex-shrink: 0; }
.apply-hero-tag span { display: block; font-size: 15px; color: rgba(255,255,255,.9); }
.apply-hero-tag span:first-child { font-size: 18px; font-weight: 600; color: #fcd34d; }
.apply-notes { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; font-size: 13px; }
.apply-note { display: flex; align-items: flex-start; gap: 10px; border: 1px solid; border-radius: 8px; padding: 10px 14px; line-height: 1.5; }
.apply-note > i { margin-top: 3px; flex-shrink: 0; }
.note-info { background: #f0f9ff; border-color: #bae6fd; color: #0c4a6e; }
.note-info > i { color: var(--blue); }
.note-info strong { color: var(--navy); }
.note-amber { background: #fffbeb; border-color: #fde68a; color: #78350f; font-size: 12px; font-weight: 500; }
.note-amber > i { color: #d97706; }
.note-amber strong { color: #451a03; }
.note-red { background: #fef2f2; border-color: #fecaca; color: #b91c1c; font-weight: 500; }
.apply-sec { background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.apply-sec-head { display: flex; align-items: center; gap: 8px; padding: 10px 16px; color: #fff; }
.apply-sec-head h2 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .025em; }
.sec-navy { background: var(--navy); }
.sec-green { background: var(--green); }
.sec-blue { background: var(--blue); }
.sec-purple { background: #6d28d9; }
.sec-chip { margin-left: auto; font-size: 11px; font-weight: 500; background: #6b21a8; border: 1px solid rgba(196, 181, 253, .4); padding: 2px 8px; border-radius: 4px; }
.apply-sec-body { padding: 16px; }
.apply-sec-body.admit-grid label { font-size: 13px; }
.apply-sec-body.admit-grid input, .apply-sec-body.admit-grid select, .apply-sec-body.admit-grid textarea { font-size: 13px; }
.apply-sec-body .span-2 { grid-column: 1 / -1; }
.post-select { border: 2px solid var(--blue) !important; background: #eff6ff !important; font-weight: 700 !important; color: var(--navy) !important; font-size: 13px !important; }
.post-strip { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 4px; padding: 6px 12px; font-size: 12px; color: #0c4a6e; }
.post-strip b { font-weight: 500; }
.post-strip b.fee-pill { font-weight: 700; }
.fee-pill { color: #047857; background: #fff; border: 1px solid #6ee7b7; padding: 1px 8px; border-radius: 4px; }
.dob-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.edu-row { display: grid; grid-template-columns: 3fr 4fr 2fr 3fr; gap: 12px; align-items: center; padding-bottom: 14px; }
.edu-row[hidden] { display: none; }
.edu-label { font-size: 13px; font-weight: 600; color: var(--slate-800); }
.edu-label .req { color: #ef4444; }
.edu-row select, .edu-row input { width: 100%; padding: 7px 10px; font: inherit; font-size: 12px; color: var(--slate-900); border: 1px solid var(--slate-300); border-radius: 4px; background: #fff; }
.edu-row select:focus, .edu-row input:focus { outline: none; border-color: #7c3aed; box-shadow: 0 0 0 1px #7c3aed; }
.edu-row .invalid { border-color: var(--red); }
.edu-row .field-error { grid-column: 2 / -1; margin-top: -8px; }
.edu-about { margin-top: 2px; }
.edu-about label { font-size: 13px; }
.apply-submit {
  align-self: center; min-height: 48px; padding: 12px 40px; background: var(--blue); color: #fff; border: 0; border-radius: 8px;
  font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .025em; display: flex; align-items: center; gap: 8px;
  cursor: pointer; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); transition: background-color .2s, transform .1s;
}
.apply-submit:hover { background: var(--blue-hover); }
.apply-submit:active { transform: scale(.98); }
.apply-submit:disabled { opacity: .75; cursor: not-allowed; }
.apply-brand { background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; padding: 20px; text-align: center; box-shadow: var(--shadow-sm); }
.apply-brand img { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 8px; display: block; }
.apply-brand h3 { font-size: 18px; font-weight: 700; color: var(--navy); }
.apply-brand p { font-size: 14px; font-weight: 600; color: var(--slate-700); }
.apply-brand small { display: block; font-size: 12px; color: var(--slate-500); letter-spacing: .05em; margin-top: 4px; }
.apply-openings { background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.apply-openings .panel-head { background: var(--blue); border-radius: 0; }
.apply-openings .panel-head h3 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .025em; }
.apply-openings ul { list-style: none; padding: 12px; font-size: 12px; }
.apply-openings li { padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.apply-openings li:first-child { padding-top: 0; }
.apply-openings li:last-child { border-bottom: 0; padding-bottom: 0; }
.op-title { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; min-width: 0; }
.op-title strong { color: var(--slate-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-new { background: var(--green); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; text-transform: uppercase; flex-shrink: 0; }
.apply-openings p { color: var(--slate-600); }
.apply-openings p strong { color: var(--slate-800); }
.apply-openings li a { display: inline-block; margin-top: 4px; color: var(--blue); font-weight: 600; }
.apply-openings li a:hover { text-decoration: underline; }
.op-foot { padding: 12px; background: var(--slate-50); border-top: 1px solid #f1f5f9; }
.op-foot a { display: block; text-align: center; padding: 8px 16px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }
.op-foot a:hover { background: var(--blue-hover); }
@media (max-width: 767px) {
  .edu-row { grid-template-columns: 1fr 1fr; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 8px; padding: 12px; margin-bottom: 12px; gap: 8px; }
  .edu-label { grid-column: 1 / -1; font-size: 12px; text-transform: uppercase; letter-spacing: .025em; }
  .edu-row > :nth-child(2) { grid-column: 1 / -1; }
  .edu-row .field-error { grid-column: 1 / -1; margin-top: 0; }
}
@media (max-width: 639px) {
  .apply-hero { padding: 16px; }
  .apply-hero h1 { font-size: 20px; }
  .apply-hero-tag { display: none; }
  .apply-sec-head { flex-wrap: wrap; }
  .sec-chip { margin-left: 0; }
  .dob-3 { gap: 8px; }
  .apply-submit { align-self: stretch; justify-content: center; }
}
.admit-grid input.invalid, .admit-grid select.invalid, .admit-grid textarea.invalid { border-color: var(--red); }
.admit-grid input[type="file"] { padding: 6px; }
.field-error { display: block; font-size: 11px; color: var(--red); margin-top: 4px; }
.field-hint { display: block; font-size: 11px; color: var(--slate-500); margin-top: 4px; }
.upload-preview { display: block; margin-top: 8px; width: 90px; height: 110px; object-fit: cover; border: 1px solid var(--slate-200); border-radius: 4px; }
.upload-preview.sign { width: 180px; height: 60px; object-fit: contain; }
.upload-preview[hidden] { display: none; }
.declaration { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--slate-700); background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 8px; padding: 12px; cursor: pointer; }
.declaration.invalid { border-color: var(--red); }
.declaration input { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--blue); }

/* ===== CANDIDATE: alerts & status tags ===== */
.dash-alert { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 600; padding: 12px 16px; border-radius: 8px; border: 1px solid; }
.dash-alert.success { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.dash-alert.error { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.st { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; border: 1px solid; margin-right: 8px; }
.st-green { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.st-amber { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.st-red { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.st-blue { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.pay-qr { width: 150px; height: 150px; object-fit: contain; border: 1px solid var(--slate-200); border-radius: 6px; align-self: center; }
.utr-row { display: flex; gap: 8px; }
.utr-row input { flex: 1; min-width: 0; padding: 8px 12px; font: inherit; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; border: 1px solid var(--slate-300); border-radius: 4px; }
.utr-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.utr-row .btn-admit { margin: 0; padding: 10px 20px; }
.pay-done { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #1d4ed8; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 10px 14px; }
.pay-done.ok { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.pay-done.bad { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }
.pay-receipt { margin-left: auto; flex-shrink: 0; font-weight: 700; color: var(--blue); text-decoration: underline; }
.dp-link-off { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; color: var(--slate-400); font-weight: 500; border-top: 1px solid #f1f5f9; }

/* ===== APPLICATION RECEIPT ===== */
main.rc-page { padding-top: 16px; padding-bottom: 24px; }
.rc-wrap { max-width: 896px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.rc-hero { text-align: center; border: 1px solid; border-radius: 12px; padding: 24px; box-shadow: var(--shadow-sm); }
.rc-hero-ic { width: 64px; height: 64px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 32px; margin: 0 auto 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.rc-hero h1 { font-size: 24px; font-weight: 700; color: var(--navy); margin-top: 12px; }
.rc-hero p { font-size: 14px; color: var(--slate-600); max-width: 576px; margin: 4px auto 0; }
.rc-hero.amber { background: #fffbeb; border-color: #fde68a; } .rc-hero.amber .rc-hero-ic { background: #d97706; }
.rc-hero.green { background: #ecfdf5; border-color: #a7f3d0; } .rc-hero.green .rc-hero-ic { background: var(--green); }
.rc-hero.red { background: #fef2f2; border-color: #fecaca; } .rc-hero.red .rc-hero-ic { background: var(--red); }
.rc-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 9999px; text-transform: uppercase; letter-spacing: .05em; border: 1px solid; }
.rc-hero.amber .rc-pill, .rc-pill.amber { background: #fef3c7; color: #78350f; border-color: #fcd34d; }
.rc-hero.green .rc-pill, .rc-pill.green { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.rc-hero.red .rc-pill { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.rc-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: #fff; border: 2px solid var(--slate-200); border-radius: 12px; padding: 16px; box-shadow: var(--shadow-sm); }
.rc-step { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--slate-200); border-radius: 8px; background: var(--slate-50); color: var(--slate-400); }
.rc-step strong { display: block; font-size: 13.5px; }
.rc-step small { font-size: 11.5px; font-weight: 500; color: var(--slate-500); }
.rc-step-no { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex-shrink: 0; background: var(--slate-300); color: var(--slate-500); }
.rc-step.now { background: #fffbeb; border-color: #fcd34d; color: var(--slate-900); }
.rc-step.now .rc-step-no { background: #d97706; color: #fff; }
.rc-step.now small { color: var(--slate-600); }
.rc-step.done { background: #ecfdf5; border-color: #6ee7b7; color: var(--slate-900); }
.rc-step.done .rc-step-no { background: var(--green); color: #fff; }
.rc-step.bad { background: #fef2f2; border-color: #fca5a5; color: var(--slate-900); }
.rc-step.bad .rc-step-no { background: var(--red); color: #fff; }
.rc-slip { background: #fff; border: 2px solid var(--slate-300); border-radius: 12px; padding: 24px; box-shadow: var(--shadow-sm); }
.rc-slip-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--slate-200); }
.rc-slip-head h2 { font-size: 17px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .025em; }
.rc-slip-head p { font-size: 12px; color: var(--slate-500); }
.rc-print { font: inherit; font-size: 12px; font-weight: 600; padding: 6px 12px; border: 1px solid var(--slate-300); border-radius: 6px; background: #fff; color: var(--slate-700); cursor: pointer; display: flex; align-items: center; gap: 6px; }
.rc-print:hover { background: var(--slate-50); }
.rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 13.5px; }
.rc-grid > div { padding: 12px; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 4px; min-width: 0; }
.rc-grid span { display: block; font-size: 12px; color: var(--slate-500); text-transform: uppercase; font-weight: 500; }
.rc-grid strong { color: var(--slate-900); font-weight: 600; word-break: break-word; }
.rc-grid strong i { color: var(--slate-500); }
.rc-grid .rc-big { font-size: 16px; font-weight: 700; }
.rc-grid .mono.rc-big { font-size: 18px; }
.rc-grid .blue { color: var(--blue); }
.rc-grid .green { color: #047857; font-size: 16px; font-weight: 700; }
.rc-status.amber { color: #b45309; } .rc-status.green { color: #047857; } .rc-status.red { color: #b91c1c; }
.rc-status i { color: inherit !important; }
.rc-next { margin-top: 20px; display: flex; align-items: flex-start; gap: 10px; padding: 14px; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px; font-size: 12px; color: #0c4a6e; }
.rc-next > i { color: var(--blue); font-size: 16px; margin-top: 2px; }
.rc-next > div > strong { display: block; font-size: 13px; color: var(--navy); margin-bottom: 2px; }
.rc-next ul { list-style: disc inside; color: var(--slate-700); display: flex; flex-direction: column; gap: 4px; }
.rc-actions { max-width: 448px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rc-btn { width: 100%; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font: inherit; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.rc-btn:hover { background: var(--blue-hover); }
.rc-btn:disabled { background: var(--slate-200); color: var(--slate-400); border: 1px solid var(--slate-300); cursor: not-allowed; }
.rc-wait { width: 100%; text-align: center; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 12px; }
.rc-wait p { font-size: 12px; font-weight: 600; color: #78350f; }
.rc-wait small { font-size: 11px; color: #b45309; }
.rc-wait.rc-ok { background: #ecfdf5; border-color: #a7f3d0; }
.rc-wait.rc-ok p { color: #065f46; } .rc-wait.rc-ok small { color: #047857; }
.rc-wait.rc-bad { background: #fef2f2; border-color: #fecaca; }
.rc-wait.rc-bad p { color: #991b1b; } .rc-wait.rc-bad small { color: #b91c1c; }
.rc-admit-note { width: 100%; text-align: center; font-size: 14px; font-weight: 700; color: #78350f; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 12px 16px; }
.rc-others { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.rc-others h3 { font-size: 13.5px; font-weight: 700; color: #fff; background: var(--navy); padding: 10px 16px; text-transform: uppercase; letter-spacing: .025em; }
.rc-others a { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 12px 16px; font-size: 13px; border-top: 1px solid #f1f5f9; color: var(--slate-600); }
.rc-others a:hover { background: var(--slate-50); }
.rc-others a strong { flex: 1; min-width: 160px; color: var(--slate-900); }
.rc-others .mono { color: var(--blue); font-weight: 600; }
.rc-link { font-size: 12px; font-weight: 600; color: var(--blue); }
.rc-link:hover { text-decoration: underline; }
.rc-help { font-size: 12px; color: var(--slate-500); text-decoration: underline; }
@media (max-width: 639px) {
  .rc-steps, .rc-grid { grid-template-columns: 1fr; }
  .rc-slip { padding: 16px; }
  .rc-hero h1 { font-size: 20px; }
}
@media print {
  .site-header, .ticker, .site-footer, .breadcrumb, .rc-actions, .rc-print, .rc-others { display: none !important; }
  .rc-slip { border: 0; box-shadow: none; padding: 0; }
}
@media (max-width: 639px) {
  .utr-row { flex-direction: column; }
}

/* ===== LINKS ===== */
.footer-info a:hover, .office-item a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  .contact-grid { grid-template-columns: 1fr; }
  .login-page-grid { grid-template-columns: 1fr; gap: 24px; }
  .content-grid { flex-direction: column; }
  .sidebar { width: 100%; }
}
@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .panel-note { display: none; }   /* "Recruitment Session â€¦" shows from tablet width up */
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 10px 16px; border-bottom: 1px solid var(--slate-200); box-shadow: 0 4px 6px rgba(0,0,0,.05);
  }
  .main-nav.open { display: flex; }
  .header-actions { display: flex; }
  .main-nav a { border-radius: 8px; font-size: 15px; padding: 10px 12px; line-height: 1.5; }
  /* inside the dropdown: full-width "Candidate Login Portal" button (Login also sits next to the menu button) */
  .main-nav .btn-login { margin: 4px 0 0; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 8px; font-size: 15px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
  .main-nav .btn-login i { font-size: 14px; width: 16px; text-align: center; }
  .main-nav .btn-login .lbl-wide { display: none; }
  .main-nav .btn-login .lbl-menu { display: inline; }
  .brand-logo { width: 52px; height: 52px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 11px; }
  .brand-tag { display: none; }
  .ticker-inner { height: 40px; }
  .quick-cards { grid-template-columns: 1fr; gap: 12px; margin: 12px 0; }
  .job-card { flex-wrap: wrap; align-items: flex-start; padding: 14px; gap: 12px; }
  .job-icon { width: 44px; height: 44px; font-size: 18px; }
  .job-title { white-space: normal; font-size: 15px; }
  .view-link { font-size: 12.5px; }
  .btn-login-mobile { font-size: 12px; }
  .job-meta { grid-template-columns: 1fr; font-size: 12.5px; }
  .job-actions { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid #f1f5f9; }
  .btn-apply { min-height: 40px; }
  .footer-top, .footer-mid { flex-direction: column; text-align: center; }
  .footer-nav, .footer-info { justify-content: center; gap: 8px 12px; }
  /* phone footer spacing as on the reference site */
  .footer-wrap { padding-top: 20px; padding-bottom: 20px; }
  .footer-mid { gap: 12px; padding: 12px 0; }
  .footer-info { gap: 8px 20px; }
  .search-box { width: 100%; }
}
@media (max-width: 639px) {
  .drive-banner { flex-direction: column; align-items: flex-start; }
  .drive-banner h1 { font-size: 18px; }
  .drive-banner p { font-size: 12px; }
  .drive-deadline { align-self: stretch; flex-direction: row; justify-content: space-between; align-items: center; }
  .dl-date { font-size: 16px; }
  main.admit-page { padding-top: 16px; padding-bottom: 16px; }
  .admit-banner { flex-direction: column; align-items: flex-start; padding: 16px; }
  .admit-banner h1 { font-size: 18px; }
  .admit-badge { width: 48px; height: 48px; font-size: 20px; align-self: flex-end; }
  .admit-card-box { padding: 16px; }
  .admit-grid { grid-template-columns: 1fr; }
  .btn-admit { align-self: stretch; }
  .login-page-form { padding: 16px; }
  .lp-dob-row { gap: 8px; }
  .lp-dob-row select { padding: 10px 8px; }
  .lp-links { flex-direction: column; }
}
@media (max-width: 380px) {
  .brand { gap: 8px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 11px; }
  .header-actions { gap: 8px; }
  .btn-login-mobile { padding: 6px 10px; }
}
@media (max-width: 480px) {
  .tk-text { font-size: 12px; }
  .tk-icon { width: 20px; height: 20px; font-size: 9px; }
}

/* ===== CANDIDATE DASHBOARD (fee page) ===== */
main.dash-page { padding-top: 16px; padding-bottom: 24px; }
.dash-page > .dash-alert { margin-bottom: 16px; }
.dash-welcome { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--slate-700); margin-bottom: 12px; }
.dash-welcome i { color: var(--blue); margin-right: 4px; }
.dash-logout-sm { font-size: 12px; font-weight: 600; color: var(--slate-600); border: 1px solid var(--slate-300); border-radius: 6px; padding: 6px 12px; display: flex; align-items: center; gap: 6px; background: #fff; }
.dash-logout-sm:hover { color: var(--red); border-color: #fecaca; }
/* Tier 1 approved overview */
@media (max-width: 1023px) {
  /* phones/tablets: fee box + stepper only beside the content (desktop), not stacked below it */
  .sidebar--approved .dp-fee, .sidebar--approved .dp-stepper { display: none; }
}
.dp-banner-approved { border-width: 2px; border-color: #34d399; }
.dp-banner-approved h2 { color: #064e3b; }
.dp-banner-approved .dp-banner-ic { width: 42px; height: 42px; font-size: 18px; background: #059669; }
.dp-banner-approved p strong { font-size: inherit; color: #064e3b; }
.dp-pill.green { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.dp-approved { background: #fff; border: 2px solid #34d399; border-radius: 8px; padding: 20px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.dp-approved-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #f1f5f9; }
.dp-approved-head small { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: #047857; }
.dp-approved-head h3 { font-size: 19px; font-weight: 700; color: var(--slate-900); margin-top: 2px; }
.dp-approved-pill { font-size: 13px; font-weight: 700; text-transform: uppercase; padding: 4px 14px; border-radius: 9999px; background: #ecfdf5; color: #047857; border: 1px solid #6ee7b7; }
.dp-approved-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 8px; padding: 14px 16px; }
.dp-approved-rows small { display: block; font-size: 12px; color: var(--slate-600); }
.dp-approved-rows strong { font-size: 14px; color: var(--slate-900); word-break: break-all; }
.dp-approved-rows strong.ok { color: #047857; font-size: 13px; }
.dp-approved-note { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: #064e3b; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 8px; padding: 14px 16px; }
.dp-approved-note i { color: #059669; margin-top: 2px; }
.dp-approved-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.dp-approved-go { background: #047857; color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; padding: 14px 32px; border-radius: 8px; box-shadow: var(--shadow-sm); transition: background-color .2s; }
.dp-approved-go:hover { background: #065f46; color: #fff; }
.dp-approved-skip { font-size: 13px; font-weight: 600; color: var(--blue); }
.dp-approved-skip:hover { text-decoration: underline; }
.dp-steps li.ready .dp-step-ic { background: #fff; color: #059669; border: 2px solid #10b981; }
.dp-steps li.ready h5 { color: #065f46; }
@media (max-width: 639px) {
  .dp-approved { padding: 16px; }
  .dp-approved-rows { grid-template-columns: 1fr; }
  .dp-approved-go { width: 100%; text-align: center; padding: 14px 16px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
}

@media (max-width: 480px) {
  .header-inner { flex-wrap: wrap; gap: 8px; }
  .header-inner > .brand { flex: 1 1 100%; min-width: 0; }
  .header-right-desk { width: 100%; justify-content: flex-end; }
}

@media (max-width: 639px) {
  .panel-head { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  .panel-head h3 { flex: 1 1 100%; min-width: 0; line-height: 1.4; overflow-wrap: anywhere; }
  .panel-link { min-height: 36px; }
  .dp-summary dd, .dp-review-rows dd, .rc-grid dd { overflow-wrap: anywhere; }
}

/* Tier 1 verified â†’ proceed to Tier 2 */
.t2-gate { max-width: 1060px; margin: 8px auto 40px; display: flex; flex-direction: column; gap: 24px; }
.t2-box { display: flex; align-items: flex-start; gap: 16px; border: 2px solid; border-radius: 8px; padding: 24px 26px; }
.t2-box > i { font-size: 22px; margin-top: 2px; flex-shrink: 0; }
.t2-box h2, .t2-box h3 { font-size: 19px; font-weight: 700; color: var(--slate-900); }
.t2-box p { font-size: 16px; margin-top: 6px; line-height: 1.55; }
.t2-box.ok { background: #ecfdf5; border-color: #34d399; }
.t2-box.ok > i { color: #059669; }
.t2-box.ok p { color: #065f46; }
.t2-box.note { background: #fffbeb; border-color: #fbbf24; }
.t2-box.note > i { color: #d97706; }
.t2-box.note h3 { color: #451a03; }
.t2-box.note p { color: #78350f; }
.t2-go { align-self: center; display: inline-flex; align-items: center; gap: 12px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; padding: 18px 48px; border-radius: 8px; box-shadow: 0 6px 14px rgba(0, 102, 204, .3); transition: background-color .2s; }
.t2-go:hover { background: var(--blue-hover); color: #fff; }
@media (max-width: 639px) {
  .t2-box { padding: 16px; gap: 12px; }
  .t2-box h2, .t2-box h3 { font-size: 16px; }
  .t2-box p { font-size: 14px; }
  .t2-go { align-self: stretch; justify-content: center; padding: 16px 20px; font-size: 15px; }
}
.dp-mission { background: linear-gradient(110deg, #0b2447 0%, #0f3b73 55%, #1d5fae 100%); color: #fff; border-radius: 8px; padding: 18px 22px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.dp-mission { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.dp-mission-side { text-align: right; }
.dp-mission-side strong { display: block; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 20px; font-weight: 700; color: #fbbf24; }
.dp-mission-side small { display: block; font-size: 12px; color: #dbeafe; margin-top: 2px; }
@media (max-width: 639px) { .dp-mission-side { text-align: left; } }
.dp-mission-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #cbd5e1; }
.dp-mission h2 { font-size: 24px; font-weight: 700; line-height: 1.25; margin-top: 4px; color: #fff; }
.dp-mission p { font-size: 14px; color: #dbeafe; margin-top: 4px; }
@media (max-width: 767px) {
  .dp-mission { padding: 14px 16px; }
  .dp-mission h2 { font-size: 20px; }
  .dp-mission p { font-size: 13px; }
}
.dp-banner { display: flex; align-items: flex-start; gap: 14px; border: 1px solid; border-radius: 8px; padding: 16px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.dp-banner > div { flex: 1; min-width: 0; }
.dp-banner h2 { font-size: 16px; font-weight: 700; }
.dp-banner p { font-size: 13px; margin-top: 4px; }
.dp-banner p strong { color: var(--slate-900); font-size: 14px; }
.dp-banner-ic { width: 36px; height: 36px; border-radius: 50%; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.dp-banner-top { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
.dp-banner.amber { background: #fffbeb; border-color: #fcd34d; color: #78350f; }
.dp-banner.amber h2 { color: #451a03; }
.dp-banner.amber .dp-banner-ic { background: #d97706; }
.dp-banner.blue { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.dp-banner.blue .dp-banner-ic { background: var(--blue); }
.dp-banner.green { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.dp-banner.green .dp-banner-ic { background: var(--green); }
.dp-banner.red { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.dp-banner.red .dp-banner-ic { background: var(--red); }
.dp-banner-rejected { border-width: 2px; border-color: #f87171; box-shadow: 0 0 0 4px rgba(239, 68, 68, .12); }
.dp-banner-rejected h2 { color: #7f1d1d; }
.dp-banner-rejected .dp-reason { background: #fff; border: 1px solid #fecaca; border-left: 4px solid var(--red); border-radius: 4px; padding: 6px 10px; color: #7f1d1d; }
.dp-pill.red { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.dp-pill { background: #fef3c7; color: #78350f; border: 1px solid #fcd34d; padding: 2px 12px; border-radius: 9999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; display: flex; align-items: center; gap: 4px; }
.dp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.dp-main > .btn-admit { margin: 0; text-decoration: none; }
.dp-chip { background: rgba(16, 185, 129, .2); border-color: rgba(52, 211, 153, .3); color: #a7f3d0; }
.dp-summary { padding: 16px; display: flex; gap: 16px; align-items: flex-start; }
.dp-summary dl { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; font-size: 13px; }
.dp-summary dl > div { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid #f1f5f9; }
.dp-summary dl > div.wide { grid-column: 1 / -1; background: #ecfdf5; padding: 6px 8px; border-radius: 4px; border: 0; }
.dp-summary dt { color: var(--slate-500); font-weight: 500; }
.dp-summary dd { font-weight: 600; color: var(--slate-900); text-align: right; }
.dp-summary dd.up { text-transform: uppercase; font-weight: 700; }
.dp-summary dd.blue { color: var(--blue); font-weight: 700; }
.dp-summary dd.green { color: #047857; font-weight: 700; font-size: 14px; }
.dp-pay { padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.dp-rejected { font-size: 12px; font-weight: 600; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 6px; padding: 8px 12px; }
.dp-channel { border: 1px solid var(--slate-200); border-radius: 8px; overflow: hidden; }
.dp-channel-head { background: var(--blue); color: #fff; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; }
.dp-channel-head h4 { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.dp-channel-head span { font-size: 12px; font-weight: 600; background: rgba(255,255,255,.2); padding: 2px 8px; border-radius: 4px; }
.dp-bank { padding: 12px 16px 0; font-size: 13px; }
.dp-bank > div { display: flex; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 6px 0; border-bottom: 1px solid #f1f5f9; flex-wrap: wrap; }
.dp-bank dt { color: var(--slate-500); font-weight: 500; }
.dp-bank dd { display: flex; align-items: center; gap: 8px; color: var(--slate-800); }
.dp-bank .strong { font-weight: 700; color: var(--slate-900); }
.dp-bank .mono { letter-spacing: .05em; }
.dp-copy { font: inherit; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; border: 1px solid #bfdbfe; background: #eff6ff; color: var(--blue); cursor: pointer; }
.dp-copy:hover { background: #dbeafe; }
.dp-hint { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: #0c4a6e; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 4px; padding: 8px 10px; }
.dp-hint i { color: var(--blue); margin-top: 2px; }
.dp-channel .dp-hint { margin: 12px 16px 16px; }
.dp-upi { padding: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.dp-upi p { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* UPI: scan & pay */
.dp-scan { border: 1px solid var(--slate-200); border-radius: 8px; padding: 16px; background: rgba(248, 250, 252, .6); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.dp-scan h4 { font-size: 15px; font-weight: 700; color: var(--slate-800); }
.dp-scan .pay-qr { width: 176px; height: 176px; padding: 6px; background: #fff; border: 2px solid var(--slate-300); border-radius: 8px; box-shadow: var(--shadow-sm); }
.dp-scan-id { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 600; color: var(--slate-700); }
.dp-scan-id code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; color: var(--slate-900); background: #fff; border: 1px solid var(--slate-300); border-radius: 4px; padding: 3px 10px; }
.dp-apps-list { width: 100%; border-top: 1px solid var(--slate-200); padding-top: 12px; }
.dp-apps-list small { display: block; font-size: 11px; font-weight: 600; color: var(--slate-500); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.dp-apps-list div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.dp-apps-list span { font-size: 12px; font-weight: 700; padding: 3px 10px; background: #fff; border: 1px solid var(--slate-200); border-radius: 4px; }
.dp-apps-list .bhim { color: #ea580c; }
.dp-apps-list .gpay { color: #2563eb; }
.dp-apps-list .phonepe { color: #7e22ce; }
.dp-apps-list .paytm { color: #0ea5e9; }
.dp-apps-list .amazon { color: #d97706; }
.apply-sec-head .dp-shield { color: #38bdf8; }
.apply-sec-head .dp-safe { margin-left: auto; font-size: 12px; color: #cbd5e1; }

/* Under review: the submitted UTR */
.dp-review { background: #fff; border: 2px solid #fcd34d; border-radius: 8px; padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.dp-review-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.dp-review-head h3 { font-size: 15px; font-weight: 700; color: #0c2340; display: flex; align-items: center; gap: 8px; }
.dp-review-head h3 i { color: #d97706; font-size: 18px; }
.dp-review-pill { font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 2px 10px; background: #fef3c7; color: #78350f; border: 1px solid #fcd34d; border-radius: 4px; }
.dp-review-rows { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 8px; padding: 12px 16px; font-size: 12px; display: flex; flex-direction: column; gap: 4px; }
.dp-review-rows > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 4px 0; }
.dp-review-rows > div.utr { padding-bottom: 10px; border-bottom: 1px solid var(--slate-200); }
.dp-review-rows dt { color: var(--slate-600); font-weight: 500; }
.dp-review-rows > div.utr dt { font-weight: 600; }
.dp-review-rows dd { font-weight: 600; color: var(--slate-800); display: flex; align-items: center; gap: 8px; }
.dp-review-rows dd.green { color: #047857; font-weight: 700; }
.dp-review-rows code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; font-weight: 700; color: var(--slate-900); background: #fff; border: 1px solid var(--slate-300); border-radius: 4px; padding: 3px 10px; word-break: break-all; }
.dp-review-info { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.55; color: #082f49; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px; padding: 12px; }
.dp-review-info > i { color: var(--blue); margin-top: 3px; }
.dp-review-info strong { display: block; color: #0c2340; margin-bottom: 2px; }
.dp-review-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.dp-btn-light { font: inherit; font-size: 12px; font-weight: 700; padding: 8px 16px; background: var(--slate-100); color: var(--slate-800); border: 1px solid var(--slate-300); border-radius: 4px; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.dp-btn-light:hover { background: var(--slate-200); }
.dp-refresh { font-size: 12px; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 6px; }
.dp-refresh:hover { text-decoration: underline; }
.dp-utr-edit { border: 1px solid #bfdbfe; background: #eff6ff; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.dp-utr-edit[hidden] { display: none; }
.dp-utr-edit label { font-size: 12px; font-weight: 600; color: var(--slate-700); }
.dp-utr-edit .utr-row input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; font-size: 14px; }
.dp-review-next { padding-top: 12px; border-top: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.dp-review-next button { font: inherit; font-size: 12px; font-weight: 700; padding: 10px 20px; border-radius: 8px; background: var(--slate-200); color: var(--slate-400); border: 1px solid var(--slate-300); cursor: not-allowed; }
.dp-review-next span { font-size: 11px; color: var(--slate-500); }
@media (max-width: 639px) {
  .dp-review { padding: 16px; }
  .dp-review-rows > div { flex-direction: column; align-items: flex-start; }
  .apply-sec-head .dp-safe { display: none; }
}

.dp-utr { border: 1px solid var(--slate-200); border-radius: 8px; padding: 16px; background: rgba(236, 253, 245, .4); display: flex; flex-direction: column; gap: 12px; }
.dp-utr-head { display: flex; align-items: center; gap: 8px; }
.dp-utr-ic { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 11px; flex-shrink: 0; }
.dp-utr h4 { font-size: 14.5px; font-weight: 700; color: var(--slate-900); }
.dp-utr-head p { font-size: 12px; color: var(--slate-600); }
.dp-utr .utr-row input { padding: 10px 14px; font-size: 14px; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.dp-utr .utr-row input:focus { box-shadow: 0 0 0 2px var(--blue); }
.dp-apps { list-style: none; }
.dp-apps li + li { border-top: 1px solid #f1f5f9; }
.dp-apps a { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; padding: 12px 16px; font-size: 13px; }
.dp-apps a:hover { background: var(--slate-50); }
.dp-apps li.active a { background: #eff6ff; }
.dp-apps strong { flex: 1; min-width: 160px; color: var(--slate-900); }
.dp-apps .mono { color: var(--blue); font-weight: 600; }
.dp-apps .st { margin-right: 0; }
/* Secure Payment box: sidebar on desktop; right after the fee summary once the sidebar drops below (â‰¤1023px) */
.dp-secure--main { display: none; }
@media (max-width: 1023px) {
  .dp-secure--main { display: block; }
  .dp-secure--side { display: none; }
}
.dp-secure { background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.dp-secure-head { background: #0f2340; color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.dp-secure-head h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; display: flex; align-items: center; gap: 8px; }
.dp-secure-head h3 i { color: #93c5fd; }
.dp-secure-head span { font-size: 12px; color: #cbd5e1; display: flex; align-items: center; gap: 6px; }
.dp-secure-head span i { color: #fbbf24; }
.dp-session { margin: 16px; padding: 14px; display: flex; align-items: center; gap: 12px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; }
.dp-session-ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #dbeafe; color: var(--blue); display: grid; place-items: center; font-size: 18px; }
.dp-session-text { flex: 1; min-width: 0; }
.dp-session-text strong { font-size: 14px; color: var(--slate-900); }
.dp-session-text p { font-size: 12px; color: var(--slate-500); margin-top: 2px; }
.dp-session-tag { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: #dbeafe; color: #1d4ed8; }
.dp-session-time { text-align: center; flex-shrink: 0; }
.dp-session-time b { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 24px; font-weight: 700; color: var(--slate-900); letter-spacing: .04em; }
.dp-session-time small { font-size: 10px; color: var(--slate-400); }
.dp-session.low { background: #fffbeb; border-color: #fcd34d; }
.dp-session.low .dp-session-time b { color: #b45309; }
.dp-session.expired { background: #fef2f2; border-color: #fecaca; }
.dp-session.expired .dp-session-tag { background: #fee2e2; color: #b91c1c; }
.dp-session.expired .dp-session-time b { color: #b91c1c; }
.dp-fee { background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; padding: 20px; box-shadow: var(--shadow-sm); }
.dp-fee-top { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid #f1f5f9; }
.dp-fee-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 700; flex-shrink: 0; }
.dp-fee-top small { display: block; font-size: 12px; font-weight: 600; color: var(--slate-500); text-transform: uppercase; letter-spacing: .05em; }
.dp-fee-top strong { font-size: 26px; font-weight: 800; color: var(--slate-900); line-height: 1; }
.dp-fee-rows { padding-top: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--slate-600); }
.dp-fee-rows > div { display: flex; justify-content: space-between; }
.dp-fee-rows > div span:last-child { font-weight: 600; color: var(--slate-800); }
.dp-fee-rows .total { padding-top: 12px; border-top: 1px dashed var(--slate-300); font-size: 15px; font-weight: 700; color: var(--navy); }
.dp-fee-rows .total span:last-child { color: var(--blue); font-size: 18px; font-weight: 700; }
.dp-side-box { background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.dp-side-box .panel-head { border-radius: 0; }
.dp-side-box .panel-head h3 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .025em; }
.dp-steps { list-style: none; padding: 16px; display: flex; flex-direction: column; gap: 16px; font-size: 12px; }
.dp-steps li { display: flex; align-items: flex-start; gap: 12px; }
.dp-steps h5 { font-size: 13px; font-weight: 700; color: var(--slate-800); }
.dp-steps p { color: var(--slate-500); word-break: break-word; }
.dp-step-ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; flex-shrink: 0; margin-top: 2px; background: var(--slate-300); color: var(--slate-600); }
.dp-steps li.wait { opacity: .6; }
.dp-steps li.done .dp-step-ic { background: #10b981; color: #fff; }
.dp-steps li.done h5 { color: #065f46; }
.dp-steps li.now .dp-step-ic { background: var(--amber); color: #fff; }
.dp-steps li.now h5 { color: #92400e; }
.dp-steps li.pulse .dp-step-ic { animation: dp-pulse 1.6s ease-in-out infinite; }
@keyframes dp-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .55); } 50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); } }
@media (prefers-reduced-motion: reduce) { .dp-steps li.pulse .dp-step-ic { animation: none; } }
.dp-steps li.bad .dp-step-ic { background: var(--red); color: #fff; }
.dp-steps li.bad h5 { color: #991b1b; }
.dp-help { padding: 16px; }
.dp-help h4 { font-size: 13.5px; font-weight: 700; color: var(--slate-900); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.dp-help h4 i { color: var(--blue); }
.dp-help ol { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--slate-700); }
.dp-help li { display: flex; align-items: flex-start; gap: 8px; }
.dp-help li span { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.dp-help-btn { display: block; margin-top: 16px; text-align: center; padding: 8px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }
.dp-help-btn:hover { background: var(--blue-hover); }
.dp-links { font-size: 12px; }
.dp-links-head { background: var(--navy); color: #fff; padding: 8px 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.dp-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; color: var(--slate-700); font-weight: 600; border-top: 1px solid #f1f5f9; }
.dp-links a:hover { background: var(--slate-50); color: var(--blue); }
.dp-links a i { color: var(--slate-400); }
@media (max-width: 639px) {
  .dp-summary { flex-direction: column; align-items: stretch; }   /* rows use the full card width */
  .dp-summary dl { width: 100%; grid-template-columns: 1fr; }
  .dp-pay { padding: 16px; }
  .dp-bank > div { flex-direction: column; align-items: flex-start; }
}

/* JPEG logo has square white corners â€” keep it round like the old SVG */
img[src$="logo.jpeg"] { border-radius: 50%; }
