
body{
    font-family: 'Poppins', sans-serif!important;
}


/* Membership Pass Cards Styles */
.membership-cards-section .membership-card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
  border: 1px solid #E0E0E0;
}

.membership-cards-section .membership-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.membership-cards-section .card-header-gradient {
  background: linear-gradient(90deg, #FFD342 0%, #FAC636 37%, #FEF17E 77%, #FFD849 100%);
  height: 55px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px 20px 0 0;
}

.membership-cards-section .card-header-gradient-silver {
  background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 10%, #C8C8C8 20%, #F0F0F0 30%, #D8D8D8 40%, #B8B8B8 50%, #E8E8E8 60%, #C0C0C0 70%, #F8F8F8 80%, #D0D0D0 90%, #FFFFFF 100%);
  height: 55px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px 20px 0 0;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.9), inset 0 -2px 4px rgba(180, 180, 180, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.membership-cards-section .card-header-gradient-silver::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.7), transparent);
  transition: left 0.8s ease-in-out;
}

.membership-cards-section .card-header-gradient-silver::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
  border-radius: 20px 20px 0 0;
}

.membership-cards-section .card-header-gradient-silver:hover::before {
  left: 100%;
}

.membership-cards-section .header-icon {
  /*background: #000000;*/
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  position: relative;
}

.membership-cards-section .card-header-gradient .header-icon.sim-status-icon {
  width: 28px;
  height: 28px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.membership-cards-section .header-icon::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #FFFFFF;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.membership-cards-section .profile-section {
  text-align: center;
  padding: 0 20px 15px;
  margin-top: 5px;
  position: relative;
  z-index: 2;
}

.membership-cards-section .profile-image {
  margin-bottom: 0px;
}

.membership-cards-section .profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: -50px;
}

.membership-cards-section .profile-info {
  background-color: #DBEEFF;
  padding: 35px 5px 5px 5px;
  border-radius: 20px;
  margin: 10px;
  min-height: 280px;
}

.membership-cards-section .member-name {
  color: #000000;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0px 0px 0px;
  line-height: 1.2;
  text-align: center;
  margin-top: 0px;
}

.membership-cards-section .membership-info-box {
  background: linear-gradient(90deg, #080D3A 0%, #1535C9 50%, #080D3A 100%);
  margin: 0 15px;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(24, 67, 166, 0.3);
  margin-top: 10px;
}

.membership-cards-section .membership-pass-text {
  color: #FFFFFF;
  font-family: LT Wave Regular, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.membership-cards-section .safelink-text {
  color: #FFFFFF;
  font-family: LT Wave Bold, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.membership-cards-section .plan-button {
  background: linear-gradient(90deg, #FFD342 0%, #FAC636 37%, #FEF17E 77%, #FFD849 100%);
  border-radius: 4px;
  padding: 8px 16px;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(255, 211, 66, 0.4);
  width: 100%;
}

.membership-cards-section .silver-plan-button {
  background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 10%, #C8C8C8 20%, #F0F0F0 30%, #D8D8D8 40%, #B8B8B8 50%, #E8E8E8 60%, #C0C0C0 70%, #F8F8F8 80%, #D0D0D0 90%, #FFFFFF 100%);
  border-radius: 4px;
  padding: 8px 16px;
  display: inline-block;
  box-shadow: 0 6px 20px rgba(192, 192, 192, 0.8), inset 0 2px 4px rgba(255, 255, 255, 0.9), inset 0 -2px 4px rgba(180, 180, 180, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.3);
  width: 100%;
  position: relative;
  overflow: visible;
  height: auto;
  min-height: 36px;
}

.profile-name-box {
  height: 20px;
}

.membership-cards-section .silver-plan-button:hover::before {
  left: 100%;
}

.membership-cards-section .plan-text {
  color: #000000;
  font-size: 1rem;
  font-weight: 800;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  font-family: LT Wave bold, sans-serif;
  position: relative;
  z-index: 3;
}

.membership-cards-section .member-type-label {
  background: #B8DEFF;
  margin: 10px 15px 10px;
  border-radius: 4px;
  padding: 8px 16px;
  text-align: center;
}

.membership-cards-section .label-text {
  color: #000000;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: LT Wave bold, sans-serif;
}

/* Responsive Design for Membership Cards */
@media (max-width: 768px) {
  .membership-cards-section .profile-img {
    width: 70px;
    height: 70px;
  }
  
  .membership-cards-section .member-name {
    font-size: 0.95rem;
  }
  
  .membership-cards-section .membership-info-box {
    margin: 0 15px;
    padding: 18px;
  }
  
  .membership-cards-section .safelink-text {
    font-size: 1.3rem;
  }
  
  .membership-cards-section .membership-pass-text {
    font-size: 0.65rem;
  }
  
  .membership-cards-section .plan-text {
    font-size: 0.8rem;
  }
  
  .membership-cards-section .member-type-label {
    margin: 18px 15px 12px;
    padding: 6px 14px;
  }
  
  .membership-cards-section .label-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .membership-cards-section .profile-img {
    width: 65px;
    height: 65px;
  }
  
  .membership-cards-section .membership-info-box {
    padding: 16px;
    margin: 0 12px;
  }
  
  .membership-cards-section .safelink-text {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .membership-cards-section .plan-button {
    padding: 6px 14px;
  }
  
  .membership-cards-section .member-type-label {
    margin: 15px 12px 10px;
    padding: 5px 12px;
  }
}

@font-face {
  font-family: 'LT Wave bold';
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url('../../web-assets/fonts/LTWave-Bold.woff') format('woff');
  }


  @font-face {
  font-family: 'LT Wave Regular';
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url('../../web-assets/fonts/LTWave-Regular.ttf') format('truetype');
  }
/* Shop Now Button Styles */
.shop-now-btn {
   position: fixed;
   right: 2px;
   top: 25%;
   background: #000;
   color: #fff;
   padding: 8px 16px;
   border-radius: 50px;
   font-weight: 600;
   font-size: 14px;
   text-decoration: none;
   box-shadow: 0 4px 15px rgba(12, 30, 128, 0.2);
   /* border: 1px solid #0C1E80; */
   z-index: 9999;
   transition: all 0.3s ease;
   display: flex;
   align-items: center;
   gap: 6px;
   animation: slideInFromRight 0.8s ease-out, shopNowPulse 2s ease-in-out 0.8s infinite;
}

.shop-now-btn:hover {
   background: #0C1E80;
   color: #F3FBFF;
   transform: scale(1.05);
   box-shadow: 0 6px 20px rgba(12, 30, 128, 0.4);
   text-decoration: none;
   border: 1px solid #0C1E80;
}

.shop-now-btn i {
   font-size: 15px;
}

@keyframes slideInFromRight {
   0% {
      transform: translateX(200px);
      opacity: 0;
   }
   100% {
      transform: translateX(0);
      opacity: 1;
   }
}

@keyframes shopNowPulse {
   0%, 100% {
      box-shadow: 0 4px 15px rgba(12, 30, 128, 0.2);
   }
   50% {
      box-shadow: 0 4px 25px rgba(12, 30, 128, 0.4);
      transform: translateY(-2px);
   }
}

@media (max-width: 768px) {
   .shop-now-btn {
      padding: 7px 14px;
      font-size: 13px;
      right: 10px;
      top: 14%;
   }
   
   .shop-now-btn i {
      font-size: 14px;
   }
}
.badge{
    font-size: 13px!important;
    font-weight: 500!important;
     border-radius: 4px;
    width: 70px;
    padding: 8px;
}
span.badge.bg-info,span.badge.bg-warning.text-dark {
  width: fit-content!important;
  font-weight: 500!important;
}
.float-right{
    float: right;
}
ul.nav.nav-tabs a.nav-link.active {
    color: black;
}
.cust-close{
    background: transparent;
  color: white;
  font-size: 16px;
  outline: none;
  border: none;
  box-shadow: none;
}
.btn-secondary{
    background-color: #1843A6!important;
    border-color:#1843A6!important;
    /* background-color: #24A2F4!important; */
    /* border-color:#24A2F4!important; */
}
.custombtn{
    background: #1843A6;
    color: #fff;
    font-size: 14px;
    padding: 5px 10px;
    outline: none;
    border: none;
    border-radius: 4px;
    width: 120px;
    text-align: center;
}
.custombtnclick{
    /* background: #24A2F4; */
    background: #1843A6;
    color: #fff;
  border-radius: 4px;
    font-size: 13px;
    padding: 5px 10px;
    outline: none;
    border: none;
    width: fit-content;
    text-align: center;
}
.custombtnclick2{
    /* background: #24A2F4; */
    background: #1843A6;
    color: #fff;
     border-radius: 4px;
    font-size: 13px;
    padding: 5px 10px;
    outline: none;
    border: none;
    width: fit-content;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400 !important;
}
.custombtnclick2:hover{
    background: #0c1e80;
    color: #fff;
}
.custombtncancel{
    background: #dddddd!important;
    color: #000!important;
 border-radius: 4px;
    font-size: 13px!important;
    padding: 6px 16px!important;
    outline: none;
    border: none;
    width: 120px;
    text-align: center;
}
.custombtneighty{
  background: #1843A6;
  color: #fff;
  font-size: 13px;
  padding: 5px 10px;
  outline: none;
  border: none;
  border-radius: 4px;
  width: 70px;
  text-align: center;
}
.nav-link{
    font-weight: 600!important;
}
.modal-title {
    font-size: 16px!important;
    color: #fff!important;
}
.modal-header
{
background-color: #1843A6!important;
    /* margin: -1px!important; */
}

.modal-content{
    border: none!important;
}
.btn-primary,.btn-secondary{
    padding: 6px 16px!important;
    font-weight: 400!important;
    /* min-width: 100px; */
    width: 120px;
    font-size: 13px;
    border: none;
    border-radius: 4px;
    background-color: #1843A6 !important;
    border-color: #1843A6 !important;
}
td.actioncolwidth,th.actioncolwidth {
    width: 1px;
    white-space: nowrap;
}

.w-100{
    width: 100%!important;
}
span.thmcolor{
    color:#1843A6!important;
}
li.nav-item.rightlink{
    position: absolute!important;
    right: 5px!important;
    cursor: pointer!important;
}
li.nav-item.rightlink:hover{
    border: none!important;
}
.navbar-vertical .navbar-nav .nav-item .nav-link{
    font-size: 14px!important;
}
.simplebar-content-wrapper a.nav-link.active {
    /* border: 1px solid #1843A6; */
    border-radius: 5px;
    background-color: #f1f5f9!important;
    /*margin: 5px;*/
    -webkit-box-shadow: 0px 0px 5px 0px rgba(171,166,171,0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(171,166,171,0.5);
    box-shadow: 0px 0px 5px 0px rgba(171,166,171,0.5);
}
.navbar-vertical .navbar-nav .nav-item .nav-link[data-bs-toggle=collapse]{
    box-shadow: none!important;
}
.navbar-vertical .navbar-nav .nav-item .nav-link{
  padding: .5rem 1.5rem;
}
.navbar-vertical .navbar-nav .nav .nav-item .nav-link{
  padding: .25rem 2.5rem;
}
div#login_box ::placeholder ,div#forgot_password_box ::placeholder{
font-size: 0.8rem;
}
div#login_box img.logo,div#forgot_password_box img.logo{
    width: 150px;
}
.bodybg{
    background-image: url('../../web-assets/img/BG.png');
    background-position: 100% 100%;
    background-size: cover;
    background-repeat: no-repeat;
    /* min-height: 400px; */
    /* min-height: 70vh; */
    height: auto;
    position: relative;
    overflow-x: hidden;
}
.thanku{
    margin-top: 60px;
}
#bluetraingle {
    width: 0;
    height: 0;
    border-top: 60px solid #1843A6;
    border-right: 130vw solid transparent;
    position: absolute;
    top: 0;
    left: 0;
}
#blacktraingle {
    width: 0;
    height: 0;
    border-bottom: 60px solid  #000;
    border-left: 130vw solid transparent;
    position: absolute;
    bottom: 0;
    right: 0;
} 

img.rightimage {
    width:100%!important;
}
img.rightimage {
    margin-top: 50px;
}
img.companyrightimage{
    /* margin-top: 30px; */
    width: 100%;
}

.registerbox{
    margin-top: 90px;
}
.blackbox{
    position: relative;
    width: 100%;
    height: 80px;
    background-image: url('../../web-assets/img/BG.png');
    background-position: 100% 100%;
    background-size: cover;
    background-repeat: no-repeat;
}
h2{
    color:#1843A6;
}
.min-vh-100{
    min-height: 90vh!important;
}
img.leftimage{
    width:100%!important;
}
@media (min-width: 768px) and (max-width: 1024px){

    img.leftimage, img.rightimage {
        width:100%;
    }
    /*#app-content{
      margin-left:0px;
    }*/
}
@media only screen and (max-width: 767px){ 
    img.leftimage, img.rightimage {
    width:100%;
    
}

ul.pagination.mb-0 {
    padding-top: 0px!important;
    padding-bottom: 10px!important;
}

}

/* .card.smooth-shadow-md {
    padding: 30px 20px;
} */
.loginbox {
    border: 1px solid #dddddd;
    padding: 10px 0;
    border-radius: 8px;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(242,242,242,0.5);
-moz-box-shadow: 0px 0px 8px 0px rgba(242,242,242,0.5);
box-shadow: 0px 0px 8px 0px rgba(242,242,242,0.5);
background-color: #fff;
height: auto;
width: 400px;
}
a.forgotlink{
    color: #1843A6;
    font-size: 14px;
    text-decoration: none;
    text-align: right;
    text-decoration: underline!important;
    /* margin: 10px 0; */
}
.col-lg-4.custwidth4 {
    width: 32%!important;
}
.col-lg-6.custwidth6{
    width: 52%!important;
}

@media only screen and (max-width: 767px){
    .col-lg-4.custwidth4{
        width: 100%!important;
    }
    .loginleftbox{
        height: auto!important;
        margin-bottom: 10px;
    }
    .col-lg-6.custwidth6 {
        width: 100%!important;
    }

}

/* CUSTOM BOOTSTRAP CLASSES START  */
.col-lg-cust{
    width: 11%!important; 
}
.col-lg-cust-1 {
    width: 13%!important;
}
.col-lg-cust-2{
    width: 18%!important;
}
.col-lg-cust-4{
    width:30%!important;
}
@media only screen and (max-width: 767px){
    .col-lg-cust{
        width: 50%!important; 
    }
    .col-lg-cust-1 {
        width: 100%!important; 
    }
    .col-lg-cust-2{
        width: 100%!important;  
    }
    .col-lg-cust-4{
        width:100%!important; 
    }
    .col-lg-6.custwidth6 {
        width: 100%!important;
    }

}
/* CUSTOM BOOTSTRAP CLASSES END  */

.col-form-label, .form-label{
    color: #000!important;
}
label {
    color: #d93e4d;
    text-align: left;
    padding-left: 0px!important;
    font-weight: 500;
}
.form-check-label {
    font-weight: 400;
    color: #000;
  }
  .navbar-mail .navbar-nav .nav-item{
    /* background-color: #f1f5f9!important; */
/*    border-radius: 0.375rem!important;*/
     border-radius: 8px;
    color: #000!important;
    margin: 5px 0!important;
    /* padding: 7px!important; */
}
.navbar-mail .navbar-nav .nav-item .nav-link{
    font-weight: 500!important;
}
.navbar-mail .navbar-nav .nav-item .nav-link.active{
    /* background-color: #dddddd; */
     border-radius: 8px;
    color: #1843A6;
    /* border: 1px solid #1843A6; */
    font-weight: 700!important;
    /* text-decoration: underline!important; */
}
.navbar-mail .navbar-nav .nav-item .nav-link.active .text-muted{
    color: #1843A6!important;
}
.d-flex.custradio .form-check-input{
    width: 1.2em!important;
    height: 1.2em!important;
}
.d-flex.custradio  label.form-check-label{
    margin-left: 5px!important;
    margin-top: 1.5px;
}
.apexcharts-legend-marker{
    height: 14px!important;
    width: 14px!important;
    top: 3px!important;
}
.apexcharts-legend-text{
    font-size: 14px!important;
}

a.nav-link.folder_link {
    font-size: 14px;
    background-color: #f1f5f9;
    color: #000!important;
    padding: 10px 0px 10px 0;
 border-radius: 4px;
  }
 a.nav-link.curr_folder_link {
    font-size: 14px;
    background-color: #f1f5f9;
    color: #000!important;
    padding: 10px!important;
  border-radius: 4px;
  }
  .dropdown.dropstart .btn:hover,.dropdown.dropstart .btn:active,.dropdown.dropstart .btn:focus ,.dropdown.dropstart .btn-check:checked+.btn, .dropdown.dropstart .btn.active, .dropdown.dropstart .btn.show,.dropdown.dropstart .btn:first-child:active, .dropdown.dropstart :not(.btn-check)+.btn:active {
    background-color: transparent;
    border: none;
    border-color: transparent;
}
/* li.nav-item.folderstructure:active{
    box-shadow: 0px 0px 5px 0px rgba(171,166,171,1)!important;
    border: 1px solid #cbd5e1!important;
} */
.d-flex.custradio .form-check-input{
    width: 1.2em!important;
    height: 1.2em!important;
}
.d-flex.custradio  label.form-check-label{
    margin-left: 5px!important;
    margin-top: 1.5px;
}
  .folderui.new {
    margin-top: -15px;
}
.folderui{
position: relative!important;
}
a.nav-link.folder_link.active,a.nav-link.curr_folder_link.active {
    color: #1843A6!important;
    font-weight: 600;
    text-decoration: double;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

li.nav-item.folderstructure{
    background-color: #f1f5f9!important;
    border-radius: 4px;
    color: #000!important;
    margin: 5px 0!important;
    /* padding: 7px!important; */
    padding-left: 10px; 
    padding-top: 0px!important;
}
 a.nav-link.curr_folder_link{
    background-color: #f1f5f9!important;
    border-radius: 4px;
    color: #000!important;
    margin: 5px 0!important;
}
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active{
    background-color: #1843A6!important;
    border: none!important;
    border-color: #1843A6!important;  
    color: #fff!important;
}
.folderui.new .btn:hover{
    background-color: #1843A6!important;
    border: none!important;
    border-color: #1843A6!important;  
}
.dropdown.dropstart .btn:hover,.dropdown.dropstart .btn:active,.dropdown.dropstart .btn:focus ,.dropdown.dropstart .btn-check:checked+.btn, .dropdown.dropstart .btn.active, .dropdown.dropstart .btn.show,.dropdown.dropstart .btn:first-child:active, .dropdown.dropstart :not(.btn-check)+.btn:active {
    background-color: #1843A6!important;
    border: none!important;
    border-color: #1843A6!important;
}

li.nav-item.folderstructure .icon-xs:hover,li.nav-item.folderstructure .icon-xs:focus,li.nav-item.folderstructure .icon-xs:active{
    background-color: #1843A6!important;
    border: none!important;
    border-color: #1843A6!important;
}
/* li.nav-item.folderstructure:active{
    box-shadow: 0px 0px 5px 0px rgba(171,166,171,1)!important;
    border: 1px solid #cbd5e1!important;
} */
.d-flex.custradio .form-check-input{
    width: 1.2em!important;
    height: 1.2em!important;
}
.d-flex.custradio  label.form-check-label{
    margin-left: 5px!important;
    margin-top: 1.5px;
}
a.nav-link.folder_link.active .fa-regular,a.nav-link.folder_link.active .fa-regular .far,a.nav-link.curr_folder_link.active .fa-regular {
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    color: #1843A6;
}

.medreportbox {
    background-color: #fff;
    text-align: left;
      box-shadow: 0px 4px 5px 0px #00000040;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 0px;
    min-height: 180px;
}
.medreportheader{
    background-color:#1843A6!important;
    text-align: center;
    border-radius: 5px;
    padding: 7px;
    color: #fff;
}
hr.medreport{
   margin: 0.4rem 0!important;
}
.medreportcontent {
    padding: 8px 0 0 0;
}
.themecolor{
    color:#1843A6!important;
}
.border-right {
        border-right: 1px solid #ccc;
}
h4.heading {
    font-size: 1rem;
    margin-top: -5px;
}

.navbar-vertical .navbar-brand img {
    height: 3rem!important;
}

/* Member portal navbar: tablet logo width fix */
@media (min-width: 600px) and (max-width: 767.98px) {
  .navbar-custom .navbar-brand img.member {
    width: 200px !important;
    max-width: 200px !important;
    height: auto !important;
    display: block;
  }
}

/* Member portal: tablet — navbar full width (theme.min.css uses left: 260px for sidebar) */
@media (max-width: 1024px) {
  .header .navbar {
    left: 0 !important;
  }
}


/*homecare agency left box UI start*/
.pdmainbox ul,.pdmainbox2 ul,.pdmainbox3 ul,.pdmainbox4 ul,.pdmainbox5 ul{
  padding-left: 22px!important;
  font-size: 14px;
}
.pdmainbox{
  background-color:#DAFFE3;
  border-radius: 20px;
  width: 100%;
  padding: 8px;
  height: 40px;
  margin: 7px 0;
}
.pdmainbox2{
  background-color:#FDF0D0;
  border-radius: 20px;
  width: 100%;
  padding: 8px;
  height: 40px;
   margin: 7px 0;
}
.pdmainbox3{
  background-color: #FDC6C6;
  border-radius: 20px;
  width: 100%;
  padding: 8px;
  height: 40px;
   margin: 7px 0;
}
.pdmainbox4{
  background-color:#E2E3DE;
  border-radius: 20px;
  width: 100%;
  padding: 8px;
  height: 40px;
   margin: 7px 0;
}
.pdmainbox5{
  background-color: #FEE4D7;
  border-radius: 20px;
  width: 100%;
  padding: 8px;
  height: 40px;
   margin: 7px 0;
}
.pdnumbox{
  background-color:#FFFFFFD6;
  border-radius: 20px;
  width: 100%;
  padding: 2px;
  text-align: center;
}
 
 /*homecare agency left box UI ENd*/
@media only screen and (max-width: 1024px){ 
   div#custom_range_modal .text-nowrap {
    white-space: normal!important;
   }
 .app-content-area,
 .memberportalbox .app-content-area {
   padding: 140px 10px 20px!important;
 }
.dw-web-banner-title{
  text-align: center;
}
.dw-store-row{
justify-content:center
}
img.admin{
   width: 250px;
}
/*form#pharmacy_filter .btn-primary, .btn-secondary{
    width: 140px !important;
    margin: 5px;
}*/
/*form#appointment_filter  .switch4-container{
    margin: 7px auto 8px auto!important;
}*/
form#appointment_filter  .form-control , form#appointment_filter  .form-select{
    margin: 7px 0!important;
}
input.form-control{
    margin: 7px 0!important;
}
.form-select{
    margin-bottom: 7px;
}
select.form-control.form-select {
    margin-bottom: 7px!important;
}
input#sos_emergency_number {
    margin-bottom: 10px;
}
.custbtn{
    width: 90px!important;
}
a.btn.btn-primary {
    width: fit-content !important;
}
div#dataGrid_medicines_logs {
    margin-top: 10px;
}
.col.text-lg-end.text-center.mt-lg-3.mt-sm-0.mt-md-0 {
    margin-top: 10px;
}
span.select2.select2-container.select2-container--default {
   margin-bottom: 7px!important; 
} 
.row.row-cols-1.row-cols-xl-5.row-cols-md-2 {
    padding: 10px;
}
ul#sideNavbar{
    margin-top: 70px;
}
div#div_enable_medicine_icon {
    margin: 5px auto 15px auto!important; 
}
label.form-label.unit{
    display: none;
}
.btn-primary, .btn-secondary{
    color: #fff!important; 
}
}

