/* ==========================================================
   Pratibha Khoj — Brand layer (v3)
   Loaded AFTER style.css and form.css (both of which now carry
   the sky-blue palette directly — see the recolored gradients,
   buttons and accents in those two files). This layer adds
   structural components that don't exist in the original CSS:
   the header dropdowns, the redesigned hero, the shared site
   footer, content-page components, the enhanced auth-page /
   contact-page forms, the photo-upload step, and the
   result/admit-card document views.
   ========================================================== */

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

:root {
  /* Sky-blue theme — matches the palette now used directly in
     style.css / form.css (buttons, active nav, wizard progress). */
  --moving-dot-color: #12588A;
  --pk-navy-950: #071a2e;
  --pk-navy-900: #0A2F52;
  --pk-navy-800: #0d3d68;
  --pk-navy-700: #12588A;
  --pk-blue-600: #1479C2;
  --pk-blue-500: #2E9FE0;
  --pk-blue-400: #5CC2F0;
  --pk-sky-100: #EAF6FD;
  --pk-sky-200: #D6EEFB;

  --pk-ink-900: #10202f;
  --pk-ink-700: #3d5164;
  --pk-ink-500: #6b7f92;
  --pk-line: #dbe6f0;
  --pk-white: #fff;

  --pk-green-600: #1f7a41;
  --pk-green-100: #e3f6ea;
  --pk-red-600: #b3261e;
  --pk-red-100: #fbe7e5;
  --pk-amber-700: #92600a;
  --pk-amber-100: #fdecc8;

  --pk-radius-sm: 10px;
  --pk-radius: 16px;
  --pk-radius-lg: 22px;
  --pk-shadow-sm: 0 4px 14px rgba(10, 30, 50, 0.08);
  --pk-shadow: 0 10px 28px rgba(10, 30, 50, 0.10);
  --pk-shadow-lg: 0 24px 60px rgba(7, 26, 46, 0.22);

  --pk-font-head: 'Poppins', sans-serif;
  --pk-font-body: 'Inter', sans-serif;
  --pk-font-mono: 'JetBrains Mono', monospace;

  --pk-gradient-primary: linear-gradient(105.3deg, var(--pk-navy-900) 21.8%, var(--pk-blue-600) 100.2%);
  --pk-gradient-official: linear-gradient(115deg, var(--pk-navy-950) 0%, var(--pk-navy-800) 46%, var(--pk-blue-600) 100%);
}

body { font-family: var(--pk-font-body); background: #F7FBFE; color: var(--pk-ink-900); }
h1, h2, h3, h4, .form-heading, .front-page-heading { font-family: var(--pk-font-head); }

/* ==========================================================
   Header / navigation
   ========================================================== */
header {
  position: sticky; top: 0; overflow: visible; z-index: 500;
  box-shadow: 0 2px 14px rgba(10, 30, 50, 0.08);
}
.logo { width: auto; height: 52px; margin-top: 2px; background: none; -webkit-text-fill-color: unset; cursor: pointer; }

.nav-menu a { font-weight: 600; font-size: 13.5px; color: var(--pk-ink-700); }
.nav-menu a:hover { background-color: var(--pk-sky-100); color: var(--pk-navy-700); }
.nav-menu a.active { box-shadow: 0 0 5px 1px var(--pk-sky-200); }
button.nav-button { color: var(--pk-navy-700); }

/* header is `position: sticky` (in-flow), so main no longer needs
   a manual top offset the way the original fixed header required. */
main { padding-top: 0 !important; }

@media screen and (min-width: 751px) {
  .nav-menu { padding-left: 40px; display: flex; flex-wrap: wrap; align-items: center; overflow: visible; row-gap: 4px; }
  .nav-menu a { float: none; }
}

/* ---- "Programme" dropdown (Eligibility / Exam Pattern / Syllabus /
   Important Dates / Scholarship) and the logged-in user dropdown ---- */
.pk-has-dropdown { position: relative; }
.pk-dropdown-trigger { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.pk-dropdown-trigger .fa-caret-down { font-size: 12px; transition: transform .18s ease; }

.pk-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--pk-line); border-radius: var(--pk-radius-sm);
  box-shadow: var(--pk-shadow-lg); padding: 8px; z-index: 600;
}
.pk-dropdown-menu a {
  display: flex !important; align-items: center; gap: 10px; float: none !important; width: auto;
  padding: 10px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--pk-ink-700);
}
.pk-dropdown-menu a i { width: 16px; color: var(--pk-blue-600); text-align: center; }
.pk-dropdown-menu a:hover { background: var(--pk-sky-100); color: var(--pk-navy-700); }
.pk-dropdown-menu a.pk-dropdown-danger { color: var(--pk-red-600); }
.pk-dropdown-menu a.pk-dropdown-danger i { color: var(--pk-red-600); }
.pk-dropdown-menu a.pk-dropdown-danger:hover { background: var(--pk-red-100); }

