    /* —— Regal Global Palette —— */
    :root {
        --bg: #eee;
        --header-bg: #222;
        --panel-bg: #FFFFFF;
        --text-primary: #222;
        --text-secondary: #222;
        --border: #CBD5E1;
        --accent: #222;
        --accent-hover: #222;
      }
  
      /* —— Reset & Base —— */
      * { box-sizing: border-box; margin:0; padding:0 }
      body {
        font-family:'Inter',sans-serif;
        background:var(--bg);
        color:var(--text-primary);
        line-height:1.6;
      }
      a { text-decoration:none; color:inherit }
      .wrapper { width:95%; margin:0 auto }
  
      /* —— HEADER —— */
/* ===== Shell ===== */
.fnbx-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:#fff; box-shadow:0 2px 6px rgba(0, 0, 0, 0.205);
  font-family:Arial, Helvetica, sans-serif;
}

/* ===== Top bar ===== */
.fnbx-topbar{
  display:grid;
  align-items:center;
  gap:12px;
  /* mobile defaults, desktop overrides below */
}

.fnbx-left{
  display:flex; align-items:center; gap:12px;
  min-width: 0;               /* prevent overflow growth */
}
.fnbx-burger{ background:none; border:0; font-size:20px; color:#0b2d4d; cursor:pointer; }
.fnbx-logo {
  font-weight: 700;
  font-size: 23px;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  display: inline-block;
}

/* pseudo-element for the marker effect */
.fnbx-logo::before {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 55%;
  bottom: 5%;
  background: linear-gradient(
    170deg,       /* tilt — lower left to upper right */
    #ffc107 0%,   /* bright yellow */
    #ffe600 50%,  /* slightly darker mid */
    yellow 100%
  );
  transform: rotate(-1deg);
  z-index: -1; /* put it behind the text */
  border-radius: 4px;
  opacity: 0.9;
}
/* ===== Country Dropdown (Modern Style) ===== */
.fnbx-country select {
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1F2937;                   /* brand blue tone */
  text-transform: uppercase;
  padding: 7px 32px 7px 12px;       /* extra space for arrow */
  border: 1px solid #dcdcdc;
  border-radius: 8px;               /* softer rounded edge */
  background-color: #fff;
  appearance: none;                 /* remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23003366' xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

/* On focus: subtle blue outline */
.fnbx-country select:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
  outline: none;
}

/* On hover: soft background tint */
.fnbx-country select:hover {
  background-color: #f9f9f9;
}


/* Base link style */
.fnbx-right a {
  position: relative;
  color: #333;
  text-decoration: none;
  font-size: clamp(13px, 0.95vw, 16px);
  padding: 8px 10px;
  border-radius: 6px;
  transition: color 0.25s ease;
  overflow: hidden;
}

/* Marker highlight effect on hover */
.fnbx-right a::before {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 60%;
  bottom: 8%;
  background: linear-gradient(
    170deg,
    #ffc107 0%,
    #ffe600 50%,
    yellow 100%
  );
  transform: rotate(-1deg);
  z-index: -1;
  border-radius: 4px;
  opacity: 0;
}

/* hover trigger */
.fnbx-right a:hover::before {
  opacity: 0.9;
}

/* hover text color */
.fnbx-right a:hover {
  color: #222;
}

/* Desktop only */
@media (min-width: 768px) {
  .fnbx-right {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
  }
}

/* Smaller laptop adjustments */
@media (max-width: 1100px) {
  .fnbx-right a {
    padding: 6px 8px;
    font-size: clamp(12px, 1vw, 14px);
  }
}


.fnbx-btn{ background:#ffffff; color:#333; padding:6px 12px; border-radius:6px; font-weight:700; }

/* account container */
.fnbx-account {
  position: relative;
  display: inline-block;
}

/* account button */
.fnbx-account-btn {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #1d1d1f;
  cursor: pointer;
  transition: box-shadow .2s, background .2s;
  font-size: 13px;
}

.fnbx-account-btn i.fas.fa-user {
  background: #ffc107;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 12px;
}

.fnbx-account-btn .chevron {
  font-size: 10px;
  opacity: 0.6;
}

/* Base dropdown menu look (same neutral tone) */
.fnbx-account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  min-width: 160px;
  display: none;
  z-index: 999;
  overflow: hidden;
  padding: 4px 0;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* dropdown links */
.fnbx-account-menu a {
  display: block;
  padding: 9px 14px;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
}

.fnbx-account-menu a:hover {
  background: #f5f5f5;
}

/* show dropdown */
.fnbx-account.show .fnbx-account-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* hide on mobile */
@media (max-width: 1023px) {
  .fnbx-account {
    display: none;
  }
}



/* ===== Search Bar (modern subtle style) ===== */
.fnbx-search .search-suggestions{
  position:absolute; top:100%; left:0; right:0;
  background:#fff; border:1px solid #ddd; border-top:none;
  box-shadow:0 6px 20px rgba(0,0,0,.08);
  max-height:280px; overflow:auto; z-index:9999;
  border-bottom-left-radius:10px; border-bottom-right-radius:10px;
}
.fnbx-search .search-suggestions a.sugg{
  display:block; padding:12px 14px; text-decoration:none;
  -webkit-tap-highlight-color: transparent;
}
.fnbx-search .search-suggestions a.sugg:hover{ background:#f5f5f5; }
.fnbx-search .search-suggestions .nores{ color:#666; padding:12px 14px; }


/* Default state: light grey background, smooth corners */
.fnbx-search input {
  width: 100%;
  height: 36px;
  padding: 0 38px 0 38px;
  border: none;
  border-radius: 20px;
  background-color: #f5f5f5;   /* light grey background */
  font-size: 14px;
  color: #333;
  outline: none;
  transition: all 0.2s ease-in-out;
}

/* Focused state: white background with thin blue border */
.fnbx-search input:focus {
  background-color: #fff;
  border: 1px solid #1a73e8;   /* Google-like blue */
  box-shadow: 0 0 3px rgba(26,115,232,0.3);
}

/* Search button on the right */
.fnbx-search button {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Magnifying glass icon color */
.fnbx-search button svg {
  width: 18px;
  height: 18px;
  stroke: #555;
  stroke-width: 2;
  transition: stroke 0.2s;
}

.fnbx-search button:hover svg {
  stroke: #1a73e8;  /* turns blue on hover */
}

/* Optional: add search icon on the left inside input */
.fnbx-search::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  width: 18px;
  height: 18px;
  background-size: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}


/* ===== Mobile ===== */
@media (max-width:1143px) {
  .fnbx-search-mobile {
    display: flex;
    align-items: center;
    background: #f3f3f3;
    border: 1px solid #e1e1e1;
    border-radius: 999px;
    padding: 3px 8px;
    gap: 4px;
    margin: 0 auto 12px auto;   /* ✅ center + bottom space */
    width: 95%;                 /* ✅ same width as buttons */
  }

  .fnbx-search-mobile input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13px;
    height: 30px;               /* slimmer height */
    outline: none;
    color: #333;
  }

  .fnbx-search-mobile button {
    border: none;
    background: transparent;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .fnbx-search-mobile svg {
    width: 16px;
    height: 16px;
    stroke: #555;
  }
}


/* Mobile bottom block */
/* ===== MOBILE BUTTON BAR (95% width, centered) ===== */
.fnbx-mobile-links {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 6px;
  margin: 0 auto 6px auto;   /* center the row */
  width: 95%;                /* occupy 95% of container width */
}

/* equal button widths and consistent height */
.fnbx-mobile-links a {
  flex: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;            /* same current height */
  border-radius: 9px;
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: clamp(12px, 3.2vw, 14px);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  height: 100%;
}

/* button colors */
.fnbx-mobile-links a:nth-child(1) {
  background: #ffffff;
  border-color: #e4e4e4;
  color: #333;
}
.fnbx-mobile-links a:nth-child(2) {
  background: #ffffff;
  border-color: #e4e4e4;
  color: #333;
}
.fnbx-mobile-links a:nth-child(3) {
  background: #ffffff;
  border-color: #e4e4e4;
  color: #333;
}

.fnbx-mobile-links a:active {
  transform: scale(.985);
}

/* smaller screens */
@media (max-width: 380px) {
  .fnbx-mobile-links {
    width: 95%;
    gap: 4px;
  }
  .fnbx-mobile-links a {
    padding: 6px 0;
    font-size: 12px;
  }
}






/* ===== Desktop ≥1144px ===== */
@media (min-width:1144px){
  .fnbx-topbar{
    padding:10px 40px;
    grid-template-columns: auto 1fr auto;     /* left | center | right */
    column-gap: 24px;
  }

  /* Hide burger on desktop */
  .fnbx-burger{ display:none; }

  /* Centered desktop search with controlled width */
  .fnbx-search-desktop{
    height: 34px;
    display:grid;
    justify-self:center;       /* centers in the middle column */
    width:100%;
    max-width: 620px;          /* keep it from pushing links */
  }

  /* Show right links, keep on one line */
  .fnbx-right{
    display:flex;
  }

  /* Hide the mobile bottom block on desktop */
  .fnbx-mobile-bottom{
    display:none;
  }
}

/* ===== Mobile <1144px ===== */
@media (max-width:1143px){
  .fnbx-topbar{
    grid-template-columns: 1fr auto;  /* left takes most space, country stays; search moved below */
    justify-content:space-between;
  }
  .fnbx-search-desktop{ display:none; }   /* hide desktop search */
  .fnbx-right{ display:none; }            /* hide desktop links */
  .fnbx-mobile-bottom{ display:block; }
}

  
  /* —— COMPOUND SEARCH BAR —— */
  .search-bar {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: visible;
    background: var(--panel-bg);
  }
  
  /* desktop version */
  .search-bar.search-desktop {
    margin-left: 0;
    width: 31%;
  }
  
  /* the text input fills all available space */
  .search-bar input {
    flex: 1;
    padding: 8px;
    border: 0px solid #CBD5E1;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-primary);
  }
  
  /* the search button (desktop & mobile) */
  .search-bar button {
    background: var(--accent);      /* yellow bg */
    padding: 8px 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }
  
  .search-bar button:hover {
    background: var(--accent-hover);
  }
  
  /* make the magnifier icon white */
  .search-bar button svg {
    width: 24px;
    height: 24px;
    stroke: var(--panel-bg);        /* white stroke */
  }
  
  
  /* —— MOBILE SEARCH —— */
  .search-mobile {
    width: 100%;
    margin-left: 0;
    display:none; margin-top:5px;
  }
  
  .search-mobile .search-bar {
        margin-left:0; width:100%;
      }
  
      /* —— CONTROLS —— */
      .header-right {
        display:flex; align-items:center; gap:8px;
      }
      .header-right select,
      .header-right button {
        font-size:14px; padding:6px 10px;
        border:1px solid var(--border); border-radius:6px;
        background:var(--panel-bg); color:var(--text-primary);
      }
      .header-right button {
        background:var(--accent); color:var(--header-bg);
        border:none; font-weight:600;
      }
      .header-right button:hover {
        background:var(--accent-hover);
      }
  
      /* —— NAVIGATION —— */
      .nav-menu {
        display:flex; justify-content:space-around;
        background:var(--header-bg); padding:12px 0;
        border-bottom:1px solid var(--border);
        margin-top:10px; flex-wrap:wrap;
      }
      .nav-menu a {
        font-weight:600; color:var(--panel-bg);
      }
      .nav-menu a:hover {
        color:var(--accent);
      }
  
      /* —— BODY —— */
      .body-container {
        display:flex; gap:20px; margin-top:97px;
      }


      @media (min-width: 1143px) {
        .body-container {
          margin-top:70px;
          
        }
      }

      .maintitle{
        width: 20%;
      }
      
      .sidebar{
        width:25%;
        background:var(--panel-bg);
        padding:12px 10px;
        border:1px solid var(--stroke);
        border-radius:12px;
        box-shadow:0 6px 18px rgba(0,0,0,0.06);
      }
      .sidebar ul{list-style:none;margin:0;padding:0;
        max-height: none;     /* remove fixed height */ overflow:auto;}
      
        /* Hide Login/Register on desktop */
.marketplace-btn{
  display: none;        /* desktop default: hidden */
}

/* show on mobile */
@media (max-width: 1144px) {
  .marketplace-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 999px;
    padding: 6px 14px;
    font-family: 'Inter','Helvetica Neue','Segoe UI',Arial,sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    margin-bottom: 10px;
  }

  .marketplace-btn i {
    background: #ffc107;              /* same F&B Supplier tone */
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 12px;
  }

  .marketplace-btn .divider {
    opacity: 0.4;
  }

  /* tap feedback */
  .marketplace-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
}
      
      /* Section headers */
      .navigationbold{
        display:block;
        margin:10px 8px 6px;
        padding:7px 10px;
        border-radius:8px;
        background:var(--muted);
        color:var(--text-primary);
        font:700 12px/1 'Inter','Helvetica Neue','Segoe UI',Arial,sans-serif;
        letter-spacing:.08em;
        text-transform:uppercase;
      }
      
      /* Items */
      .navigationwhite{
        display:flex;
        align-items:center;
        gap:8px;
        margin:0 6px;
        padding:8px 10px 8px 14px;
        border-radius:8px;
        color:var(--text-secondary);
        font:500 14px/1.35 'Inter','Helvetica Neue','Segoe UI',Arial,sans-serif;
        text-decoration:none;
        position:relative;
      }
      
      /* subtle bullet */
      .navigationwhite::before{
        content:"";
        width:6px;height:6px;border-radius:50%;
        background:#cbd5e1;
        flex:0 0 6px;
      }
      
      /* hover + active */
      .navigationwhite:hover{
        background:rgba(0,51,102,.06);
        color:var(--brand);
      }
      .navigationwhite.is-active{
        background:rgba(0,51,102,.10);
        color:var(--brand);
        font-weight:600;
      }
      
      /* spacing between groups */
      .navigationwhite + .navigationbold,
      .navigationbold + .navigationbold{ margin-top:10px; }

      .marketplacebackgroundcolor{
        background-color: #ffffff;
      }
      
      /* Scrollbar (nice but subtle) */
      .sidebar ul::-webkit-scrollbar{width:8px}
      .sidebar ul::-webkit-scrollbar-thumb{
        background:#dbe2ea;border-radius:8px}
      
      /* Mobile */
      @media (max-width:768px){
        .sidebar{width:100%; padding:10px; border-radius:10px;}
        .navigationwhite{font-size:15px}
      }


      .content {
        flex:1; background:var(--panel-bg);
        padding:6px; border-radius:10px;
        box-shadow:0 1px 3px rgba(0,0,0,0.1);
      }
  
      .chat-float {
        position: fixed;
        bottom: 24px;
        right: 40px;
        background: linear-gradient(
          170deg,
          #ffc107 0%,
          #ffe600 50%,
          yellow 100%
        );
        color: #1d1d1f;
        font-weight: 600;
        border-radius: 50px;
        padding: 10px 18px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
        font-size: 15px;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        z-index: 9999;
        transition: transform 0.2s, box-shadow 0.3s;
        border: 1px solid rgba(0,0,0,0.08);
      }
      
      /* subtle marker movement effect */
      .chat-float::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50px;
        background: linear-gradient(
          170deg,
          #ffd000 0%,
          #fff250 50%,
          #fff799 100%
        );
        transform: rotate(-1deg);
        opacity: 0;
        z-index: -1;
        transition: opacity 0.3s ease;
      }
      
      .chat-float:hover::before {
        opacity: 1;
      }
      
      .chat-float:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.25);
      }
      
      .chat-float i {
        font-size: 20px;
        color: #1d1d1f;
      }
      
      .chat-float span {
        font-weight: 600;
        color: #1d1d1f;
      }
      
      /* Mobile */
      @media (max-width: 768px) {
        .chat-float {
          bottom: 18px;
          right: 20px;
          padding: 10px 14px;
          font-size: 14px;
        }
      }
      
      

      /* —— FOOTER —— */

  
      /* —— FULL MOBILE SWITCH @≤1144px —— */
      @media (max-width:1144px) {
        .wrapper { width:100% }
        .hamburger { display:flex }
        /* hide the desktop bar and show the mobile bar */
    .search-bar.search-desktop { display: none; }
    .search-mobile             { display: block; }
  
    /* style the mobile input exactly like the desktop one */
    .search-mobile .search-bar input {
      padding: 4px 8px;         /* Reduce vertical and horizontal padding */
      font-size: 14px;          /* Slightly smaller font */
      height: 32px;             /* Set fixed height */
      border-radius: 6px 0 0 6px;
      border: 0px solid var(--border);
    }
  
    /* now target your .search-btn instead of the generic button */
    .search-mobile .search-bar .search-btn {
      padding: 4px 8px;         /* Reduce button padding */
      height: 32px;             /* Match input height */
      background: var(--accent);
      color: var(--panel-bg);
      border: none;
      border-radius: 0 6px 6px 0;
    }
    
  
    /* and make sure the icon inside is sized the same: */
    .search-mobile .search-bar .search-icon {
      width: 20px;
      height: 20px;
      stroke: var(--panel-bg);  /* white on your yellow button */
    }
        .header-top { flex-wrap:nowrap }
        .logo { font-size:18px }
        .header-right {
          gap:5px; width:100%; justify-content:flex-end;
        }
        .header-right select,
        .header-right button {
          font-size:10px; padding:5px 8px;
        }
        .nav-menu { font-size:14px }
        .body-container { flex-direction:column }
        .sidebar { display:none; width:100% }
        .sidebar.active { display:block }
        .content { width:100% }
  
          /* make the section headers a bit smaller */
    .top-posts__marketplace .section-header h3,
    .top-posts__discussion .section-header h3 {
      font-size: 1rem;       /* down from whatever your desktop size is */
    }
  
    /* and the list items too */
    .top-posts__marketplace li,
    .top-posts__discussion li {
      font-size: 0.85rem;    /* adjust to taste */
    }
  
    /* —————— FULL‑BLEED PANELS —————— */
    .top-posts__marketplace,
    .top-posts__discussion,
    .top-posts__featured {
      position: relative;
      left: 50%;
      width: 100vw;
      margin-left: -50vw;
      /* restore your normal gutter inside the panel */
      padding-left: 16px;
      padding-right: 16px;
    }
      }
  
      /* —— GRID LAYOUT —— */
      .row {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 5px;
      }
      @media (max-width:1144px) {
        .row {
          grid-template-columns: repeat(2,1fr);
        }
      }
  
      /* —— CARD —— */
      .column {
        background: #FFF;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        display: flex;
        flex-direction: column;
      }
  
      .column img.displaypost {
    width: 100%;
    aspect-ratio: 4 / 3;   /* slightly wider than tall */
    object-fit: cover;
  }
  
/* ====== Info Section ====== */
.info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
}