@media (min-width: 768px) and (max-width: 1024px){
  .app-content-area,
  .memberportalbox .app-content-area {
    padding: 160px 10px 20px!important;
 }
 .btn-primary, .btn-secondary{
    color: #fff!important; 
}
.row.row-cols-1.row-cols-xl-5.row-cols-md-2 {
    padding: 10px;
}
    form#appointment_filter .switch4-container {
        margin: 10px 0;
    }
    .switch4 label{
        padding: 10px 25px 10px 10px !important;
    }
}

/*@media (max-width: 776px) {
    .header .navbar {
        left: 0;
    }
}*/



div#modal-contactus form#form-email label.form-label{
    width: 100px;
}

label.form-label.me-2.mb-0.from {
    width: 120px !important;
}

div#cke_1_contents {
    min-height: 100px!important;
    height: auto;
}
div#modal-contactus .modal-header{
    padding: 10px 15px;
}
div#modal-contactus .modal-body{
    padding-bottom: 0px;
}


/*Member Portal CSS Start */


.memberportal .main-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 2rem;
    box-sizing: border-box;
    background: url('../../assets/images/memberportal/memberportalbg.webp') no-repeat center center/cover;
  }

.memberportal .card-wrapper {
      display: flex;
      flex-wrap: nowrap;
      gap: 2rem;
      width: 100%;
      max-width: 95%;
      align-items: flex-start !important;
}

 .memberportal  .left-box {
  flex: 0 0 calc(65% - 1rem);
  min-width: 0;
  /*background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);*/
}

.memberportal  .right-box {
  flex: 0 0 calc(35% - 1rem);
  min-width: 0;
  background: linear-gradient(0.44deg, #EEF7FF 1.51%, #FFFFFF 97.43%);
  padding:2rem;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  min-height: 600px !important;
  height: auto !important;
  align-self: flex-start !important;
}
button.btn.btn-primary.memp{
    background-color: #1843A6;
    width: 100% !important;
    padding: 8px 10px !important;
    color: #fff;
    border-radius: 4px;
}
button.btn.btn-primary.memp:focus{
    background-color: #1843A6!important;
    color: #fff;
}
.memberportal  form.sign-up-form {
    text-align: left;
}
.memberportal h6.text-primary {
    text-align: left;
    color: #1843A6!important;
    font-size: 1.1rem;
    margin-top: 10px;
}
.memberportal  label.form-label{
    font-size: 1rem;
}
.memberportal form.sign-up-auth-form, form.signup_form {
    text-align: left;
}
img.licon{
    width: 30px;
}
a.btn-social {
    border: 1px solid #000;
    padding: 10px;
    border-radius: 4px;
    color: #000;
    font-size: 1rem;
    font-weight: 500;
}

a.btn-social:hover {
  transform: scale(1);
  background-color: transparent;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
}
a.btn-social:focus {
  background-color: transparent!important;
}
a.btn-social:active {
  background-color: transparent!important;
}
div#login_box a:hover{
    color: #000000;
    font-weight: 700;
}
.memberportal  form.login-form,.memberportal  form.forgot-password-form {
    text-align: left;
}
.memberportal div#forgot_password_box p{
    text-align: left;
}
.mb-0.control-group.error,.control-group.error {
    margin-bottom: 5px !important;
}
  @media (max-width: 991px) {
    .memberportal .card-wrapper {
      flex-direction: column;
      gap: 1.5rem;
    }

    .memberportal .left-box,
    .memberportal .right-box {
      flex: 0 0 100%;
    }
  }
.card.ycp{
    background: url('../../assets/images/memberportal/dashboardbg.webp') no-repeat center center/cover;
    padding: 20px;
}
h2.premplan{
color: #fff;
font-size: 2.2rem;
font-weight: 600;
}

a.text-decoration-none.custbtn_mp {
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    color: #000;
    width: 120px;
    display: inline-block;
    text-align: center;
}

a.text-decoration-none.custbtn_mp:hover {
    background-color: #1843A6;
    color: #fff;
}
a.text-decoration-none.custbtn_mp.two{
    margin-left: 10px;
}
.card.ycp p{
    font-size:1rem;
}
div#tab-pane-customer .card-header{
    background-color: #eaf3fb!important;
    padding: 10px;
}
/* Tooltip styling for admin icons */
.tooltip .tooltip-inner {
    color: #fff !important;

}