@media screen and (min-width: 751px) {
  .pk-has-dropdown:hover .pk-dropdown-menu,
  .pk-has-dropdown.pk-open .pk-dropdown-menu { display: block; }
  .pk-has-dropdown:hover .pk-dropdown-trigger .fa-caret-down,
  .pk-has-dropdown.pk-open .pk-dropdown-trigger .fa-caret-down { transform: rotate(180deg); }

  /* User menu is the last nav item — pin it to the right edge and
     right-align its dropdown so it never overflows the viewport. */
  .pk-user-dropdown { margin-left: auto; display: block; }
  .pk-dropdown-menu--right { left: auto; right: 0; }
}

.pk-user-trigger { display: flex !important; align-items: center; gap: 8px; float: none !important; }
.pk-user-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--pk-gradient-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--pk-font-head); font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.pk-user-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Mobile: dropdowns render inline (no absolute box) inside the
   slide-out .nav-menu.responsive panel; tap to expand via .pk-open
   added by brand.js. */
@media screen and (max-width: 750px) {
  .pk-dropdown-menu { position: static; box-shadow: none; border: none; padding: 0 0 0 14px; margin-top: 4px; }
  .pk-has-dropdown.pk-open .pk-dropdown-menu { display: block; }
  .pk-has-dropdown.pk-open .pk-dropdown-trigger .fa-caret-down { transform: rotate(180deg); }
  .pk-dropdown-menu a { color: var(--pk-navy-900) !important; padding: 10px 8px; }
  .pk-user-trigger { justify-content: flex-start; }
  .pk-user-dropdown { display: none; }
  .nav-menu.responsive .pk-user-dropdown { display: block; }
}

/* ==========================================================
   Hero — compact banner with the original image slider inside
   ========================================================== */
.pk-hero {
  position: relative; overflow: hidden;
  height: clamp(380px, 58vh, 520px) !important;
  border-radius: 0 0 26px 26px;
  box-shadow: var(--pk-shadow-lg);
  background: var(--pk-navy-950);
}
.pk-hero-slider { position: relative; height: 100%; width: 100%; }
.pk-hero-slider .mySlides {
  position: absolute; inset: 0; width: 100% !important; height: 100%;
  object-fit: cover; z-index: 1;
}
.pk-hero-slider:hover { display: block !important; }

.pk-hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(7,26,46,.86) 0%, rgba(7,26,46,.62) 42%, rgba(7,26,46,.28) 75%, rgba(7,26,46,.12) 100%);
}

