/* Googlefont Poppins CDN Link 

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;450;700&display=swap'); */

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Regular.woff2') format('woff2'), url('../fonts/poppins/Poppins-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
}

header {
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0,0,0,.3);
  box-shadow: 0px 2px 4px 0px rgba(0,0,0,.3);
  background: #fff;
  height: auto;
  min-height: 60px;
}

h5, label {
  margin-bottom: 0.15rem;
}

nav {
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: auto;
  /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); */
  z-index: 99;
}

.table-responsive {
  height: 200px;
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #fd111f #eaeaea;
}

.table-responsive-md {
  height: 300px;
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #fd111f #eaeaea;
}

  /* Common for Chrome, Edge, Safari */
  .table-responsive::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    background-color: #fd111f;
  }

  .table-responsive::-webkit-scrollbar-track {
    background: #fd111f;
    border-radius: 10px;
  }

  .table-responsive::-webkit-scrollbar-thumb {
    background-color: #cc0000;
    border: 2px solid #ffffff;
  }

table th, td {
  vertical-align: middle;
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem !important;
  white-space: nowrap !important;
  text-align:center !important;
}

.col-form-label {
  font-size: 0.9rem;
}

nav .navbar {
  height: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  /* background: red; */
  padding: 0 15px;
  z-index: 990;
}

.navbar .logo a {
  font-size: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 450;
}

nav .navbar .nav-links {
  line-height: 30px;
  height: 100%;
  width:85%;

}

nav .navbar .links {
  display: flex;
}

  nav .navbar .links li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    padding: 0 14px;
  }

    nav .navbar .links li a {
      height: 100%;
      text-decoration: none;
      white-space: nowrap;
      color: #000;
      font-size: 15px;
      font-weight: 500;
    }

.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow {
  transform: rotate(180deg);
}

nav .navbar .links li .arrow {
  /* background: red; */
  height: 100%;
  width: 22px;
  line-height: 30px;
  text-align: center;
  display: inline-block;
  color: #000;
  transition: all 0.3s ease;
}

nav .navbar .links li .sub-menu {
  position: absolute;
  top: 30px;
  right: 0;
  line-height: 40px;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
  width: auto;
  /*max-height: 500px;
  overflow-y: scroll;*/
}

nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu {
  display: block;
  padding: 0 1rem;
  right: 1rem;
}

.navbar .links li .sub-menu li {
  padding: 0 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.25);
}

