/* ==========================================================================
   Catania Student Application Platform — V5 Professional RTL & Mobile-First UI
   Single university photo, horizontal desktop grids, comfortable mobile reading
   ========================================================================== */
:root {
  --v5-ink: #14223b;
  --v5-navy: #101e37;
  --v5-blue: #234e81;
  --v5-cyan: #00a693;
  --v5-teal-dark: #067a6d;
  --v5-coral: #ee9b69;
  --v5-surface: #f5f8fc;
  --v5-border: #dfe8f0;
  --v5-muted: #5a6d82;
  --v5-shadow: 0 18px 50px rgba(13, 33, 63, 0.08);
}

html {
  scroll-padding-top: 95px;
}

body {
  background: var(--v5-surface);
  color: var(--v5-ink);
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  line-height: 1.75;
}

body.public-nav-open,
body.drawer-open {
  overflow: hidden;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f3aa72;
  outline-offset: 3px;
}

h1, h2, h3 {
  letter-spacing: -0.35px;
}

em {
  color: #008f81;
}

img {
  display: block;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.brand {
  color: var(--v5-navy);
  font-size: 17px;
}

.brand-mark {
  background: var(--v5-navy);
  box-shadow: none;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  font-size: 24px;
}

.brand small {
  letter-spacing: 1.6px;
}

/* Announcement & Header */
.v5-announcement {
  background: #101e37;
  color: #d8e5f2;
  font-size: 12px;
}

.v5-announcement .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 16px;
}

.v5-announcement a {
  color: #9ef3e2;
  font-weight: 700;
}

.v5-header {
  position: sticky;
  top: 0;
  z-index: 70;
  box-shadow: 0 2px 20px rgba(15, 36, 58, 0.05);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
}

.v5-header .nav-row {
  min-height: 76px;
  gap: 16px;
}

.v5-header .public-links {
  gap: 24px;
  font-size: 13.5px;
  align-items: center;
}

.v5-header .public-links a {
  color: #36495e;
  font-weight: 800;
  padding: 6px 2px;
}

.v5-header .public-links a:hover {
  color: #008d83;
}

.v5-mobile-nav-actions {
  display: none;
}

.public-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 46, 0.42);
  backdrop-filter: blur(2px);
  z-index: 65;
}

.public-nav-backdrop[hidden] {
  display: none !important;
}

.v5-header .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v5-header .header-actions .button.primary {
  background: #14223b;
  box-shadow: 0 8px 20px rgba(20, 34, 59, 0.16);
  min-height: 42px;
  padding: 8px 18px;
  font-size: 13px;
}

.v5-header .header-actions .button.primary:hover {
  background: #1f3a63;
}

.v5-header .header-actions .button.ghost {
  background: #eef3f8;
  border: 1px solid #d9e4ee;
  color: #14223b;
  min-height: 42px;
  padding: 8px 16px;
  font-size: 13px;
}

.v5-header .public-menu-toggle {
  border: 1px solid #dde6ef;
  background: #f8fafd;
  border-radius: 11px;
}

/* Home Page Containers & Typography */
.v5-home {
  overflow: hidden;
  background: #fff;
}

.dashboard-main:has(.v5-home) {
  max-width: 100%;
  padding: 0;
}

.v5-home .container {
  position: relative;
}

.v5-home p {
  line-height: 1.85;
}

.v5-home h1,
.v5-home h2 {
  font-weight: 900;
}

.v5-home h2 {
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.4;
}

.v5-home h3 {
  font-size: 19px;
}

.v5-home em {
  font-style: normal;
  color: #008c83;
}

.v5-tag {
  display: inline-block;
  color: #008578;
  background: #e7f7f4;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.2px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.v5-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  background: #e7f7f4;
  border: 1px solid #c5ebe3;
  border-radius: 100px;
  color: #076c63;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 18px;
}

.v5-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00aa91;
  box-shadow: 0 0 0 5px #00aa9124;
}

/* Hero Section — Horizontal 2-Column Layout with Single University Photo */
.v5-hero {
  background: radial-gradient(circle at 8% 10%, #e4f7f3 0, transparent 40%), linear-gradient(170deg, #f9fbff 0%, #eef4fa 100%);
  padding: 52px 0 64px;
}

.v5-hero-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 54px;
}

.v5-hero-copy {
  position: relative;
  z-index: 1;
}

.v5-hero h1 {
  font-size: clamp(36px, 4.1vw, 58px);
  line-height: 1.32;
  color: #14223b;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.v5-hero h1 em {
  color: #008f80;
}

.v5-lead {
  max-width: 600px;
  color: #4b6075;
  font-size: 16px;
  margin-bottom: 24px;
}

.v5-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.v5-button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  min-height: 50px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}

.v5-button:hover {
  transform: translateY(-2px);
}

.v5-button-primary {
  background: #153057;
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 44, 82, 0.18);
}

.v5-button-primary:hover {
  background: #214980;
  color: #fff;
}

