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

.top-bar {
    background-color: #005572;
    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;
}

.left-pane-img {
    height: 150px;
    width: 150px;
    margin-left: 7px;
    align: center;
    border-radius: 50%;
}

.left-pane-small-img {
    height: 120px;
    width: 120px;
    align: center;
    border-radius: 50%;
    margin-left: 14px;
}

.left-pane-custom-img {
    height: 130px;
    width: 130px;
    align: center;
    margin-right: 40px;
    border-radius: 50%;
}

.left-pane-img {
    height: 150px;
    width: 150px;
    margin-left: 7px;
    align: center;
    border-radius: 50%;
}

.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;
}

.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;
}

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

.menu {
    margin-bottom: 4px; /* Space between sections */
}

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

.menu li {
    margin: 6px;
    color: white;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 12px;
    padding: 4px;
    display: block;
    border-radius: 0.05px;
    border-color: white;
    background-color: #005786;
}

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

.menu_section {
    height: 100px; /* Fixed height for the first section */
}

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

.image-section img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.content {
    flex-grow: 1;
    padding: 0px;
    justify-content: center;
}

.left-pane ul {
    list-style-type: none;
    padding: 0;
}

.left-pane li {
    margin-bottom: 2px;
    font-size: 14px; /* Font size */
    color: #005572; /* Text color */
    font-weight: bold; /* Bold text */
    background-color: #F0F8FF; /* Background color */
    padding: 2px; /* Padding around text */
    border-radius: 5px; /* Rounded corners */
    /* border: 1.5px solid #005572; */ /* Border color */
}

.left-pane si {
    font-size: 14px;
    margin-left: 20px;
}

.left-pane label {
    align: center;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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, iframe, video { max-width: 100%; height: auto; }

/* 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; }
}

/* --- Top bar: turn into a flexible row on small screens --- */
@media (max-width: 768px) {
  .top-bar {
    display: flex !important;           /* override inline-block */
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    height: auto;                        /* was fixed 65px */
  }
  .logo { margin: 0; }
  .ycodam, .title, .welcome {
    position: static !important;         /* undo absolute positioning */
    transform: none !important;
    margin: 0 !important;
    line-height: 1.2;
  }
  .ycodam { font-size: 18px; }
  .title  { font-size: 14px; text-align: center; flex: 1; }
  /* compact action icons */
  .login, .signup, .helpimg, .infoimg, .langselect, .logout, .baseimg {
    width: 32px; height: 32px; margin: 0 6px 0 0; float: none;               /* kill floats */
  }
}

/* --- 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); }

@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: 12px; }
}

/* --- 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) {
  .top-bar {
    flex-wrap: wrap;
    padding: 8px;
  }
  .top-bar img,
  .top-bar .login,
  .top-bar .signup,
  .top-bar .helpimg,
  .top-bar .infoimg {
    margin: 4px;
  }
}

@media (max-width: 768px) {
  .menu a {
    font-size: 14px;
    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;
  }
}

/* ===== MOBILE POLISH (drop-in) ===== */

/* 1) Top bar: keep text on one line, no wrapping */
@media (max-width: 768px) {
  .top-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    height: auto;
    flex-wrap: nowrap;                 /* prevent wrapping */
  }

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

  /* keep the app title on one line with ellipsis */
  .title {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
  }

  /* short “YCODAM” left label stays compact */
  .ycodam { white-space: nowrap; font-size: 18px; }
}

/* 2) Make login / signup / help / info icons comfortably large on phones */
@media (max-width: 768px) {
  .login, .signup, .helpimg, .infoimg, .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; }
}