.memberportalbox {
    background-color: #EEF7FF;
}

 .memberportalbox .app-content-area {
    padding: 72px 10px 20px;
}
h3.pi{
    color: #1843A6;
    font-size: 1.2rem;
}
h3.pi2{
    color: #1843A6;
    margin-bottom: 0px;
        font-size: 1.2rem;
}
.leftpinfobox{
    background-color: #DBEEFF;
    padding: 20px;
    border-radius: 10px;
}
.leftpinfoheader img{
    width: 100%;
    border-radius: 10px;
}
.leftpinfoprofile{
    text-align: center;
}
.leftpinfoprofile img{
    width: 120px;
    height: 120px;
    border-radius: 100%;
    border: 4px solid #fff;
    margin-top: -50px;
    text-align: left;

}
.totalmembbox{
    background: linear-gradient(135deg, #659FFF 0%, #3581FF 100%);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    min-height: 140px;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.totalmembheader{
    background: linear-gradient(135deg, #659FFF 0%, #3581FF 100%);
    color: #fff;
    border: 4px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 100%;
    width: 80px;
    height: 80px;
    text-align: center;
    margin: 0px auto -70px  auto;
    z-index: 999;
    position: relative;
}
ul.nav.nav-pills.memportal a.nav-link.active{
    background-color: #1843A6;
    border-radius: 6px 6px 0 0;
    color: #fff;
    font-weight: normal!important;
}
ul.nav.nav-pills.memportal  li.nav-item{
    background-color: #fff;
    border-radius: 6px 6px 0 0;
    color: #000!important;
  
}
ul.nav.nav-pills.memportal  li.nav-item a{
      font-weight: normal!important;
}
 .tab-content.bgwhite{
    background-color: #fff;
    padding: 10px;
    border-radius: 0px 10px 0 0;

}
button.btn.btn-sm {
    background-color: #1843A6;
    /* border-radius: 30px; */
    color: #fff;
    font-weight: normal;
}
button.btn.btn-sm.green_btn{
  background-color: green;
  color: #fff;
}
.profileinformationdetailsbox{
    border-radius:0 0 10px 10px;
    border:1px solid #C3D3E2;
    border-top: 0px;
    padding: 10px;
}
.profileinformationdetailsheader{
    border-radius: 10px 10px 0 0;
    border:1px solid #C3D3E2;
    padding: 10px 15px;
    background-color: #EEF7FF;
    margin-top: 5px;
    font-weight: 600;
    padding-left: 10px;
}

a.custom_mp_btn {
    background-color: #1843A6;
    padding: 5px 10px;
    color: #fff;
    border-radius: 4px;
    width: 100px;
    display: inline-block;
    text-align: center;
    font-weight: 500;
}
a.custom_mp_btn2 {
    background-color: #1843A6;
    padding: 5px 10px;
    color: #fff;
    border-radius:4px;
    width: 120px;
    display: inline-block;
    text-align: center;
    font-weight: 500;
}
a.custom_mp_btn:hover {
    background-color: #1843A6;
    padding: 5px 10px;
    color: #fff;
    border-radius: 4px;
    width: 100px;
    display: inline-block;
    text-align: center;
    font-weight: 500;
}
a.custom_mp_btn2:hover {
    background-color: #1843A6;
    padding: 5px 10px;
    color: #fff;
    border-radius: 4px;
    width: 120px;
    display: inline-block;
    text-align: center;
    font-weight: 500;
}
a.custom_mp_btn:focus{
    background-color: #1843A6;
    padding: 5px 10px;
    color: #fff;
    border-radius: 4px;
    width: 100px;
    display: inline-block;
    text-align: center;
    font-weight: 500;
}
a.custom_mp_btn2:focus{
    background-color: #1843A6;
    padding: 5px 10px;
    color: #fff;
    border-radius: 4px;
    width: 120px;
    display: inline-block;
    text-align: center;
    font-weight: 500;
}
a.custom_mp_btn:active{
    background-color: #1843A6;
    padding: 5px 10px;
    color: #fff!important;
    border-radius: 4px;
    width: 100px;
    display: inline-block;
    text-align: center;
    font-weight: 500;
}
a.custom_mp_btn2:active{
    background-color: #1843A6;
    padding: 5px 10px;
    color: #fff!important;
    border-radius: 4px;
    width: 120px;
    display: inline-block;
    text-align: center;
    font-weight: 500;
}
.form-control:focus{
        border-color: #1843A6;
    box-shadow: 0 0 0 .25rem rgba(219, 241, 255, .25);
}
img.rounded-circle.notification {
    width: 35px;
    margin-right: 5px;
}
.profileinformationdetailsheader.two{
    background-color: #DBEEFF;
}

/* Profile header actions: stacked on mobile, single row on desktop */
.profile-header-actions-col {
    text-align: right;
}

.profile-header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.35rem;
}

.profile-header-actions__row--tools {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.profile-header-actions__icons {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.profile-header-actions__icons .btn,
.profile-header-actions__row--switch .btn {
    min-width: 2.25rem;
}

@media (min-width: 768px) {
    .profile-header-actions {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .profile-header-actions__row--switch,
    .profile-header-actions__row--tools {
        display: contents;
    }
}

@media (max-width: 767.98px) {
    .profile-header-actions-col {
        text-align: left;
        margin-top: 0.5rem;
    }

    .profileinformationdetailsheader .row > [class*="col-"]:first-child {
        /* flex: 0 0 auto;
        width: auto;
        max-width: none; */
    }

    .profileinformationdetailsheader .row > .profile-header-actions-col {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }

    .profile-header-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .profile-header-actions__row--switch .btn {
        width: 100%;
    }

    .profile-header-actions__row--tools {
        width: 100%;
    }

    .profile-header-actions__member-btn {
        flex: 1 1 auto;
        min-width: 0;
    }

    .profile-header-actions__icons .btn {
        width: 2.5rem;
        padding-left: 0;
        padding-right: 0;
    }
}
.profileinformationdetailsbox.two{
    background-color: #fff;
}
button.btn.btn-secondary.custbtn {
    background-color: #1843A6!important;
    padding: 5px 10px;
    color: #fff;
    border-radius: 4px;
    width: 120px;
    display: inline-block;
    text-align: center;
}
img.action_icon {
    width: 28px;
    margin: 0 1.5px;
}
img.action_icon_file {
    width: 18px;
}
img.action_icon_share{
     width: 30px;
}
img.subicon {
    width: 70px;
}
.subscriptionheader {
    text-align: center;
    position: relative;
    margin-bottom: -30px;
}

.saved-card.bg-card-1{
   background-image: url('../images/memberportal/bg01.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100%; 
      padding: 20px;
    border-radius: 8px;
}
.subscriptionbox{
    background-image: url('../images/memberportal/bg01.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100%;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}
.subscriptionbox.two{
    background-image: url('../images/memberportal/bg02.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100%;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}
.subscriptionbox.three{
    background-image: url('../images/memberportal/bg03.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100%;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}
.subscriptionbox h4{
    color: #fff;
    margin-top: 24px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}
img.arrowicon {
    width: 20px;
    margin-top: 10px;
}
button.btn.custom_mp_btn {
    background-color: #1843A6;
    padding: 5px 10px;
    color: #fff;
    border-radius: 4px;
    width: 100px;
    display: inline-block;
    text-align: center;
    font-weight: 500;
}
button.btn.custom_mp_btn:focus {
    background-color: #1843A6;
    padding: 5px 10px;
    color: #fff;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    font-weight: 500;
}
button.btn.custom_mp_btn:hover {
    background-color: #1843A6;
    padding: 5px 10px;
    color: #fff;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    font-weight: 500;
}
button.btn.custom_mp_btn:active {
    background-color: #1843A6!important;
    padding: 5px 10px!important;
    color: #fff!important;
    border-radius:4px!important;
    display: inline-block!important;
    text-align: center!important;
    font-weight: 500!important;
}
.managesubheader {
    background-color: #DBEEFF;
    padding: 10px 15px;
    border-radius: 10px 10px 0 0;
}
.managesubbox{
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    padding: 10px 15px;
}
  .info-label {
      font-weight: 600;
      color: #0d3d6a;
      width: 100px;
    }
    .info-row {
      margin-bottom: 10px;
    }
    .info-colon {
      margin: 0 8px;
    }

    h3.subpack{
         color: #424242;
         margin-bottom: 0px;
        font-size: 1.2rem;
    }

    .plansubheader {
    background-color: #DBEEFF;
    padding: 10px;
    border-radius: 10px 10px 0 0;
}
.managesubbox{
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    padding: 10px 15px;

}
.smallbox{
    padding: 10px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 4px;
    width: 90%;
    margin:0 auto;
}
h3.managesublabel{
     color: #1843A6;
         margin-bottom: 0px;
        font-size: 1.1rem; 
}
button.btn.custombtnborder {
    color: #000;
    border-radius: 4px;
    margin-top: 15px;
    background-color: #fff;
    font-weight: 500;
        padding: 5px 10px;
        width: 85px;
}
button.btn.custombtnborder:active {
    color: #000!important;
    border-radius: 4px;
    margin-top: 15px;
    background-color: #fff!important;
    font-weight: 500;
        padding: 5px 10px;
        width: 85px;
}
button.btn.custombtnborder:focus {
    color: #000!important;
    border-radius: 4px;
    margin-top: 15px;
    background-color: #fff!important;
    font-weight: 500;
        padding: 5px 10px;
        width: 85px;
}
button.btn.custombtnborder:hover {
    color: #fff;
    border-radius: 4px;
    margin-top: 15px;
    background-color: #1843A6;
    font-weight: 500;
        padding: 5px 10px;
        width: 85px;
}
img.thanks_icon{
    width: 50px;
}

/*Member Portal CSS End */

div#renewConfirmModal .btn-close {
  filter: invert(100%) grayscale(100%) brightness(100%)!important;
}

.password-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.password-wrapper .form-control {
  padding-right: 2.5rem; /* Space for eye icon */
  position: relative;
}

.eye-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #000;
  cursor: pointer;
  z-index: 20;
  pointer-events: auto;
  background: transparent;
}

/* Ensure eye icon stays in place even with validation errors */
.password-wrapper .error_label {
  position: relative;
  z-index: 1;
  margin-top: 5px;
}

/* Handle validation error styling for password fields */
.control-group.error .password-wrapper .form-control {
  border-color: #dc3545;
}

.control-group.error .password-wrapper .eye-icon {
  color: #dc3545;
}

/* Ensure password wrapper maintains its structure during validation */
.control-group .password-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

/* Handle text-danger class positioning for password fields only */
.password-wrapper .text-danger {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  display: block;
  color: #dc3545;
}

/* Ensure all password validation labels are red */
.password-wrapper + .text-danger,
.control-group .password-wrapper + .text-danger,
.password-wrapper ~ .text-danger,
.control-group .password-wrapper ~ .text-danger {
  color: #dc3545;
}

/* Handle any validation labels that might be using different classes */
.password-wrapper + label.error,
.control-group .password-wrapper + label.error,
.password-wrapper ~ label.error,
.control-group .password-wrapper ~ label.error {
  color: #dc3545 ;
}

/* Ensure error labels after password fields are red */
.control-group:has(.password-wrapper) .text-danger,
.control-group:has(.password-wrapper) label.error {
  color: #dc3545;
}
.toast-message,.toast-title{
    color: #fff!important; 
}
.is-invalid{
    box-shadow: none!important;
}
.is-invalid:active, .is-invalid:focus{
    box-shadow: none!important;
}
/* Ensure ALL validation error labels are red - for any field type */
/* .text-danger,
label.error,
.error_label,
.control-group .text-danger,
.control-group label.error,
.control-group .error_label {
  color: #dc3545 !important;
} */

/* Override any existing color styles for validation messages */
/* .text-danger,
label.error,
.error_label {
  color: #dc3545 !important;
  font-weight: 500;
} */

/* Force ALL validation messages to be red with maximum specificity */
/* .text-danger,
label.error,
.error_label,
.control-group .text-danger,
.control-group label.error,
.control-group .error_label,
form .text-danger,
form label.error,
form .error_label,
.signup_form .text-danger,
.signup_form label.error,
.signup_form .error_label {
  color: #dc3545 !important;
  font-weight: 500 !important;
} */

/* Additional specificity for any validation message */
/* [class*="error"] {
  color: #dc3545 !important;
} */

/* Force eye icon to stay in position */
.password-wrapper .eye-icon {
  position: absolute !important;
  top: 50% !important;
  right: 15px !important;
  transform: translateY(-50%) !important;
  z-index: 25 !important;
}
.table.thbold th{
    font-weight: 600!important;
}

.active>.page-link, .page-link.active{
    background-color:#1843A6!important;
}


.accordion-button:focus {
    box-shadow: none !important;
}
.form-control.is-invalid, .was-validated .form-control:invalid{
    background-image: none !important;
}
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: none !important;
}

.form-select:focus {
    border-color: #1843A6!important;
    box-shadow: none!important;
    outline: 0;
}
.select2-selection--single {
    background-color: #fff!important;
    border: 1px solid #cbd5e1!important;
    border-radius: .375rem!important;
    outline: none!important;
}
button.accordion-button .form-check-input{
    margin-top: 0px!important;
}
p.value {
    word-break: break-all;
}

/* Monitoring Center Information Styles */
.monitoring-center-section {
  padding: 0px;
  border-radius: 16px;
  margin-bottom: 30px;
}

.monitoring-center-title {
    color: #000;
    font-size: 1.2rem;
}

.monitoring-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 100%;
  margin: 0 auto;
}

.monitoring-card {
  background: #FFA41C;
  border: 2px solid #FFA41C;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Subscription Card Override */
.subscription-card {
  background: #FFA41C;
  border: 2px solid #FFA41C;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.monitoring-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.monitoring-card .card-header {
  background-color: #FFA41C;
  padding:10px;
  border-bottom: 1px solid #FFA41C;
  min-height: 45px;
  display: flex;
  align-items: center;
  height: auto;
}

.monitoring-card .card-header-title {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

/* Subscription Card Specific Styles */
.subscription-card .card-header {
  background-color: #FFA41C;
  padding: 10px;
  border-bottom: 1px solid #FFA41C;
  min-height: 45px;
  display: flex;
  align-items: center;
  height: auto;
}

.subscription-card .card-header-title {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.subscription-card .card-content {
  padding: 15px;
  flex-grow: 1;
  background: #FFA41C;
  border-radius: 0 0 6px 6px;
}

.monitoring-card .card-content {
  padding: 15px;
  flex-grow: 1;
  background: #FBF7F1;
}

/* Subscription Card Styles */
.monitoring-card .subscription-info {
  padding: 0;
}

.monitoring-card .info-row {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  width: 100%;
}

.monitoring-card .info-row:first-child {
  margin-bottom: 20px;
}

.monitoring-card .info-label {
  font-weight: 700;
  color: #2c3e50;
  font-size: 14px;
  margin-right: 8px;
  white-space: nowrap;
}

.monitoring-card .info-value {
  color: #34495e;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
  word-wrap: break-word;
}

/* Contact Card Styles */
.monitoring-card .contact-info {
  padding: 0;
}

.monitoring-card .contact-row {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  width: 100%;
}

.monitoring-card .contact-label {
  font-weight: 700;
  color: #2c3e50;
  font-size: 14px;
  margin-right: 8px;
  white-space: nowrap;
}

.monitoring-card .contact-value {
  color: #34495e;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
}

/* Emergency Card Styles */
.monitoring-card .emergency-info {
  padding: 0;
}

.monitoring-card .emergency-description {
  color: #2c3e50;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 500;
}

.monitoring-card .emergency-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.monitoring-card .feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 14px;
  width: 100%;
}

.monitoring-card .checkmark {
  background-image: url('../../assets/images/memberportal/orgicon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  display: inline-block;
  flex-shrink: 0;
  margin-top: 2px;
}

.monitoring-card .feature-text {
  color: #2c3e50;
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .monitoring-cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .monitoring-center-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .monitoring-cards-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .monitoring-center-section {
    padding: 0px;
  }
  
  .monitoring-center-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .monitoring-card .card-header {
    padding: 12px 15px;
  }
  
  .monitoring-card .card-header-title {
    font-size: 15px;
  }
  
  .monitoring-card .card-content {
    padding: 15px;
  }
  
  .monitoring-card .info-label,
  .monitoring-card .contact-label {
    font-size: 13px;
  }
  
  .monitoring-card .info-value,
  .monitoring-card .contact-value,
  .monitoring-card .emergency-description,
  .monitoring-card .feature-text {
    font-size: 13px;
  }
}

/* Member portal: phone only — smaller top padding (tablets use 160px above) */
@media (max-width: 576px) {
  .memberportalbox .app-content-area {
    padding: 20px 10px 20px !important;
  }
}

@media (max-width: 480px) {
  .monitoring-center-section {
    padding: 5px;
    margin-bottom: 20px;
  }
  
  .monitoring-center-title {
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .monitoring-cards-container {
    gap: 15px;
  }
  
  .monitoring-card .card-header {
    padding: 10px 12px;
  }
  
  .monitoring-card .card-header-title {
    font-size: 14px;
  }
  
  .monitoring-card .card-content {
    padding: 12px;
  }
}

/* Care Recipient Cards */
.care-recipient-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(220px,1fr));
  gap:16px;
}

.care-card{
  border:1px solid #C3D3E2;
  border-radius:10px;
  background:#fff;
  display:flex;
  align-items:center;
  padding:14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}

.care-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  border: 1.5px solid #1843A6;
}
.care-card:active{
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  border: 2px solid #1843A6;
}

.care-card.active{
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  border: 2px solid #1843A6;
  background: #EEF7FF;
}
.care-card__avatar{
  width:56px;
  height:56px;
  border-radius:50%;
  background:#DBEEFF;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex:0 0 56px;
}

.care-card__avatar img{ width:100%; height:100%; object-fit:cover; }

.care-card__avatar.add{ background:#E9ECEF; }
.care-card__avatar.add span{
  font-size:32px; color:#9AA0A6; line-height:1;
}

.care-card__body{ flex:1; padding:0 10px; }
.care-card__name{ font-weight:700; color:#000; }
.care-card__meta{ color:#000; font-size:13px; margin-top:2px; }

.care-card__actions{ flex:0 0 auto; }
.care-card__icon-btn{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:8px; border:1px solid #C3D3E2;
  background:#fff; transition: background .2s ease, transform .2s ease;
}
.care-card__icon-btn:hover{ background:#EEF7FF; transform: scale(1.05); }
.care-card__icon-btn img{ width:20px; height:20px; }

.care-card--add{ cursor:pointer; }
.care-card--add .care-card__name{ color:#000; }
.care-card--add .care-card__meta{ color:#000; font-weight:600; }

@media (max-width: 992px){
  .care-recipient-grid{ grid-template-columns: repeat(2, minmax(220px,1fr)); }
}
@media (max-width: 576px){
  .care-recipient-grid{ grid-template-columns: 1fr; }
}

/* Monitoring Center Information Styles */
.monitoring-center-section {
  padding: 0px;
  border-radius: 16px;
  margin-bottom: 30px;
}

.monitoring-center-title {
    color: #000;
    font-size: 1.2rem;
}

.monitoring-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 100%;
  margin: 0 auto;
}

.monitoring-card {
  background: #FFDDAA;
  border: 2px solid #ffd700;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Subscription Card Override */
.subscription-card {
  background: #ffddaa;
  border: 2px solid #ffd700;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.monitoring-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.monitoring-card .card-header {
  background-color: #FFDDAA;
  padding:10px;
  border-bottom: 1px solid #FBBC05;
  min-height: 45px;
  display: flex;
  align-items: center;
  height: auto;
}

.monitoring-card .card-header-title {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

/* Subscription Card Specific Styles */
.subscription-card .card-header {
  background-color: #ffddaa;
  padding: 10px;
  border-bottom: 1px solid #FBBC05;
  min-height: 45px;
  display: flex;
  align-items: center;
  height: auto;
}

.subscription-card .card-header-title {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.subscription-card .card-content {
  padding: 15px;
  flex-grow: 1;
  background: #FBF7F1;
  border-radius: 0 0 6px 6px;
}

.monitoring-card .card-content {
  padding: 15px;
  flex-grow: 1;
  background: #FBF7F1;
}

/* Subscription Card Styles */
.monitoring-card .subscription-info {
  padding: 0;
}

.monitoring-card .info-row {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  width: 100%;
}

.monitoring-card .info-row:first-child {
  margin-bottom: 20px;
}

.monitoring-card .info-label {
  font-weight: 700;
  color: #2c3e50;
  font-size: 14px;
  margin-right: 8px;
  white-space: nowrap;
}

.monitoring-card .info-value {
  color: #34495e;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
  word-wrap: break-word;
}

/* Contact Card Styles */
.monitoring-card .contact-info {
  padding: 0;
}

.monitoring-card .contact-row {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  width: 100%;
}

.monitoring-card .contact-label {
  font-weight: 700;
  color: #2c3e50;
  font-size: 14px;
  margin-right: 8px;
  white-space: nowrap;
}

.monitoring-card .contact-value {
  color: #34495e;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
}

/* Emergency Card Styles */
.monitoring-card .emergency-info {
  padding: 0;
}

.monitoring-card .emergency-description {
  color: #2c3e50;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 500;
}

.monitoring-card .emergency-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.monitoring-card .feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 14px;
  width: 100%;
}

.monitoring-card .checkmark {
  background-image: url('../../assets/images/memberportal/orgicon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  display: inline-block;
  flex-shrink: 0;
  margin-top: 2px;
}

.monitoring-card .feature-text {
  color: #2c3e50;
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .monitoring-cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .monitoring-center-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .monitoring-cards-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .monitoring-center-section {
    padding: 0px;
  }
  
  .monitoring-center-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .monitoring-card .card-header {
    padding: 12px 15px;
  }
  
  .monitoring-card .card-header-title {
    font-size: 15px;
  }
  
  .monitoring-card .card-content {
    padding: 15px;
  }
  
  .monitoring-card .info-label,
  .monitoring-card .contact-label {
    font-size: 13px;
  }
  
  .monitoring-card .info-value,
  .monitoring-card .contact-value,
  .monitoring-card .emergency-description,
  .monitoring-card .feature-text {
    font-size: 13px;
  }
}

/* Member portal: phone only — smaller top padding (tablets use 160px above) */
@media (max-width: 576px) {
  .memberportalbox .app-content-area {
    padding: 20px 10px 20px !important;
  }
}

@media (max-width: 480px) {
  .monitoring-center-section {
    padding: 5px;
    margin-bottom: 20px;
  }
  
  .monitoring-center-title {
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .monitoring-cards-container {
    gap: 15px;
  }
  
  .monitoring-card .card-header {
    padding: 10px 12px;
  }
  
  .monitoring-card .card-header-title {
    font-size: 14px;
  }
  
  .monitoring-card .card-content {
    padding: 12px;
  }
}


.page-item:not(:first-child) .page-link {
    z-index: 0!important;
  }
  .table th,
  .table td {
    vertical-align: middle;
  }
 div#modal-confirm-logout .modal-header .btn-close{
    color: #fff!important;
    --dashui-btn-close-bg: #fff!important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") !important;
    background-size: 40% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
    filter: brightness(0) invert(1) !important;
    width: 12px !important;
    height: 12px !important;
    padding: 0.2rem !important;
  }

  .modal-header .btn-close {
    color: #fff!important;
      --dashui-btn-close-bg: #fff!important;
      background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") !important;
      background-size: 40% !important;
      background-position: center !important;
      background-repeat: no-repeat !important;
      opacity: 1 !important;
      filter: brightness(0) invert(1) !important;
      width: 12px !important;
      height: 12px !important;
      padding: 0.2rem !important;
  }

  .card-header.ecom-customer-card-header {
    background-color: #EEF7FF;
}

.card-header.ecom-customer-card-header h6 {
    background-color: #EEF7FF;
    font-size: 16px !important;
}
h5.card-title {
    font-size: 16px;
}


  div#accountSelectionModal .modal-header .btn-close{
    width: 18px !important;
    height: 18px !important;
  }
  /* Custom themed checkbox (parent: .mp-checkbox) */
  .mp-checkbox .form-check-input{
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid #1843A6;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    margin-top: 1.5px!important;
    margin-bottom: 0px;
  }
  .mp-checkbox .form-check-input:focus{
    box-shadow: 0 0 0 .15rem rgba(24,67,166,.15) !important;
    border-color: #1843A6;
  }
  .mp-checkbox .form-check-input:checked{
    background-color: #1843A6;
    border-color: #1843A6;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M6.173 12.727L2.1 8.654l1.414-1.414 2.659 2.659 6.313-6.313 1.414 1.414z'/%3e%3c/svg%3e");
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
  }
  .mp-checkbox .form-check-label{
    margin-left: 6px;
    color: #000;
    font-weight: 500;
  }


.card-header.ecom-customer-card-header {
    background-color: #EEF7FF;
}

.card-header.ecom-customer-card-header h6 {
    background-color: #EEF7FF;
    font-size: 16px !important;
}
h5.card-title {
    font-size: 16px;
}
#tab-pane-payment .card-header{
    background-color: #eaf3fb!important;
    padding: 10px;
}
#tab-pane-order .card-header{
    background-color: #eaf3fb!important;
    padding: 10px;
}

div#tab-pane-customer .card-header{
    background-color: #eaf3fb!important;
    padding: 10px;
}
/* Tooltip styling for admin icons */
.tooltip .tooltip-inner {
    color: #fff !important;
}



.bs-tooltip-top .tooltip-inner,
.bs-tooltip-bottom .tooltip-inner,
.bs-tooltip-start .tooltip-inner,
.bs-tooltip-end .tooltip-inner {
    color: #fff !important;
}
div#tab-pane-customer .card-header{
    background-color: #eaf3fb!important;
    padding: 10px;
}

.btn-group-sm>.btn-icon.btn, .btn-icon.btn-sm {
  height: 1.6rem;
  width: 1.6rem;
}

.table th, .table td{
  padding: 6px !important;
  border: 1px solid #e2e8f0 !important;
}
th.text-start.wordwrap, td.text-end.wordwrap{
  white-space:  nowrap;
  width:1px;
}
.form-select{
  background-position: right 0.4rem center!important;
  padding: .5rem .5rem !important;
  font-size: .850rem!important;
  background-size: 8px 8px!important;
}
table.table.table-bordered.customtable .form-control{
  padding: .5rem!important;
} 
input.form-control.shipping-date{
  width: 120px!important;
}
input.form-control.pin-no {
  width: 80px;
}
table.customtable select.form-select{
  width: 155px;
}
input.form-control.tracking {
  width: 150px;
}
input.form-control.imei-no {
  width: 150px;
}

input#third_party_order_no {
  width: 165px;
}
select#row_count_opt{
  background-position: right 0.1rem center !important;
  padding: .5rem 1.3rem .5rem 1rem !important;
}

table.customtable select.form-select{
  padding: .5rem .5rem .5rem 0.5rem !important;
  background-position: right 0.1rem center !important;
}
/*Member Portal CSS End */

/* Subscription Modal Styles */
#subscriptionModal .subscription-modal-header {
  background: linear-gradient(135deg, #122867 0%, #1e3a8a 100%);
  color: #ffffff;
  border-bottom: none;
  position: relative;
  padding: 20px 40px;
  justify-content: center;
}

#subscriptionModal .subscription-modal-header-content {
  text-align: center;
  width: 100%;
}

#subscriptionModal .subscription-modal-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}

#subscriptionModal .subscription-modal-subtitle {
  color: #e2e8f0;
  font-size: 14px;
  margin: 0;
}

#subscriptionModal .subscription-modal-body {
  padding: 30px;
}

#subscriptionModal .subscription-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
}

#subscriptionModal .subscription-modal-intro {
  color: #000;
  font-size: 14px;
}

#subscriptionModal .subscription-summary-card {
  background: #e3f2fd;
  border: none;
  border-radius: 4px;
}

#subscriptionModal .subscription-section-title {
  font-weight: 600;
  color: #122867;
  font-size: 16px;
}
h6.mb-2.subscription-section-title.main{
  font-weight: 600;
  color: #122867;
  font-size: 18px!important;
}
#subscriptionModal .subscription-summary-img {
  max-width: 120px;
  height: auto;
}

#subscriptionModal .subscription-trial-alert {
  background: #cff4fc;
  border: 1px solid #9eeaf9;
  border-radius: 6px;
  color: #055160;
}