.v5-button-outline {
  color: #172c49;
  background: #fff;
  border: 1px solid #cbd9e6;
}

.v5-button-outline:hover {
  border-color: #008f80;
  background: #f5fbfa;
}

.v5-button-wa {
  color: #066942;
  background: #e6f9f0;
  border: 1px solid #b8ebd2;
}

.v5-button-wa:hover {
  background: #d3f4e4;
}

.v5-button-white {
  color: #162a46;
  background: #fff;
}

.v5-hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.v5-trust-pill {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #dce7f0;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v5-trust-pill b {
  font-size: 12.5px;
  color: #162c46;
}

.v5-trust-pill small {
  font-size: 11.5px;
  color: #5b7085;
  line-height: 1.45;
}

.v5-disclaimer {
  color: #6b7d90;
  font-size: 12px;
  margin: 14px 0 0 !important;
}

.v5-hero-photo-wrap {
  position: relative;
  max-width: 100%;
  padding: 10px 10px 20px 24px;
}

.v5-hero-photo {
  height: 430px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(140deg, #2a5478 10%, #193351 55%, #0b253e 100%);
  box-shadow: 0 24px 64px rgba(22, 53, 84, 0.24);
}

.v5-hero-photo > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  display: block;
}

.v5-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 75% 20%, #3b6780, transparent 55%), repeating-linear-gradient(120deg, transparent 0 20px, #ffffff06 20px 21px), linear-gradient(145deg, #2c5472, #11243d);
}

.v5-photo-fallback span {
  font: bold 52px/1.25 Georgia, serif;
  letter-spacing: 4px;
  color: #ffffff29;
}

.v5-hero-photo:after {
  content: '';
  position: absolute;
  inset: 40% 0 0;
  z-index: 3;
  background: linear-gradient(transparent, rgba(10, 23, 38, 0.82));
  pointer-events: none;
}

.v5-photo-label {
  position: absolute;
  bottom: 24px;
  right: 26px;
  z-index: 4;
  color: white;
}

.v5-photo-label span {
  display: block;
  letter-spacing: 3px;
  font-size: 11px;
  font-family: Arial, sans-serif;
  margin-bottom: 4px;
  color: #a9f4e4;
}

.v5-photo-label strong {
  display: block;
  font-size: 24px;
}

.v5-hero-floating {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
  background: #fff;
  border: 1px solid #e2eaf2;
  border-radius: 18px;
  padding: 16px 22px;
  min-width: 146px;
  box-shadow: 0 14px 32px rgba(18, 35, 63, 0.14);
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 1.45;
}

.v5-hero-floating span,
.v5-hero-floating small {
  font-size: 11px;
  color: #5d7084;
  font-weight: 700;
}

.v5-hero-floating strong {
  font: 900 36px Arial, sans-serif;
  color: #008b80;
  margin: 3px 0;
}

/* Horizontal Utility Strip */
.v5-utility-band {
  background: white;
  position: relative;
  z-index: 1;
  border-top: 1px solid #e7eef4;
  border-bottom: 1px solid #e5edf3;
  box-shadow: 0 6px 20px rgba(21, 47, 74, 0.04);
}

.v5-utility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.v5-utility-grid > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  border-left: 1px solid #e8eef3;
  transition: background 0.18s ease;
}

.v5-utility-grid > a:hover {
  background: #f2faf8;
}

.v5-utility-grid > a:last-child {
  border-left: 0;
}

.v5-utility-icon {
  font-family: Arial, sans-serif;
  font-size: 17px;
  color: #078575;
  font-weight: 900;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e6f7f3;
}

.v5-utility-grid > a > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v5-utility-grid b {
  font-size: 14px;
  color: #162940;
}

.v5-utility-grid small {
  font-size: 12px;
  color: #607386;
}

.v5-utility-grid > a > span:last-child {
  margin-right: auto;
  color: #0b9c89;
  font-weight: 900;
  font-size: 16px;
}

/* Sections & University / City 3-Card Horizontal Grid */
.v5-section {
  padding: 68px 0;
}

.v5-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}

.v5-section-head p {
  color: #5b6e82;
  max-width: 390px;
  font-size: 14px;
  margin-bottom: 4px;
}

.v5-section-head h2 {
  margin-bottom: 0;
}

.v5-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.95fr;
  gap: 18px;
}

.v5-story-card {
  position: relative;
  border: 1px solid #dce6ef;
  border-radius: 22px;
  background: #f8fafc;
  min-height: 255px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 35, 58, 0.04);
}

.v5-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  margin-bottom: 14px;
}

.v5-card-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  color: #d6f8ef;
}

.v5-card-badge.teal {
  background: #d2f1ea;
  color: #066f63;
}

.v5-story-card > div {
  width: 100%;
}

