/* =========================================================
   RAYA AIRWAYS FORMS PORTAL
   CLEAN PRODUCTION CSS
   ========================================================= */

/* =========================================================
   GLOBAL
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

/* =========================================================
   PREMIUM LOGIN PAGE
   ========================================================= */

.premium-login {
  margin: 0;
  min-height: 100vh;

  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: #0d2d57;

  overflow-x: hidden;
  position: relative;

  background-image: url("/images/portal-background.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.portal-shell {
  width: min(1280px, calc(100% - 80px));
  min-height: calc(100vh - 85px);

  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;

  position: relative;
  z-index: 2;
}

/* =========================================================
   LEFT INTRO
   ========================================================= */

.portal-intro {
  max-width: 590px;
  padding: 55px 0;
}

.intro-logo img {
  width: 175px;
  height: auto;
  display: block;
}

.gold-line {
  width: 54px;
  height: 4px;

  margin: 42px 0 25px;

  background: #f5ad16;
  border-radius: 20px;
}

/* Desktop hero branding refinements */
@media (min-width: 1151px) {
  .portal-intro .intro-logo img {
    display: none;
  }

  .portal-intro .gold-line {
    display: none;
  }
}

.intro-label {
  margin-bottom: 15px;

  color: #35577f;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.portal-intro h1 {
  margin: 0;

  color: #0d2d57;

  font-size: clamp(42px, 4vw, 64px);
  line-height: 1.02;

  font-weight: 700;
  letter-spacing: -2.2px;
}

.portal-intro h1 span {
  color: #174e8d;
}

.intro-description {
  max-width: 480px;
  margin-top: 26px;

  color: #53677e;

  font-size: 18px;
  line-height: 1.6;
}

/* =========================================================
   FEATURES
   ========================================================= */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;

  margin-top: 45px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 17px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  color: #15518e;
  background: rgba(255, 255, 255, 0.72);

  border: 1px solid rgba(21, 81, 142, 0.1);

  box-shadow: 0 7px 18px rgba(17, 53, 91, 0.05);

  font-size: 21px;
  font-weight: 700;
}

.feature-item h3 {
  margin: 0 0 3px;

  color: #15385f;

  font-size: 15px;
  font-weight: 700;
}

.feature-item p {
  margin: 0;

  color: #738296;

  font-size: 13px;
}

/* =========================================================
   LOGIN AREA
   ========================================================= */

.portal-login-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-login-card {
  width: 100%;
  max-width: 515px;

  padding: 44px 46px 38px;

  text-align: center;

  /* prettier-ignore */
  background: rgba(255, 255, 255, 0.60);

  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 22px 55px rgba(9, 40, 77, 0.17),
    0 4px 14px rgba(9, 40, 77, 0.07);

  position: relative;
  overflow: hidden;
}
/* =========================================================
   LOGIN CARD CONTENT
   ========================================================= */

.card-logo {
  width: 175px;
  height: auto;

  display: block;
  margin: 0 auto 22px;

  filter: drop-shadow(0 6px 14px rgba(13, 45, 87, 0.1));
}

/* Desktop logo prominence */
@media (min-width: 1151px) {
  .premium-login-card .card-logo {
    transform: scale(1.1);
  }
}

.welcome-label {
  margin-bottom: 10px;

  color: #526d8b;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.premium-login-card h2 {
  margin: 0;

  color: #0d2d57;

  font-size: 38px;
  line-height: 1.15;

  letter-spacing: -1px;
}

.login-description {
  max-width: 390px;

  margin: 16px auto 24px;

  color: #687b91;

  font-size: 14px;
  line-height: 1.7;
}

/* =========================================================
   MICROSOFT BUTTON
   ========================================================= */