#subscriptionModal .subscription-card-element {
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background: #ffffff;
}

#subscriptionModal .subscription-card-errors {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
}

#subscriptionModal .subscription-card-helper {
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background: #f8f9fa;
  min-height: 40px;
  display: flex;
  align-items: center;
  color: #000;
  font-size: 14px;
}

#subscriptionModal .subscription-link {
  color: #122867;
  text-decoration: underline;
}

#subscriptionModal .subscription-modal-footer {
  border-top: 1px solid #dee2e6;
  padding: 20px 30px;
}

#subscriptionModal .modal-dialog {
  max-width: 900px;
  margin: 1.75rem auto;
}

#subscriptionModal .modal-content,
#subscriptionModal .modal-body {
  max-height: none;
  overflow: visible;
}

#subscriptionModal .subscription-btn-primary {
  background: linear-gradient(135deg, #122867 0%, #1e3a8a 100%);
  border: none;
  padding: 10px 30px;
  font-weight: 600;
  color: #ffffff;
}

#subscriptionModal .subscription-btn-primary:hover {
  background: linear-gradient(135deg, #0f1f4a 0%, #162f6d 100%);
}

.monitoring-agreement-modal-mvp{
  z-index: 999999 !important;
}

table#shipping_tbl .form-control{
  padding: 0.3rem !important;
}
table#shipping_tbl .select.form-select{
  padding: 0.3rem !important;
}