.pk-hero-overlay {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center;
  padding: 0 6vw; max-width: 680px; color: #fff;
}
.pk-hero-overlay h1 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin: 0 0 12px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.pk-hero-overlay p { color: #dce8f4; font-size: 1rem; max-width: 480px; margin: 0 0 6px; }
.pk-eyebrow--hero {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--pk-font-head); font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25); padding: 7px 16px; border-radius: 999px; margin-bottom: 16px; width: fit-content;
}
.pk-hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.pk-hero-actions button {
  width: auto; max-width: none; padding: 14px 34px; margin: 0; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); font-size: 15px;
}
.pk-hero-lock { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: #cfe0ee; }

@media (max-width: 750px) {
  .pk-hero { height: clamp(360px, 72vh, 460px) !important; border-radius: 0 0 18px 18px; }
  .pk-hero-overlay { padding: 0 24px; max-width: 100%; }
  .pk-hero-overlay p { max-width: 100%; }
  .pk-hero-actions { gap: 10px; }
}

.pk-marquee { background: var(--pk-sky-100); border-top: 1px solid var(--pk-line); border-bottom: 1px solid var(--pk-line); overflow: hidden; }
.pk-marquee .pk-track { display: flex; gap: 60px; white-space: nowrap; padding: 10px 0; animation: pk-scroll 26s linear infinite; }
.pk-marquee span { font-weight: 600; color: var(--pk-navy-700); font-size: .85rem; }
@keyframes pk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================
   Shared site footer (include/footer.php)
   ========================================================== */
footer.pk-site-footer {
  background: none; background-image: none; background-color: var(--pk-navy-950);
  color: #cfd6e4; text-align: left; padding: 0; position: relative;
}
.pk-footer-top { background: var(--pk-gradient-official); padding: 52px 0 34px; }
.pk-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 900px) { .pk-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pk-footer-grid { grid-template-columns: 1fr; } }

.pk-footer-logo { height: 46px; width: auto; margin-bottom: 14px; }
.pk-footer-brand p { color: #b9c2d6; font-size: .88rem; max-width: 320px; margin: 0 0 16px; }
.pk-footer-social { display: flex; gap: 10px; }
.pk-footer-social a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #fff; transition: all .15s ease;
}
.pk-footer-social a:hover { background: var(--pk-blue-500); color: var(--pk-navy-950); }

.pk-footer-col h4 { color: #fff; font-size: .92rem; letter-spacing: .02em; margin: 0 0 16px; text-transform: uppercase; }
.pk-footer-col ul { list-style: none; margin: 0; padding: 0; }
.pk-footer-col li { margin-bottom: 10px; font-size: .87rem; color: #b9c2d6; }
.pk-footer-col a { color: #b9c2d6; }
.pk-footer-col a:hover { color: var(--pk-blue-400); }
.pk-footer-contact li i { width: 16px; color: var(--pk-blue-400); }
.pk-footer-cta-link { display: inline-flex; align-items: center; gap: 6px; color: var(--pk-blue-400) !important; font-weight: 600; margin-top: 4px; }

.pk-footer-bottom { background: var(--pk-navy-950); border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; }
.pk-footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .78rem; color: #93a0bc; }
.pk-footer-bottom-inner a { color: #cfd6e4; }
.pk-footer-bottom-inner a:hover { color: var(--pk-blue-400); }

.pk-back-to-top {
  position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--pk-gradient-primary); color: #fff; border: none; box-shadow: var(--pk-shadow);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .2s ease; z-index: 400;
}
.pk-back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ==========================================================
   Content-page components (about, eligibility, exam-details,
   syllabus, important-dates, scholarship-benefits, faq, and the
   extra homepage sections below the hero)
   ========================================================== */
.pk-page { padding-top: 20px; padding-bottom: 60px; max-width: 1100px; margin: 0 auto; }
.pk-wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.pk-banner {
  background: var(--pk-gradient-official);
  color: #fff; padding: 50px 0; text-align: center; margin-top: -1px;
}
.pk-banner h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 10px; }
.pk-banner p { color: #dbe1ee; max-width: 620px; margin: 0 auto; font-size: 1rem; }

.pk-section { padding: 56px 0; }
.pk-section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.pk-section-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--pk-ink-900); margin: 0 0 10px; }
.pk-section-head p { color: var(--pk-ink-500); }
.pk-eyebrow {
  display: inline-block; font-family: var(--pk-font-head); font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--pk-navy-700);
  background: var(--pk-sky-100); padding: 6px 14px; border-radius: 999px; margin-bottom: 12px;
}

.pk-grid { display: grid; gap: 22px; }
.pk-grid-2 { grid-template-columns: 1fr 1fr; }
.pk-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pk-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .pk-grid-3, .pk-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pk-grid-2, .pk-grid-3, .pk-grid-4 { grid-template-columns: 1fr; } }