.premium-ms-button {
  width: 100%;
  min-height: 62px;

  padding: 0 23px;

  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  gap: 13px;

  border-radius: 13px;

  background: linear-gradient(110deg, #113f78 0%, #12569b 100%);

  color: #ffffff;

  text-decoration: none;

  font-size: 15px;
  font-weight: 600;

  box-shadow: 0 12px 28px rgba(17, 71, 130, 0.2);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.premium-ms-button:hover {
  transform: translateY(-2px);

  box-shadow: 0 16px 35px rgba(17, 71, 130, 0.27);

  background: linear-gradient(110deg, #0d376b 0%, #0d4f91 100%);
}

.premium-ms-button:active {
  transform: translateY(0);
}

/* Microsoft icon */

.ms-grid {
  width: 21px;
  height: 21px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;

  gap: 2px;
}

.ms-grid i {
  display: block;
  background: #ffffff;
}

/* Login arrow */

.login-arrow {
  justify-self: end;

  font-size: 24px;
  font-weight: 300;

  transition: transform 0.2s ease;
}

.premium-ms-button:hover .login-arrow {
  transform: translateX(3px);
}

/* =========================================================
   LOGIN SECURITY
   ========================================================= */

.login-divider {
  margin: 22px 0 18px;

  display: flex;
  align-items: center;
  gap: 15px;
}

.login-divider span {
  height: 1px;
  flex: 1;

  background: #b0bfd1;
}

.login-divider small {
  color: #9aa7b6;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.account-required {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  color: #6f8093;

  font-size: 12px;
}

.lock-icon {
  width: 22px;
  height: 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #174e8d;
}

.lock-icon svg {
  width: 15px;
  height: 15px;

  fill: none;

  stroke: #174e8d;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.internal-label {
  margin-top: 21px;

  color: #a0abba;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.premium-footer {
  width: min(1280px, calc(100% - 80px));
  min-height: 42px;

  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
  z-index: 2;

  background: rgba(255, 255, 255, 0.58);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px 12px 0 0;

  color: #0d2d57;

  font-size: 11px;
  font-weight: 600;

  box-shadow: 0 -4px 20px rgba(13, 45, 87, 0.06);
}

.premium-footer div:first-child,
.premium-footer div:last-child {
  color: #0d2d57;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1150px) {
  .portal-shell {
    width: min(680px, calc(100% - 40px));

    grid-template-columns: 1fr;

    gap: 30px;
    padding: 45px 0;
  }

  .portal-intro {
    max-width: 100%;
    padding: 0;

    text-align: center;
  }

  .intro-logo img {
    margin: 0 auto;
  }

  .gold-line {
    margin: 30px auto 22px;
  }

  .intro-description {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-list {
    display: none;
  }

  .portal-intro h1 {
    font-size: 45px;
  }

  .premium-footer {
    width: calc(100% - 40px);

    justify-content: center;
    gap: 15px;

    text-align: center;
  }

  .premium-footer div:last-child {
    display: none;
  }
}

/* Short desktop viewport refinements */
@media (min-width: 1151px) and (max-height: 850px) {
  .portal-shell {
    padding-top: 15px;
    padding-bottom: 15px;
    box-sizing: border-box;
  }

  .premium-login-card {
    padding: 16px 42px 12px;
  }

  .premium-login-card .card-logo {
    margin-bottom: 16px;
  }

  .premium-login-card .login-description {
    margin: 12px auto 18px;
  }

  .premium-login-card .login-divider {
    margin: 16px 0 12px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {
  .premium-login {
    background-attachment: scroll;
  }

  .portal-shell {
    width: calc(100% - 28px);

    padding: 28px 0;
  }

  .portal-intro h1 {
    font-size: 37px;
  }

  .intro-description {
    font-size: 15px;
  }

  .intro-logo img {
    width: 150px;
    height: auto;

    display: block;
    margin: 0 auto;
  }

  .premium-login-card {
    padding: 40px 24px 34px;

    border-radius: 22px;
  }

  .card-logo {
    width: 165px;
    height: auto;

    display: block;
    margin: 0 auto 22px;

    filter: drop-shadow(0 5px 12px rgba(13, 45, 87, 0.1));
  }

  .premium-login-card h2 {
    font-size: 32px;
  }

  .premium-ms-button {
    min-height: 58px;

    padding: 0 18px;

    font-size: 14px;
  }

  .premium-footer {
    width: calc(100% - 28px);

    min-height: 42px;
    padding: 0 12px;

    font-size: 10px;
  }
}

/* =========================================================
   RAYA AIRWAYS FORMS PORTAL
   DASHBOARD - MOCKUP DESIGN
   ========================================================= */

.dashboard-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  color: #102f55;
}

/* =========================
   HEADER
   ========================= */

.dashboard-header {
  height: 96px;
  padding: 0 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #ffffff;
  border-bottom: 1px solid #e5eaf0;
}

.dashboard-brand {
  display: flex;
  align-items: center;
}

.dashboard-logo {
  width: 220px;
  height: auto;
  display: block;
}

.brand-divider {
  width: 1px;
  height: 45px;
  margin: 0 24px;
  background: #d8e0e8;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  color: #183657;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.brand-text span {
  margin-top: 4px;
  color: #687b90;
  font-size: 12px;
  font-weight: 500;
}

/* =========================
   USER / SIGN OUT
   ========================= */

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-avatar {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 46px;

  border-radius: 50%;
  background: #e4eef8;

  color: #14518c;
  font-size: 14px;
  font-weight: 700;
}

.user-details {
  width: 245px;
  display: flex;
  flex-direction: column;
}

.user-details strong {
  color: #183657;
  font-size: 13px;
  font-weight: 700;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-details span {
  margin-top: 4px;

  color: #708196;
  font-size: 11px;
  font-weight: 500;
}

.user-chevron {
  margin-left: -4px;
  color: #728397;
  font-size: 20px;
  line-height: 1;
}

.header-divider {
  width: 1px;
  height: 34px;
  margin: 0 8px;
  background: #e0e6ec;
}

.dashboard-signout {
  min-height: 46px;
  padding: 0 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  border: 1px solid #dbe3eb;
  border-radius: 10px;

  background: #ffffff;
  color: #183657;

  text-decoration: none;
  font-size: 12px;
  font-weight: 600;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.dashboard-signout svg {
  width: 19px;
  height: 19px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-signout:hover {
  transform: translateY(-1px);
  background: #f7f9fc;
  border-color: #c5d2df;
}

/* =========================
   MAIN CONTENT
   ========================= */

.dashboard-content {
  width: min(1500px, calc(100% - 80px));
  flex: 1;

  margin: 0 auto;
  padding: 36px 0 55px;
}

/* =========================
   WELCOME BANNER
   ========================= */

.dashboard-welcome {
  min-height: 285px;

  display: flex;
  align-items: center;

  position: relative;
  overflow: hidden;

  border: 1px solid #dfe6ed;
  border-radius: 16px;

  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 35%,
      rgba(255, 255, 255, 0.5) 58%,
      rgba(255, 255, 255, 0.05) 100%
    ),
    url("/images/portal-background.png");

  background-size: cover;
  background-position: center 56%;

  box-shadow: 0 8px 28px rgba(13, 45, 87, 0.04);
}

.welcome-content {
  padding: 42px 60px;
  position: relative;
  z-index: 2;
}

.dashboard-eyebrow {
  margin-bottom: 15px;

  color: #687b90;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
}

.dashboard-welcome h1 {
  margin: 0;

  color: #102d52;

  font-size: clamp(40px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.8px;
}

.dashboard-welcome h1 span {
  color: #eda810;
}

.dashboard-welcome p {
  margin-top: 15px;

  color: #405b77;

  font-size: 18px;
  font-weight: 500;
}

.dashboard-welcome small {
  display: block;
  margin-top: 7px;

  color: #65788d;

  font-size: 13px;
  font-weight: 500;
}

.dashboard-gold-line {
  width: 110px;
  height: 4px;

  margin-top: 26px;

  border-radius: 10px;
  background: #f3ad18;
}

/* =========================
   AVAILABLE FORMS HEADING
   ========================= */

.forms-section {
  margin-top: 40px;
}

.forms-heading {
  margin-bottom: 25px;

  display: flex;
  align-items: center;
  gap: 16px;
}

.forms-heading-icon {
  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.forms-heading-icon svg {
  width: 27px;
  height: 27px;

  fill: none;
  stroke: #174f87;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.forms-heading h2 {
  margin: 0;

  color: #102d52;

  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.forms-heading p {
  margin-top: 5px;

  color: #64778d;

  font-size: 13px;
  font-weight: 500;
}

/* =========================
   FORMS GRID
   ========================= */

.forms-grid {
  display: grid;

  grid-template-columns:
    minmax(520px, 1.45fr)
    minmax(280px, 0.8fr)
    minmax(280px, 0.8fr);

  gap: 26px;
}

/* =========================
   COMMON FORM CARD
   ========================= */

.portal-form-card {
  min-height: 280px;

  position: relative;
  overflow: hidden;

  border: 1px solid #dce4ec;
  border-radius: 16px;

  background: #ffffff;

  box-shadow: 0 7px 24px rgba(13, 45, 87, 0.035);
}

/* =========================
   TRAVEL REQUEST CARD
   ========================= */

.travel-request-card {
  padding: 30px;

  border-color: #c6ddf1;

  background:
    radial-gradient(
      circle at 87% 72%,
      rgba(218, 235, 249, 0.6),
      transparent 34%
    ),
    #ffffff;
}

.travel-card-content {
  width: 55%;
  min-width: 390px;

  position: relative;
  z-index: 3;
}

.form-card-top {
  display: flex;
  align-items: center;
  gap: 17px;
}

.form-icon {
  width: 64px;
  height: 64px;

  flex: 0 0 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: linear-gradient(145deg, #0b315c, #0b568f);
  color: #ffffff;

  font-size: 30px;

  box-shadow: 0 8px 20px rgba(13, 70, 126, 0.15);
}

.form-card-top h3 {
  margin: 0;

  color: #102d52;

  font-size: 20px;
  font-weight: 700;
}

.form-card-top span {
  display: block;
  margin-top: 5px;

  color: #60758c;

  font-size: 14px;
  font-weight: 500;
}

.form-description {
  max-width: 420px;

  margin-top: 24px;

  color: #536b83;

  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

.form-action {
  width: 275px;
  min-height: 54px;

  margin-top: 25px;
  padding: 0 21px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-radius: 10px;

  background: linear-gradient(110deg, #0b3565, #07548d);
  color: #ffffff;

  text-decoration: none;

  font-size: 13px;
  font-weight: 600;

  box-shadow: 0 10px 24px rgba(11, 64, 116, 0.15);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.form-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 64, 116, 0.22);
}

/* =========================
   TRAVEL WATERMARK
   ========================= */

.travel-watermark {
  width: 310px;
  height: 245px;

  position: absolute;
  right: -10px;
  bottom: -30px;

  z-index: 1;
  pointer-events: none;

  opacity: 0.14;
}

.watermark-globe {
  position: absolute;
  right: 5px;
  bottom: 0;

  font-size: 205px;
  line-height: 1;

  filter: grayscale(1);
}

.watermark-plane {
  position: absolute;
  right: 34px;
  top: 5px;

  color: #236da8;

  font-size: 42px;

  transform: rotate(-22deg);

  opacity: 0.85;
}

.watermark-route {
  width: 145px;
  height: 95px;

  position: absolute;
  right: 48px;
  top: 48px;

  border-top: 3px dashed #236da8;
  border-radius: 50%;

  transform: rotate(-25deg);
}

/* =========================
   COMING SOON CARDS
   ========================= */

.coming-soon-card {
  padding: 31px 30px;

  background: #ffffff;
}

.coming-icon {
  width: 64px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: #f0f3f6;
}

.coming-icon svg {
  width: 30px;
  height: 30px;

  fill: none;
  stroke: #77889b;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coming-title {
  margin-top: 20px;

  display: flex;
  align-items: center;
  gap: 10px;

  flex-wrap: wrap;
}

.coming-title h3 {
  margin: 0;

  color: #173657;

  font-size: 18px;
  font-weight: 700;
}

.coming-title span {
  padding: 5px 10px;

  border-radius: 20px;

  background: #eef1f4;
  color: #728295;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.coming-soon-card p {
  max-width: 270px;

  margin-top: 20px;

  color: #687b90;

  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
}

/* =========================
   FOOTER
   ========================= */

.dashboard-footer {
  min-height: 70px;

  padding: 0 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #ffffff;
  border-top: 1px solid #e1e7ed;

  color: #60748a;

  font-size: 11px;
  font-weight: 500;
}

.dashboard-footer span {
  margin: 0 8px;
  color: #a3afbb;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1200px) {
  .forms-grid {
    grid-template-columns: 1fr 1fr;
  }

  .travel-request-card {
    grid-column: 1 / -1;
  }

  .travel-card-content {
    width: 55%;
  }
}

@media (max-width: 850px) {
  .dashboard-header {
    height: auto;
    padding: 18px 24px;
  }

  .dashboard-logo {
    width: 165px;
  }

  .brand-divider,
  .brand-text,
  .user-details,
  .user-chevron,
  .header-divider {
    display: none;
  }

  .dashboard-content {
    width: calc(100% - 32px);
    padding-top: 20px;
  }

  .dashboard-welcome {
    min-height: 250px;
    background-position: 65% center;
  }

  .welcome-content {
    padding: 35px;
  }

  .forms-grid {
    grid-template-columns: 1fr;
  }

  .travel-request-card {
    grid-column: auto;
  }

  .travel-card-content {
    width: 65%;
    min-width: 0;
  }

  .dashboard-footer {
    padding: 20px 24px;
    justify-content: center;
    text-align: center;
  }

  .dashboard-footer div:last-child {
    display: none;
  }
}

@media (max-width: 560px) {
  .dashboard-header {
    padding: 15px 16px;
  }

  .dashboard-logo {
    width: 135px;
  }

  .user-avatar {
    width: 38px;
    height: 38px;
    flex-basis: 38px;

    font-size: 12px;
  }

  .dashboard-signout {
    min-height: 40px;
    padding: 0 13px;

    font-size: 11px;
  }

  .dashboard-welcome {
    min-height: 235px;
  }

  .welcome-content {
    padding: 28px 24px;
  }

  .dashboard-welcome h1 {
    font-size: 34px;
  }

  .dashboard-welcome p {
    font-size: 16px;
  }

  .dashboard-welcome small {
    max-width: 260px;
    font-size: 12px;
  }

  .travel-request-card,
  .coming-soon-card {
    min-height: auto;
    padding: 24px;
  }

  .travel-card-content {
    width: 100%;
  }

  .travel-watermark {
    opacity: 0.07;
    right: -100px;
  }

  .form-description {
    max-width: 80%;
  }

  .form-action {
    width: 100%;
  }
}
/* =========================
   TRAVEL GLOBE IMAGE
   ========================= */

.travel-watermark {
  position: absolute;

  width: 390px;
  height: 285px;

  right: -5px;
  bottom: -32px;

  z-index: 1;
  opacity: 1;

  overflow: hidden;
  pointer-events: none;
}

.travel-globe-image {
  position: absolute;

  width: 400px;
  height: 285px;

  right: -5px;
  bottom: 0;

  object-fit: cover;
  object-position: right center;

  opacity: 0.45;
}

/* =========================================================
   PROFILE DROPDOWN
   ========================================================= */

.profile-menu {
  position: relative;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 7px 10px;
  border: 0;
  border-radius: 12px;

  background: transparent;
  color: inherit;
  font-family: inherit;
  cursor: pointer;

  transition: background 0.2s ease;
}

.profile-trigger:hover {
  background: #f5f8fb;
}

.profile-trigger .user-details {
  text-align: left;
}

.profile-chevron {
  width: 16px;
  height: 16px;

  fill: none;
  stroke: #71849a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 0.2s ease;
}

.profile-trigger.active .profile-chevron {
  transform: rotate(180deg);
}

/* DROPDOWN */

.profile-dropdown {
  width: 350px;

  position: absolute;
  top: calc(100% + 12px);
  right: 0;

  z-index: 1000;

  padding: 10px;

  background: #ffffff;

  border: 1px solid #e0e7ee;
  border-radius: 14px;

  box-shadow:
    0 18px 45px rgba(20, 50, 85, 0.13),
    0 3px 10px rgba(20, 50, 85, 0.05);

  opacity: 0;
  visibility: hidden;

  transform: translateY(-8px);

  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.profile-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* USER INFO */

.profile-dropdown-header {
  padding: 10px;

  display: flex;
  align-items: center;
  gap: 12px;
}

.dropdown-avatar {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #e4eef8;
  color: #14518c;

  font-size: 13px;
  font-weight: 700;
}

.dropdown-user-info {
  min-width: 0;

  display: flex;
  flex-direction: column;
}

.dropdown-user-info strong {
  color: #173657;

  font-size: 12px;
  font-weight: 700;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-user-info span {
  margin-top: 4px;

  color: #718298;

  font-size: 10px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* DIVIDER */

.profile-dropdown-divider {
  height: 1px;
  margin: 7px 4px;

  background: #edf1f5;
}

/* MENU ITEMS */

.profile-dropdown-item {
  min-height: 48px;

  padding: 9px 11px;

  display: flex;
  align-items: center;
  gap: 12px;

  border-radius: 9px;

  color: #294968;
  text-decoration: none;

  transition: background 0.18s ease;
}

.profile-dropdown-item svg {
  width: 20px;
  height: 20px;

  flex: 0 0 20px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-dropdown-item strong {
  display: block;

  font-size: 12px;
  font-weight: 600;
}

.profile-dropdown-item div span {
  display: block;
  margin-top: 2px;

  color: #8a99aa;

  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

/* COMING SOON */

.disabled-item {
  color: #6d8094;
  cursor: default;
}

.disabled-item:hover {
  background: #f7f9fb;
}

/* LOGOUT */

.profile-logout {
  color: #b53a3a;
}

.profile-logout:hover {
  background: #fff4f4;
}

/* =========================================================
   ELECTRONIC TRAVEL REQUEST (e-TR)
   ========================================================= */

.etr-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #f6f8fb;
  color: #173657;
}

/* HEADER */

.etr-header {
  min-height: 90px;
  padding: 0 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #ffffff;
  border-bottom: 1px solid #e2e8ef;
}

.etr-header-left {
  display: flex;
  align-items: center;
}

.etr-back {
  width: 40px;
  height: 40px;
  margin-right: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #dce4ec;
  border-radius: 10px;

  color: #315473;
  text-decoration: none;
  background: #ffffff;
  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.etr-back:hover {
  background: #f4f7fa;
  transform: translateX(-2px);
}

.etr-back svg {
  width: 20px;
  height: 20px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.etr-logo {
  width: 185px;
  height: auto;
  display: block;
}

.etr-header-divider {
  width: 1px;
  height: 42px;

  margin: 0 22px;

  background: #dce3ea;
}

.etr-header-title {
  display: flex;
  flex-direction: column;
}

.etr-header-title strong {
  color: #173657;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.etr-header-title span {
  margin-top: 4px;

  color: #718297;
  font-size: 11px;
  font-weight: 500;
}

/* USER */

.etr-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.etr-user-avatar {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #e4eef8;
  color: #14518c;

  font-size: 13px;
  font-weight: 700;
}

.etr-user-info {
  width: 230px;

  display: flex;
  flex-direction: column;
}

.etr-user-info strong {
  color: #173657;

  font-size: 12px;
  font-weight: 700;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.etr-user-info span {
  margin-top: 4px;

  color: #74869a;
  font-size: 10px;
}

/* MAIN */

.etr-content {
  width: min(1180px, calc(100% - 60px));

  flex: 1;

  margin: 0 auto;
  padding: 44px 0 60px;
}

/* INTRO */

.etr-intro {
  margin-bottom: 30px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.etr-eyebrow {
  margin-bottom: 10px;

  color: #718297;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
}

.etr-intro h1 {
  margin: 0;

  color: #102f55;

  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.6px;
}

.etr-intro p {
  margin: 9px 0 0;

  color: #64788e;

  font-size: 13px;
  font-weight: 500;
}

.etr-status {
  padding: 9px 14px;

  display: flex;
  align-items: center;
  gap: 7px;

  border: 1px solid #cfe2f1;
  border-radius: 20px;

  background: #f2f8fc;
  color: #326a94;

  font-size: 11px;
  font-weight: 600;
}

.etr-status span {
  color: #3c9bd5;
  font-size: 9px;
}

/* FORM */

.etr-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.etr-form-section {
  padding: 32px 36px;

  background: #ffffff;

  border: 1px solid #e0e6ed;
  border-radius: 15px;

  box-shadow: 0 6px 20px rgba(13, 45, 87, 0.025);
}

/* SECTION HEADING */

.etr-section-heading {
  display: flex;
  align-items: center;
  gap: 16px;

  padding-bottom: 24px;
  margin-bottom: 26px;

  border-bottom: 1px solid #edf1f5;
}

.etr-section-number {
  width: 43px;
  height: 43px;

  flex: 0 0 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background: #eaf3fa;
  color: #17598f;

  font-size: 11px;
  font-weight: 700;
}

.etr-section-heading h2 {
  margin: 0;

  color: #173657;

  font-size: 17px;
  font-weight: 700;
}

.etr-section-heading p {
  margin: 5px 0 0;

  color: #77899c;

  font-size: 11px;
  font-weight: 500;
}

/* FIELDS */

.etr-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.etr-field {
  display: flex;
  flex-direction: column;
}

.etr-field-full {
  grid-column: 1 / -1;
}

.etr-field label {
  margin-bottom: 8px;

  color: #324f6d;

  font-size: 11px;
  font-weight: 700;
}

.etr-field input {
  width: 100%;
  height: 48px;

  box-sizing: border-box;

  padding: 0 14px;

  border: 1px solid #dbe3eb;
  border-radius: 9px;

  outline: none;

  background: #ffffff;
  color: #294967;

  font-family: inherit;
  font-size: 12px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.etr-field input:focus {
  border-color: #7eb4dc;

  box-shadow: 0 0 0 3px rgba(48, 137, 199, 0.09);
}

.etr-field input[readonly] {
  background: #f7f9fb;
  color: #64778c;
  cursor: default;
}

.etr-field small {
  margin-top: 7px;

  color: #96a3b1;

  font-size: 9px;
  font-weight: 500;
}

/* PLACEHOLDER */

.etr-section-placeholder {
  min-height: 90px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px dashed #d5dee7;
  border-radius: 10px;

  background: #fafbfd;
  color: #8a99a9;

  font-size: 11px;
}

/* ACTIONS */

.etr-form-actions {
  margin-top: 5px;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.etr-cancel,
.etr-wizard-back {
  min-width: 110px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #d7e0e9;
  border-radius: 9px;

  background: #ffffff;
  color: #506a83;

  text-decoration: none;

  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.etr-cancel:hover {
  background: #f7f9fb;
}

.etr-continue {
  min-width: 165px;
  height: 48px;

  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: 0;
  border-radius: 9px;

  background: linear-gradient(110deg, #0b3565, #07548d);
  color: #ffffff;

  font-family: inherit;
  font-size: 11px;
  font-weight: 600;

  cursor: pointer;

  box-shadow: 0 8px 20px rgba(11, 64, 116, 0.13);
}

.etr-continue:hover {
  transform: translateY(-1px);
}

/* FOOTER */

.etr-footer {
  min-height: 68px;
  padding: 0 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #ffffff;
  border-top: 1px solid #e1e7ed;

  color: #66798e;

  font-size: 10px;
  font-weight: 500;
}

.etr-footer span {
  margin: 0 8px;
  color: #a6b1bd;
}

/* RESPONSIVE */

@media (max-width: 800px) {
  .etr-header {
    padding: 15px 20px;
  }

  .etr-logo {
    width: 145px;
  }

  .etr-header-divider,
  .etr-header-title,
  .etr-user-info {
    display: none;
  }

  .etr-content {
    width: calc(100% - 30px);
    padding-top: 30px;
  }

  .etr-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .etr-fields {
    grid-template-columns: 1fr;
  }

  .etr-form-section {
    padding: 25px 22px;
  }

  .etr-footer {
    padding: 18px 20px;
    justify-content: center;
  }

  .etr-footer div:last-child {
    display: none;
  }
}

/* =========================================================
   e-TR TYPOGRAPHY ENHANCEMENT
   ========================================================= */

/* Page intro */
.etr-eyebrow {
  font-size: 11px;
  font-weight: 700;
}

.etr-intro h1 {
  font-size: 36px;
  font-weight: 750;
}

.etr-intro p {
  font-size: 14px;
  font-weight: 500;
  color: #526b84;
}

/* Section heading */
.etr-section-heading h2 {
  font-size: 18px;
  font-weight: 700;
  color: #102f55;
}

.etr-section-heading p {
  font-size: 12px;
  font-weight: 500;
  color: #60758c;
}

/* Field labels */
.etr-field label {
  font-size: 12px;
  font-weight: 700;
  color: #294966;
}

/* Input text */
.etr-field input {
  font-size: 13px;
  font-weight: 500;
  color: #294966;
}

.etr-field input[readonly] {
  color: #526b84;
  font-weight: 500;
}

/* Helper text below fields */
.etr-field small {
  font-size: 10px;
  font-weight: 500;
  color: #788b9f;
}

/* Placeholder section */
.etr-section-placeholder {
  font-size: 12px;
  font-weight: 500;
  color: #718499;
}

/* Status */
.etr-status {
  font-size: 12px;
  font-weight: 600;
}

/* Header */
.etr-header-title strong {
  font-size: 16px;
  font-weight: 700;
}

.etr-header-title span {
  font-size: 12px;
  font-weight: 500;
}

.etr-user-info strong {
  font-size: 13px;
  font-weight: 700;
}

.etr-user-info span {
  font-size: 11px;
  font-weight: 500;
}

/* Buttons */
.etr-cancel,
.etr-continue {
  font-size: 12px;
  font-weight: 600;
}

/* Footer */
.etr-footer {
  font-size: 11px;
  font-weight: 500;
}

/* Full user name in e-TR header */

.etr-user-info {
  width: 300px;
}

.etr-user-info strong {
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

/* =========================================================
   e-TR - REQUESTOR & TRAVELLER
   ========================================================= */

.etr-subsection {
  margin-top: 28px;
}

.etr-subsection + .etr-subsection {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #e5edf5;
}

.etr-subsection-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.etr-subsection-title h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #163b63;
}

.etr-subsection-title span {
  font-size: 11px;
  font-weight: 500;
  color: #8090a3;
}

/* Traveller Selection */

.etr-traveller-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.etr-radio-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;

  padding: 18px 20px;

  border: 1px solid #dce6f0;
  border-radius: 12px;

  background: #ffffff;
  cursor: pointer;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.etr-radio-card:hover {
  border-color: #9eb9d3;
  box-shadow: 0 6px 18px rgba(24, 60, 95, 0.07);
  transform: translateY(-1px);
}

.etr-radio-card input[type="radio"] {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;

  accent-color: #145a96;
  flex-shrink: 0;
}

.etr-radio-card div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.etr-radio-card strong {
  font-size: 13px;
  font-weight: 700;
  color: #183c60;
}

.etr-radio-card span {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  color: #718499;
}

.etr-radio-card:has(input:checked) {
  border-color: #2f78b7;
  background: #f5faff;
  box-shadow: 0 0 0 1px rgba(47, 120, 183, 0.08);
}

/* Mobile */

@media (max-width: 700px) {
  .etr-traveller-choice {
    grid-template-columns: 1fr;
  }

  .etr-subsection-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* =========================================================
   e-TR READABILITY / ACCESSIBILITY
   ========================================================= */

/* Main intro */
.etr-intro h1 {
  font-size: 38px;
  font-weight: 800;
}

.etr-intro p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #405d78;
}

/* Section headings */
.etr-section-heading h2 {
  font-size: 20px;
  font-weight: 800;
  color: #102f55;
}

.etr-section-heading p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #526b84;
}

/* Subsection headings */
.etr-subsection-title h3 {
  font-size: 15px;
  font-weight: 800;
  color: #12395f;
}

.etr-subsection-title span {
  font-size: 13px;
  font-weight: 500;
  color: #60758c;
}

/* Form labels */
.etr-field label {
  font-size: 13px;
  font-weight: 700;
  color: #173b5e;
}

/* Inputs */
.etr-field input {
  font-size: 14px;
  font-weight: 500;
  color: #243f5a;
}

.etr-field input[readonly] {
  color: #405d78;
  font-weight: 500;
}

/* Helper text */
.etr-field small {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: #60758c;
}

/* Traveller selection */
.etr-radio-card strong {
  font-size: 14px;
  font-weight: 800;
  color: #173b5e;
}

.etr-radio-card span {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: #526b84;
}

/* Status */
.etr-status {
  font-size: 13px;
  font-weight: 700;
}

/* Header */
.etr-header-title strong {
  font-size: 17px;
  font-weight: 800;
}

.etr-header-title span {
  font-size: 13px;
  font-weight: 500;
}

.etr-user-info strong {
  font-size: 14px;
  font-weight: 700;
}

.etr-user-info span {
  font-size: 12px;
  font-weight: 500;
}

/* Buttons */
.etr-cancel,
.etr-continue {
  font-size: 13px;
  font-weight: 700;
}

/* Footer */
.etr-footer {
  font-size: 12px;
  font-weight: 500;
}

/* =========================================================
   e-TR SELECT / DROPDOWN
   ========================================================= */

.etr-field select {
  width: 100%;
  height: 46px;
  padding: 0 42px 0 14px;

  border: 1px solid #d5e0ea;
  border-radius: 9px;

  background-color: #ffffff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #294966;

  cursor: pointer;
  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.etr-field select:hover {
  border-color: #9db6ce;
}

.etr-field select:focus {
  border-color: #2f78b7;
  box-shadow: 0 0 0 3px rgba(47, 120, 183, 0.1);
}

.etr-field select:invalid {
  color: #718499;
}

.required {
  color: #c63d3d;
  font-weight: 700;
}

/* =========================================================
   e-TR CUSTOM FILE UPLOAD
   ========================================================= */

.etr-file-upload {
  width: 100%;
}

.etr-file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.etr-file-upload-box {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px dashed #b8cce0;
  border-radius: 10px;
  background: #f8fbfe;
  cursor: pointer;
  transition: all 0.2s ease;
}

.etr-file-upload-box:hover {
  border-color: #1674bd;
  background: #f1f8fd;
}

.etr-upload-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #e8f3fb;
}

.etr-upload-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #0b65a7;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.etr-upload-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.etr-upload-text strong {
  font-size: 12px;
  font-weight: 700;
  color: #12395e;
}

.etr-upload-text span {
  font-size: 10px;
  font-weight: 500;
  color: #71869b;
}

.etr-upload-button {
  flex-shrink: 0;
  padding: 8px 14px;
  border: 1px solid #c5d7e7;
  border-radius: 7px;
  background: #ffffff;
  color: #174b78;
  font-size: 11px;
  font-weight: 700;
}

/* =========================
   GROUP TRAVELLER CARD
   ========================= */

.group-traveller-card {
  border: 1px solid #d9dee7;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.group-traveller-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.group-traveller-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.remove-group-traveller {
  border: none;
  border-radius: 6px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 13px;
}

/* =========================
   GROUP TRAVELLER BUTTONS
   ========================= */

.remove-group-traveller {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.remove-group-traveller:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}

/* Add Traveller button */

#addGroupTraveller {
  background: #0f4c81;
  color: #ffffff;
  border: none;
  border-radius: 7px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
}

#addGroupTraveller:hover {
  background: #0b3a63;
  transform: translateY(-1px);
}

#addGroupTraveller:active {
  transform: translateY(0);
}

/* Traveller Request Type */
.traveller-request-type {
  margin-bottom: 32px;
}

.etr-choice-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
  max-width: 760px;
}

.etr-choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 18px 48px 18px 18px;

  border: 1px solid #d9e4ee;
  border-radius: 12px;
  background: #ffffff;

  cursor: pointer;
  transition: all 0.2s ease;
}

.etr-choice-card:hover {
  border-color: #9ebbd2;
  background: #f8fbfd;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(20, 55, 85, 0.06);
}

/* Hide default radio */
.etr-choice-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;
  flex: 0 0 42px;

  border-radius: 10px;
  background: #eef6fb;

  font-size: 19px;
}

.choice-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.choice-content strong {
  font-size: 13px;
  color: #0b3155;
}

.choice-content small {
  font-size: 11px;
  line-height: 1.4;
  color: #6d8091;
  font-weight: 400;
}

/* Check indicator */
.choice-check {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  border: 1px solid #c9d6e1;
  border-radius: 50%;

  color: transparent;
  font-size: 12px;
  font-weight: 700;

  background: #ffffff;
}

/* Selected card */
.etr-choice-card:has(input:checked) {
  border-color: #126da6;
  background: #f1f8fc;
  box-shadow: 0 0 0 1px rgba(18, 109, 166, 0.08);
}

.etr-choice-card:has(input:checked) .choice-icon {
  background: #dceef9;
}

.etr-choice-card:has(input:checked) .choice-check {
  border-color: #126da6;
  background: #126da6;
  color: #ffffff;
}

@media (max-width: 700px) {
  .etr-choice-group {
    grid-template-columns: 1fr;
  }

  .etr-wizard-step[data-step="4"] .etr-trip-type-options {
    grid-template-columns: 1fr;
  }
}

.airport-autocomplete {
  position: relative;
}

.airport-suggestions {
  margin-top: 6px;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.airport-suggestion-item {
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid #edf2f7;
}

.airport-suggestion-item:last-child {
  border-bottom: none;
}

.airport-suggestion-item:hover {
  background: #f5f9fd;
}

.airport-suggestion-item strong {
  display: block;
  font-size: 14px;
}

.airport-suggestion-item small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

/* =========================================
   E-TR MULTI-STEP WIZARD
========================================= */

.etr-wizard-step {
  display: none;
}

.etr-wizard-step.active {
  display: block;
}

/* ========================================
   e-TR CUSTOM NOTIFICATION
======================================== */

.etr-notification-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 55, 0.45);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.etr-notification-overlay.show {
  display: flex;
}

.etr-notification-modal {
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  text-align: center;
  animation: etrNotificationIn 0.2s ease-out;
}

.etr-notification-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff4d8;
  color: #b47a00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
}

.etr-notification-content h3 {
  margin: 0 0 8px;
  color: #0b3158;
  font-size: 20px;
}

.etr-notification-content p {
  margin: 0;
  color: #5f6f7f;
  font-size: 14px;
  line-height: 1.6;
}

.etr-notification-button {
  margin-top: 24px;
  min-width: 110px;
  padding: 11px 24px;
  border: 0;
  border-radius: 8px;
  background: #0b4f87;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.etr-notification-button:hover {
  filter: brightness(0.94);
}

@keyframes etrNotificationIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.etr-full-width {
  grid-column: 1 / -1;
}

/* ========================================
   e-TR TRIP TYPE
======================================== */

.etr-trip-type-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.etr-trip-type-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #d8e2ec;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  transition: 0.2s ease;
}

.etr-trip-type-card:hover {
  border-color: #8eb9db;
  background: #f8fbfe;
}

.etr-trip-type-card input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}

.etr-trip-type-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.etr-trip-type-content strong {
  color: #0b3158;
  font-size: 14px;
}

.etr-trip-type-content span {
  color: #6b7d8f;
  font-size: 12px;
  line-height: 1.4;
}

.etr-trip-type-card:has(input[type="radio"]:checked) {
  border-color: #1479bd;
  background: #f1f8fd;
  box-shadow: 0 0 0 1px #1479bd;
}

/* ========================================
   e-TR RETURN JOURNEY
======================================== */

.etr-return-journey {
  margin-top: 4px;
  padding: 16px 18px;
  border: 1px solid #d8e2ec;
  border-radius: 10px;
  background: #f8fbfe;

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

.etr-return-journey-header {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}

.etr-return-journey-header strong {
  color: #0b3158;
  font-size: 14px;
}

.etr-return-journey-header span {
  color: #6b7d8f;
  font-size: 12px;
}

.etr-return-route {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0b3158;
  font-weight: 600;
  font-size: 14px;
}

.etr-return-arrow {
  color: #1479bd;
  font-size: 18px;
}

/* ========================================
   ADD TRAVEL LEG BUTTON
======================================== */

.etr-add-travel-leg {
  width: 100%;
  padding: 13px 18px;
  border: 1px dashed #9bb7d1;
  border-radius: 8px;
  background: #f8fbfe;
  color: #0b4f87;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.etr-add-travel-leg:hover {
  background: #eef6fc;
  border-color: #0b4f87;
}

/* ========================================
   ADD TRAVEL LEG BUTTON
======================================== */

.etr-travel-leg {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.etr-add-travel-leg {
  width: 100%;
  padding: 12px 16px;
  border: 1px dashed #9fc4e3;
  border-radius: 8px;
  background: #f8fbfe;
  color: #0b4f87;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.etr-add-travel-leg:hover {
  background: #eef7fd;
  border-color: #6fa9d4;
}

.etr-remove-travel-leg {
  grid-column: 1 / -1;
  justify-self: flex-end;
  padding: 8px 14px;
  border: 1px solid #d7dde5;
  border-radius: 7px;
  background: #ffffff;
  color: #b42318;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.etr-remove-travel-leg:hover {
  background: #fff5f5;
  border-color: #f0b8b5;
}

/* ========================================
   e-TR CHECK-IN BAGGAGE OPTIONS
======================================== */

.etr-baggage-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#additionalBaggageReason {
  width: 100%;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
}

#additionalBaggageReason:focus {
  outline: none;
  border-color: #1683d8;
}

/* ========================================
   e-TR BACKDATED REQUEST REASON
======================================== */

#backdatedReasonField {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#backdatedReason {
  width: 100%;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
}

#backdatedReason:focus {
  outline: none;
  border-color: #1683d8;
}

#accommodationDetails {
  padding: 16px 18px;
  border: 1px solid #d8e2ec;
  border-radius: 10px;
  background: #f8fbfe;
}

#accommodationDetails > .etr-fields {
  margin-top: 18px;
}
/* =========================================================
   BAA AUTOBOT — UNIFIED FORMS PORTAL
   Staff & External Customer Access Cards
   ========================================================= */

.premium-login .portal-access-option {
  width: 100%;
  padding: 20px;
  border: 1px solid #e0e8f2;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 6px 18px rgba(13, 45, 87, 0.045);
  box-sizing: border-box;
}

.premium-login .portal-staff-option {
  margin-top: 22px;
}

.premium-login .portal-customer-option {
  margin-top: 0;
}

.premium-login .access-option-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
  text-align: left;
}

.premium-login .access-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eaf2fb;
  color: #164b89;
  font-size: 22px;
}

.premium-login .access-option-icon.customer-icon {
  background: #fff5dc;
  color: #c58a00;
}

.premium-login .access-option-heading h3 {
  margin: 0 0 6px;
  color: #17345c;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.premium-login .access-option-heading p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
   BAA AUTOBOT — STEP 28.004Q
   Customer Button, OTP Notice & Direct BAA Access
   ========================================================= */

/* External Customer button */
.premium-login .portal-customer-button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  min-height: 54px;
  padding: 14px 18px;

  border: 1.5px solid #164b89;
  border-radius: 9px;

  background: #ffffff;
  color: #164b89;

  font-family: inherit;
  font-size: 14px;
  font-weight: 700;

  box-sizing: border-box;
}

.premium-login .portal-customer-button:disabled {
  opacity: 1;
  cursor: not-allowed;
}

/* Email OTP information */
.premium-login .customer-otp-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  margin-top: 14px;
  padding: 13px 14px;

  background: #eaf3fd;
  border: 1px solid #d5e8fa;
  border-radius: 9px;

  color: #164b89;
  text-align: left;
}

.premium-login .customer-otp-notice > span {
  flex-shrink: 0;
  font-size: 19px;
  line-height: 1.2;
}

.premium-login .customer-otp-notice p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

/* Mobile refinements */
@media (max-width: 600px) {
  .premium-login .portal-access-option {
    padding: 16px;
  }

  .premium-login .access-option-heading {
    gap: 10px;
  }

  .premium-login .portal-customer-button {
    padding: 12px 14px;
  }
}

/* =========================================================
   BAA AUTOBOT — STEP 28.006I.4
   Desktop Hero Background & Text Contrast Refinement
   ========================================================= */

@media (min-width: 1151px) {
  /* Subtle left-side background overlay */
  .premium-login::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
      90deg,
      rgba(246, 249, 253, 0.28) 0%,
      rgba(246, 249, 253, 0.2) 24%,
      rgba(246, 249, 253, 0.08) 44%,
      rgba(246, 249, 253, 0) 58%
    );

    z-index: 1;
  }

  /* Corporate label */
  .premium-login .portal-intro .intro-label {
    color: #183f73;
  }

  /* Main description */
  .premium-login .portal-intro .intro-description {
    color: #365779;
    font-weight: 500;
  }
}

/* Feature descriptions */
.premium-login .portal-intro .feature-item p {
  color: #294e73;
  font-weight: 500;
}

/* Secure Access — improve text readability */
.premium-login .portal-intro .feature-item:nth-child(2) p {
  max-width: 275px;
  line-height: 1.5;
}

/* =========================================================
   BAA AUTOBOT — STEP 28.006J.1
   Mobile Intro Description Readability
   ========================================================= */

@media (max-width: 1150px) {
  .premium-login .portal-intro .intro-description {
    color: #183a60;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.35);
  }
}

/* Customer Access — Local Navigation Button */

.premium-login a.portal-customer-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 52px;
  padding: 12px 40px;

  background: #f5f9ff;
  border: 1.5px solid #174e8d;
  border-radius: 10px;

  color: #174e8d;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.premium-login a.portal-customer-button:visited {
  color: #174e8d;
}

.premium-login a.portal-customer-button span:last-child {
  position: absolute;
  right: 18px;
  font-size: 18px;
}

.premium-login a.portal-customer-button:hover {
  background: #e6f1ff;
  box-shadow: 0 4px 12px rgba(23, 78, 141, 0.12);
}

.premium-login a.portal-customer-button:focus-visible {
  outline: 3px solid #f5ad16;
  outline-offset: 3px;
}