div#orderTotalsContainer label.col-form-label{
  padding-left: 15px !important;
}
#imei_report_filter .form-control{
  padding: 0.3rem !important;
  font-size: .80rem!important;
}
.custdatewidth{
  width: 100px!important;
}


#imei_report_filter input.select2-search__field {
  /* padding: 0 0.3rem !important; */
  margin-top: 0!important;
  font-size: .80rem!important;
  width: 100% !important;
}
#imei_report_filter .select2-container--default .select2-selection--multiple .select2-selection__rendered{
  padding: 0.3rem !important;
 
}
#imei_report_filter .select2-container--default .select2-selection--multiple{
  border-radius: .375rem;
  border: 1px solid #cbd5e1!important;
  min-height: 30px!important;
  height: 30px!important;
}
#imei_report_filter .select2-container--default .select2-selection--multiple .select2-selection__choice{
  margin-top: 0!important;
  font-size: 0.60rem!important;

}
#imei_report_filter button.btn.btn-secondary,#imei_report_filter button.btn.btn-primary{
  width: 70px !important;
  padding: 4px 6px !important;
}

#imei_report_filter .select2-container--default .select2-selection--multiple .select2-selection__clear{
  margin-top: 0!important;
  margin-right: 3px!important;
}

div#card-element-upgrade .upgrade-card-element,div#card-element-upgrade .upgrade-card-element iframe{
 height: 20px!important;
  height: auto!important;
}
 .upgrade-saved-card-item:last-child {
  border-bottom: none;
  padding: 0px!important;
}