.v5-story-main {
  background: linear-gradient(150deg, #142842, #0e1e33);
  color: #fff;
  border-color: #142842;
}

.v5-story-main h3 {
  color: #fff;
}

.v5-story-main p {
  color: #d0deeb !important;
}

.v5-story-card p {
  font-size: 13.5px;
  color: #516579;
  margin: 0 0 16px;
  line-height: 1.8;
}

.v5-story-card a {
  font-size: 13px;
  font-weight: 900;
  color: #008975;
}

.v5-story-main a {
  color: #9ef5e3;
}

.v5-story-symbol {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e2f3f0;
  display: grid;
  place-items: center;
  color: #008573;
  font-size: 21px;
}

.v5-story-main .v5-story-symbol {
  background: rgba(255, 255, 255, 0.14);
  color: #a9f4e4;
}

.v5-story-caption {
  font: 800 11px Arial, sans-serif;
  letter-spacing: 1.8px;
  color: #6b8296;
}

.v5-story-stats {
  background: linear-gradient(160deg, #eaf8f4, #f4fbf9);
  border-color: #ccebe3;
}

.v5-story-stats strong {
  display: block;
  font: 900 48px/1.1 Arial, sans-serif;
  color: #08786e;
  margin: 2px 0 8px;
}

.v5-story-stats h3 {
  font-size: 18px;
}

/* Why Us Section — Horizontal 2-Column Split + 2x2 Benefit Grid */
.v5-section-light {
  background: #f2f6fa;
}

.v5-why-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.v5-why-intro p {
  color: #53677c;
  max-width: 480px;
  font-size: 14.5px;
  margin-bottom: 16px;
}

.v5-why-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.v5-why-highlights span {
  background: #fff;
  border: 1px solid #d9e5ef;
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 800;
  color: #173252;
}

.v5-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.v5-benefit-grid article {
  background: #fff;
  border: 1px solid #e1eaf2;
  box-shadow: 0 8px 24px rgba(21, 54, 90, 0.05);
  border-radius: 18px;
  padding: 22px;
}

.v5-benefit-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.v5-benefit-head > span {
  font: 900 15px Arial, sans-serif;
  color: #088777;
  background: #e6f7f3;
  border-radius: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.v5-benefit-grid h3 {
  font-size: 16px;
  margin: 0;
}

.v5-benefit-grid p {
  font-size: 13px;
  color: #576b80;
  margin-bottom: 0;
  line-height: 1.75;
}

/* Services & Packages — Horizontal 2-Column Comparison + 3-Column Fee Strip */
.v5-services-head {
  margin-bottom: 28px;
}

.v5-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.v5-price-card {
  border: 1px solid #d6e3ed;
  border-radius: 22px;
  background: #fff;
  padding: 30px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 12px 36px rgba(18, 43, 66, 0.06);
}

.v5-price-featured {
  border: 2px solid #0e9084;
  background: linear-gradient(165deg, #effbf8, #ffffff 65%);
}

.v5-featured-label {
  position: absolute;
  left: 24px;
  top: -14px;
  background: #068c7d;
  color: white;
  font-size: 11.5px;
  font-weight: 900;
  padding: 5px 16px;
  border-radius: 999px;
}

.v5-price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.v5-price-top > span {
  font-size: 12.5px;
  font-weight: 900;
  color: #067c70;
  padding: 6px 14px;
  border-radius: 100px;
  background: #e6f7f3;
}

.v5-price-top strong {
  font: 900 36px Arial, sans-serif;
  white-space: nowrap;
  color: #132f4e;
  direction: ltr;
}

.v5-price-top small {
  font-size: 20px;
}

.v5-price-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.v5-price-card > p {
  color: #576b80;
  font-size: 13.5px;
  margin: 0 0 16px;
}

.v5-includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  border-top: 1px solid #e4edf2;
  padding: 18px 0;
  margin-top: auto;
}

.v5-includes span {
  font-size: 13px;
  font-weight: 700;
  color: #2c465e;
}

.v5-price-card .v5-button {
  width: 100%;
  margin-top: 10px;
}

.v5-fee-strip {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.v5-fee-item {
  border: 1px solid #d7e6ec;
  border-radius: 14px;
  background: #f5f9fb;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v5-fee-item b {
  font-size: 13.5px;
  color: #142c47;
}

.v5-fee-item span {
  font-size: 12.5px;
  color: #54697d;
  line-height: 1.6;
}

/* Process Section — Horizontal 4-Card Row on Desktop */
.v5-section-process {
  background: #ebf5f5;
}

.v5-process-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.v5-process-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.v5-process-head p {
  font-size: 14px;
  color: #4f667a;
  max-width: 620px;
  margin: 8px 0 0;
}

.v5-process-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.v5-process-cards > article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dce8ec;
  box-shadow: 0 8px 22px rgba(14, 42, 60, 0.04);
}

.v5-process-cards b {
  font: 900 22px Arial, sans-serif;
  color: #008575;
  background: #e6f7f4;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.v5-process-cards h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: #152b44;
}

.v5-process-cards p {
  font-size: 12.5px;
  color: #5a7084;
  margin: 0;
  line-height: 1.7;
}

/* Bottom Section — Horizontal Split: FAQ + Customer Care & Marketer Stack */
.v5-bottom-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: start;
}

.v5-faq h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  margin-bottom: 18px;
}

.v5-faq-grid {
  display: grid;
  gap: 10px;
}

.v5-faq details {
  border: 1px solid #dfe8f0;
  border-radius: 14px;
  background: #f9fbfd;
  padding: 0 18px;
}

.v5-faq details[open] {
  background: #f2faf8;
  border-color: #b4e2d8;
}

.v5-faq summary {
  cursor: pointer;
  padding: 15px 0;
  font-size: 14px;
  font-weight: 800;
  color: #1b334b;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.v5-faq summary:after {
  content: '+';
  font: 700 22px Arial, sans-serif;
  color: #008f7e;
}

.v5-faq details[open] summary:after {
  content: '−';
}

.v5-faq summary::-webkit-details-marker {
  display: none;
}

.v5-faq details p {
  color: #4f6479;
  font-size: 13px;
  padding: 0 0 16px;
  margin: 0;
  line-height: 1.8;
}

.v5-side-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v5-contact-card {
  border-radius: 22px;
  padding: 32px;
  background: linear-gradient(145deg, #193455, #10223c);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.v5-contact-card .v5-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #9ef5e3;
}

.v5-contact-card h2 {
  font-size: 26px;
  color: #fff;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.v5-contact-card p {
  font-size: 13.5px;
  color: #d4e2ee;
  max-width: 390px;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.v5-contact-card .v5-button {
  position: relative;
  z-index: 1;
}

.v5-contact-card small {
  color: #b1ccda;
  margin-top: 12px;
  direction: ltr;
  font: 700 13px Arial, sans-serif;
}

.v5-contact-orbit {
  position: absolute;
  top: -110px;
  left: -90px;
  font-size: 320px;
  line-height: 1;
  color: #ffffff08;
  pointer-events: none;
}

.v5-partner-mini {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  background: #f5f9fc;
  border: 1px solid #dce6ef;
  border-radius: 18px;
  padding: 20px 22px;
}

.v5-partner-mini > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v5-partner-mini b {
  font-size: 14px;
  color: #152b44;
}

.v5-partner-mini span {
  font-size: 12.5px;
  color: #576c82;
  line-height: 1.65;
}

.v5-partner-mini a {
  background: #e3f5f1;
  border: 1px solid #bce8de;
  border-radius: 10px;
  padding: 10px 15px;
  color: #057a6b;
  font-size: 12.5px;
  white-space: nowrap;
  font-weight: 900;
}

.v5-partner-mini a:hover {
  background: #d1efe8;
}

/* Footer */
.v5-footer {
  background: #0f2138;
  padding: 48px 0 20px;
  color: #c8d6e5;
}

.v5-footer .brand {
  color: white;
}

.v5-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.85fr;
  gap: 48px;
}

.v5-footer-grid h3 {
  color: white;
  font-size: 14px;
  margin-bottom: 12px;
}

.v5-footer-grid p {
  color: #b5c8d9;
  font-size: 13px;
  max-width: 450px;
  margin-top: 14px;
}

.v5-footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v5-footer-grid a:not(.brand) {
  font-size: 13px;
  color: #d0dce8;
}

.v5-footer-grid a:not(.brand):hover {
  color: #8ff0dc;
}

.v5-footer-grid span {
  font-size: 12px;
  color: #98aec2;
}

.v5-footer-last {
  border-top: 1px solid #ffffff22;
  padding: 20px 0 4px;
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9ab0c7;
}

.v5-footer-last small {
  font-size: 11.5px;
}

.v5-footer-last a {
  text-decoration: underline;
}

/* Floating WhatsApp & Mobile Sticky Action Bar */
.v5-wa-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 69;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 50px;
  background: #1fa866;
  color: white;
  padding: 10px 16px;
  min-height: 48px;
  box-shadow: 0 10px 26px rgba(11, 86, 58, 0.24);
  font-size: 12.5px;
  font-weight: 900;
}

.v5-wa-float svg {
  width: 22px;
  height: 22px;
}

.v5-mobile-bar {
  display: none;
}

/* Dashboard Unified Styling */
.dashboard-page {
  background: #f3f6fa;
}

.dashboard-page .sidebar {
  background: #12243b;
}

.dashboard-page .sidebar .brand {
  color: #fff;
}

.dashboard-page .sidebar .brand-mark {
  background: #13a48f;
}

.dashboard-page .dashboard-main {
  padding-top: 28px;
}

.dashboard-page .dash-top {
  background: #fff;
  border-bottom: 1px solid #e2eaf0;
}

.dash-top-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dash-wa-pill {
  background: #e6f8f0;
  color: #08784e;
  border: 1px solid #bfead4;
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 800;
}

.dashboard-page .page-head {
  align-items: center;
  gap: 18px;
}

.dashboard-page .page-head h1 {
  font-size: clamp(24px, 2.3vw, 32px);
  color: #172b44;
}

.dashboard-page .panel,
.dashboard-page .stat-card,
.dashboard-page .admin-shortcuts > a,
.dashboard-page .form-card,
.dashboard-page .detail-card {
  border: 1px solid #e1eaf2;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(24, 43, 73, 0.04);
}

.dashboard-page .stat-card {
  min-width: 0;
}

.dashboard-page .button.primary {
  background: #15365e;
  color: #fff;
}

.dashboard-page .panel-heading {
  gap: 10px;
}

.dashboard-page .panel-heading h2 {
  font-size: 18px;
}

.dashboard-page input,
.dashboard-page select,
.dashboard-page textarea {
  border-color: #d4e1ec;
  border-radius: 10px;
  min-height: 46px;
}

.dashboard-page textarea {
  min-height: 95px;
}

.dashboard-page .status {
  white-space: normal;
}

.dashboard-page .table-wrap {
  border-radius: 12px;
  overflow-x: auto;
}

.dashboard-page .sidebar-bottom .profile-card {
  min-width: 0;
}

.dashboard-page .sidebar a:focus-visible {
  outline-color: #ffbb70;
}

.public-page .panel,
.public-page .auth-card,
.public-page .program-card {
  border: 1px solid #e2eaf0;
  box-shadow: 0 9px 32px rgba(20, 43, 73, 0.05);
}

.public-page .programs-page,
.public-page .auth-page {
  background: #f8fafc;
}

.public-page .programs-page h1 {
  color: #142f50;
}

/* ==========================================================================
   Responsive Breakpoints — Tablet (<=1000px) & Mobile (<=760px, <=550px)
   ========================================================================== */
@media (max-width: 1120px) {
  .v5-header .public-links {
    gap: 15px;
    font-size: 12.5px;
  }
  .v5-hero-layout {
    gap: 36px;
  }
  .v5-process-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .v5-header .public-links {
    gap: 4px;
    position: absolute;
    right: 16px;
    left: 16px;
    top: calc(100% + 6px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #dce6f0;
    box-shadow: 0 22px 45px rgba(15, 35, 60, 0.16);
    border-radius: 18px;
    z-index: 80;
  }

  .v5-header .public-links.is-open {
    display: flex;
  }

  .v5-header .public-links > a {
    padding: 12px 16px;
    font-size: 14.5px;
    border-radius: 11px;
    color: #182d46;
  }

  .v5-header .public-links > a:hover {
    background: #f1f8f7;
  }

  .v5-mobile-nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #e6eef4;
  }

  .v5-mobile-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 900;
    text-align: center;
  }

  .v5-mobile-nav-btn.ghost {
    background: #eff4f9;
    color: #152b45 !important;
    border: 1px solid #d5e1ec;
  }

  .v5-mobile-nav-btn.primary {
    background: #153057;
    color: #ffffff !important;
  }

  .v5-mobile-nav-btn.wa {
    grid-column: 1 / -1;
    background: #e6f8ef;
    color: #066f46 !important;
    border: 1px solid #bce8d2;
  }

  .v5-header .public-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
  }

  .v5-header .public-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #1b3552;
  }

  .v5-header .header-actions {
    margin-right: auto;
  }

  .v5-story-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .v5-story-main {
    grid-column: span 2;
    min-height: 210px;
  }

  .v5-hero-photo {
    height: 360px;
  }

  .v5-fee-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1200px);
  }

  .dash-wa-pill {
    display: none;
  }

  .v5-hero {
    padding: 34px 0 44px;
  }

  .v5-hero-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }

  .v5-hero h1 {
    font-size: clamp(32px, 7.8vw, 46px);
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .v5-hero .v5-lead {
    font-size: 14.5px;
  }

  .v5-hero-trust {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .v5-trust-pill {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
  }

  .v5-hero-photo-wrap {
    width: min(540px, 100%);
    align-self: center;
    padding: 0 0 16px 12px;
  }

  .v5-hero-photo {
    height: 265px;
    border-radius: 20px;
  }

  .v5-photo-fallback span {
    font-size: 34px;
  }

  .v5-hero-floating {
    min-width: 118px;
    padding: 12px 16px;
  }

  .v5-hero-floating strong {
    font-size: 28px;
  }

  .v5-section {
    padding: 48px 0;
  }

  .v5-section-head,
  .v5-process-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .v5-section-head p {
    font-size: 13.5px;
    max-width: 100%;
  }

  .v5-why-layout,
  .v5-bottom-layout,
  .v5-pricing-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .v5-utility-grid {
    grid-template-columns: 1fr;
  }

  .v5-utility-grid > a {
    padding: 15px 16px;
    border-left: 0;
    border-bottom: 1px solid #e8eef3;
  }

  .v5-utility-grid > a:last-child {
    border-bottom: 0;
  }

  .v5-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .v5-footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .v5-footer-last {
    flex-direction: column;
    gap: 8px;
  }

  .v5-partner-mini {
    flex-direction: column;
    align-items: stretch;
  }

  .v5-partner-mini a {
    text-align: center;
  }

  .dashboard-page .dashboard-main {
    padding: 20px 14px 80px;
  }

  .dashboard-page .page-head {
    flex-wrap: wrap;
  }
}

@media (max-width: 550px) {
  body {
    font-size: 14px;
  }

  .v5-announcement .container {
    font-size: 11.5px;
  }

  .v5-announcement .container > a {
    font-size: 0;
  }

  .v5-announcement .container > a::after {
    content: 'واتساب ↗';
    font-size: 11.5px;
    font-weight: 800;
  }

  .v5-header .nav-row {
    min-height: 66px;
    gap: 8px;
  }

  .v5-header .brand {
    font-size: 15px;
    gap: 8px;
  }

  .v5-header .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 21px;
  }

  .v5-header .header-actions {
    gap: 6px;
  }

  .v5-header .header-actions .button.ghost {
    padding: 6px 11px;
    min-height: 38px;
    font-size: 12px;
  }

  .v5-header .header-actions .button.primary {
    padding: 6px 12px;
    min-height: 38px;
    font-size: 12px;
  }

  .v5-hero h1 {
    font-size: clamp(28px, 8.2vw, 38px);
  }

  .v5-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .v5-actions .v5-button-primary {
    grid-column: 1 / -1;
  }

  .v5-actions .v5-button {
    padding: 11px 12px;
    font-size: 13px;
    min-height: 48px;
  }

  .v5-hero .v5-lead {
    font-size: 14px;
  }

  .v5-trust-pill {
    flex-direction: column;
    align-items: flex-start;
  }

  .v5-trust-pill b {
    font-size: 13px;
  }

  .v5-trust-pill small {
    font-size: 12px;
  }

  .v5-hero-photo {
    height: 225px;
  }

  /* Single column cards on narrow phones (320px-550px) for comfortable Arabic reading */
  .v5-story-grid,
  .v5-benefit-grid,
  .v5-process-cards,
  .v5-includes {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .v5-story-main {
    grid-column: auto;
  }

  .v5-story-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .v5-story-card h3 {
    font-size: 18px;
  }

  .v5-story-card p {
    font-size: 13.5px;
  }

  .v5-benefit-grid article {
    padding: 18px;
  }

  .v5-benefit-grid h3 {
    font-size: 15.5px;
  }

  .v5-benefit-grid p {
    font-size: 13px;
  }

  .v5-price-card {
    padding: 24px 20px;
  }

  .v5-price-top strong {
    font-size: 32px;
  }

  .v5-price-card h3 {
    font-size: 18.5px;
  }

  .v5-price-card > p {
    font-size: 13px;
  }

  .v5-includes span {
    font-size: 13px;
  }

  .v5-process-cards > article {
    flex-direction: row;
    align-items: flex-start;
    padding: 18px;
  }

  .v5-process-cards b {
    flex-shrink: 0;
  }

  .v5-contact-card {
    padding: 26px 22px;
  }

  .v5-footer {
    padding-bottom: 84px;
  }

  .v5-wa-float {
    display: none;
  }

  .v5-mobile-bar {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr 1fr;
    gap: 8px;
    position: fixed;
    inset: auto 0 0;
    z-index: 75;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid #dde6ef;
    box-shadow: 0 -8px 30px rgba(20, 43, 76, 0.14);
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  }

  .v5-mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    border-radius: 11px;
    font-weight: 900;
    font-size: 12.5px;
  }

  .v5-mobile-register {
    background: #142f50;
    color: white;
  }

  .v5-mobile-login {
    background: #eef3f8;
    color: #142f50;
    border: 1px solid #d5e0ec;
  }

  .v5-mobile-whatsapp {
    background: #e3f8ee;
    color: #046d45;
    border: 1px solid #bce8d2;
  }

  .public-page {
    padding-bottom: 68px;
  }

  .dashboard-page .v5-wa-float {
    display: flex;
    left: 14px;
    bottom: 14px;
    padding: 8px 13px;
    min-height: 42px;
    font-size: 12px;
  }

  /* Small-screen dashboard tables: transform each record into its own readable card */
  .dashboard-page table.mobile-cards {
    border: 0;
    min-width: 0;
    width: 100%;
  }

  .dashboard-page table.mobile-cards thead {
    display: none;
  }

  .dashboard-page table.mobile-cards tbody {
    display: grid;
    gap: 12px;
  }

  .dashboard-page table.mobile-cards tr {
    display: grid;
    border: 1px solid #dfe9f0;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 5px 18px rgba(23, 42, 65, 0.06);
  }

  .dashboard-page table.mobile-cards td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    text-align: start;
    border: 0 !important;
    padding: 9px 0 !important;
    font-size: 12.5px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .dashboard-page table.mobile-cards td:not(:last-child) {
    border-bottom: 1px solid #edf2f6 !important;
  }

  .dashboard-page table.mobile-cards td:before {
    content: attr(data-label);
    font-weight: 900;
    color: #587086;
    flex: 0 0 38%;
  }

  .dashboard-page table.mobile-cards td > * {
    max-width: 62%;
  }

  .dashboard-page table.mobile-cards .table-link {
    white-space: normal;
  }

  .dashboard-page .table-wrap {
    overflow: visible;
  }
}