/* ====== Company Name ====== */
.company a {
  font-weight: 600;
  font-size: clamp(14px, 1vw + 0.25rem, 16px);
  color: #333;
  text-decoration: none;
  line-height: 1.4;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ====== Category (no background) ====== */
.keyword .category {
  display: inline-block;
  color: #555;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  margin-top: 4px;
  text-transform: capitalize;
}

      


      /* Image Credit Styling */
.image-credit {
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  margin-top: 5px;
}

/* Call Now Button Styling at the bottom */
.call-now-footer {
  text-align: center;
  margin-top: 20px;
}
  
/* ====== Call Now Button ====== */
.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ececec;
  color: #222;
  border: none;
  border-radius: 6px;
  padding: clamp(6px, 1vw, 8px) clamp(10px, 1.5vw, 14px);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  margin-top: 6px;
}

.call-btn:hover {
  background: #dcdcdc;
}

      /* container for the two buttons */
  .section-header__actions {
    display: flex;
    gap: 8px;
  }
  

/* ===== About FnBSupplier Page ===== */

/* Headings */
.about-fnb-title {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  color: #333;
  margin-bottom: 24px;
  text-align: left;
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
}

.about-fnb h2 {
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 600;
  color: #333;
  margin-top: 32px;
  margin-bottom: 10px;
}

