/* Header Section */
.headerSection {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.headerWrap {
  width: 100vw;
  margin: 5px 0px;
  display: flex;
  gap: 1em;
  justify-content: flex-start;
  padding: 0px 30px;
}

.headerImg {
  display: flex;
  align-items: center;
}

.headerImg img {
  width: 14vh;
  padding: 4px 0px;
}

.headerText {
  font-size: 15px;
  padding: 0px;
  margin: auto 0px;
  color: black;
  text-align: left;
}

/* Logo watermark */
.logo {
  position: fixed;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  width: 650px;
  height: 650px;
  z-index: -1;
  pointer-events: none;
}

/* Orange Box */
.orangeBox {
  width: 100%;
  max-width: 1520px;
  height: 560px;
  background-color: rgba(242, 150, 47, 0.9); /* orange with opacity */
  border-radius: 30px;
  padding-left: 60px;
  padding-top: 20px;
  padding-bottom: 40px;
  position: relative; /* for blueBox absolute positioning */
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

.orangeBox2 {
  flex: 2.2;
  background-image: url("../image/index.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px;
  border-radius: 10px;
  color: #1a1a1a;
  height: 73vh;
}

.orangeBox2::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: radial-gradient(
    circle at bottom left,
    rgba(255,255,255,0.25),
    transparent 60%
  );
  pointer-events: none;
}

.orangeBoxTable {
  width: 100%;
  max-width: 1520px;
  background-color: rgba(242, 150, 47, 0.9); /* orange with opacity */
  border-radius: 30px;
  padding-top: 20px;
  padding-bottom: 60px;
  position: relative; /* for blueBox absolute positioning */
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

.orangeBox3 {
  width: 100%;
  max-width: 1520px;
  background-color: rgba(242, 150, 47, 0.9); /* orange with opacity */
  border-radius: 30px;
  padding-left: 60px;
  padding-top: 20px;
  padding-bottom: 68px;
  position: relative; /* for blueBox absolute positioning */
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

.orangeBox4 {
  width: 100%;
  max-width: 1520px;
  background-color: rgba(242, 150, 47, 0.9); /* orange with opacity */
  border-radius: 30px;
  padding-left: 60px;
  padding-top: 20px;
  position: relative; /* for blueBox absolute positioning */
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

.orangeContent {
  display: flex;
  height: 79vh;
}

.title {
  font-size: 32px;
  font-weight: 800;
  color: #000;
  line-height: 1.2;
  padding-right: 20px;
}

.orangeContent .title {
  font-size: 32px;
  font-weight: 800;
  color: #000;
  line-height: 1.2;
}

.orangeContent .subtitle {
  font-size: 32px;
  font-weight: 700;
  margin-top: 10px;
  color: #000;
}

.orangeContent .introText {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
  margin-top: 15px;
  max-width: 700px;
  text-align: justify;
}

.orangeContent .introText2 {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
  margin-top: 25px;
  max-width: 600px;
  text-align: justify;
}

/* Floating Button */
.floatingButton {
  margin-top: 90px;
  margin-left: 20px;
  background-color: white;
  color: #0a2c59;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;

  /* 🔑 important for <a> */
  display: inline-block;
  text-decoration: none;
  border: none;
}

.floatingButton2 {
  margin-top: 20px;
  margin-left: 20px;
  background-color: white;
  color: #0a2c59;
  font-weight: 700;
  font-size: 16px; /* slightly smaller for long text */
  text-align: center;
  padding: 15px 30px;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;

  /* 🔥 FIX */
  white-space: normal;          /* allow wrap */
  word-break: break-word;       /* break long words */
  max-width: 420px;             /* keep uniform width */
  line-height: 1.3;

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

  display: inline-flex;         /* center text properly */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
}

.floatingButton-payment {
  margin-top: 20px;
  margin-left: 1px;
  width: 60%;
  background-color: white;
  color: #0a2c59;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;

  /* 🔑 important for <a> */
  display: inline-block;
  text-decoration: none;
  border: none;
}

.navButtons{
    display: flex;
    flex-direction: column;
}

.floatingButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

/* Bank Partners */
.bankPartners {
  margin-top: 20px; /* space below button */
  width: 50%;
}

.bankPartners .sectionTitle {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: black;
}

/* 2-column bank list */
.bankList {
  list-style-type: disc;
  list-style-position: outside;
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 30px;
  row-gap: 5px;
  padding-left: 20px;
  margin: 0;
}

.bankList li {
  font-size: 18px;
  line-height: 1.5;
  color: black;
}

/* Container for bank partners and circle */
.bankPartnersContainer {
    display: flex;
    align-items: flex-start; /* align vertically at top */
    gap: 45px; /* space between bank list and circle */
    margin-top: 20px;
}

/* Blue Circle */
.blueCircle {
    width: 180px;
    height: 160px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.blueCircle img {
    max-width: 300px;
    max-height: 300px;
    object-fit: contain;
}

.blueCircleLink {
    display: inline-block;
    text-decoration: none;
}

.blueCircleLink .blueCircle {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blueCircleLink .blueCircle:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Blue Box floating right */
.blueBox {
  position: absolute;
  top: 0;
  right: 40px;
  width: 360px;
  height: 560px;
  background-color: #ffffff;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  padding: 10px;
}

.blueBox .sectionTitle {
  display: flex;                /* allow centering the image */
  justify-content: center;      /* horizontal center */
  align-items: center;          /* vertical center */
  padding: 8px;                 /* optional: reduce padding for image */
  height: 60px;                 /* adjust height to fit logo */
  width: 100%;                  /* full width of the blueBox */
  text-transform: uppercase;    /* you can remove if not needed for image */
  color: #fff;                  /* no longer affects image */
}

.blueBox .sectionTitle img.sectionLogo {
  max-height: 65px;            /* fit inside sectionTitle height */
  width: auto;                 /* maintain aspect ratio */
  object-fit: contain;         /* prevent stretching */
}


.logosGrid {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background-color: white;
}

.logoItem {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  border-radius: 8px;
  height: 440px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.dropdown {
  position: relative;
}

.dropdownMenu {
  display: none;
  margin-top: 10px;
  border-top: 1px solid #eee;
}

.dropdownMenu a {
  display: block;
  padding: 10px;
  text-decoration: none;
  font-size: 13px;
  color: #333;
  text-align: center;
}

.dropdown:hover .dropdownMenu {
  display: block;
}


.logoItem img {
  /*max-height: 90px;*/
  width: 315px;
  /*max-width: 100%;*/
  object-fit: contain;
}

.announcementText {
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: break-word;
  color: black;
  text-align: justify;
  padding: 0 10px;
  margin-top: 10px;
}

.serialRow {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 19px;
}

.serialLabel {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.serial-input {
    font-size: 22px;
    padding: 10px 14px;
    border-radius: 6px;
    border: none;
    outline: none;
    letter-spacing: 3px;
    width: 450px;
}

.checkboxLine {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 700px;
}

.checkboxLine input[type="checkbox"] {
    margin-top: 9px;
    transform: scale(1.8);
}

.checkboxLine span {
    font-size: 18px;
    line-height: 1.4;
}


/* Scrollbar for blueBox */
.blueBox::-webkit-scrollbar {
  width: 8px;
}
.blueBox::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 913px) {
  .headerWrap {
    flex-direction: column;
    padding: 30px 9%;
  }

  .blueBox {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 30px;
    box-shadow: none;
  }

  .blueBox .sectionTitle {
    font-size: 14px;
  }

  .announcementText {
    font-size: 13px;
  }

  .bankPartners {
    width: 100%;
  }
}

/* table */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  overflow: auto; /* allow scroll for large images */
}

.modal-body img {
  max-width: 95%;
  max-height: 95%;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.modal-body img.zoomed {
  transform: scale(2); /* zoom factor */
  cursor: zoom-out;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


/* === GRID CONTAINER FOR TRACK DOC AND TABLE === */
.orangeContentGrid {
    display: flex;               /* use flex for left/right layout */
    gap: 40px;                   /* space between left and right */
    align-items: flex-start;     /* align top */
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;              /* center container */
    padding: 20px 0;
}

/* LEFT SIDE */
.orangeLeft {
    flex: 1;                     /* left takes 1 part */
    max-width: 620px;
    background-image: url("../image/index.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px;
    border-radius: 10px;
    color: #1a1a1a;
    position: relative;
}

.orangeRight {
    flex: 2;                     /* right takes 2 parts */
    background-color: rgba(242, 150, 47, 0.9); /* orange */
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
    max-height: 73vh;            /* match left height */
}

/* Scrollable table */
.table-wrap {
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* ===== FORCE TABLE TO FILL ORANGECONTENT HEIGHT ===== */
.content-body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.table-wrap table {
    height: 100%;
    width: 100%;
    border-collapse: collapse;
}

.table-wrap tbody {
    height: 100%;
}

.table-wrap tbody tr.empty-row {
    height: 100%;
}

.table-wrap tbody tr.empty-row td {
    height: 100%;
    vertical-align: top; /* or middle if you want centered */
}

/* Table adjustments */
.orangeRight .table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.orangeRight thead th {
    background-color: #475877;
    color: #fff;
    text-align: center;
    padding: 10px 5px;
    font-size: 12px;
}

.orangeRight tbody td {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.2);
    text-align: center;
    padding: 8px 5px;
    font-size: 12px;
}

/* SERIAL INPUT & LABEL */
.serialRow {
    display: flex;           /* horizontal layout */
    align-items: center;     /* vertically center items */
    gap: 10px;               /* space between items */
    margin-top: 10px;        /* smaller spacing */
    flex-wrap: nowrap;       /* prevent wrapping */
}

.serialRow p,
.serialRow label,
.serialRow input {
    margin: 0;               /* remove default margin */
    margin-top: 25px;
}


.serialLabel {
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
}

.serial-input {
    flex: 1;
    font-size: 20px;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    outline: none;
    letter-spacing: 2px;
}

.empty-row td {
    height: 100%;
    background-color: #fff;
}

/* Checkbox adjustments */
.checkboxLine {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
}

.checkboxLine input[type="checkbox"] {
    transform: scale(1.5);
    margin-top: 4px;
}

.checkboxLine span {
    font-size: 16px;
    line-height: 1.4;
}

/* Track Doc Button */
.floatingButton-payment {
    margin-top: 5vw;
    width: 28vw;
    background-color: #fff;
    color: #0a2c59;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    padding: 15px 0;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    border: none;
    transition: 0.2s;
}

.floatingButton-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

/* RESPONSIVE */
@media (max-width: 1080px) {
    .orangeContentGrid {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }

    .orangeLeft, .orangeRight {
        max-width: 100%;
    }

    .serial-input {
        width: 100%;
    }
}

/* OPERATING HOURS BADGE */
.openHours {
  margin-top: 30px;
  background: rgba(255,255,255,0.9);
  border-radius: 40px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.clockIcon {
  font-size: 22px;
}

/* RIGHT GRAY BOX */
.onlineLinksBox {
  background: linear-gradient(#5c6b78, #44525e);
  border-radius: 20px;
  padding: 25px 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.onlineLinksTitle {
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* BUTTONS */
.onlineBtn {
  display: block;
  background: #f1f1f1;
  color: #2c3e50;
  text-align: center;
  padding: 14px 20px;
  border-radius: 40px;
  font-weight: 600;
  margin-bottom: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.onlineBtn:hover {
  background: #ffffff;
  transform: translateY(-2px);
}