.pk-card {
  background: #fff; border: 1px solid var(--pk-line); border-radius: var(--pk-radius);
  padding: 26px; box-shadow: var(--pk-shadow-sm); text-align: left; transition: transform .15s ease, box-shadow .15s ease;
}
.pk-card:hover { transform: translateY(-3px); box-shadow: var(--pk-shadow); }
.pk-card .pk-icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--pk-sky-100); color: var(--pk-navy-700); font-size: 1.2rem; margin-bottom: 14px;
}
.pk-card h3 { margin: 0 0 8px; color: var(--pk-ink-900); font-size: 1.1rem; }
.pk-card p { color: var(--pk-ink-500); font-size: .93rem; margin: 0; }

.pk-table-wrap { overflow-x: auto; border: 1px solid var(--pk-line); border-radius: var(--pk-radius); background: #fff; }
table.pk-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
table.pk-table th, table.pk-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--pk-line); }
table.pk-table thead th { background: var(--pk-navy-900); color: #fff; font-family: var(--pk-font-head); font-weight: 600; }
table.pk-table tbody tr:hover { background: var(--pk-sky-100); }
table.pk-table tbody tr:last-child td { border-bottom: none; }

.pk-timeline { position: relative; padding-left: 28px; border-left: 3px solid var(--pk-line); text-align: left; }
.pk-timeline .pk-step { position: relative; padding-bottom: 30px; }
.pk-timeline .pk-step:last-child { padding-bottom: 0; }
.pk-timeline .pk-dot { position: absolute; left: -37px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--pk-blue-600); border: 4px solid var(--pk-sky-100); }
.pk-timeline h4 { margin: 0 0 4px; color: var(--pk-ink-900); }
.pk-timeline p { margin: 0; color: var(--pk-ink-500); font-size: .92rem; }

.pk-accordion-item { border: 1px solid var(--pk-line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; text-align: left; }
.pk-accordion-item .pk-q { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; padding: 16px 20px; font-family: var(--pk-font-head); font-weight: 600; color: var(--pk-ink-900); }
.pk-accordion-item .pk-chev { transition: transform .2s ease; color: var(--pk-blue-600); }
.pk-accordion-item.open .pk-chev { transform: rotate(180deg); }
.pk-accordion-item .pk-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 20px; text-align: left; }
.pk-accordion-item.open .pk-a { max-height: 400px; padding-bottom: 18px; }
.pk-accordion-item .pk-a p { color: var(--pk-ink-500); margin: 0; font-size: .93rem; }

.pk-cta {
  background: var(--pk-gradient-official);
  color: #fff; border-radius: var(--pk-radius); padding: 40px; text-align: center;
}
.pk-cta h2 { color: #fff; margin: 0 0 8px; }
.pk-cta p { color: #dbe1ee; max-width: 520px; margin: 0 auto 18px; }
.pk-cta .medium-size { display: inline-block; margin: 0 auto; }

.pk-badge-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; text-align: left; }
.pk-badge-list li { display: flex; gap: 12px; align-items: flex-start; }
.pk-badge-list .pk-tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--pk-green-100); color: var(--pk-green-600); display: flex; align-items: center; justify-content: center; font-size: .75rem; margin-top: 2px; }
.pk-badge-list p { margin: 0; color: var(--pk-ink-700); font-size: .93rem; }