.about-fnb h3 {
  font-size: clamp(13px, 1.6vw, 17px);
  font-weight: 500;
  color: #333;
  margin-top: 22px;
  margin-bottom: 8px;
}

/* Paragraphs & Lists */
.about-fnb p {
  margin-bottom: 16px;
  font-weight: 400;
  color: #333;
  font-size: clamp(12px, 1.4vw, 15px);
  line-height: 1.6;
}

.about-fnb ul {
  margin: 12px 0 20px 22px;
  padding-left: 12px;
}

.about-fnb li {
  margin-bottom: 6px;
  font-size: clamp(12px, 1.3vw, 15px);
  line-height: 1.5;
}

/* FAQ Section */
.about-fnb dl.faq dt {
  font-weight: 600;
  margin-top: 14px;
  color: #333;
  font-size: clamp(13px, 1.4vw, 16px);
}

.about-fnb dl.faq dd {
  margin: 4px 0 12px 0;
  padding-left: 12px;
  color: #333;
  font-size: clamp(12px, 1.3vw, 15px);
  line-height: 1.5;
}

/* Links */
.about-fnb a {
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,51,102,0.3);
  font-size: clamp(12px, 1.3vw, 15px);
}

.about-fnb a:hover {
  color: #001f4d;
  border-bottom-color: rgba(0,51,102,0.6);
}

