body {
    margin: 0;
    font-family: 'Noto Sans', 'Noto Sans Devanagari', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.top-bar {
    background-color: #0b2f57;
    color: white;
    height: 65px;
    align-items: center;
    position: relative;
    display: inline-block;
}

.logo {
    height: 46px;
    width: 46px;
    align: left;
    margin-left: 10px;
    margin-top: 8px;
    border-radius: 50%;
    border: 1.5px solid #FAF9F6;
}

.langselect {
    height: 35px;
    width: 100px;
    float: right;
    margin-right: 16px;
    margin-top: 14px;
}

.login {
    height: 35px;
    width: 100px;
    float: right;
    margin-right: 16px;
    margin-top: 14px;
    cursor: pointer;
    cursor: hand;
}

.logout {
    height: 35px;
    width: 35px;
    float: right;
    margin-right: 16px;
    margin-top: 14px;
    cursor: pointer;
    cursor: hand;
}

.baseimg {
    height: 40px;
    width: 40px;
    float: right;
    margin-right: 16px;
    margin-top: 14px;
    cursor: pointer;
    cursor: hand;
}

.helpimg {
    height: 35px;
    width: 35px;
    float: right;
    margin-right: 16px;
    margin-top: 16px;
    cursor: pointer;
    cursor: hand;
}

.infoimg {
    height: 35px;
    width: 35px;
    float: right;
    margin-right: 16px;
    margin-top: 16px;
    cursor: pointer;
    cursor: hand;
}

.langimg {
    height: 31px;
    width: 31px;
    float: right;
    margin-right: 16px;
    margin-top: 16px;
    cursor: pointer;
    cursor: hand;
}

.signup {
    height: 35px;
    width: 100px;
    float: right;
    margin-right: 16px;
    margin-top: 14px;
    cursor: pointer;
    cursor: hand;
}

.title {
    position: absolute; /* Position text absolutely */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%);
    font-family: Calibri, sans-serif;
    font-size: 24px;
}

.welcome {
    position: absolute; /* Position text absolutely */
    top: 50%; /* Center vertically */
    align: left;
    margin-left: 110px;
    transform: translate(-50%, -50%);
    font-family: Calibri, sans-serif;
    font-size: 17px;
    color: #dbf0fe;
}

.ycodam {
    position: absolute; /* Position text absolutely */
    top: 50%; /* Center vertically */
    align: left;
    margin-left: 110px;
    transform: translate(-50%, -50%);
    font-family: Calibri, sans-serif;
    font-size: 24px;
    color: #dbf0fe;
}

.main-container {
  display: flex;
  flex-grow: 1;
  min-height: 0;
}

.left-pane {
  width: 170px;
  background-color: #f4f4f4;
  padding: 8px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.menu_section {
    height: 100px;
}

.menu {
  margin-bottom: 4px;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  margin: 6px;
}

.menu a {
  display: block;
  text-decoration: none;
  color: white;
  font-size: 0.90rem;
  padding: 8px 14px;
  border-radius: 8px;
  background-color: #0b2f57;
}

.menu a:hover {
  background-color: #D3E4F2;
  color: #005786;
}

.footer-note {
  background-color: #7BADD5;
  color: white;
  width: 100%;
  padding: 5px;
  text-align: center;
  font-size: 10px;
  margin-top: auto;
}

.image-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
}

.left-pane-custom-img,
.left-pane-img,
.left-pane-small-img {
  display: block;
  margin: 6px auto;
  object-fit: cover;
}

.left-pane-custom-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
}

.left-pane-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
}

.left-pane-small-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
}

.content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  background: #ffffff;
}