.pk-status { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.pk-status.submitted { background: var(--pk-sky-200); color: var(--pk-navy-700); }
.pk-status.success, .pk-status.paid { background: var(--pk-green-100); color: var(--pk-green-600); }
.pk-status.pending, .pk-status.draft { background: var(--pk-amber-100); color: var(--pk-amber-700); }
.pk-status.failed, .pk-status.error { background: var(--pk-red-100); color: var(--pk-red-600); }

.pk-alert { padding: 13px 16px; border-radius: 10px; font-size: .88rem; margin-bottom: 16px; text-align: left; display: flex; align-items: flex-start; gap: 10px; }
.pk-alert-error { background: var(--pk-red-100); color: var(--pk-red-600); }
.pk-alert-success { background: var(--pk-green-100); color: var(--pk-green-600); }
.pk-alert-info { background: var(--pk-sky-200); color: var(--pk-navy-700); }

.pk-stats { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.pk-stats div strong { display: block; font-family: var(--pk-font-head); font-size: 1.6rem; color: var(--pk-navy-700); }
.pk-stats div span { font-size: .8rem; color: var(--pk-ink-500); }

@media (max-width: 620px) {
  .pk-banner { padding: 40px 0; }
  .pk-section { padding: 40px 0; }
}

/* ==========================================================
   Auth pages — Create Profile / Login / Forgot / Reset Password
   All share the original `.form-page` centered card; this layer
   adds a top accent bar, better shadow/spacing, field labels
   (new markup, purely presentational) and icon-prefixed inputs.
   ========================================================== */
.form-page {
  position: relative; max-width: 480px; border-radius: var(--pk-radius-lg) !important;
  box-shadow: var(--pk-shadow-lg) !important; padding: 44px 8px 36px !important;
  margin: 60px auto 90px !important; overflow: hidden;
}
.form-page::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--pk-gradient-primary);
}
.form-page .pk-auth-icon {
  width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 14px; background: var(--pk-sky-100);
  color: var(--pk-navy-700); display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.form-page .form-heading { margin-bottom: 4px; }
.form-page .pk-auth-sub { color: var(--pk-ink-500); font-size: .86rem; margin: 0 auto 26px; max-width: 340px; }

.pk-field { text-align: left; margin-bottom: 15px; }
.form-page .pk-field { width: 80%; margin: 0 auto 15px; }
.pk-field label { display: block; font-weight: 600; font-size: .82rem; color: var(--pk-navy-900); margin-bottom: 6px; }
.pk-field .input-container { width: 100%; margin: 0; }
.pk-field .input-alert { text-align: left; margin-bottom: 4px; font-size: 12.5px; min-height: 15px; }

.input-container { position: relative; }
.input-field { border-radius: var(--pk-radius-sm) !important; border: 1.5px solid var(--pk-line) !important; padding: 12px 14px !important; font-size: 14.5px; transition: border-color .15s ease, box-shadow .15s ease; }
.input-field:focus { border-color: var(--pk-blue-500) !important; box-shadow: 0 0 0 3px var(--pk-sky-200); }
.input-field.is-invalid { border-color: var(--pk-red-600) !important; }

/* Icon-prefixed fields (matched by id, present on the auth pages and
   the wizard's read-only mobile/email fields) — plain inline SVGs so
   nothing depends on any external icon font finishing its load. */
#fullname.input-field, #email.input-field, #mobile.input-field,
#password.input-field, #password1.input-field, #password2.input-field {
  padding-left: 44px !important; background-repeat: no-repeat; background-position: 14px center; background-size: 18px;
}
#fullname.input-field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7f92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E");
}
#email.input-field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7f92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
}
#mobile.input-field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7f92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.6A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.7a2 2 0 0 1-.4 2.1L8 9.9a16 16 0 0 0 6 6l1.4-1.4a2 2 0 0 1 2.1-.4c.9.3 1.8.5 2.7.6a2 2 0 0 1 1.8 2z'/%3E%3C/svg%3E");
}
#password.input-field, #password1.input-field, #password2.input-field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7f92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='9' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
}

.form-page button.medium-size { border-radius: 999px; width: 80%; max-width: 260px; padding: 13px 10px; }
.form-page .form-tag { display: inline-block; }

/* ==========================================================
   Contact Us — professional, aligned split layout
   ========================================================== */