/* Container adjustments */
.about-fnb {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

/* Extra spacing and box styling */
.content {
  background: var(--panel-bg, #fff);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}


  /* Scoped Contact Form Styling */
.contact-fnb {
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #222;
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 16px 20px;
  line-height: 1.55;
}

.contact-fnb-title {
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin-bottom: 24px;
  text-align: left;
}

/* Label + Input alignment */
.contact-fnb label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* Inputs, select, textarea */
.contact-fnb input,
.contact-fnb select,
.contact-fnb textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-fnb input:focus,
.contact-fnb select:focus,
.contact-fnb textarea:focus {
  border-color: #003366;
  box-shadow: 0 0 0 2px rgba(0,51,102,0.1);
  outline: none;
}

/* Textarea */
.contact-fnb textarea {
  min-height: 120px;
  resize: vertical;
}

/* Button */
.contact-fnb button[type="submit"],
.contact-fnb .refresh-btn {
  background: #003366;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-block;
  margin-top: 10px;
}

.contact-fnb button[type="submit"]:hover,
.contact-fnb .refresh-btn:hover {
  background: #001f4d;
}

/* Alerts */
.contact-fnb .alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.contact-fnb .alert-success {
  background: #e8f5e9;
  border: 1px solid #b2d8b6;
  color: #27632a;
}

.contact-fnb .alert-error {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #842029;
}

/* Field error messages */
.contact-fnb .field-error {
  color: #c00;
  font-size: 13px;
  margin-top: 4px;
}

/* Spacing between form fields */
.contact-fnb p {
  margin-bottom: 16px;
}

/* Scoped Terms of Service Page Styling */
.terms-fnb {
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  color: #222;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  max-width: 880px;
  margin: 0 auto 60px;
  padding: 20px 20px 60px;
}

/* Title */
.terms-fnb-title {
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #003366;
  margin-bottom: 24px;
  text-align: left;
}

/* Section Headings */
.terms-fnb h2 {
  font-size: 18px;
  font-weight: 600;
  color: #003366;
  margin-top: 32px;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

/* Paragraphs */
.terms-fnb p {
  margin-bottom: 14px;
}

/* Ordered Lists */
.terms-fnb ol {
  margin-left: 22px;
  margin-bottom: 18px;
  padding-left: 8px;
}

.terms-fnb li {
  margin-bottom: 6px;
  font-size: 14.5px;
}

/* Links */
.terms-fnb a {
  color: #003366;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,51,102,0.3);
}

.terms-fnb a:hover {
  color: #001f4d;
  border-bottom-color: rgba(0,51,102,0.6);
}

/* Optional subtle divider between sections */
.terms-fnb h2:not(:first-of-type) {
  border-top: 1px solid #eee;
  padding-top: 20px;
}

  
  
  /* —— POST BUTTON (blue tone) —— */
  .post-btn {
    background: #007BFF;               /* matching your “Call Now” blue */
    color: #fff;                       /* white text */
    border: 1px solid #007BFF;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
  }
  
  .post-btn:hover {
    background: #0056b3;               /* darker blue on hover */
    border-color: #0056b3;
  }

/* ===== SEO Description Section ===== */
.search-description {
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  color: #444;
  max-width: 1100px;
  margin: 40px auto 60px;
  padding: 0 16px;
  line-height: 1.7;
  text-align: left;
}

/* Smaller responsive heading */
.search-description h2 {
  font-weight: 600;
  color: #222;
  text-align: left;
  margin-bottom: 16px;
  line-height: 1.4;
  font-size: clamp(14px, 1.6vw, 18px);  /* auto scale smaller on mobile */
}

/* Paragraph text */
.search-description p {
  font-size: clamp(11px, 1.3vw, 14px);  /* smaller responsive size */
  color: #555;
  margin-bottom: 12px;
}

/* Emphasis tags */
.search-description strong {
  color: #222;
  font-weight: 600;
}

/* Optional: soften the section visually */
.search-description {
  border-top: 1px solid #eee;
  padding-top: 24px;
}

/* ===== Mobile fine-tuning ===== */
@media (max-width: 600px) {
  .search-description {
    margin: 24px auto 40px;
    line-height: 1.6;
  }

  .search-description h2 {
    text-align: center;
    font-size: 14px;
  }

  .search-description p {
    text-align: justify;
    font-size: 12px;
  }
}

  
  
  
  
  /* —— SECTION HEADER FLEX —— */
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px; /* space under header */
  }
  .section-header h3 {
    margin: 0; /* reset default */
    color: #003366;
  }
  
  /* Base badge styling */
/* SECTION + HEADER */
.marketplace-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  background-color: #fff;
  transition: box-shadow 0.2s ease;
  text-decoration: none;
  display: block;
}

.marketplace-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.marketplace-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 8px;
}

.marketplace-badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 20px;
  color: white;
  line-height: 1;
  flex-shrink: 0;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  margin-bottom: 6px;
}