@media (max-width: 380px) {
  .v5-header .header-actions .button.ghost {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v5-button {
    transition: none;
  }
}

/* ==========================================================================
   Horizontal Application Workspace (apply.html) & Interactive Catalog Filter
   ========================================================================== */
.apply-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.apply-layout-grid .form-panel {
  max-width: 100%;
  margin: 0;
}

.apply-aside {
  position: sticky;
  top: 94px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apply-live-card .summary-price {
  margin: 12px 0;
}

.catalog-filter-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.catalog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  border: 1px solid #d5e4e0;
  background: #f5faf8;
  color: #355c54;
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.15s ease;
}

.filter-pill.is-active,
.filter-pill:hover {
  background: #0f8f7f;
  border-color: #0f8f7f;
  color: #fff;
}

.catalog-card[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .apply-layout-grid {
    grid-template-columns: 1fr;
  }

  .apply-aside {
    position: static;
  }

  .catalog-filter-meta {
    align-items: flex-start;
  }
}

@media (max-width: 550px) {
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px !important;
  }

  .wizard-steps,
  .timeline-steps {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .wizard-actions .button,
  .form-actions .button,
  .upload-form .button {
    width: 100%;
    min-height: 46px;
  }

  .upload-form input[type="file"] {
    width: 100%;
  }

  .slot-file-row {
    flex-direction: column;
    align-items: stretch;
  }

  .slot-file-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Compact summaries beside the active step on mobile; desktop keeps the full aside. */
.mobile-choice-summary { display: none; }
@media (max-width: 980px) {
  .mobile-choice-summary { display: block; padding: 12px 14px; margin: 12px 0; border: 1px solid #b4e2d8; border-radius: 12px; background: #f2faf8; color: #14223b; font-weight: 700; }
}

/* ==========================================================================
   Bilingual Searchable Bachelor Picker & Dashboard Visual Polish
   ========================================================================== */
.bachelor-search-box {
  background: #f3faf8;
  border: 1px solid #cce8e0;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
  position: relative;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 6px;
}

.bachelor-search-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bfdCD4 !important;
  background: #ffffff !important;
  border-radius: 11px !important;
  padding: 10px 14px 10px 38px !important;
  font-size: 13.5px;
  color: var(--v5-ink);
}

.bachelor-search-input:focus {
  border-color: #0b8e7d !important;
  box-shadow: 0 0 0 3px rgba(11, 142, 125, 0.14) !important;
}

.search-clear-btn {
  position: absolute;
  left: 10px;
  border: 0;
  background: #e6f2ef;
  color: #264d46;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.search-clear-btn[hidden] {
  display: none !important;
}

.bachelor-search-results {
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid #cfe4de;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(14, 38, 56, 0.1);
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.bachelor-search-results[hidden] {
  display: none !important;
}

.bachelor-result-item {
  border: 1px solid transparent;
  background: #f9fcfb;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.bachelor-result-item:hover,
.bachelor-result-item.is-selected {
  background: #e9faf5;
  border-color: #8fd9c5;
}

.bachelor-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bachelor-result-top strong {
  font-size: 13.5px;
  color: #142b44;
}

.bachelor-result-count {
  font-size: 11px;
  font-weight: 800;
  background: #dcf5ec;
  color: #066f5b;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
}

.bachelor-result-item small {
  font-size: 11.5px;
  color: #5b7285;
}

.bachelor-search-empty {
  padding: 12px;
  font-size: 12.5px;
  color: #6b7d90;
  text-align: center;
}

.libyan-alias-note {
  background: #eef8f6;
  border-right: 3px solid #0b9683;
  border-radius: 9px;
  padding: 9px 13px;
  font-size: 12px;
  color: #214d46;
  margin: 6px 0 14px;
}

.libyan-alias-note[hidden] {
  display: none !important;
}

.catalog-filter-shell {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px;
  align-items: start;
}

.catalog-search-col,
.catalog-select-col {
  width: 100%;
}

.catalog-filter-shell label {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.catalog-count-badge {
  display: inline-flex;
  align-items: center;
  background: #e7f6f2;
  color: #086b5c;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 900;
}

/* Dashboard Visual Polish */
.page-head-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-filter-bar {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.admin-filter-bar label {
  width: 100%;
  margin: 0;
}

.help-actions-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

@media (max-width: 1050px) {
  .catalog-filter-shell,
  .admin-filter-bar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

/* ==========================================================================
   Notifications Center, Seat Capacity Management, & Enhanced Student/Partner Cards
   ========================================================================== */
.nav-badge {
  margin-right: auto;
  background: #ee9b69;
  color: #101e37;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 99px;
}

.dash-notif-pill {
  background: #fff3e6;
  color: #9c4a1a;
  border: 1px solid #f5cfa8;
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 800;
}

.app-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.step-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--v5-muted);
}

.next-action-banner {
  background: #eefaf6;
  border: 1px solid #b7e6d8;
  border-right: 4px solid #0b9683;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.next-action-banner b {
  display: block;
  font-size: 13px;
  color: #086b5c;
  margin-bottom: 2px;
}

.next-action-banner span {
  font-size: 12.5px;
  color: #1e3d38;
}

.fin-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: #f8fafd;
  border: 1px solid #e3ebf3;
  border-radius: 12px;
  padding: 12px 15px;
  margin-top: 12px;
}

.fin-mini-grid small {
  display: block;
  font-size: 11px;
  color: var(--v5-muted);
}

.fin-mini-grid b {
  font-size: 13px;
  color: var(--v5-ink);
}

.notif-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notif-item {
  border: 1px solid #e2eaf2;
  border-right: 4px solid #3c78b5;
  background: #f9fbfd;
  border-radius: 12px;
  padding: 12px 15px;
}

.notif-item.notif-success {
  border-right-color: #16936c;
  background: #f3fcf8;
}

.notif-item.notif-warning {
  border-right-color: #d97736;
  background: #fff9f5;
}

.notif-item.is-unread {
  box-shadow: 0 4px 14px rgba(15, 36, 58, 0.06);
}

.notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.notif-head b {
  font-size: 13px;
  color: #142842;
}

.notif-head small {
  font-size: 11px;
  color: var(--v5-muted);
  direction: ltr;
}

.notif-new-dot {
  background: #0b9683;
  color: #fff;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 99px;
  margin-right: 6px;
}

.notif-item p {
  font-size: 12.5px;
  color: #4a6075;
  margin: 0;
  line-height: 1.7;
}

.seat-pill {
  font-size: 11px;
  font-weight: 800;
  background: #eef7f5;
  color: #0b7a6b;
  border: 1px solid #c6e8e0;
  padding: 4px 10px;
  border-radius: 99px;
}

.seat-pill.seat-low {
  background: #fff1e8;
  color: #b54d1b;
  border-color: #f3c4ab;
}

.seat-input {
  width: 82px !important;
  min-height: 36px !important;
  padding: 4px 8px !important;
  text-align: center;
  font-weight: 800;
}

@media (max-width: 760px) {
  .fin-mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 550px) {
  .fin-mini-grid {
    grid-template-columns: 1fr;
  }
}


/* --- Production Readiness Enhancements: 5-Step Pipeline & Financial Ledger --- */
.timeline-steps.five-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.three-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ledger-form {
  background: #f8fafc;
  border: 1px solid #dde6f0;
  border-radius: 14px;
  padding: 14px;
}

.ledger-in {
  color: #0d7a58;
  font-weight: 800;
}

.ledger-out {
  color: #b42318;
  font-weight: 800;
}

.uni-ref-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 99px;
  background: #eef4fb;
  color: #153e6c;
  font-size: 11px;
  font-weight: 700;
  direction: ltr;
}

@media (max-width: 960px) {
  .timeline-steps.five-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .three-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 550px) {
  .timeline-steps.five-steps {
    grid-template-columns: 1fr;
  }
}

/* The custom university name is visible only for “Other”. Explicitly override
   the form's display:grid/flex label declarations, which can defeat [hidden]. */
#otherUniversityWrap[hidden] {
  display: none !important;
}

/* Conditional partner registration fields and readable discounted package prices. */
#registrationOfficeWrap[hidden], #registrationPartnerConsentWrap[hidden] { display: none !important; }
.package-option strong del { font-size: .7em; opacity: .7; display: block; }

/* Scoped partner tier and print card. */
.partner-tier {display:grid;gap:5px;min-width:120px;}
.partner-tier progress {width:100%;height:12px;accent-color:#008d83;}
.partner-print-card {text-align:center;border:2px solid #234e81;border-radius:16px;padding:18px;margin:12px 0;overflow-wrap:anywhere;}
.partner-print-card img {max-width:100%;height:auto;margin:12px auto;}
.partner-print-card strong {font-size:1.4rem;letter-spacing:1px;}
@media print {
  body.printing-partner-card {background:white!important;}
  body.printing-partner-card .sidebar, body.printing-partner-card .sidebar-backdrop,
  body.printing-partner-card .dash-top, body.printing-partner-card .dashboard-main > :not(:has(#partnerPrintCard)),
  body.printing-partner-card section:has(#partnerPrintCard) > :not(#partnerPrintCard) {display:none!important;}
  body.printing-partner-card .dashboard-layout, body.printing-partner-card .main-shell,
  body.printing-partner-card .dashboard-main, body.printing-partner-card section:has(#partnerPrintCard) {display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:white!important;}
  body.printing-partner-card #partnerPrintCard {width:100%;max-width:125mm;box-sizing:border-box;margin:0 auto;background:white;color:black;break-inside:avoid;}
  body.printing-partner-card #partnerPrintCard img {width:60mm;max-width:100%;height:auto;}
}