.pk-contact-form-card {
  background: #fff; border: 1px solid var(--pk-line); border-radius: var(--pk-radius-lg);
  padding: 32px; box-shadow: var(--pk-shadow);
}
.pk-contact-form-card .form-heading { margin-bottom: 4px; }
.pk-contact-sub { color: var(--pk-ink-500); font-size: .88rem; margin-bottom: 24px; }
.pk-contact-form-card select.input-field {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7f92' stroke-width='1.6' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.pk-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
@media (max-width: 560px) { .pk-field-row { grid-template-columns: 1fr; } }
.pk-char-count { text-align: right; font-size: .76rem; color: var(--pk-ink-500); margin-top: -8px; margin-bottom: 8px; }
.pk-contact-info-list { display: grid; gap: 16px; }
.pk-contact-info-list .pk-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; }
.pk-contact-info-list .pk-icon { margin-bottom: 0; flex-shrink: 0; }
.pk-contact-info-list h3 { font-size: 1rem; }

/* ==========================================================
   Application wizard — Step 3 (Passport Photo) redesign
   Only presentational classes/layout change; the JS still reads
   #preview / #profile_pic_url / #fileInput / #error and calls
   uploadImage()/removeImage() exactly as before.
   ========================================================== */
.pk-photo-step {
  display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap;
  background: var(--pk-sky-100); border: 1px solid var(--pk-sky-200); border-radius: var(--pk-radius);
  padding: 26px; margin: 20px 0 28px; text-align: left;
}
.pk-photo-preview-box {
  width: 148px; height: 178px; border-radius: var(--pk-radius); overflow: hidden; flex-shrink: 0;
  background: #fff; border: 2px solid #fff; box-shadow: var(--pk-shadow);
}
.pk-photo-preview-box #preview, .pk-photo-preview-box span#preview { display: block; width: 100%; height: 100%; }
.pk-photo-preview-box .applicant-photo { width: 100% !important; height: 100% !important; object-fit: cover; border: none !important; margin: 0 !important; float: none !important; }
.pk-photo-preview-box .loaderIMG { margin: 62px auto; }

.pk-photo-fields { flex: 1; min-width: 240px; }
.pk-photo-fields .pk-photo-name { font-family: var(--pk-font-head); font-weight: 700; color: var(--pk-navy-900); margin: 0 0 12px; font-size: 1rem; }

label.custom-photo-upload.pk-photo-dropzone {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  background: #fff; border: 1.5px dashed var(--pk-blue-500); border-radius: var(--pk-radius-sm);
  padding: 14px 18px; color: var(--pk-navy-700); font-weight: 600; font-size: .9rem; transition: all .15s ease;
}
label.custom-photo-upload.pk-photo-dropzone:hover { background: var(--pk-sky-200); }
label.custom-photo-upload.pk-photo-dropzone i { font-size: 1.3rem; color: var(--pk-blue-600); }
label.custom-photo-upload.pk-photo-dropzone input[type="file"] {
  position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;
}

.pk-photo-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pk-btn-outline {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--pk-blue-600); color: var(--pk-navy-700); font-weight: 600; font-size: .85rem;
  background: #fff; cursor: pointer; text-decoration: none;
}
.pk-btn-outline:hover { background: var(--pk-sky-100); }
.pk-btn-outline--danger { border-color: var(--pk-red-600); color: var(--pk-red-600); }
.pk-btn-outline--danger:hover { background: var(--pk-red-100); }

.pk-photo-hint { font-size: .8rem; color: var(--pk-ink-500); margin-top: 12px; }
#error:empty { display: none; }
#error { font-size: .82rem; margin: 10px 0 0; color: var(--pk-red-600); font-family: var(--pk-font-body); }

@media (max-width: 560px) {
  .pk-photo-step { flex-direction: column; align-items: center; text-align: center; }
  .pk-photo-fields { width: 100%; }
  label.custom-photo-upload.pk-photo-dropzone { justify-content: center; }
  .pk-photo-actions { justify-content: center; }
}

/* ==========================================================
   Result & Admit Card — official document presentation
   ========================================================== */