.badge-buy { background-color: #28a745; }
.badge-sell { background-color: #dc3545; }
.badge-rent { background-color: #007bff; }
.badge-ask  { background-color: #ffc107; color: #333; }

@media (max-width: 600px) {
  /* Shrink the “Marketplace” heading */
  .marketplace-header h3 {
    font-size: 16px;   /* down from 18px */
    margin-right: 8px; /* a little space before the buttons */
  }

  /* Shrink & tighten up all the buttons */
  .marketplace-header{
    font-size: 14px;         /* smaller text */
    padding: 4px 8px;        /* less padding */
    line-height: 1.2;        /* tighter line-height */
  }

  /* Keep them on one line (they’ll scroll horizontally if they still overflow) */
  .marketplace-header {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}

.marketplace-title-text {
  font-weight: 600;
  font-size: 15px;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  line-height: 1.3;
}

.marketplace-desc {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.marketplace-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #555;
  align-items: center;
}

.marketplace-more-link {
  font-weight: bold;
  color: #007bff;
  font-size: 13px;
  text-decoration: none;
}

.marketplace-more-link:hover {
  text-decoration: underline;
}

.marketplace-section-wrapper {
  background-color: #FFF;
  border: 0px solid #ddd;
  border-radius: 12px;
  padding: 0px;
  margin: 0 0 0px 0; /* top right bottom left */
}

  
  /* DETAIL PANEL */
/* Wrapper spacing */
.supplier-detail{ padding: 12px 0 48px; }

/* Title smaller than site title */
.supplier-hero h1{
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--brand-navy);
  text-align: center;
  margin: 20px 0 18px;
}

/* Two-column grid on desktop */
.supplier-grid{
  display: grid;
  grid-template-columns: 360px minmax(0,1fr);
  gap: 28px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Left card (sticky on desktop) */
.supplier-card{
  background: var(--card-bg);
  border: 1px solid var(--card-bd);
  border-radius: 12px;
  box-shadow: var(--soft-shadow);
  padding: 16px;
  position: sticky;
  top: 88px; /* sit below your header */
}

.supplier-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #fff; /* white base background */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 6px;
}

/* Key tweak: fit landscape images properly */
.supplier-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* instead of cover */
  object-position: center center;
  background-color: #fff; /* fill sidebars with white when needed */
  border-radius: 12px;
  display: block;
}

/* Caption styling */
.image-credit {
  font-size: 12px;
  text-align: center;
  color: #888;
  margin-top: 4px;
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
}


/* Meta list */
.supplier-meta{ margin: 4px 0 0; }
.meta-row{ display: grid; grid-template-columns: 88px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid #f0f2f5; }
.meta-row:last-child{ border-bottom: 0; }
.supplier-meta dt{
  font-weight: 600;
  color: var(--brand-navy);
  font-size: 14px;
}
.supplier-meta dd{
  margin: 0;
  font-size: 14px;
  color: var(--text-main);
}
.supplier-meta a{ color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.break{ word-break: break-word; overflow-wrap: anywhere; }

/* Right side content */
.supplier-content {
  background: var(--card-bg);
  border: 1px solid var(--card-bd);
  border-radius: 12px;
  box-shadow: var(--soft-shadow);
  padding: 20px 22px;
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
}

/* Description paragraph */
.supplier-desc {
  color: var(--text-muted, #444);
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 10px;
  font-size: clamp(12px, 1.2vw, 14px); /* smaller on mobile */
}

/* Section title (Products, Highlights) */
.supplier-section {
  margin-top: 20px;
}
.supplier-section h2 {
  font-size: clamp(13px, 1.3vw, 16px); /* responsive */
  color: var(--brand-navy, #222);
  margin: 0 0 8px;
  font-weight: 700;
}

/* Bullet list */
.bullet-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}
.bullet-list li {
  margin: 5px 0;
  color: var(--text-main, #333);
  font-size: clamp(11px, 1.1vw, 14px); /* compact responsive text */
  line-height: 1.5;
}

/* ===== Mobile Fine-tuning ===== */
@media (max-width: 1143px) {
  .supplier-content {
    padding: 16px 14px;
  }
  .supplier-desc {
    font-size: 12px;
    line-height: 1.5;
  }
  .supplier-section h2 {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .bullet-list li {
    font-size: 12px;
    line-height: 1.45;
  }
}

/* Mobile / tablet */
@media (max-width: 992px){
  .supplier-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .supplier-card{
    position: static; /* no sticky on small devices */
  }
  .supplier-hero h1{
    font-size: 1.25rem;
    margin: 14px 0 10px;
  }
}

/* Small phones */
@media (max-width: 480px){
  .meta-row{ grid-template-columns: 78px 1fr; }
  .supplier-content{ padding: 16px; }
}

/* ===== MARKETPLACE DETAIL STYLES (unique mp-* namespace) ===== */

.mp-detail{
  --mp-navy: #0b2c52;
  --mp-text: #1c1c1c;
  --mp-muted: #4f5864;
  --mp-card-bg: #fff;
  --mp-card-bd: #e6e8eb;
  --mp-shadow: 0 6px 18px rgba(0,0,0,.06);

  padding: 12px 0 48px;
}

/* Title */
.mp-hero h1{
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--mp-navy);
  text-align: center;
  margin: 20px 0 18px;
}

/* Grid */
.mp-grid{
  display: grid;
  grid-template-columns: 360px minmax(0,1fr);
  gap: 28px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Left card */
.mp-card{
  background: var(--mp-card-bg);
  border: 1px solid var(--mp-card-bd);
  border-radius: 12px;
  box-shadow: var(--mp-shadow);
  padding: 16px;
  position: sticky;
  top: 88px; /* adjust to your header height */
}

.mp-figure{ margin: 0 0 12px; }
.mp-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.mp-credit{
  margin-top: 6px;
  font-size: 12px;
  color: var(--mp-muted);
  text-align: center;
}

/* Meta (contact/email/website/address) */
.mp-meta{ margin: 4px 0 0; }
.mp-row{
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f5;
}
.mp-row:last-child{ border-bottom: 0; }
.mp-meta dt{
  font-weight: 600;
  color: var(--mp-navy);
  font-size: 14px;
}
.mp-meta dd{
  margin: 0;
  font-size: 14px;
  color: var(--mp-text);
}
.mp-meta a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mp-break{ word-break: break-word; overflow-wrap: anywhere; }

/* Right content card */
.mp-contentcard{
  background: var(--mp-card-bg);
  border: 1px solid var(--mp-card-bd);
  border-radius: 12px;
  box-shadow: var(--mp-shadow);
  padding: 20px 22px;
}

.mp-content{
  color: var(--mp-muted);
  font: 500 14px/1.6 'Inter','Helvetica Neue','Segoe UI',Arial,sans-serif;
  white-space: pre-line; /* preserve line breaks */
  margin-top: 2px;
}
.mp-desc{ /* fallback message */
  color: var(--mp-muted);
  font: 500 14px/1.6 'Inter','Helvetica Neue','Segoe UI',Arial,sans-serif;
}

/* Responsive */
@media (max-width: 992px){
  .mp-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mp-card{ position: static; }
  .mp-hero h1{ font-size: 1.25rem; margin: 14px 0 10px; }
}

@media (max-width: 480px){
  .mp-row{ grid-template-columns: 78px 1fr; }
  .mp-contentcard{ padding: 16px; }
}

  /* Footer — blend with site color tone */
  .feet {
    background: var(--panel-bg);      /* white card background */
    color: var(--text-secondary);     /* soft grey text */
    padding: 40px 16px;               /* generous padding */
    text-align: center;               /* center everything */
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  /* Logo/title */
  .feet .one1 {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--header-bg);          /* navy */
    text-decoration: none;
    margin-bottom: 16px;
  }
  
  /* Body copy */
  .feet p {
    max-width: 800px;
    margin: 0 auto 24px;
    color: var(--text-secondary);
  }
  
  /* Social icons */
  .feet a img {
    filter: none; /* in case you previously inverted them */
    margin: 0 8px;
    vertical-align: middle;
    transition: opacity 0.2s;
  }
  .feet a img:hover {
    opacity: 0.8;
  }
  
  /* Footer links */
  .feet p a {
    color: var(--header-bg);          /* navy links */
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.2s;
  }
  .feet p a:hover {
    color: var(--accent);             /* gold on hover */
  }
  
  /* Copyright */
  .feet > p:last-of-type {
    margin-top: 32px;
    color: var(--text-secondary);
    font-size: 0.85rem;
  }
  /* Regular‑sized social icons in footer */
  .feet .social-icons a,
  .feet a i.fab {
    font-size: 1.25rem;    /* ≈20px */
    margin: 0 8px;         /* nice, even spacing */
    transition: color 0.2s;
  }
  
  .feet .social-icons a:hover,
  .feet a i.fab:hover {
    color: var(--accent);  /* gold on hover */
  }

  /* Smaller, subtle SEO subheading */
.page-subheading {
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
  color: #444;
  text-align: center;
  margin: 16px auto 24px;
  line-height: 1.4;

  /* Responsive font size — similar scale to footer */
  font-size: clamp(12px, 1.3vw, 16px);
  max-width: 90%;
  word-wrap: break-word;
}

/* Optional softer tone */
.page-subheading span,
.page-subheading strong {
  color: #333;
}


/* Base footer */
.site-footer {
  --footer-bg: #f5f5f7;
  background: var(--footer-bg);
  color: var(--text-secondary, #424245);
  border-top: 1px solid var(--border, #e5e5ea);
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(11px, 1.2vw, 14px);  /* 👈 scales automatically */
  line-height: 1.5;
  text-align: center;
  padding: clamp(16px, 4vw, 28px) 0;
}

.site-footer a {
  color: #1d1d1f;
  text-decoration: none;
  font-size: clamp(11px, 1.1vw, 13px); /* links also scale smoothly */
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) 16px;
}

/* Brand + company description */
.footer-topnote {
  margin-bottom: 10px;
}

.footer-brand {
  font-weight: 600;
  color: #1d1d1f;
  display: inline-block;
  margin-bottom: 4px;
  font-size: clamp(13px, 1.4vw, 18px); /* scales with screen */
}

.footer-copy {
  color: #6e6e73;
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 1.6;
}

/* Social icons */
.social-inline {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px 0;
  list-style: none;
}

.social-inline a {
  font-size: clamp(13px, 1.6vw, 16px);
  color: #333;
  transition: color 0.2s ease;
}

.social-inline a:hover {
  color: #007bff;
}

/* Legal bottom section */
.footer-legal {
  margin-top: 12px;
  font-size: clamp(10px, 1vw, 12px);
  color: #555;
}

.footer-legal p {
  margin: 4px 0;
}

.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 4px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-legal a {
  color: #444;
  font-size: clamp(10px, 1vw, 12px);
}

/* Centered Social Icons */
.social-inline{
  list-style:none;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  padding:16px 0 8px;
  margin:0 0 10px;
}
.social-inline a{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:8px;
  background:#fff;
  border:1px solid #e5e5ea;
  transition: background 0.2s, transform 0.2s;
}
.social-inline a:hover{
  background:#fafafa;
  transform: translateY(-2px);
}
.social-inline i{
  font-size:15px;
  color:#1d1d1f;
}



  
  .search-bar { position: relative; overflow: visible; }


/* —— Forms & Alerts —— */
form p {
  margin-bottom: 16px;
}
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-primary);
}
textarea {
  resize: vertical;
  min-height: 120px;
}
button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
}


/* Alerts */
.alert {
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 4px;
}
.alert-success {
  background: #E6FFFA;
  color: #2C7A7B;
}
.alert-error {
  background: #FFF5F5;
  color: #C53030;
}
.field-error {
  color: #C53030;
  margin-top: 4px;
  font-size: 0.875rem;
}



.loading {
  text-align: center;
  padding: 20px;
}

/* Force the ad not to float above */
.adsbygoogle,
.adsbygoogle iframe,
.adsbygoogle ins {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  overflow: hidden !important;
}


.fnb-auth-container {
  max-width: 440px;
  margin: 60px auto;
  background: white;
  padding: 28px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

.fnb-auth-tabs {
  display: flex;
  margin-bottom: 20px;
}

.fnb-auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  font-weight: bold;
  background: #f0f0f0;
  border-radius: 6px 6px 0 0;
  transition: background 0.2s;
}

.fnb-auth-tab.active {
  background: #333;
  color: white;
}

.fnb-auth-form {
  display: none;
}

.fnb-auth-form.active {
  display: block;
}

.fnb-auth-input, .fnb-auth-select {
  width: 100%;
  padding: 10px;
  margin: 10px 0 18px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 15px;
  box-shadow: 0 2px 4px #ccc;
}

.fnb-auth-btn {
  width: 100%;
  padding: 10px;
  background: #333;
  color: white;
  font-size: 15px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.fnb-auth-btn:hover {
  background: #333;
}

.fnb-auth-section {
  font-weight: 600;
  margin: 12px 0 6px;
  font-size: 15px;
  color: #333;
}

/* marketplace-post.css */

.mp-container {
  margin: auto;
  font-family: Arial, sans-serif;
  background: #fff;
}

.mp-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.mp-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.mp-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 20px;
  color: white;
  margin-right: 8px;
}

.mp-badge-buy {
  background: #007bff;
}

.mp-badge-sell {
  background: #28a745;
}

.mp-badge-rent {
  background: #fd7e14;
}

.mp-badge-ask {
  background-color: #ffc107; 
  color: #333;
}

.mp-content {
  font:500 12px/1 'Inter','Helvetica Neue','Segoe UI',Arial,sans-serif;

  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
  white-space: pre-wrap;
}

.mp-action-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.mp-action-btn {
  background: #f1f1f1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.mp-action-btn:hover {
  background: #e0e0e0;
}

.mp-comments-heading {
  margin-top: 30px;
  font-size: 18px;
  border-top: 1px solid #ddd;
  padding-top: 16px;
  margin-bottom: 10px;
}

.mp-comment {
  border-top: 1px solid #eee;
  padding: 12px 0;
  font-size: 14px;
  color: #444;
}

.mp-comment strong {
  color: #222;
}

.mp-comment small {
  color: #888;
  font-size: 12px;
}

.mp-comment-form {
  margin-top: 20px;
}

.mp-comment-form textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

.mp-comment-form button {
  margin-top: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.mp-comment-form button:hover {
  background-color: #0056b3;
}

.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  padding: 20px;
}

.marketplace-card-link {
  text-decoration: none;
  color: inherit;
}

.marketplace-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.marketplace-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.marketplace-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.marketplace-info {
  padding: 12px;
}

.marketplace-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.marketplace-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.marketplace-name {
  font-size: 14px;
  color: #333;
}

.like-btn {
  background-color: #007bff;
  border: none;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.like-btn.liked {
  background-color: #28a745; /* green if already liked */
}
.marketplace-post-form {
  max-width: 600px;
  margin: clamp(24px, 4vw, 40px) auto;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Title */
.marketplace-post-form h2 {
  text-align: center;
  margin-bottom: clamp(14px, 2.5vw, 20px);
  font-size: clamp(18px, 2.1vw, 21px);  /* smaller than site title */
  font-weight: 600;
  color: #333;
}

/* Label */
.marketplace-post-form label {
  display: block;
  margin-top: 14px;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: clamp(13px, 1.2vw, 14px);
  color: #444;
}

/* Inputs / select / textarea */
.marketplace-post-form input[type="text"],
.marketplace-post-form select,
.marketplace-post-form textarea,
.marketplace-post-form input[type="file"] {
  width: 100%;
  padding: 9px 10px;
  font-size: clamp(13px, 1.15vw, 14px);
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  box-sizing: border-box;
  background: #fff;
}

/* Textarea */
.marketplace-post-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Button */
.marketplace-post-form button {
  width: 100%;
  margin-top: 18px;
  padding: 11px;
  font-size: clamp(14px, 1.2vw, 15px);
  font-weight: 600;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.marketplace-post-form button:hover {
  background-color: #0063cc;
}

/* -------- mobile tweaks -------- */
@media (max-width: 768px) {
  .marketplace-post-form {
    margin: 16px 12px 32px;
    padding: 16px 14px 20px;
  }

  .marketplace-post-form h2 {
    font-size: 17px;
  }

  .marketplace-post-form label {
    font-size: 13px;
  }

  .marketplace-post-form input[type="text"],
  .marketplace-post-form select,
  .marketplace-post-form textarea {
    font-size: 13px;
  }

  .marketplace-post-form button {
    font-size: 14px;
  }
}


.modal {
  display: block; /* Show by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  margin: 15% auto;
  text-align: center;
  position: relative;
  top: 10%;
}

/* Lower the modal more on smaller screens */
@media (max-width: 1143px) {
  .modal-content {
    top: 30%;
  }
}

.country-btn {
  display: block;
  margin: 10px 0;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}
.country-btn:hover {
  background-color: #0056b3;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}
.close-modal:hover {
  color: #000;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f4f4f4;
  padding: 15px;
  cursor: pointer;
  border-bottom: 1px solid #ccc;
  transition: background-color 0.3s ease;
}

.question:hover {
  background-color: #eaeaea;
}

.buttonexpandable {
  font-size: 20px;
  line-height: 1;
  padding-left: 10px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.answer {
  display: none;
  padding: 15px;
  background-color: #fff;
  border-left: 4px solid #ccc;
  border-bottom: 1px solid #ccc;
}


.user-menu-wrapper {
  position: relative;
  display: inline-block;
}

.user-button {
  background-color: #FF8C42;
  color: white;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  background-color: white;
  border: 1px solid #ccc;
  min-width: 120px;
  z-index: 1000;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.user-dropdown a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
}

.user-dropdown a:hover {
  background-color: #f4f4f4;
}


.mp-button-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.view-more-btn,
.contact-btn {
  flex: 1;
  text-align: center;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  color: white;
}

.view-more-btn {
  background-color: #ffc107;
}

.fnb-auth-container p {
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.floating-post-wrapper {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 999999;
}

@media (min-width: 1143px) {
  .floating-post-wrapper {
    right: 40px; /* slightly inset on desktop */
  }
}

.floating-add-post {
  background: linear-gradient(135deg, #0056b3 80%, #007bff 100%);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s;
}

.floating-add-post:hover {
  transform: scale(1.1);
}

.floating-post-options {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 10px;
}

.floating-sub-button {
  color: white;
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.post-btn {
  background: #28a745;
}

.whatsapp-btn {
  background: #25D366;
}
.top-searches-bar {
  background: #003366;
  padding: 1px 0;
  position: sticky;
  top: 52px;
  z-index: 999;
  overflow: hidden;
}

.scrolling-track {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.scrolling-track::-webkit-scrollbar {
  display: none;
}

.scrolling-tags {
  display: inline-flex;
  gap: 8px;
}

.tag {
  background-color: #003366;
  padding: 0px 5px;
  border-radius: 3px;
  font-size: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  color: #FFFFFF;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

.tag:hover {
  background-color: #FFD700;
  color: #003366;
  border-color: #FFD700;
}

/* Show only on mobile */
@media (max-width: 1143px) {
  .bottom-nav-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #003366;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4px 4px;
    z-index: 1000;
    font-family: sans-serif;
    height: 58px;
  }

  .bottom-nav-mobile .nav-item {
    flex: 1;
    text-align: center;
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.1;
  }

  .bottom-nav-mobile .nav-item i {
    font-size: 18px;
    margin-bottom: 2px;
  }

  .bottom-nav-mobile .nav-item span {
    font-size: 11px;
    opacity: 0.95;
    white-space: nowrap;
  }

  /* Special styling for Post Marketplace */
  .bottom-nav-mobile .nav-item.sell {
    background: #28a745;
    color: #ffffff;
    flex: 1.2;
    height: 46px;
    margin: 0 3px;
    text-align: center;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 2px 8px;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .bottom-nav-mobile .nav-item.sell i {
    font-size: 18px;
    color: #FFD700;
    margin: 0;
  }

  .bottom-nav-mobile .nav-item.sell span {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
  }

  /* Special styling for Request Quote */
  .bottom-nav-mobile .nav-item.quote {
    background: #007bff;
    color: #ffffff;
    flex: 1.2;
    height: 46px;
    margin: 0 3px;
    text-align: center;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 2px 8px;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .bottom-nav-mobile .nav-item.quote i {
    font-size: 18px;
    color: #FFD700;
    margin: 0;
  }

  .bottom-nav-mobile .nav-item.quote span {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
  }

  .bottom-nav-mobile .dot {
    position: absolute;
    top: 2px;
    right: 28%;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    border: 1px solid #003366;
  }
}

@media (min-width: 1144px) {
  .bottom-nav-mobile {
    display: none;
  }
}

  


  .bottom-nav-mobile .dot {
    position: absolute;
    top: 0px;
    right: 28%;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    border: 1px solid #003366;
  }

  @keyframes pulsePlus {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
  }
}
@media (min-width: 1143px) {
  .bottom-nav-mobile {
    display: none;
  }
}
/* Profile section */
.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0; /* Light gray border */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* Subtle shadow */
  flex-wrap: wrap;
}

.profile-header:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}



.profile-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

.profile-details {
  list-style: none;
  padding: 0;
  font-size: 14px;
  color: #333;
}

.profile-details li {
  margin-bottom: 4px;
}

.logout-btn {
  background-color: #FFD700;
  color: #003366;
  font-weight: bold;
  padding: 6px 16px;
  border: none;
  border-radius: 6px;
  height: 40px;
  margin-top: 8px;
  cursor: pointer;
}

/* Post cards */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-card {
  display: flex;
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  max-height: 130px;
}

.post-card img {
  width: 100px;
  height: 100%;
  object-fit: cover;
}

.post-info {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.badge {
  background: #007BFF;
  color: white;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
  width: fit-content;
}

.post-title {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 4px;
}

.post-content {
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
}

.post-actions a {
  margin-left: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.edit-btn {
  color: #007BFF;
}
.delete-btn {
  color: red;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
  margin-left: 4px;
}


.desktop-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
  position: relative;
  font-size: 0.88rem;
}

/* Common Button Style */
.action-btn, .nav-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  font-size: 0.88rem;
}

/* Button Colors */
.nav-toggle {
  background-color: #f1f1f1;
  color: #003366;
}

.action-btn.post {
  background-color: #ffcc00;
  color: #000;
  font-weight: 600;
}

.action-btn.post:hover {
  background-color: #ff9900;
  color: #fff;
}

.action-btn.contact {
  background-color: #003366;
  color: #fff;
}

.action-btn.contact:hover {
  background-color: #001f4d;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 42px;
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 160px;
  z-index: 999;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  text-decoration: none;
  color: #003366;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
}

/* Show on JS toggle */
.dropdown-nav.open .dropdown-menu {
  display: block;
}

/* Responsive: Hide on mobile */
@media (max-width: 1024px) {
  .desktop-header-actions {
    display: none;
  }
}

.contact-us {
  background: #007bff;
  color: white;
  font-size: 0.9em; /* Default desktop */
  padding: 4px 8px;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
}

@media (max-width: 1143px) {
  .contact-us {
    font-size: 0.7em;
  }
}

  .post-button {
    background: #28a745;
    color: white;
    font-size: 0.9em;
    padding: 4px 8px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
  }

  @media (max-width: 1143px) {
    .post-button {
      display: none;
    }
  }

  .quote-button {
    background: #ffcc00;
    color: #007bff;
    font-size: 0.9em;
    padding: 4px 8px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
  }

  @media (max-width: 1143px) {
    .quote-button {
      display: none;
    }
  }

  .form-container {
    max-width: 650px;
    margin: 30px auto;
    border: 1px solid #ccc;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    overflow: hidden;
  }
  
  /* Tabs */
  .tab-header {
    display: flex;
    background: #f0f4fa;
    border-bottom: 1px solid #ccc;
  }
  
  .tab-btn {
    flex: 1;
    padding: 14px;
    background: transparent;
    border: none;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 16px;
  }
  
  .tab-btn.active {
    background: #fff;
    border-bottom: 3px solid #007bff;
    color: #007bff;
    font-weight: bold;
  }
  
  /* Form content styling */
  .tab-content {
    padding: 24px;
    background: #fff;
  }
  
  .tab-content input,
  .tab-content select,
  .tab-content textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
  }
  
  .tab-content button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
  }

  /* Top banner styling */
.fnbx-banner {
  width: 100%;
  text-align: center;
}

.fnbx-banner img {
  width: 100%;
  height: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  object-fit: cover;
}

/* Make it adapt to smaller screens */
@media (max-width: 768px) {
  .fnbx-banner img {
    max-width: 100%;
    border-radius: 6px;
  }
}

.profile-wrapper{
  max-width: 1100px;
  margin: 18px auto;
  padding: 0 16px;
}
.profile-card{
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* base (desktop / tablet) */
.update-alert {
  background: #fff4cc;
  border: 1px solid #f1cd7b;
  border-radius: 14px;
  padding: 12px 16px 14px;
  margin-top: 14px;
  font-size: 14px;
}
.update-form-inline {
  margin-top: 6px;
}
.update-form-inline select[name="country"] {
  width: 240px;
  max-width: 100%;
  margin-bottom: 6px;
}
.phone-group {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.country-code {
  width: 70px;
  background: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  height: 34px;
  line-height: 34px;
  pointer-events: none;
}
#phoneDigits {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 8px;
  height: 34px;
  padding: 4px 10px;
  font-size: 13px;
}
.btn-save {
  background: #ffc107;
  border: none;
  border-radius: 8px;
  padding: 6px 18px;
  font-weight: 600;
  cursor: pointer;
}

/* ===== MOBILE ===== */
@media (max-width: 540px) {
  .update-alert {
    padding: 10px 12px 12px;
    border-radius: 10px;
    font-size: 13px;     /* smaller text */
  }
  .update-alert strong {
    font-size: 13px;
  }
  .update-form-inline {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .update-form-inline select[name="country"] {
    width: 100%;
    font-size: 13px;
    height: 34px;
  }
 
  /* Base styling (desktop / tablet) */
.phone-group {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.country-code {
  width: 70px;
  background: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  height: 34px;
  line-height: 34px;
  pointer-events: none;
}

#phoneDigits {
  width: 180px;              /* ✅ shorter fixed width */
  border: 1px solid #ccc;
  border-radius: 8px;
  height: 34px;
  padding: 4px 10px;
  font-size: 13px;
}

/* Save button style (unchanged) */
.btn-save {
  background: #ffc107;
  border: none;
  border-radius: 8px;
  padding: 6px 18px;
  font-weight: 600;
  cursor: pointer;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 540px) {
  .update-alert {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
  }
  .update-form-inline {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .update-form-inline select[name="country"] {
    width: 100%;
    height: 34px;
    font-size: 13px;
  }
  .phone-group {
    flex-direction: row;
    gap: 4px;
    justify-content: flex-start;
  }
  .country-code {
    width: 60px;
    height: 32px;
    font-size: 12px;
  }
  #phoneDigits {
    width: 150px;           /* ✅ smaller on mobile */
    height: 32px;
    font-size: 13px;
  }
  .btn-save {
    height: 34px;
    font-size: 13px;
    padding: 5px 14px;
  }
}