.navbar .links li .sub-menu a {
  color: #000;
  font-size: 15px;
  font-weight: 500;
  line-height:2.5;
}

  

  .navbar .links li .sub-menu .more-arrow {
    line-height: 40px;
  }

  ul.more-sub-menu {
    padding: 0 0.25rem;
  }

  .navbar .links li .htmlCss-more-sub-menu {
    /* line-height: 40px; */
  }

  .navbar .links li .sub-menu .more-sub-menu {
    position: absolute;
    top: 0;
    right: 100%;
    border-radius: 0 4px 4px 4px;
    z-index: 1;
    display: none;
  }

  .links li .sub-menu .more:hover .more-sub-menu {
    display: block;
    width: 100%;
  }

  .navbar .search-box {
    position: relative;
    height: 40px;
    width: 40px;
  }

    .navbar .search-box i {
      position: absolute;
      height: 100%;
      width: 100%;
      line-height: 40px;
      text-align: center;
      font-size: 22px;
      color: #fff;
      font-weight: 450;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .navbar .search-box .input-box {
      position: absolute;
      right: calc(100% - 40px);
      top: 80px;
      height: 45px;
      width: 300px;
      background: #037FC6;
      border-radius: 6px;
      opacity: 0;
      pointer-events: none;
      transition: all 0.4s ease;
    }

  .navbar.showInput .search-box .input-box {
    top: 65px;
    opacity: 1;
    pointer-events: auto;
    background: #037FC6;
  }

  .search-box .input-box::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    background: #037FC6;
    right: 10px;
    top: -6px;
    transform: rotate(45deg);
  }

  .search-box .input-box input {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    height: 35px;
    width: 280px;
    outline: none;
    padding: 0 15px;
    font-size: 16px;
    border: none;
  }

  .navbar .nav-links .sidebar-logo {
    display: none;
  }

  .navbar .bx-menu {
    display: none;
  }

  @media (max-width:920px) {
    nav .navbar {
      max-width: 100%;
      padding: 0 25px;
    }

      nav .navbar .logo a {
        font-size: 27px;
      }

      nav .navbar .links li {
        padding: 0 10px;
        white-space: nowrap;
      }

        nav .navbar .links li a {
          font-size: 15px;
        }
  }

  @media (max-width:768px) {
    nav {
      /* position: relative; */
    }

    .navbar .bx-menu {
      display: block;
    }

    nav .navbar .nav-links {
      position: fixed;
      top: 0;
      left: -100%;
      display: block;
      max-width: 245px;
      width: 100%;
      background: #037FC6;
      line-height: 40px;
      padding: 20px;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
      transition: all 0.5s ease;
      z-index: 1000;
    }

    .navbar .nav-links .sidebar-logo {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .sidebar-logo .logo-name {
      font-size: 25px;
      color: #fff;
    }

    .sidebar-logo i,
    .navbar .bx-menu {
      font-size: 25px;
      color: #fff;
    }

    nav .navbar .links {
      display: block;
      margin-top: 20px;
    }

      nav .navbar .links li .arrow {
        line-height: 40px;
      }

      nav .navbar .links li {
        display: block;
      }

        nav .navbar .links li .sub-menu {
          position: relative;
          top: 0;
          box-shadow: none;
          display: none;
        }

          nav .navbar .links li .sub-menu li {
            border-bottom: none;
          }

    .navbar .links li .sub-menu .more-sub-menu {
      display: none;
      position: relative;
      left: 0;
    }

      .navbar .links li .sub-menu .more-sub-menu li {
        display: flex;
        align-items: center;
        justify-content: space-between;
      }

    .links li:hover .htmlcss-arrow,
    .links li:hover .js-arrow {
      transform: rotate(0deg);
    }

    .navbar .links li .sub-menu .more-sub-menu {
      display: none;
    }

    .navbar .links li .sub-menu .more span {
      /* background: red; */
      display: flex;
      align-items: center;
      /* justify-content: space-between; */
    }

    .links li .sub-menu .more:hover .more-sub-menu {
      display: none;
    }

    nav .navbar .links li:hover .htmlCss-sub-menu,
    nav .navbar .links li:hover .js-sub-menu {
      display: none;
    }

    .navbar .nav-links.show1 .links .htmlCss-sub-menu,
    .navbar .nav-links.show3 .links .js-sub-menu,
    .navbar .nav-links.show2 .links .more .more-sub-menu {
      display: block;
    }

    .navbar .nav-links.show1 .links .htmlcss-arrow,
    .navbar .nav-links.show3 .links .js-arrow {
      transform: rotate(180deg);
    }

    .navbar .nav-links.show2 .links .more-arrow {
      transform: rotate(90deg);
    }
  }

  @media (max-width:345px) {
    nav .navbar .nav-links {
      max-width: 100%;
    }
  }



  .navbar.showInput .search-box {
    opacity: 1;
    visibility: visible;
    transform: translateX(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .navbar .search-box {
    opacity: 1;
    /* visibility: hidden; */
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  /* Fade-out animation */
  .navbar.fade-out .search-box {
    opacity: 0;
    transform: translateY(-5px);
    visibility: hidden;
  }









  .wrapper {
    background-color: #ffffff;
    margin: 15px 0;
  }

    .wrapper h1 {
      font-size: 1.5rem;
    }

  .tabs-container {
    display: flex;
    max-width: 1300px;
    margin: auto;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    justify-content: center;
    width: 96%;
    border-radius: 20px;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(3,127,198,0.5);
    -moz-box-shadow: 0px 0px 10px 1px rgba(3,127,198,0.5);
    box-shadow: 0px 0px 10px 1px rgba(3,127,198,0.5);
  }

  .tabs-container-sm {
    max-width: 600px !important;
  }

  .tabs-container-md {
    max-width: 700px !important;
  }

  label {
    cursor: pointer;
    margin-right: 2px;
    font-weight: 550;
  }

  .bttn-radio {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

    .bttn-radio label {
      margin-left: 5px;
    }


  .tab-content {
    display: none;
  }

    .tab-content.active {
      display: block;
    }

  .hide {
    display: none;
  }


  .custom-tabs {
    width: 100%;
  }

  .custom-tab-buttons {
    display: flex;
    border-bottom: 2px solid #ddd;
  }

  .custom-tab-btn {
    padding: 10px 20px;
    border: none;
    background: #f4f4f4;
    cursor: pointer;
    transition: 0.3s;
    margin-right: 5px;
  }

    .custom-tab-btn.active {
      background: #0d6efd;
      color: #fff;
    }

    .custom-tab-btn:hover {
      background: #77acfb;
      color: #fff;
    }

  .custom-tab-content {
    display: none;
  }

    .custom-tab-content.active {
      display: block;
    }

  .custom-tab-btn.active {
    background: #0d6efd;
    color: #fff;
  }

  #userdetails {
    display: none;
  }

  .bg-hdg {
    background-color: #f4f4f4;
    padding: 10px;
    text-align: left;
    width: 98%;
    margin: 10px auto;
    margin-top: 3rem !important;
    border-left: rgba(237, 23, 21, 0.9) 5px solid;
  }

    .bg-hdg h4 {
      margin: 0;
    }
  /*other pages css start*/
  .formvalidationcls {
    color: red;
  }

  .full-screen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: all;
  }


  .resalemobile .table {
    table-layout: fixed;
    width: 100%;
  }

    .resalemobile .table th, .table td {
      word-wrap: break-word;
      white-space: normal;
      text-align: center;
      vertical-align: middle;
      word-break: break-word;
    }

  .resalemobile .table-container {
    overflow-x: auto;
  }
  /*modal poup*/
  /* Dark Background */
  .otp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  /* Popup box */
  .otp-modal {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    width: 350px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    animation: popupFade 0.3s ease-out;
  }
  /* Smooth animation */
  @keyframes popupFade {
    from {
      transform: scale(0.8);
      opacity: 0;
    }

    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  /* OTP input box */
  .otp-input {
    width: 80%;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 18px;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 6px;
  }
  /* Buttons layout */
  .otp-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  /* Buttons */
  .btn-verify {
    background: #28a745;
    color: white;
    padding: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

  .btn-resend {
    background: #007bff;
    color: white;
    padding: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

  .btn-cancel {
    background: #dc3545;
    color: white;
    padding: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

    .btn-verify:hover,
    .btn-resend:hover,
    .btn-cancel:hover {
      opacity: 0.85;
    }

  .goodlifecircular tr.selected {
    background-color: #d1ecf1;
    cursor: pointer;
  }

  .goodlifecircular tr:hover {
    background-color: #f1f1f1;
  }

  .invoice-footer.goolifecomissionIn {
    background: #ffffff;
    color: #212529;
    padding: 16px 20px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
  }
    /* Left Labels */
    .invoice-footer.goolifecomissionIn .footer-left {
      font-size: 14px;
      line-height: 22px;
    }

      .invoice-footer.goolifecomissionIn .footer-left .label {
        text-decoration: underline;
      }
    /* Right Content */
    .invoice-footer.goolifecomissionIn .footer-right {
      min-width: 420px;
    }

    .invoice-footer.goolifecomissionIn .footer-row {
      display: flex;
      justify-content: space-between;
      font-size: 14px;
      line-height: 22px;
    }

      .invoice-footer.goolifecomissionIn .footer-row span:first-child {
        text-decoration: underline;
      }
    /* Buttons */
    .invoice-footer.goolifecomissionIn .footer-buttons {
      margin-top: 10px;
      display: flex;
      justify-content: flex-end;
      gap: 10px;
    }

      .invoice-footer.goolifecomissionIn .footer-buttons button {
        background: #f2f2f2;
        color: #000;
        border: 1px solid #bfbfbf;
        padding: 4px 16px;
        font-size: 13px;
        cursor: pointer;
      }

  #cardDiv .col-form-label {
    font-size: 0.8rem;
  }
  /*.invoice-footer.goolifecomissionIn .footer-buttons button:hover {
        background: #e0e0e0;
      }*/

  .form-control {
    height: 35px;
  }

  .goodlife-card {
    padding: 20px;
    margin: auto;
  }

  .stock-box {
    border: #037fc6 1px solid;
    border-radius: 14px;
    padding: 25px 15px;
    text-align: center;
    height: auto;
  }
  /* Base menu */
  /*.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}*/
  .links {
    display: flex;
    flex-wrap: wrap; /* key line */
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

    .links li {
      position: relative;
    }

      .links li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* padding: 10px 15px;*/
        text-decoration: none;
        color: #333;
        white-space: nowrap;
      }
  /* Arrows */
  .arrow {
    margin-left: 5px;
    font-size: 0.7em;
    transition: transform 0.3s;
  }

  .menu-item.has-submenu > a .arrow {
    transform: rotate(0deg);
  }
  /* Rotate arrow on hover for top-level */
  .menu-item.has-submenu:hover > a .arrow {
    transform: rotate(180deg);
  }
  /* Submenus hidden by default */
  .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 160px;
    border: 1px solid #ddd;
    z-index: 1000;
  }
  /* Show submenu on hover */
  .menu-item.has-submenu:hover > .sub-menu {
    display: block;
  }
  /* Nested submenu (level 2, 3, etc.) open to the right */
  .sub-menu .sub-menu {
    top: 0;
    right: 0;
  }
  /* Hover styling */
  .sub-menu li a:hover {
    background: #f0f0f0;
  }
  /* Top-level menu - horizontal */
  .nav-links > ul.links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
    justify-content: start;
  }
    /* Top-level items */
    .nav-links > ul.links > li {
      position: relative;
      padding: 1px 15px;
      cursor: pointer;
    }
  /* Links styling */
  .nav-links ul.links li a {
    color: black;
    text-decoration: none;
    white-space: nowrap;
    display: block;
  }
    /* Arrow styling - keep it simple */
    .nav-links ul.links li a .arrow {
      margin-left: 5px;
      font-size: 0.7em;
    }
  /* Submenu container - vertical dropdown */
  .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 330px; /* adjust width */
    background: white;
    border: 1px solid #ccc;
    box-shadow: none; /* no shadow, like screenshot */
    z-index: 1000;
    display: none;
    flex-direction: column;
    padding: 0;
    list-style: none;
  }
    /* Show submenu on hover */
    .nav-links ul.links > li:hover > .sub-menu,
    .sub-menu li:hover > .sub-menu {
      display: flex;
    }
    /* Submenu items */
    .sub-menu li {
      border-bottom: 1px solid #ddd;
    }
      /* Remove last border */
      .sub-menu li:last-child {
        border-bottom: none;
      }
      /* Submenu links */
      .sub-menu li a {
        /*  padding: 10px 15px;*/
        color: #222;
      }
        /* Submenu links hover effect */
        .sub-menu li a:hover {
          background-color: #f9f9f9;
        }
  /* Nested submenu (third level) position */
  /* .sub-menu .sub-menu {
    top: 0;
    right: 0;
    border-left: 1px solid #ccc;
  }*/
  /* Optional: adjust arrow for submenu */
  .arrow {
    font-size: 0.8em;
  }

  .menu-item.has-submenu .sub-menu-1 {
    position: absolute;
    top: 0 !important;
    right: 100% !important;
    z-index: +1;
    display: none;
  }

  .menu-item.has-submenu .sub-menu .menu-item a .arrow {
    transform: rotate(0deg);
  }

  .menu-item.has-submenu .sub-menu .menu-item a:hover .arrow {
    transform: rotate(90deg);
  }


  .modal-dialog {
    top: 15% !important;
  }

  .menu-item {
    position: relative;
  }

  .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
  }

  .user-sub-menu {
    left: -9rem;
    max-width: 200px;
    min-width: 200px;
  }

  .sub-menu-1 {
    min-width: 420px;
    left: 100%;
  }
/* start home campgian popup*/
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.custom-modal-first {
  background: #fff;
  border-radius: 8px;
  width: 42%;
  max-width: 500px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.custom-modal {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.campaign-report-modal {
  max-width: 1200px;
}

.custom-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
}

.custom-modal-body {
  padding: 20px;
  max-height: calc(90vh - 70px);
  overflow-y: auto;
}

.report-table-container {
  max-height: 55vh;
  overflow: auto;
}

  .report-table-container table {
    white-space: nowrap;
  }

  .report-table-container th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }

.table-responsive-first {
  height: 65px;
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #fd111f #eaeaea;
}

/* end home campgian popup*/

/* =========================================
   Campaign Image Banner Popup
   ========================================= */

.campaign-image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.campaign-image-popup {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.campaign-image-banner {
  display: block;
  width: 100%;
  height: auto;
}

/* Close button */
.campaign-image-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 24px;
  line-height: 28px;
  cursor: pointer;
  z-index: 10001;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

  .campaign-image-close:hover {
    background: #f1f1f1;
  }
/*end of banner Image Popup */