.pk-doc-lookup {
  background: #fff; border: 1px solid var(--pk-line); border-radius: var(--pk-radius-lg);
  padding: 30px; box-shadow: var(--pk-shadow);
}
.pk-lookup-grid { display: grid; grid-template-columns: 400px 1fr; align-items: flex-start; gap: 30px; }
@media (max-width: 860px) { .pk-lookup-grid { grid-template-columns: 1fr; } }
.pk-lookup-grid .pk-doc-lookup { position: sticky; top: 20px; }
@media (max-width: 860px) { .pk-lookup-grid .pk-doc-lookup { position: static; } }

.pk-doc {
  background: #fff; border-radius: var(--pk-radius-lg); overflow: hidden;
  box-shadow: var(--pk-shadow-lg); border: 1px solid var(--pk-line); margin-top: 4px;
}
.pk-doc-header {
  background: var(--pk-gradient-official); color: #fff; padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.pk-doc-header .pk-doc-title { display: flex; align-items: center; gap: 14px; }
.pk-doc-header img.pk-doc-logo { height: 40px; width: auto; }
.pk-doc-header h2 { color: #fff; margin: 0; font-size: 1.15rem; }
.pk-doc-header p { color: #dbe1ee; margin: 2px 0 0; font-size: .8rem; }
.pk-doc-header .pk-doc-id { font-family: var(--pk-font-mono); background: rgba(255,255,255,.12); padding: 6px 14px; border-radius: 999px; font-size: .82rem; letter-spacing: .03em; }

.pk-doc-body { padding: 28px; display: grid; grid-template-columns: 130px 1fr; gap: 26px; }
@media (max-width: 560px) { .pk-doc-body { grid-template-columns: 1fr; } }

.pk-doc-photo {
  width: 130px; height: 156px; border-radius: 10px; border: 1px solid var(--pk-line); background: var(--pk-sky-100);
  display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--pk-ink-500); font-size: 2rem;
}
.pk-doc-photo img { width: 100%; height: 100%; object-fit: cover; }

.pk-doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
@media (max-width: 620px) { .pk-doc-grid { grid-template-columns: 1fr; } }
.pk-doc-field { border-bottom: 1px dashed var(--pk-line); padding-bottom: 8px; }
.pk-doc-field .pk-doc-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--pk-ink-500); font-weight: 600; margin-bottom: 3px; }
.pk-doc-field .pk-doc-value { font-size: .98rem; font-weight: 600; color: var(--pk-ink-900); }
.pk-doc-field.pk-doc-highlight .pk-doc-value { color: var(--pk-navy-700); font-family: var(--pk-font-mono); font-size: 1.1rem; }

.pk-doc-marks { margin-top: 8px; }
.pk-doc-marks .pk-score-band { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.pk-doc-score-circle {
  width: 96px; height: 96px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--pk-gradient-official); color: #fff; flex-shrink: 0;
}
.pk-doc-score-circle strong { font-family: var(--pk-font-head); font-size: 1.5rem; line-height: 1; }
.pk-doc-score-circle span { font-size: .65rem; text-transform: uppercase; letter-spacing: .04em; opacity: .85; }

.pk-doc-instructions { background: var(--pk-sky-100); border-radius: var(--pk-radius-sm); padding: 18px 20px; margin: 0 28px 28px; }
.pk-doc-instructions h4 { margin: 0 0 10px; font-size: .9rem; color: var(--pk-navy-700); }
.pk-doc-instructions ul { margin: 0; padding-left: 18px; color: var(--pk-ink-700); font-size: .85rem; }
.pk-doc-instructions li { margin-bottom: 6px; }

.pk-doc-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 0 28px 28px; }
.pk-doc-sign { text-align: center; font-size: .78rem; color: var(--pk-ink-500); }
.pk-doc-sign .pk-sign-line { width: 150px; border-top: 1px solid var(--pk-ink-500); margin-bottom: 6px; }
.pk-doc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media print {
  header, .pk-site-footer, .pk-back-to-top, .pk-doc-actions, .pk-doc-lookup, .pk-page > .pk-eyebrow,
  #previewloader { display: none !important; }
  body { background: #fff !important; }
  .pk-doc { box-shadow: none !important; border: 1.5px solid #000 !important; }
  .pk-banner { display: none !important; }
  main { padding-top: 0 !important; }
}