/* ========== INVENTORY MANAGEMENT STYLES ========== */
.inventory-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.inventory-title{font-size:18px;font-weight:600;color:#000;margin:0;font-family:'Poppins',sans-serif}
.inventory-actions{display:flex;gap:5px;flex-wrap:wrap}
.inventory-actions .custombtnclick2{flex:1;min-width:120px;width:auto;text-align:center}
.btn-inventory-primary{background-color:#1843a6;color:#fff;font-size:13px;font-weight:500;padding:10px;height:35px;border-radius:4px;border:none;transition:all 0.3s ease;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-family:'Poppins',sans-serif;cursor:pointer;letter-spacing:0.1px}
.btn-inventory-primary:hover{background-color:#0c1e80;color:#fff;transform:translateY(-1px);box-shadow:0 4px 8px rgba(24,67,166,0.3)}
.btn-inventory-secondary{background-color:#000;color:#fff;font-size:13px;font-weight:500;padding:10px;height:35px;border-radius:4px;border:none;transition:all 0.3s ease;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.btn-inventory-secondary:hover{background-color:#5a6268;color:#fff}

/* Stats Cards */
.inventory-stats,.inventory-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:30px}
.stat-card,.inventory-stat-card{min-width:0;padding:12px 8px 8px 12px}
.stat-card-value,.stat-value{font-size:32px;line-height:38px}
.stat-card,.inventory-stat-card{background:#fff;border-radius:10px;height:80px;padding:12px 8px 8px 12px;text-align:left;box-shadow:0 2px 8px rgba(0,0,0,0.08);transition:transform 0.3s ease,box-shadow 0.3s ease;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;min-width:0}
.stat-card:hover,.inventory-stat-card:hover{transform:translateY(-3px);box-shadow:0 6px 16px rgba(0,0,0,0.12)}
.stat-card.blue,.stat-card-blue,.inventory-stat-card.stat-card-blue{background:#2e68ff;color:#fff}
.stat-card.cyan,.stat-card-cyan,.inventory-stat-card.stat-card-cyan{background:#0190ff;color:#fff}
.stat-card.ocean,.stat-card-ocean,.inventory-stat-card.stat-card-ocean{background:#007bce;color:#fff}
.stat-card.teal,.stat-card-teal,.inventory-stat-card.stat-card-teal{background:#129ac0;color:#fff}
.stat-card.purple,.stat-card-purple,.inventory-stat-card.stat-card-purple{background:#3712c0;color:#fff}
.stat-card.indigo,.stat-card-indigo,.inventory-stat-card.stat-card-indigo{background:#6366f1;color:#fff}
.stat-card-title,.stat-label{font-size:11px;font-weight:600;margin-bottom:4px;letter-spacing:0.1px;line-height:normal}
.stat-card-value,.stat-value{font-size:32px;font-weight:600;line-height:38px;margin:0;letter-spacing:0.1px}
.stat-change{font-size:11px;margin-top:4px;letter-spacing:0.1px;line-height:normal}
.stat-change.positive{color:#28a745}
.stat-change.negative{color:#dc3545}

/* Inventory Table */
.inventory-table-container{background:#fff;border-radius:0px;padding:0px;box-shadow:0 2px 8px rgba(0,0,0,0.08);margin-bottom:0px!important;}
.inventory-table-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;flex-wrap:wrap;gap:10px}
.inventory-table-title{font-size:18px;font-weight:700;color:#1c1f27;margin:0}
.inventory-table-note,.table-info-text{font-size:11px;color:#1c1f27;font-style:italic;margin-top:0px;margin-bottom:0;font-weight:600; text-align: right;}
.inventory-table{width:100%;border-collapse:collapse;border:1px solid #e0e2e9; margin-bottom: 0rem!important;}
.inventory-table th{background-color:#f1f5f9;padding:10px 12px!important;text-align:left;font-weight:600;color:#1c1f27;border:1px solid #e0e2e9;font-size:13px;white-space:nowrap;vertical-align:middle}
.inventory-table td{padding:10px 12px!important;border:1px solid #e0e2e9;font-size:13px;color:#1c1f27;font-weight:400;vertical-align:middle}
.inventory-table tbody tr:hover{background-color:#f8f9fa}
.inventory-alerts-container .inventory-table tbody tr:hover{background-color:transparent}
.inventory-table tbody tr:last-child td{border-bottom:1px solid #e0e2e9}
.inventory-table tbody tr.table-total{background-color:#f8f9fa;font-weight:600}
.inventory-table tbody tr.table-total td{border-top:2px solid #dee2e6;padding-top:15px;padding-bottom:15px}
.inventory-table td.available-high{background-color:#d4edda;color:#155724;font-weight:600}
.inventory-table td.available-low{background-color:#f8d7da;color:#721c24;font-weight:600}
.status-badge,.status-icon{display:inline-flex;align-items:center;gap:5px;font-size:16px;font-weight:400}
.status-icon.status-success{color:#28a745}
.status-icon.status-danger{color:#dc3545}
.status-badge .icon{width:16px;height:16px}

/* Alerts Section */
.inventory-alerts,.inventory-alerts-container{background:#fff;border-radius:0px;padding:8px;box-shadow:0 2px 8px rgba(0,0,0,0.08);border:1px solid #e0e2e9}
.alerts-title{font-size:16px;font-weight:600;color:#1c1f27;margin-bottom:10px;padding-bottom:5px;border-bottom:2px solid #e9ecef}
.alert-table{width:100%;border-collapse:collapse;border-radius:6px;margin-bottom:12px;overflow:hidden;border:1px solid #e0e2e9;text-align:left}
.alert-warning-table{background-color:#fff8e1;}
.alert-danger-table{background-color:#ffebee;}
.alert-header-th{background-color:#f8db3a !important;font-size:12px !important;font-weight:700 !important;padding:8px 12px !important;text-align:left !important;color:#1c1f27 !important;border:none !important;margin:0 !important;}
.alert-danger-table .alert-header-th{background-color:#ff595c !important;color:#fff !important; border:none !important;margin:0 !important;}
.alert-table tbody td{background-color:transparent;padding:8px 12px;border:none;font-size:12px;color:#1c1f27;font-weight:400;text-align:left}
.alert-table tbody tr{border-bottom:1px solid rgba(0,0,0,0.05)}
.alert-table tbody tr:last-child{border-bottom:none}
.alert-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.alert-product{font-weight:400;color:#1c1f27;font-size:13px;text-align:left;}
.alert-detail{font-size:13px;color:#1c1f27;font-weight:400;text-align:left;}
.alert-detail.alert-danger-text{color:#ff1f1f!important;font-weight:400}
.alert-detail.ms-3{margin-left:15px}
.alert-note,.inventory-alert-note,.alerts-info-text{font-size:12px;color:#1c1f27;font-style:italic;margin-top:12px;font-weight:600;text-align:right}

/* Device Pool Styles */
.filter-section,.inventory-filter-container{background:#fff;border-radius:12px;padding:20px;margin-bottom:25px;box-shadow:0 2px 8px rgba(0,0,0,0.08)}
.filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-bottom:15px}
.filter-row label,.inventory-label{display:block;font-size:14px;font-weight:600;color:#495057;margin-bottom:5px}
.filter-row select,.filter-row input,.inventory-input{width:100%;padding:0.5rem;border:1px solid #ced4da;border-radius:6px;font-size:13px;color:#495057;font-family:'Poppins',sans-serif}
.filter-row select:focus,.filter-row input:focus,.inventory-input:focus{outline:none;border-color:#1843a6;box-shadow:0 0 0 3px rgba(24,67,166,0.1)}
.filter-actions{display:flex;gap:10px;flex-wrap:wrap}

/* Device List */
.device-list-container,.inventory-device-list{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,0.08)}
.device-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:10px}
.device-count{font-size:14px;color:#000;font-weight:600}
.device-table,.inventory-device-table{width:100%;border-collapse:collapse}
.device-table th,.inventory-device-table th{background-color:#f8f9fa;padding:12px 15px;text-align:left;font-weight:700;color:#1c1f27;border-bottom:2px solid #dee2e6;font-size:14px;white-space:nowrap}
.device-table td,.inventory-device-table td{padding:12px 15px;border-bottom:1px solid #e9ecef;font-size:14px;color:#495057}
.device-table tbody tr:hover,.inventory-device-table tbody tr:hover{background-color:#f8f9fa}
.device-table tbody tr:last-child td,.inventory-device-table tbody tr:last-child td{border-bottom:none}

/* Receive Stock Form */
.receive-form-container,.inventory-form-container{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px rgba(0,0,0,0.08);max-width:100%}
.form-section{margin-bottom:30px}
.form-section-title{font-size:20px;font-weight:700;color:#1c1f27;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #e9ecef}
.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:20px}
.form-group{display:flex;flex-direction:column}
.form-group label{font-size:14px;font-weight:600;color:#495057;margin-bottom:8px}
.form-group label .required{color:#dc3545}
.form-group input,.form-group select,.form-group textarea{padding:10px 12px;border:1px solid #ced4da;border-radius:6px;font-size:14px;color:#495057;font-family:'Poppins',sans-serif;transition:border-color 0.3s ease}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#1843a6;box-shadow:0 0 0 3px rgba(24,67,166,0.1)}
.form-group textarea{resize:vertical;min-height:100px}
.form-actions{display:flex;gap:5px;justify-content:flex-end;margin-top:30px}

/* Report Styles */
.report-filters,.inventory-report-filters{background:#fff;border-radius:12px;padding:20px;margin-bottom:25px;box-shadow:0 2px 8px rgba(0,0,0,0.08)}
.report-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:15px}
.report-title{font-size:24px;font-weight:700;color:#1c1f27}
.report-actions{display:flex;gap:10px;flex-wrap:wrap}
.report-table-container,.inventory-report-container{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,0.08);overflow-x:auto}
.report-table,.inventory-report-table{width:100%;border-collapse:collapse;min-width:800px}
.report-table th,.inventory-report-table th{background-color:#f8f9fa;padding:12px 15px;text-align:left;font-weight:700;color:#1c1f27;border-bottom:2px solid #dee2e6;font-size:14px;white-space:nowrap}
.report-table td,.inventory-report-table td{padding:12px 15px;border-bottom:1px solid #e9ecef;font-size:14px;color:#495057}
.report-table tbody tr:hover,.inventory-report-table tbody tr:hover{background-color:#f8f9fa}
.report-table tbody tr:last-child td,.inventory-report-table tbody tr:last-child td{border-bottom:none}

/* Receive Stock Page Styles */
.receive-stock-page .inventory-title{font-size:18px;font-weight:700}
.receive-stock-page .form-actions{display:flex;gap:5px;justify-content:flex-end;margin-top:0px}
.receive-stock-tabs{border-bottom:2px solid #e0e2e9;margin-bottom:20px}
.receive-stock-tabs .nav-link{background:transparent;border:none;border-bottom:3px solid transparent;color:#000;font-size:14px;font-weight:500;padding:12px 20px;margin-bottom:-2px;transition:all 0.3s ease;font-family:'Poppins',sans-serif}
.receive-stock-tabs .nav-link:hover{color:#1843a6;border-bottom-color:#e0e2e9}
.receive-stock-tabs .nav-link.active{color:#1843a6;background:transparent;border-bottom-color:#1843a6;font-weight:600}
.report-tabs{border-bottom:none;margin-bottom:20px;display:flex;gap:0;background:transparent}
.report-tabs .nav-item{flex:0 0 auto;margin-right:0}
.report-tabs .nav-link{background:#f8f9fa;border:none;border-radius:0;color:#000;font-size:13px;font-weight:500;padding:10px;transition:all 0.3s ease;font-family:'Poppins',sans-serif;border-right:1px solid #e0e2e9}

.report-tabs .nav-item:last-child .nav-link{border-right:none}
.report-tabs .nav-link:hover{background:#e9ecef;color:#1c1f27}
.report-tabs .nav-link.active{background:#1843a6;color:#fff;font-weight:600;border-right-color:#1843a6}
.csv-upload-container{margin-bottom:30px}
.csv-upload-box{border:2px dashed #cbd5e1;border-radius:8px;padding:10px;background:#f8f9fa;cursor:pointer;transition:all 0.3s ease;text-align:center}
.csv-upload-box:hover{border-color:#1843a6;background:#f0f4ff}
.csv-upload-content{display:flex;align-items:center;justify-content:start;gap:15px;flex-wrap:wrap}
.csv-upload-icon{width:42px;height:42px;border-radius:50%;background-color:#e9ecef;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.csv-upload-icon svg{width:20px;height:20px;stroke:#1c1f27}
.csv-upload-box:hover .csv-upload-icon{background-color:#dee2e6}
.csv-upload-box:hover .csv-upload-icon svg{stroke:#1843a6}
.csv-upload-text{text-align:left}
.csv-upload-title{font-size:16px;font-weight:600;color:#1c1f27;margin-bottom:8px;font-family:'Poppins',sans-serif}
.csv-upload-note{font-size:13px;color:#000;font-family:'Poppins',sans-serif;margin-bottom:8px}
.csv-file-name{display:flex;align-items:center;margin-top:10px;padding:8px 12px;background-color:#e9ecef;border-radius:4px;font-size:13px;color:#1c1f27;font-family:'Poppins',sans-serif;flex-wrap:wrap;gap:10px}
.csv-file-name svg{width:16px;height:16px;stroke:#1c1f27;flex-shrink:0}
.csv-file-name #submitUploadBtn{margin-left:10px}
.validation-badge{display:inline-block;padding:6px 12px;border-radius:4px;font-size:12px;font-weight:500;font-family:'Poppins',sans-serif;white-space:nowrap}
.badge-valid{background-color:#28a745;color:#ffffff}
.badge-duplicate{background-color:#ffc107;color:#212529}
.badge-not-found{background-color:#dc3545;color:#ffffff}
.badge-vendor-status{background-color:#1843a6;color:#ffffff}
.badge-inactive{background-color:#ffc107;color:#212529}
.badge-inventory{display:inline-block;padding:6px 12px;border-radius:4px;font-size:12px;font-weight:500;font-family:'Poppins',sans-serif;white-space:nowrap; width:90px; text-align:center;}
.badge-available{background-color:#28a745;color:#ffffff}
.badge-assigned{background-color:#1843a6;color:#ffffff}
.badge-reserved{background-color:#ffc107;color:#212529}
.badge-damaged{background-color:#dc3545;color:#ffffff}
.badge-active{background-color:#28a745;color:#ffffff}
.btn-inventory-action{background-color:transparent;border:1px solid #dee2e6;color:#495057;padding:6px 10px;border-radius:4px;font-size:12px;transition:all 0.3s ease;display:inline-flex;align-items:center;justify-content:center;margin:0 2px;cursor:pointer}
.btn-inventory-action:hover{background-color:#f8f9fa;border-color:#1843a6;color:#1843a6}
.btn-inventory-action i,.btn-inventory-action svg{width:14px;height:14px;stroke-width:2}
.icon-xs{width:14px;height:14px;stroke-width:2}
.icon-xs svg{width:14px;height:14px;stroke-width:2}
.icon-sm{width:18px;height:18px;stroke-width:2}
.icon-sm svg{width:18px;height:18px;stroke-width:2}
.device-pool-page .inventory-header{margin-bottom:20px}
.device-pool-info{margin-top:20px;margin-bottom:20px}
.device-pool-info .info-text{font-size:13px;color:#495057;margin-bottom:4px;font-family:'Poppins',sans-serif}
.receive-stock-info{margin-top:20px;margin-bottom:20px}
.receive-stock-info .info-text{font-size:13px;color:#495057;margin-bottom:4px;font-family:'Poppins',sans-serif}
.inventory-table .form-check-input{margin:0;cursor:pointer}

/* Responsive Design */
@media (max-width:1200px){
.inventory-stats,.inventory-stats-grid{grid-template-columns:repeat(3,1fr);gap:15px}
}
@media (max-width:992px){
.inventory-header{flex-direction:column;align-items:flex-start}
.inventory-stats,.inventory-stats-grid{grid-template-columns:repeat(2,1fr);gap:15px}
.stat-card-value,.stat-value{font-size:32px}
.filter-row{grid-template-columns:1fr}
.form-row{grid-template-columns:1fr}
.device-list-header,.report-header{flex-direction:column;align-items:flex-start}
}
@media (max-width:768px){
.inventory-title{font-size:22px}
.inventory-table-container,.device-list-container,.report-table-container{padding:15px;overflow-x:auto}
.inventory-table,.device-table,.report-table{font-size:12px}
.inventory-table th,.inventory-table td,.device-table th,.device-table td,.report-table th,.report-table td{padding:8px 10px}
.inventory-actions,.filter-actions,.report-actions,.form-actions{width:100%}
.btn-inventory-primary,.btn-inventory-secondary{width:100%;justify-content:center;font-size:12px;padding:8px 15px}
.receive-form-container,.inventory-form-container{padding:15px}
.stat-card-value,.stat-value{font-size:36px}
.stat-label{font-size:11px}
.inventory-alerts,.inventory-alerts-container{padding:15px}
.csv-upload-content{flex-direction:column;text-align:center}
.csv-upload-text{text-align:center}
}
@media (max-width:576px){
.inventory-stats,.inventory-stats-grid{grid-template-columns:1fr;gap:12px}
.stat-card,.inventory-stat-card{padding:15px 12px}
.stat-card-value,.stat-value{font-size:40px}
.stat-label{font-size:11px}
.inventory-table,.device-table,.report-table{font-size:11px}
.inventory-table th,.inventory-table td,.device-table th,.device-table td,.report-table th,.report-table td{padding:8px}
}


input#order_payment_status_unpaid, input#order_payment_status_paid {
  padding: 0px;
}

/* Customer Invoice Table Styles - Scoped to avoid affecting other modules */
.customer-invoice-table-wrapper {
  padding: 0;
}

.customer-invoice-table-wrapper .customer-invoice-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.customer-invoice-table-wrapper .customer-invoice-table thead {
  background-color: #E8F0F8;
}

.customer-invoice-table-wrapper .customer-invoice-table thead th {
  background-color: #E8F0F8;
  text-align: center;
  font-weight: bold;
  padding: 15px 10px;
  border: none;
  color: #333;
  font-size: 14px;
}

.customer-invoice-table-wrapper .customer-invoice-table tbody tr {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E0E0E0;
}

.customer-invoice-table-wrapper .customer-invoice-table tbody tr:last-child {
  border-bottom: none;
}

.customer-invoice-table-wrapper .customer-invoice-table tbody td {
  text-align: center;
  padding: 15px 10px;
  vertical-align: middle;
  border: none;
  font-size: 14px;
  color: #333;
}

.customer-invoice-table-wrapper .customer-invoice-table .order-status-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.customer-invoice-table-wrapper .customer-invoice-table .order-status-primary {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
}

.customer-invoice-table-wrapper .customer-invoice-table .order-status-secondary {
  font-weight: 400;
  font-size: 12px;
  color: #666;
}

.customer-invoice-table-wrapper .customer-invoice-btn-view {
  background-color: #2C4EAD;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  padding: 6px 16px;
  font-weight: 600;
  font-size: 13px;
  margin-right: 8px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease;
}

.customer-invoice-table-wrapper .customer-invoice-btn-view:hover {
  background-color: #1E3A8A;
  color: #FFFFFF;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.customer-invoice-table-wrapper .customer-invoice-btn-view:focus {
  box-shadow: 0 0 0 0.2rem rgba(44, 78, 173, 0.25), 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.customer-invoice-table-wrapper .customer-invoice-btn-view:active {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.customer-invoice-table-wrapper .customer-invoice-btn-return,
.customer-invoice-table-wrapper button.customer-invoice-btn-return,
.customer-invoice-table-wrapper .btn.customer-invoice-btn-return {
  background-color: #FFC107 !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 4px;
  padding: 6px 16px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  transition: all 0.3s ease;
}

.customer-invoice-table-wrapper .customer-invoice-btn-return:hover,
.customer-invoice-table-wrapper button.customer-invoice-btn-return:hover,
.customer-invoice-table-wrapper .btn.customer-invoice-btn-return:hover {
  background-color: #FFB300 !important;
  color: #000000 !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.customer-invoice-table-wrapper .customer-invoice-btn-return:focus,
.customer-invoice-table-wrapper button.customer-invoice-btn-return:focus,
.customer-invoice-table-wrapper .btn.customer-invoice-btn-return:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25), 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  background-color: #FFC107 !important;
  color: #000000 !important;
}

.customer-invoice-table-wrapper .customer-invoice-btn-return:active,
.customer-invoice-table-wrapper button.customer-invoice-btn-return:active,
.customer-invoice-table-wrapper .btn.customer-invoice-btn-return:active {
  background-color: #FFB300 !important;
  color: #000000 !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Responsive adjustments for customer invoice table */
@media (max-width: 768px) {
  .customer-invoice-table-wrapper .customer-invoice-table thead th,
  .customer-invoice-table-wrapper .customer-invoice-table tbody td {
    padding: 10px 5px;
    font-size: 12px;
  }
  
  .customer-invoice-table-wrapper .customer-invoice-btn-view,
  .customer-invoice-table-wrapper .customer-invoice-btn-return {
    padding: 4px 10px;
    font-size: 11px;
    margin-right: 4px;
  }
}

/* Return Order Page Styles - Scoped to avoid affecting other modules */
.return-order-wrapper {
  background-color: #FFFFFF;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  padding: 30px;
}

.return-order-page-title {
  color: #1E3A8A;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 20px;
}

.return-order-info-panel {
  background-color: #FFFFFF;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
  padding: 16px;
  min-height: 125px;
  overflow: hidden;
  margin-bottom: 20px;
}

.return-order-panel-header {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  margin: 0 0 10px 0;
  text-align: left;
  white-space: nowrap;
  background-color: transparent;
  border: none;
}

.return-order-panel-right .return-order-panel-header {
  text-align: right;
}

.return-order-panel-content {
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  padding: 0;
  background-color: #FFFFFF;
}

.return-order-info-row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.return-order-info-row:first-child {
  margin-top: 10px;
}

.return-order-label {
  font-weight: 600;
  min-width: 100px;
  color: #333;
}

.return-order-value {
  text-align: right;
  min-width: 100px;
  color: #333;
}

.return-order-products-section {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 30px;
}

.return-order-products-table {
  background-color: #FFFFFF;
  border-collapse: collapse;
  border: none;
  width: 100%;
  border-radius: 0;
  overflow: visible;
  margin: 0;
}

.return-order-products-table thead tr:first-child th:first-child {
  border-top-left-radius: 0;
}

.return-order-products-table thead tr:first-child th:last-child {
  border-top-right-radius: 0;
}

.return-order-table-header {
  background-color: #E8F0F8 !important;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 15px;
  text-align: left;
  border: none;
  border-bottom: 1px solid #E8F0F8;
  border-top: 1px solid #E8F0F8;
}

.return-order-products-table thead tr th:first-child {
  border-left: 1px solid #E8F0F8;
  border-right: 1px solid #DEE2E6;
}

.return-order-products-table thead tr th:nth-child(2) {
  border-right: 1px solid #DEE2E6;
}

.return-order-products-table thead tr th:last-child {
  border-right: 1px solid #E8F0F8;
}

.return-order-products-table tbody tr {
  background-color: #FFFFFF;
  border-top: 1px solid #E8F0F8;
  border-bottom: 1px solid #E8F0F8;
}

.return-order-products-table tbody tr:first-child {
  border-top: 1px solid #E8F0F8;
}

.return-order-products-table tbody tr:last-child {
  border-bottom: 1px solid #E8F0F8;
}

.return-order-products-table tbody tr td {
  border: none;
  background-color: #FFFFFF;
  border-right: 1px solid #E0E0E0;
  border-left: 1px solid #E8F0F8;
}

.return-order-products-table tbody tr td:first-child {
  border-left: 1px solid #E8F0F8;
}

.return-order-products-table tbody tr td:nth-child(2) {
  border-right: 1px solid #DEE2E6 !important;
}

.return-order-products-table tbody tr td:last-child {
  border-right: 1px solid #E8F0F8;
}

.return-order-checkbox-header {
  width: 60px;
  min-width: 60px;
  background-color: #E8F0F8 !important;
}

.return-order-checkbox-cell {
  padding: 15px;
  vertical-align: middle;
  width: 60px;
  background-color: #FFFFFF;
  border-right: 1px solid #DEE2E6 !important;
  text-align: center;
}

.return-order-product-cell {
  padding: 15px;
  vertical-align: middle;
  width: 200px;
  background-color: #FFFFFF;
  border-right: 1px solid #DEE2E6 !important;
}

.return-order-product-checkbox-wrapper {
  display: inline-block;
  margin-right: 0;
  vertical-align: middle;
  text-align: center;
}

.return-order-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #1E3A8A;
}

.return-order-checkbox-label {
  display: none;
}

.return-order-product-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
}

.return-order-product-placeholder {
  width: 60px;
  height: 60px;
  background-color: #E0E7EF;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 24px;
  vertical-align: middle;
}

.return-order-description-cell {
  padding: 15px;
  vertical-align: middle;
}

.return-order-description-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.return-order-description-text {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  margin-right: 15px;
}

.return-order-price {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.return-order-description-details {
  color: #666;
  font-size: 12px;
  line-height: 1.8;
}

.return-order-description-details div {
  margin-bottom: 2px;
}

.return-order-reason-section {
  background-color: #FFFFFF;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  padding: 0;
  margin-bottom: 30px;
  overflow: hidden;
}

.return-order-section-header {
  background-color: #E8F0F8;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 15px;
  margin: 0;
  border-bottom: 1px solid #DEE2E6;
  border-radius: 6px 6px 0 0;
}

.return-order-reason-options {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #FFFFFF;
}

.return-order-reason-option {
  margin-bottom: 12px;
}

.return-order-radio {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #1E3A8A;
  margin-right: 8px;
}

.return-order-radio-label {
  color: #333;
  font-size: 14px;
  cursor: pointer;
}

.return-order-textarea-wrapper {
  margin-top: 15px;
  padding: 0 15px 15px 15px;
  background-color: #FFFFFF;
}

.return-order-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  resize: vertical;
  color: #333;
  background-color: #FFFFFF;
}

.return-order-textarea:focus {
  outline: none;
  border-color: #1E3A8A;
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.1);
}

.return-order-info-section {
  background-color: #FFFFFF;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  padding: 0;
  margin-bottom: 30px;
  overflow: hidden;
}

.return-order-info-table {
  width: 100%;
  border-collapse: collapse;
}

.return-order-info-table tr {
  border-bottom: none;
}

.return-order-info-label-cell {
  background-color: #F5F8FA;
  color: #1E3A8A;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 15px;
  text-align: left;
  border-right: 1px solid #DEE2E6;
  width: 200px;
  white-space: nowrap;
}

.return-order-info-label-cell.return-order-link {
  color: #1E3A8A;
  text-decoration: none;
  cursor: pointer;
}

.return-order-info-value-cell {
  background-color: #F5F8FA;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 15px;
  text-align: left;
  border-right: 1px solid #DEE2E6;
  white-space: normal;
}

.return-order-info-table tr .return-order-info-label-cell,
.return-order-info-table tr .return-order-info-value-cell {
  border-bottom: none;
}

.return-order-agreement-section {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 30px;
}

.return-order-agreement-wrapper {
  display: flex;
  align-items: flex-start;
}

.return-order-agreement-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #1E3A8A;
  margin-right: 10px;
  margin-top: 2px;
  flex-shrink: 0;
}

.return-order-agreement-label {
  color: #333;
  font-size: 14px;
  cursor: pointer;
  line-height: 1.5;
}

.return-order-link {
  color: #1E3A8A;
  text-decoration: underline;
}

.return-order-link:hover {
  color: #15306F;
  text-decoration: underline;
}

.return-order-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 30px;
}

.return-order-btn-submit,
.return-order-btn-cancel {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease;
}

.return-order-btn-submit {
  background-color: #29449B;
  color: #FFFFFF;
}

.return-order-btn-submit:hover {
  background-color: #1E3A8A;
  color: #FFFFFF;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.return-order-btn-cancel {
  background-color: #29449B;
  color: #FFFFFF;
}

.return-order-btn-cancel:hover {
  background-color: #1E3A8A;
  color: #FFFFFF;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Responsive adjustments for return order page */
@media (max-width: 768px) {
  .return-order-wrapper {
    padding: 15px;
  }

  .return-order-page-title {
    font-size: 20px;
  }

  .return-order-info-panel {
    min-height: auto;
    margin-bottom: 15px;
  }

  .return-order-products-section {
    padding: 15px;
    overflow-x: auto;
  }

  .return-order-product-cell {
    width: 150px;
  }

  .return-order-description-main {
    flex-direction: column;
  }

  .return-order-price {
    margin-top: 5px;
    text-align: left;
  }

  .return-order-info-row-full {
    flex-direction: column;
    align-items: flex-start;
  }

  .return-order-info-value {
    text-align: left;
    margin-top: 5px;
  }

  .return-order-actions {
    flex-direction: column;
  }

  .return-order-btn-submit,
  .return-order-btn-cancel {
    width: 100%;
  }
}

/* =============================================================================
   Member dashboard-web (member/dashboard/dashboard_web.php)
   Mobile variant: member_mobile/dashboard/dashboard_mobile.php + .dashboard-mobile-root
   All rules scoped under .dashboard-web-root — banner uses ../images/ paths from assets/css/
   ============================================================================= */
.dashboard-web-root {
  --dw-banner-fallback: #122867;
  --dw-banner-overlay-1: rgba(18, 40, 103, 0.42);
  --dw-banner-overlay-2: rgba(24, 67, 166, 0.18);
  --dw-banner-vignette: rgba(10, 24, 64, 0.45);
  --dw-banner-blue-1: #1a47a1;
  --dw-banner-blue-2: #1843a6;
  --dw-banner-blue-3: #2a5cb8;
  --dw-gold: #ffcc00;
  --dw-gold-light: #ffd700;
  --dw-gold-mid: #ffcc00;
  --dw-gold-deep: #ffb800;
  --dw-gold-dark: #c9a000;
  --dw-role-bg: #b3e5fc;
  --dw-navy: #122867;
  --dw-blue: #1843a6;
  --dw-white: #ffffff;
  --dw-text: #1a1a1a;
  --dw-muted: #5c6b7a;
  --dw-card-border: #D8D8D8;
  --dw-radius-card: 15px;
  --dw-title-banner: 2.2rem;
  --dw-title-section: 1.75rem;
  --dw-body: 1rem;
  --dw-small: 0.800rem;
  color: var(--dw-text);
  font-size: var(--dw-body);
}

.dashboard-web-root .dw-web-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--dw-radius-card);
  padding: 0.6rem 1rem;
  overflow: hidden;
  color: var(--dw-white);
  --dw-banner-account-title: 1.75rem;
  --dw-banner-plan-label: 0.8125rem;
  --dw-banner-membership-title: clamp(1.05rem, 2.2vw, 1.35rem);
  --dw-banner-contact: 0.9rem;
}

.dashboard-web-root .dw-web-banner .dw-web-banner-row {
  width: 100%;
  min-height: 0;
}

.dashboard-web-root .dw-web-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--dw-banner-fallback);
  background-image: url("../images/memberportal/dashboardbg.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.dashboard-web-root .dw-web-banner-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    var(--dw-banner-overlay-1) 0%,
    var(--dw-banner-overlay-2) 55%,
    rgba(255, 255, 255, 0.06) 100%
  );
  pointer-events: none;
}

.dashboard-web-root .dw-web-banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--dw-banner-vignette) 0%, transparent 48%);
  pointer-events: none;
}

.dashboard-web-root .dw-web-banner .row {
  position: relative;
  z-index: 1;
  align-items: center;
}

.dashboard-web-root .dw-web-banner .dw-web-banner-title {
  font-size: var(--dw-banner-account-title);
  font-weight: 600;
  color: var(--dw-white);
  line-height: 1.2;
}

.dashboard-web-root .dw-web-banner .dw-store-img {
  width: 110px;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.dashboard-web-root .dw-web-banner .dw-banner-centers {
  width: 100%;
}

.dashboard-web-root .dw-web-banner .dw-banner-center {
  width: 100%;
  padding-top: 0;
}

.dashboard-web-root .dw-web-banner .dw-plan-pill {
  display: inline-block;
  background: linear-gradient(90deg, var(--dw-gold-deep) 0%, var(--dw-gold-light) 45%, var(--dw-gold-mid) 55%, var(--dw-gold-deep) 100%);
  color: #000000;
  font-weight: 700;
  font-size: var(--dw-banner-plan-label);
  padding: 0.45rem 1rem;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  line-height: 1.2;
  width: 200px;
  font-size: 1rem;
  text-align: center;
  font-family: LT Wave Bold, sans-serif;
}

/* Mobile sidebar — Gold Plan pill uses same gradient/tokens as dashboard-web banner */
.dashboard-web-root.mobile-sidebar-pass-root {
  display: contents;
}

.dashboard-web-root.mobile-sidebar-pass-root .dw-plan-pill.mobile-sidebar-pass-dw-pill {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: linear-gradient(90deg, var(--dw-gold-deep) 0%, var(--dw-gold-light) 45%, var(--dw-gold-mid) 55%, var(--dw-gold-deep) 100%);
  color: #000000;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  line-height: 1.2;
  text-align: center;
  font-family: LT Wave Bold, sans-serif;
}

.dashboard-web-root.mobile-sidebar-pass-root .dw-plan-pill.mobile-sidebar-pass-dw-pill.dw-plan-pill--silver {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: linear-gradient(
    135deg,
    #f5f5f5 0%,
    #e0e0e0 10%,
    #c8c8c8 20%,
    #f0f0f0 30%,
    #d8d8d8 40%,
    #b8b8b8 50%,
    #e8e8e8 60%,
    #c0c0c0 70%,
    #f8f8f8 80%,
    #d0d0d0 90%,
    #ffffff 100%
  );
  box-shadow:
    0 6px 20px rgba(192, 192, 192, 0.8),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(180, 180, 180, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.3);
  border: none;
  color: #000000;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  line-height: 1.2;
  text-align: center;
  font-family: LT Wave Bold, sans-serif;
}

.dashboard-web-root .dw-web-banner .dw-plan-pill.dw-plan-pill--silver {
  background: linear-gradient(
    135deg,
    #f5f5f5 0%,
    #e0e0e0 10%,
    #c8c8c8 20%,
    #f0f0f0 30%,
    #d8d8d8 40%,
    #b8b8b8 50%,
    #e8e8e8 60%,
    #c0c0c0 70%,
    #f8f8f8 80%,
    #d0d0d0 90%,
    #ffffff 100%
  );
  box-shadow:
    0 6px 20px rgba(192, 192, 192, 0.8),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(180, 180, 180, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.3);
  border: none;
}

.dashboard-web-root .dw-web-banner .dw-membership-heading {
  font-size: var(--dw-banner-membership-title);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.dashboard-web-root .dw-web-banner .dw-membership-rule {
  display: block;
  width: 4rem;
  height: 4px;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dw-gold-deep) 0%, var(--dw-gold-light) 50%, var(--dw-gold-deep) 100%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.dashboard-web-root .dw-web-banner .dw-membership-rule.dw-membership-rule--silver {
  background: linear-gradient(90deg, #b8b8b8 0%, #e8e8e8 50%, #b8b8b8 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.dashboard-web-root .dw-web-banner .dw-contact-list {
  max-width: 100%;
}

.dashboard-web-root .dw-web-banner .dw-contact-narrow {
  max-width: 22rem;
}

.dashboard-web-root .dw-web-banner .dw-contact-list > li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--dw-banner-contact);
  color: var(--dw-white);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.dashboard-web-root .dw-web-banner .dw-contact-list > li:last-child {
  margin-bottom: 0;
}

.dashboard-web-root .dw-web-banner .dw-contact-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px;
  box-sizing: border-box;
  object-fit: contain;
  flex-shrink: 0;
}

.dashboard-web-root .dw-mp-card {
  background: var(--dw-white);
  border-radius: 15px;
  border: 1px solid #b8deff;
  border-top: 8px solid #ffd54f;
  padding: 0;
  box-shadow: 0 4px 16px rgba(26, 67, 157, 0.08);
  overflow: hidden;
}

.dashboard-web-root .dw-mp-card.dw-mp-card-silver {
  border: 1px solid var(--dw-card-border);
  border-top: 1px solid #d8d8d8;
  background:
    linear-gradient(
      90deg,
      #aeb4bc 0%,
      #d8dce0 12%,
      #9aa1a9 26%,
      #eceef0 40%,
      #8e959e 52%,
      #e2e5e8 66%,
      #b4bac1 80%,
      #f4f5f6 92%,
      #a8afb7 100%
    ) 0 0 / 100% 8px no-repeat,
    var(--dw-white);
}
.dashboard-web-root .dw-mp-card.dw-mp-card-silver  .dw-mp-card-head{
  padding: 1rem 0.50rem 0.25rem!important;
}
.dashboard-web-root .dw-mp-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.35rem;
  padding: 0.35rem 0.50rem 0.25rem;
}

.dashboard-web-root .dw-mp-head-left {
  justify-self: start;
}

.dashboard-web-root .dw-mp-head-center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
  padding-top: 0.15rem;
}

.dashboard-web-root .dw-mp-head-right {
  justify-self: end;
  min-width: 3rem;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.dashboard-web-root .dw-mp-card-body {
  padding: 0.15rem 1.1rem 0.50rem;
  flex: 1 1 auto;
}

.dashboard-web-root .dw-mp-card-footer {
  border-top: 1px solid #e2e8f0;
  padding: 1rem 1.1rem 1.1rem;
  margin-top: auto;
  background: var(--dw-white);
}

.dashboard-web-root .dw-mp-card--pending {
  position: relative;
}

.dashboard-web-root .dw-mp-status-pending {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffbb27 0%, #ffd342 100%);
  border: 1px solid #b8deff;
  box-sizing: border-box;
  font-size: 0.65rem;
  font-weight: 500;
  color: #000000;
  text-align: center;
  line-height: 1.1;
  padding: 0.2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dashboard-web-root .dw-mp-device-icon {
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
  width: 50px;
  height: 50px;
  padding: 7px;
  object-fit: contain;
  border-radius: 50%;
  border: 0.5px solid #b8deff;
  background: #ffffff;
}

.dashboard-web-root .dw-mp-phone-wrap {
  display: inline-block;
}

.dashboard-web-root .dw-mp-active {
  display: inline-flex;
  align-items: center;
  gap: 0.10rem;
  font-size: var(--dw-small);
  font-weight: 500;
  white-space: nowrap;
  margin-top:-1.5rem;
}

.dashboard-web-root .dw-mp-active-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.dashboard-web-root .dw-mp-active-label {
  color: #2e7d32;
  font-size: 0.9rem;
}

.dashboard-web-root .dw-mp-active--inactive .dw-mp-active-label {
  color: #c62828;
}

.dashboard-web-root .dw-mp-active-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.dashboard-web-root .dw-mp-active-off .dw-mp-active-dot {
  background: #94a3b8;
}

.dashboard-web-root .dw-mp-active-placeholder {
  min-width: 1px;
  min-height: 1px;
}

.dashboard-web-root .dw-mp-photo-wrap {
  margin: 0.35rem 0 0.65rem;
}

.dashboard-web-root .dw-mp-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.dashboard-web-root .dw-mp-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a439d;
  margin-bottom: 0;
  margin-top:-2.2rem;
  line-height: 1.3;
  min-height: 20px;
}

.dashboard-web-root .dw-mp-role {
  background: var(--dw-role-bg);
  color: #000;
  font-weight: 800;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.42rem 0.65rem;
  margin: 0.5rem 0 0.45rem;
  border-radius: 6px;
  font-family: "LT Wave Alt", "LT Wave Regular", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dashboard-web-root .dw-mp-login {
  color: #111;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.dashboard-web-root .dw-mp-pin-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content:center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  background: #f0f7ff;
  text-align: left;
  font-size: 1rem;
  padding: 0.5rem 0.65rem;
  border-radius: 5px;
}

.dashboard-web-root .dw-mp-pin-label {
  display: inline-block;
  vertical-align: middle;
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.25;
  white-space: nowrap;
  font-family: "LT Wave Alt", "LT Wave Regular", sans-serif;
}

.dashboard-web-root .dw-mp-pin-box {
  display: inline-block;
  vertical-align: middle;
  min-width: 5.5rem;
  padding: 0.30rem 0.5rem 0.2rem 0.5rem;
  background: var(--dw-white);
  border: 1px solid #1a439d;
  border-radius: 5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #1a439d;
  box-sizing: border-box;
  text-align: center;
  flex-shrink: 0;
  font-family: "LT Wave Alt", "LT Wave Regular", sans-serif;
}

.dashboard-web-root .dw-mp-btn-primary {
  background: var(--dw-banner-blue-2);
  color: var(--dw-white);
  font-weight: 500;
  font-size: 13px;
  border: none;
  border-radius: 4px;
  padding: 6px 16px !important;
  cursor: default;
  user-select: none;
}

.dashboard-web-root button.dw-mp-btn-primary {
  cursor: pointer;
}

.dashboard-web-root button.dw-mp-btn-primary:hover,
.dashboard-web-root button.dw-mp-btn-primary:focus,
.dashboard-web-root button.dw-mp-btn-primary:active {
  background: var(--dw-banner-blue-2);
  color: var(--dw-white);
  box-shadow: none;
}

.dashboard-web-root .dw-gap-section {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .dashboard-web-root .dw-web-banner .dw-web-banner-title {
    font-size: 1.65rem;
  }

  .dashboard-web-root .dw-web-banner .dw-membership-heading {
    font-size: 1.35rem;
  }
}

/* Invite modal — dashboard-web (Bootstrap modal) */
.dw-invite-modal .modal-dialog {
  max-width: 420px;
}

.dw-invite-modal__content {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
}

.dw-invite-modal__header {
  background: #1d4ed8;
  padding: 0.85rem 1.1rem;
}

.dw-invite-modal__header .modal-title {
  font-size: 1.1rem;
}

.dw-invite-modal__body {
  padding: 1.15rem 1.5rem 1.5rem;
  background: #ffffff;
}

.dw-invite-modal__label {
  font-weight: 700;
  color: #000000;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.dw-invite-modal__input {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
}

.dw-invite-modal__input:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 0.15rem rgba(29, 78, 216, 0.2);
}

.dw-invite-modal__footer {
  background: #ffffff;
  padding-top: 0.25rem;
}

.dw-invite-modal__footer .dw-mp-btn-primary {
  min-width: 8rem;
}

/* =============================================================================
   Member dashboard mobile (member_mobile/dashboard/dashboard_mobile.php)
   Same tokens as dashboard-web; pair with .dashboard-mobile-root for mobile layout.
   ============================================================================= */

.dashboard-web-root.dashboard-mobile-root .dw-store-row img.member {
  width: 150px;
  max-width: 46%;
  height: auto;
}

.dashboard-web-root.dashboard-mobile-root .dwm-member-card img.dw-mp-photo,
.dashboard-web-root.dashboard-mobile-root .dwm-member-card img.dwm-mobile-photo {
  width:70px !important;
  height: 70px !important;
  max-width: 70px;
  min-width: 70px;
  object-fit: cover;
  flex-shrink: 0;
}

.dashboard-web-root.dashboard-mobile-root .dwm-member-card .dw-mp-role.dwm-mobile-role {
  margin: 0rem 0 0.3rem !important;
  padding: 0.3rem 0.8rem !important;
  display: inline-block !important;
  text-align:center !important;
  background: #b8deff !important;
  background-color: #b8deff !important;
  border: none !important;
  border-radius: 4px !important;
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 0.80rem !important;
  letter-spacing: 0.06em !important;
  font-family: "LT Wave Alt", "LT Wave Regular", sans-serif !important;
  text-transform: uppercase;
  line-height: 1.25;
  width: 100%;
}

.dashboard-web-root.dashboard-mobile-root .dwm-member-card__info {
  padding-top: 0 !important;
  margin-top: -0.5rem;
}
.dashboard-web-root.dashboard-mobile-root .dwm-member-card__info .dw-mp-active {
  margin-top: 0 !important;
  margin-bottom: 0.2rem !important;
}
.dashboard-web-root.dashboard-mobile-root .dwm-member-card__info .dw-mp-name {
  margin-top: 0 !important;
}

.dashboard-web-root.dashboard-mobile-root .dwm-mobile-banner-inner {
  z-index: 1;
  padding: 0.35rem 0.5rem 0.85rem;
}

.dashboard-web-root.dashboard-mobile-root .dwm-mobile-banner .dw-web-banner-title {
  font-size: clamp(1.35rem, 4.5vw, 1.65rem);
}

.dashboard-web-root.dashboard-mobile-root .dwm-mobile-membership {
  font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  font-weight: 700;
}

.dashboard-web-root.dashboard-mobile-root .dwm-mobile-plan-pill.dw-plan-pill {
  width: auto;
  min-width: 6.75rem;
  max-width: 42%;
  padding: 0.32rem 0.65rem;
  font-size: 0.78rem;
}

.dashboard-web-root.dashboard-mobile-root .dwm-mobile-banner-divider {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--dw-gold-deep) 0%,
    var(--dw-gold-light) 50%,
    var(--dw-gold-deep) 100%
  );
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.dashboard-web-root.dashboard-mobile-root .dwm-mobile-card-stack {
  --dwm-aside-width: 80px;
}

.dashboard-web-root.dashboard-mobile-root .dwm-member-card {
  position: relative;
  background: var(--dw-white);
  border-radius: var(--dw-radius-card);
  border: 1px solid #d8d8d8;
  border-top: 6px solid var(--dw-gold-deep);
  padding: 0.7rem 0.55rem 0.7rem 0.7rem;
  box-shadow: 0 6px 18px rgba(26, 71, 161, 0.06);
}

.dashboard-web-root.dashboard-mobile-root .dwm-member-card--silver {
  border-top: 1px solid #d8d8d8;
  background:
    linear-gradient(
      90deg,
      #aeb4bc 0%,
      #d8dce0 12%,
      #9aa1a9 26%,
      #eceef0 40%,
      #8e959e 52%,
      #e2e5e8 66%,
      #b4bac1 80%,
      #f4f5f6 92%,
      #a8afb7 100%
    ) 0 0 / 100% 6px no-repeat,
    var(--dw-white);
}

.dashboard-web-root.dashboard-mobile-root .dwm-member-card__aside {
  min-width: var(--dwm-aside-width);
  padding-left: 0.55rem;
  margin-left: 0.15rem;
  border-left: 1px solid #e0e0e0;
  align-self: stretch;
  align-items: center;
}
.dashboard-web-root.dashboard-mobile-root .dwm-member-card__aside:not(:has(.dwm-aside-status)) {
  justify-content: center;
}
.dashboard-web-root.dashboard-mobile-root .dwm-aside-status.dw-mp-status-pending {
  align-self: center;
  flex-shrink: 0;
  margin-bottom: 0;
}
.dashboard-web-root.dashboard-mobile-root .dwm-aside-actions {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-web-root.dashboard-mobile-root .dwm-aside-btn.dw-mp-btn-primary {
  display: block;
  width: 100%;
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.dashboard-web-root.dashboard-mobile-root .dwm-mobile-photo.dw-mp-photo {
  margin-left: 0;
  margin-right: 0;
  border-width: 2px;
}

.dashboard-web-root.dashboard-mobile-root .dwm-mobile-pin.dw-mp-pin-block {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  background: #EEF7FF !important;
  background-color: #EEF7FF !important;
}

@media only screen and (max-width: 767px){
  .dashboard-web-root.dashboard-mobile-root {
    max-width: 26.5rem;
    margin-left: auto;
    margin-right: auto;
  }
  .dashboard-web-root .dw-mp-pin-box{
    font-size: 0.9rem!important;
    min-width: auto!important;
  }
  .dw-mp-pin-block.dwm-mobile-pin.w-100{
    width:100%!important;
    padding: 8px;
    margin-bottom: 5px!important;
  }
  .dashboard-web-root .dw-mp-pin-label{
    font-size: 0.9rem!important;
  }
  .dashboard-web-root .dw-mp-device-icon {
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    width: 2.2rem;
    height: 2.2rem;
    padding: 5px;
    object-fit: contain;
    border-radius: 50%;
    border: 0.5px solid #b8deff;
    background: #ffffff;
  }
  .dashboard-web-root .dw-mp-status-pending{
    width: 2.2rem;
    height: 2.2rem;
    font-size: 0.50rem;
  }
  .dashboard-web-root.dashboard-mobile-root .dwm-member-card .dw-mp-role.dwm-mobile-role{
    font-size: 0.9rem !important;
  }
  .totalmembbox{
    min-height: 80px!important;
    margin-top: 55px!important;
  }
}

button.btn.custom_mp_btn.me-2 {
  width: fit-content!important;
}
td.small a{
  color:#1843A6!important;
}
.ticket-list-link{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: #1843A6!important;
  font-weight: 600;
}
.ticket-list-link::before{
  content: "";
  display: inline-block;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.71 6.71a1 1 0 0 0-1.42 0L8.71 11.3a1 1 0 0 0 0 1.4l4.58 4.59a1 1 0 0 0 1.42-1.42L10.83 12l3.88-3.89a1 1 0 0 0 0-1.4z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.71 6.71a1 1 0 0 0-1.42 0L8.71 11.3a1 1 0 0 0 0 1.4l4.58 4.59a1 1 0 0 0 1.42-1.42L10.83 12l3.88-3.89a1 1 0 0 0 0-1.4z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-link:focus, .nav-link:hover{
  color:#1843A6;
}

/* Unpaid invoice checkout (member portal) */
.unpaid-checkout-page {
  /*padding: 0.5rem 0 1.5rem;*/
}

.unpaid-checkout-summary,
.unpaid-checkout-payment-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(24, 67, 166, 0.06);
}

.unpaid-checkout-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #dbeeff;
  border-radius: 10px 10px 0 0;
}

.unpaid-checkout-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1843a6;
}

.unpaid-checkout-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1843a6;
  background: #fff;
  border: 1px solid #b8d4f5;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  white-space: nowrap;
}

.unpaid-checkout-table thead tr {
  background-color: #dbeeff;
}

.unpaid-checkout-table thead th {
  font-weight: 700;
  color: #0d3d6a;
  border-color: #cfe3f7;
}

.unpaid-checkout-table tbody td {
  vertical-align: middle;
}

.unpaid-checkout-status {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b45309;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

.unpaid-checkout-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #f8fcff;
  border-top: 1px solid #e2e8f0;
  border-radius: 0 0 10px 10px;
}

.unpaid-checkout-total-label {
  font-weight: 600;
  color: #334155;
}

.unpaid-checkout-total-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1843a6;
}

.unpaid-checkout-totals-grid {
  margin-bottom: 0.25rem;
}

.unpaid-checkout-total-field {
  background: #f4f9ff;
  border: 1px solid #d6e6f5;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.unpaid-checkout-total-field.is-paying {
  background: #eef8f0;
  border-color: #c8e6d0;
}

.unpaid-checkout-total-field.is-due {
  background: #fff8ee;
  border-color: #f0dfc0;
}

.unpaid-checkout-total-field-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #5a6f85;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.unpaid-checkout-total-field-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #184a8c;
}

.unpaid-checkout-total-field.is-paying .unpaid-checkout-total-field-value {
  color: #1d6b3a;
}

.unpaid-checkout-total-field.is-due .unpaid-checkout-total-field-value {
  color: #9a6700;
}

.unpaid-checkout-table tfoot .unpaid-checkout-table-totals td {
  background: #f0f6fc;
  font-weight: 600;
  color: #184a8c;
}

.unpaid-checkout-amount-entry {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e8eef4;
}

.unpaid-checkout-amount-entry .form-label {
  font-weight: 600;
  color: #184a8c;
}

.unpaid-order-paying.text-warning {
  color: #b45309 !important;
  font-weight: 600;
}

.unpaid-checkout-total-value small {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}

.unpaid-checkout-payment-panel {
  padding: 1.25rem;
}

.unpaid-checkout-payment-heading {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1843a6;
}

.unpaid-checkout-accordion {
  border: 1px solid #dbeafe;
  border-radius: 8px;
  overflow: hidden;
}

.unpaid-checkout-accordion .accordion-item {
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  border-bottom: 1px solid #dbeafe;
}

.unpaid-checkout-accordion .accordion-item:last-child {
  border-bottom: none;
}

.unpaid-checkout-accordion .accordion-button {
  background: #dbeeff;
  color: #1843a6;
  font-weight: 600;
  box-shadow: none;
  padding: 0.85rem 1rem;
}

.unpaid-checkout-accordion .accordion-button:not(.collapsed) {
  background: #dbeeff;
  color: #1843a6;
}

.unpaid-checkout-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.unpaid-checkout-accordion .accordion-button::after {
  margin-left: auto;
}

.unpaid-checkout-method-radio {
  pointer-events: none;
}

.unpaid-checkout-card-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e8eef5;
  transition: background-color 0.2s ease;
}

.unpaid-checkout-card-option:hover {
  background: #f8fafc;
}

.unpaid-checkout-card-option:last-of-type {
  border-bottom: none;
}

.unpaid-checkout-card-mask {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.unpaid-checkout-card-default {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1843a6;
  background: #e8f1ff;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.unpaid-checkout-card-form {
  padding: 1rem;
  background: #f8fcff;
  border-radius: 0 0 8px 8px;
}

.unpaid-checkout-stripe-element {
  min-height: 42px;
  padding: 12px;
}

.unpaid-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid #e8eef5;
}

.unpaid-checkout-actions .btn-outline-secondary {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #334155;
}

@media (max-width: 991px) {
  .unpaid-checkout-payment-panel {
    margin-top: 0.25rem;
  }
}