iframe {
  display: block;
  width: 100%;
  border: none;
  min-height: calc(100vh - 65px);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table[agent] {
    width: 85%;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

table[cashkitty] {
    width: 60%;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

table[miscexpense] {
    width: 40%;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

table[payment] {
    width: 60%;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

table[stakeholder-dr] {
    width: 90%;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

table[stakeholder-agent] {
    width: 70%;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

table[report] {
    width: 45%;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

table[othersvc] {
    width: 50%;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

th {
    border: 1px solid #ddd;
    font-family: Calibri, sans-serif;
    font-size: 12.5px;
}

.left-align {
    padding: 8px;
    text-align: left;
}
.center-align {
    padding: 0px;
    text-align: center;
}

td {
    border: 1px solid #ddd;
    padding: 8px;
    font-family: Calibri, sans-serif;
    font-size: 10px;
    text-align: left;
}

.td-center-align {
    text-align: center;
}

.td-header {
    text-align: left;
    font-size: 13px;
    font-weight: bold;
    overflow: hidden; /* Hide overflow content */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
    white-space: nowrap; /* Prevent text from wrapping */
}

.plain-td {
    border: 0px;
    padding: 2px;
    background-color: #ffffff;
}

.fixed-width {
    width: 100px; /* Adjust as needed */
    overflow: hidden; /* Hide overflow content */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
    white-space: nowrap; /* Prevent text from wrapping */
    text-align: left;
    font-size: 13px;
    font-weight: bold;
    color: #FF6961;
}

thead {
    background-color: #4CAF50;
    color: white;
}

tbody tr:nth-child(odd) {
    background-color: #85c1e9;
}

tbody tr:nth-child(even) {
    background-color: #ebf5fb;
}

.add-row-button {
    margin-top: 20px;
    padding: 10px 20px;
    cursor: pointer;
}

input[type="text"] {
    font-size: 12px;
}

input[type="number"] {
    font-size: 12px;
    -moz-appearance: textfield;
}

.big {
    width: 120px;
    text-align: left;
}

.small {
    width: 35px;
    text-align: center;
}

input[disabled] {
    background-color: #fafafa;
    color: #999;
    cursor: not-allowed;
}

input[readonly] {
    border: 1px solid #ccc;
    background-color: #fafafa;
    color: #999;
    cursor: not-allowed;
}

input[type="date"] {
    font-size: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

select {
    font-size: 11px;
}

 .button-container {
    display: flex;             /* Use Flexbox for alignment */
    justify-content: center;   /* Center horizontally */
}

.rounded-button {
    background-color: #00abe4; /* background color */
    color: white;              /* White text color */
    padding: 10px 20px;       /* Padding for the button */
    border: none;             /* No border */
    border-radius: 15px;      /* Rounded corners */
    cursor: pointer;          /* Pointer cursor on hover */
    font-size: 14px;          /* Font size */
    font-weight: bold;
    transition: background-color 0.3s; /* Smooth transition for background color */
}

.rounded-button:hover {
    background-color: #007aa3; /* Darker on hover */
}

.delete-img {
    width: 15px;
    height: 15px;
    cursor: pointer;
    cursor: hand;
}

.edit-img {
    width: 15px;
    height: 15px;
    cursor: pointer;
    cursor: hand;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.canvas-container {
    display: flex;
    justify-content: space-around; /* Distribute space evenly */
    margin: 20px;
}

canvas[piechart] {
    max-width: 250px;
    max-height: 250px;
    justify-content: left;
    margin-top: 10px;
}

canvas[barchart] {
    max-width: 250px;
    max-height: 300px;
    justify-content: center;
    margin-top: 10px;
}

canvas[barchart-big] {
    max-width: 300px;
    max-height: 250px;
    justify-content: center;
    margin-top: 10px;
}

canvas[breakeven] {
    max-width: 600px;
    max-height: 350px;
    justify-content: center;
    margin-top: 40px;
}

.paymenthistory-container {
    display: flex;
    justify-content: space-around; /* Distribute space evenly */
 }

table[paymenthistory] {
    max-width: 300px;
    border-collapse: collapse;
    justify-content: center;
    margin-top: 10px;
}

.dailytxnsummary-container {
    display: flex;
    justify-content: space-around; /* Distribute space evenly */
 }

table[dailytxnsummary] {
    max-width: 300px;
    border-collapse: collapse;
    justify-content: center;
    margin-top: 10px;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.link-button {
    cursor: pointer;
    cursor: hand;
}

table[help] {
    width: 80%;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

ul.arrow-list {
    list-style: none;           /* remove default bullets */
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

ul.arrow-list li {
    position: relative;
    padding-left: 25px;         /* space for arrow */
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 16px;
}

ul.arrow-list li::before {
    content: "👉";               /* arrow bullet */
    position: absolute;
    left: 0;
    color: #d32f2f;             /* red arrow */
    font-weight: bold;
    font-size: 18px;
}

/* below code for responsive UI */

/* --- Global fixes --- */
*,
*::before,
*::after { box-sizing: border-box; }

img, video { max-width: 100%; height: auto; }

.mobile-footer{
  display: none;
}

/* --- Layout: stack sidebar above content on phones --- */
.main-container { min-height: 0; }
.content { flex: 1 1 auto; min-width: 0; }  /* allow iframe to shrink */
iframe { width: 100%; border: none; min-height: calc(100vh - 65px); }

/* Make tables usable on small screens without touching templates */
@media (max-width: 768px) {
  table { display: block; overflow-x: auto; width: 100%; }
  th, td { white-space: nowrap; font-size: 12px; }
}

@media (max-width: 992px) {
  .main-container { flex-direction: column; }
  .left-pane { width: 100% !important; order: 2; }
  .content   { order: 1; }
}

/* --- Sidebar images: turn into a horizontal scroll strip on phones --- */
@media (max-width: 768px) {
  .image-section { display: flex; gap: 12px; overflow-x: auto; padding: 8px 0; }
  .left-pane-custom-img,
  .left-pane-img,
  .left-pane-small-img {
    width: auto !important; height: 80px !important; border-radius: 8px; margin: 0 !important;
  }
  .menu_section { height: auto !important; }
  .footer-note { font-size: 0.85rem; }
}

/* --- Typography and controls scale down a bit on phones --- */
@media (max-width: 768px) {
  body { font-size: 14px; }
  input[type="text"], input[type="number"], select { font-size: 14px; }
  .rounded-button, .button-container .btn { width: 100%; } /* tap-friendly primary actions */
}

/* --- Kill fixed table widths used via attribute selectors on small screens --- */
@media (max-width: 768px) {
  table[agent],
  table[cashkitty],
  table[miscexpense],
  table[payment],
  table[stakeholder-dr],
  table[stakeholder-agent],
  table[report],
  table[othersvc],
  table[paymenthistory],
  table[dailytxnsummary],
  table[help] { width: 100% !important; }
}

/* --- Charts: stay readable on narrow screens --- */
@media (max-width: 768px) {
  .canvas-container,
  .paymenthistory-container,
  .dailytxnsummary-container { gap: 12px; flex-wrap: wrap; justify-content: center; }

  canvas[piechart],
  canvas[barchart],
  canvas[barchart-big] { max-width: 100% !important; height: auto !important; }

  canvas[breakeven] { max-width: 100% !important; height: auto !important; margin-top: 16px; }
}

/* --- Utility: avoid horizontal scroll caused by long strings --- */
.text-break { word-break: break-word; overflow-wrap: anywhere; }

@media (max-width: 768px) {
  .menu a {
    font-size: 0.90rem;
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  iframe {
    min-height: 70vh;  /* was 100vh-65px earlier */
  }
}

h1, h2, h3, h4 {
  font-size: clamp(1rem, 2vw + 0.5rem, 1.75rem);
}

@media (max-width: 768px) {
  .follow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .follow-container .divider {
    display: none;
  }
  .social-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
  }
}

/* 2) Make login / signup / help / info icons comfortably large on phones */
@media (max-width: 768px) {
  .login, .signup, .helpimg, .infoimg, .langimg, .langselect, .logout, .baseimg {
    width: 44px; height: 44px;
    margin: 0 6px 0 0;
    float: none !important;           /* remove floats */
    flex: 0 0 auto;
  }
}

/* 3) Iframe height on small screens (avoid overly tall viewport) */
@media (max-width: 768px) {
  iframe { min-height: 70vh; }        /* was larger before */
}

/* 4) Left pane should scroll normally (not fixed) when stacked */
@media (max-width: 992px) {
  .main-container { flex-direction: column; }
  .content   { order: 1; }
  .left-pane { order: 2; width: 100% !important; position: static !important; }
}

/* Optional: hide the long middle slogan entirely on very narrow phones */
@media (max-width: 420px) {
  .title { display: none; }
}

/* Ensure the content area behind the iframe is solid */
.content {
  background: #ffffff;           /* any solid color you prefer */
}

/* The iframe should fill and not show side gaps */
iframe {
  display: block;
  width: 100%;
  border: none;
}

/* If icons still wrap on very small devices, allow smaller sizes */
@media (max-width: 360px) {
  .login, .signup  { width: 42px; height: 42px; }
  .helpimg, .infoimg, .langimg, .langselect, .logout, .baseimg { width: 32px; height: 32px; }
  .title, .welcome { font-size: 13px; }
}

/* Desktop spacing: tighten gap between left pane and iframe area */
@media (min-width: 992px) {
  .left-pane { width: 150px; padding: 6px; } /* was 160px + 7px padding */
  .content   { padding: 0; }                 /* ensure no extra gutter */
}

/* Ensure iframe fills the area and no side gaps show */
.content { background:#fff; }
iframe   { display:block; width:100%; border:none; }

/* Center the left-pane images on small screens */
@media (max-width: 768px) {
  .image-section {
    display: flex;
    flex-wrap: wrap;            /* stack/wrap nicely */
    justify-content: center;    /* center align */
    gap: 12px;
    padding: 8px 0;
  }
  .left-pane-custom-img,
  .left-pane-img,
  .left-pane-small-img {
    display: block;
    width: 90px;                /* tidy, equal sizes */
    height: 90px;
    border-radius: 8px;
    margin: 0;                  /* no left/right bias */
  }
}

/* Tighten the left pane on larger screens to give the iframe more room */
@media (min-width: 992px) {
  .left-pane { width: 120px; padding: 6px; }  /* was ~160px */
  .menu a     { font-size: 0.90rem; padding: 6px; }
  .left-pane-custom-img,
  .left-pane-img,
  .left-pane-small-img { width: 96px; height: 96px; margin: 6px auto; display: block; }
}

/* Ensure the content region uses all remaining space (no extra gutter) */
.content { padding: 0; }
iframe   { display: block; width: 100%; border: none; }

/* ===== Desktop/Laptop layout tweaks ===== */
@media (min-width: 992px) {
  /* Increase sidebar width a bit */
  .left-pane {
    width: 170px;         /* adjust — try 170–200px if needed */
    padding: 8px;
  }

  /* Remove unwanted padding/margin around the main iframe container */
  .content {
    padding: 0;
    margin: 0;
    flex: 1;
  }

  /* Make sure the parent layout uses full width */
  .main-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    gap: 0;               /* kills the grey gutter */
  }

  /* Let the iframe stretch into remaining space cleanly */
  iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
  }
}

/* 🌐 Language Dropdown */
.langselect {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 10px;
}

.langselect select {
  background-color: #e6f4fa;
  color: #004d73;
  border: 1px solid #0078a0;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.langselect select:hover {
  background-color: #d8eef7;
}

/* 📱 Responsive handling for mobile */
@media (max-width: 768px) {
  .langselect {
    order: 3;
    margin: 6px auto;
  }
  .langselect select {
    font-size: 10px;
    padding: 3px 6px;
  }
}

/* =========================================================
   MEDIUM SCREENS (e.g., Nest Hub, small laptops, tablets landscape)
   Fix overlap caused by absolute title + floated icons.
   ========================================================= */
@media (min-width: 901px) and (max-width: 1200px) {
  .top-bar {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    height: auto;
  }

  /* Disable absolute + float layout */
  .ycodam, .title, .welcome {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
  }

  .login, .signup, .helpimg, .infoimg, .langimg, .langselect {
    float: none !important;
    margin: 0 !important;
  }

  /* ===== ORDER CONTROL ===== */

  .nav-logo   { order: 1; }
  .ycodam     { order: 2; }

  /* Title expands in the middle */
  .title {
    order: 3;
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
  }

  /* Right-side controls (explicit order) */
  .langselect { order: 4; margin-left: auto; }
  .nav-info   { order: 5; }
  .nav-help   { order: 6; }
  .nav-signup { order: 7; }
  .nav-login  { order: 8; }
}

/* =========================
   TOP BAR (Mobile/Tablet)
   Row 1: logo, brand, lang, info, help, login, signup
   Row 2: title centered full width
   ========================= */
@media (max-width: 900px) {

  /* 1) Flex layout + allow height to expand to show row-2 title */
  .top-bar {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    height: auto !important;        /* KEY: allow title row to show */
    overflow: visible !important;   /* KEY: prevent clipping */
  }

  /* 2) Anchors behave normally (don’t use display:contents) */
  .top-bar a {
    display: inline-flex;
    align-items: center;
  }

  /* 3) Undo desktop absolute positioning on mobile */
  .ycodam, .title, .welcome {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
  }

  /* 4) Disable floats on mobile (floats fight with flex) */
  .login, .signup, .helpimg, .infoimg, .langimg, .langselect,
  .logout, .baseimg {
    float: none !important;
    margin: 0 !important;
  }

  /* 5) Order items (row-1) — your nav-* classes are used here */
  .nav-logo   { order: 1; }
  .ycodam     { order: 2; }

  /* LANG: make it the flexible middle column */
  .langselect {
    order: 3;
    flex: 1 1 auto;                 /* KEY: takes remaining space */
    display: flex;
    justify-content: center;         /* KEY: centers dropdown */
  }

  .nav-info   { order: 4; }
  .nav-help   { order: 5; }
  .nav-signup { order: 6; }
  .nav-login  { order: 7; }

  /* 6) Force Title onto row-2 */
  .title {
    order: 10;
    flex: 1 0 100%;                  /* KEY: full-width new row */
    display: block !important;
    text-align: center;
    font-size: 16px;
    margin-top: 6px !important;
    white-space: normal;
  }

  /* 7) Compact sizes so row-1 fits */
  .logo { width: 34px; height: 34px; margin: 0 !important; }

  .ycodam {
    font-size: 16px;
    white-space: nowrap;
    color: #dbf0fe;
  }

  .langselect select {
    height: 28px;
    font-size: 11px;
    padding: 2px 6px;
  }

  .infoimg, .langimg, .helpimg { width: 26px; height: 26px; }

  /* login/signup images are wide — keep compact */
  .login  { width: 62px; height: 26px; }
  .signup { width: 70px; height: 26px; }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .top-bar.top-bar-auth .welcome {
    order: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 28vw;
    font-size: 15px;
  }

  .top-bar.top-bar-auth .title {
    order: 3;
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-bar.top-bar-auth .nav-lang   { order: 5; margin-left: auto; }
  .top-bar.top-bar-auth .nav-info   { order: 6; }
  .top-bar.top-bar-auth .nav-help   { order: 7; }
  .top-bar.top-bar-auth .nav-home   { order: 8; }
  .top-bar.top-bar-auth .nav-logout { order: 9; }
}

@media (max-width: 900px) {
  /* Logged-in header tweaks */
  .top-bar.top-bar-auth .welcome {
    order: 2;                 /* after logo */
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;  /* if name is long */
    max-width: 45vw;
  }

  .top-bar.top-bar-auth .title {
    order: 10;                /* force row-2 like landing */
    flex: 1 0 100%;
    text-align: center;
    margin-top: 6px !important;
  }

  /* right-side icons order */
  .top-bar.top-bar-auth .nav-lang   { order: 5; margin-left: auto; }
  .top-bar.top-bar-auth .nav-info   { order: 6; }
  .top-bar.top-bar-auth .nav-help   { order: 7; }
  .top-bar.top-bar-auth .nav-home   { order: 8; }
  .top-bar.top-bar-auth .nav-logout { order: 9; }
}

/* Extra-small phones: shrink a bit more to avoid wrapping */
@media (max-width: 360px) {
  .login  { width: 58px !important; height: 24px !important; }
  .signup { width: 64px !important; height: 24px !important; }
  .infoimg, .langimg, .helpimg { width: 24px !important; height: 24px !important; }
  .ycodam { font-size: 15px !important; }
  .title  { font-size: 16px !important; }
}

@media (max-width: 639px){

  .main-container{
    display: flex;
    flex-direction: column;
  }

  .left-pane{
    order: 2;
    width: 100%;
    padding: 8px 12px 68px;
    box-sizing: border-box;
  }

  .menu_section{
    width: 100%;
    margin: 4px 0 0;
  }

  .menu ul{
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      padding: 0;
      margin: 0;
      list-style: none;
      flex-wrap: wrap;
  }

  .menu li{
    margin: 0;
  }

  .menu li a{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 102px;
      padding: 7px 12px;
      border-radius: 999px;
      text-decoration: none;
      font-size: 0.92rem;
      font-weight: 700;
      letter-spacing: 0.1px;
      line-height: 1;
  }

  .menu li:first-child a{
      background: linear-gradient(180deg, #143d6b 0%, #0b2f57 100%);
      color: #ffffff;
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 8px 18px rgba(11,47,87,0.20);
    }

  .menu li:last-child a{
      background: linear-gradient(180deg, #eef4fb 0%, #dde8f5 100%);
      color: #163d6b;
      border: 1px solid rgba(22,61,107,0.14);
      box-shadow: 0 6px 14px rgba(19,58,103,0.10);
  }

  .menu li:only-child a{
    background: linear-gradient(180deg, #143d6b 0%, #0b2f57 100%);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 18px rgba(11,47,87,0.20);
  }

  .menu li a label{
    margin: 0;
    padding: 0;
    cursor: pointer;
  }

  .image-section{
    display: none;
  }

  .footer-note{
    display: none;
  }

  .mobile-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #143d6b 0%, #0b2f57 100%);
    color: #ffffff;
    box-shadow: 0 -8px 20px rgba(0,0,0,0.12);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-footer-copy{
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.92;
    white-space: nowrap;
  }

  .mobile-footer-social{
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-social-link{
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    flex-shrink: 0;
  }

  .mobile-social-link img{
    width: 26px;
    height: 26px;
    display: block;
  }

  .mobile-footer-handle{
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
  }
}

/*
@media (max-width: 639px){
  .main-container.assessment-active .menu{
    display: none !important;
  }

  .main-container.assessment-active .left-pane{
    padding-bottom: 8px !important;
  }

  .main-container.assessment-active .mobile-footer{
    padding: 6px 12px calc(6px + env(safe-area-inset-bottom)) !important;
    min-height: 38px !important;
  }
}
*/