/* MOBILE TOP BAR: 2 rows — [logo + YCODAM] / [title full width] / [icons on next row right] */
@media (max-width: 640px) {
  .top-bar {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;            /* allow multiple rows */
    gap: 8px;
    padding: 8px 10px;
    height: auto;
  }

  /* first row: logo + YCODAM */
  .logo { width: 40px; height: 40px; margin: 0; }
  .ycodam {
    position: static !important; transform: none !important; margin: 0 !important;
    white-space: nowrap; font-size: 18px;
    order: 1;                    /* make sure it's on the first row */
  }

  /* second row: title spans full width (no wrap truncation) */
  .title {
    order: 2;
    flex: 1 0 100%;              /* take entire row */
    min-width: 0;
    text-align: center;
    white-space: normal;         /* show all text */
    overflow: visible;
    font-size: 16px;
  }

  /* third row: icons, aligned to the right */
  .login, .signup, .helpimg, .infoimg, .langselect, .logout, .baseimg {
    order: 3;
    width: 44px; height: 44px;   /* comfortable tap size */
    float: none !important;
    margin: 0 6px 0 0;
    flex: 0 0 auto;
  }
  /* push the first icon to the right; others follow it */
  .login { margin-left: auto; }
}

/* 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;
}

/* PHONE LAYOUT */
@media (max-width: 640px) {
  .top-bar {
    display: grid !important;
    grid-template-columns: auto 1fr;   /* [logo] [ycodam + title] */
    grid-auto-rows: auto;
    grid-row-gap: 6px;
    align-items: center;
    padding: 8px 10px;
    height: auto;
  }

  /* logo */
  .logo { width: 40px; height: 40px; margin: 0; grid-column: 1; grid-row: 1; }

  /* “YCODAM – Discover…” in ONE row */
  .ycodam,
  .title {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    grid-column: 2; grid-row: 1;
    white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .ycodam { font-size: 16px; margin-right: 6px !important; display: inline-block; }
  .title  { font-size: 14px; display: inline-block; }

  /* ICONS row (next line, right-aligned) */
  .login, .signup, .helpimg, .infoimg, .langselect, .logout, .baseimg {
    grid-column: 1 / -1; grid-row: 2;
    justify-self: end;
    float: none !important;
  }

  /* Size hierarchy: Login/Signup larger than Info/Help */
  .login, .signup { width: 48px; height: 48px; margin-left: 8px; }
  .helpimg, .infoimg, .langselect, .logout, .baseimg { width: 36px; height: 36px; margin-left: 6px; }
}

/* =========================
   MOBILE TOP BAR (no overlap, 1-row icons)
   ========================= */
@media (max-width: 640px) {
  /* Use flex with wrapping so we can control rows via 'order' */
  .top-bar {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    height: auto;
  }

  /* Row 1: logo + YCODAM short label */
  .logo { order: 1; width: 40px; height: 40px; margin: 0; }
  .ycodam {
    order: 1;
    position: static !important; transform: none !important; margin: 0 !important;
    white-space: nowrap; font-size: 16px;
  }

  /* Row 2: full slogan on its own line, no overlap */
  .title {
    order: 2;
    flex: 1 0 100%;               /* force its own line */
    min-width: 0;
    text-align: center;
    white-space: nowrap;          /* keep in one line */
    overflow: hidden;
    text-overflow: ellipsis;      /* if still too long on tiny phones */
    font-size: 14px;
  }

  /* Row 3: all icons, one row, right-aligned */
  .login, .signup, .helpimg, .infoimg, .langselect, .logout, .baseimg {
    order: 3;
    float: none !important;
    margin: 0 6px 0 0;
    flex: 0 0 auto;               /* sit inline on one row */
  }
  /* Size hierarchy (bigger login/signup) */
  .login, .signup  { width: 48px; height: 48px; }
  .helpimg, .infoimg, .langselect, .logout, .baseimg { width: 36px; height: 36px; }

  /* push icon row to the right edge */
  .login { margin-left: auto; }
}

/* If icons still wrap on very small devices, allow smaller sizes */
@media (max-width: 360px) {
  .login, .signup  { width: 42px; height: 42px; }
  .helpimg, .infoimg, .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: 11px; 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;
  }
}

