.input-rounded{
    border-radius: 0.5rem !important    ;
}

.form-banner{
    min-height: 100vh;
    background: url('/assets/img/loginbanner.jpg') center center / cover no-repeat;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .custom-width {
        width: 100% !important;
    }
}

@media (max-width: 426px) {
    .custom-margin {
       margin-top: 3rem !important;
    }
}

/* image upload */
.avatar-upload {
    position: relative;
    max-width: 205px;
    margin: 10px auto;
}
.avatar-upload .avatar-edit {
    position: absolute;
    right: 12px;
    z-index: 1;
    top: 10px;
}
.avatar-upload .avatar-edit input {
    display: none;
}
.avatar-upload .avatar-edit input + label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 100%;
    background: #FFFFFF;
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}
.avatar-upload .avatar-edit input + label:hover {
    background: #f1f1f1;
    border-color: #d6d6d6;
}
.avatar-upload .avatar-edit input + label:after {
    content: "+";
    color: #757575;
    position: absolute;
    top: 3px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
    font-size: 21px;
    font-weight: 900;
}
.avatar-upload .avatar-preview {
    width: 192px;
    height: 192px;
    position: relative;
    border-radius: 100%;
    border: 6px solid #F8F8F8;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}
.avatar-upload .avatar-preview > div {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.avatar-box .avatar-preview > div{
    border-radius: 10%;
    width: 100%;
}
.avatar-box .avatar-preview{
    border-radius: 10%;
}
.avatar-box-left{
    margin: 0px;
}

.pac-target-input:not(:-webkit-autofill) {
    animation-name: none;
}
.upload-images {
    position: relative;
    width: 150px;
}
.upload-images img {
	border-radius: 4px;
	height: 100px;
	width: 150px;
}
.upload-wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.upload-wrap .upload-images + .upload-images {
	margin-left: 20px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057;
    background-color: #d4ebffcc;
    border-color: #1472c4cc #1472c4cc #fff;
}

.sidebar-img
{
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 0px !important;
}

/* subscription */

.pricing-table{
    display: flex;
    flex-wrap: wrap;
    width: min(1600px, 100%);
    margin: auto;
  }

  .pricing-card {
      flex: 1;
      text-align: center;
      cursor: pointer;
      overflow: hidden;
      color: #2d2d2d;
      transition: .3s linear;
      background: aliceblue;
      border-radius: 28px;
      height: 100%;
  }

  .pricing-card-header{
    background-color: #2a8531;
    display: inline-block;
    color: #fff;
    padding: 12px 30px;
    border-radius: 0 0 20px 20px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    transition: .4s linear;
  }

  .price{
    font-size: 30px;
    color: #2a8531;
    margin: 20px 0;
    transition: .2s linear;
  }

  .price sup, .price span{
    font-size: 22px;
    font-weight: 700;
  }

  .pricing-card li{
    font-size: 16px;
    padding: 10px 0;
    text-transform: uppercase;
  }

  .order-btn{
    display: inline-block;
    margin-bottom: 40px;
    margin-top: 80px;
    border: 2px solid #2a8531;
    color: #2a8531;
    padding: 18px 40px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: 500;
    transition: .3s linear;
  }

  .order-btn:hover{
    background-color: #2a8531;
    color: #fff;
  }

  @media screen and (max-width:1100px){
    .pricing-card{
      flex: 50%;
    }
  }

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.custom_error{
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

.mapClass{
    height:400px;
    border-radius:12px;
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all .15s ease;
}

.opacity-7 {
    opacity: .7 !important;
}
.bg-gradient-dark {
    background: linear-gradient( 87deg, #363636 0, #222b34 100%) !important;
}

.hide
{
    display: none;
}

.ui-timepicker-container
{
    z-index:1111 !important;
}

.text_transform_none {
    text-transform: none !important;
}

.note-editable {
    text-transform: none !important;
}

.scrollable-form {
  max-height: 90vh !important;       /* lock it to viewport height */
  overflow-y: auto !important;        /* enable scrolling inside */
  scrollbar-width: none;   /* Firefox: hide scrollbar */
}

:root {
  --sidebar-width: 280px;
  --sidebar-bg: #06274b;        /* deep navy */
  --sidebar-surface: #0f172a;   /* surface panel */
  --sidebar-border: #172036;    /* subtle border */
  --sidebar-text: #cbd5e1;      /* slate-300 */
  --sidebar-muted: #94a3b8;     /* slate-400 */
  --sidebar-accent: #2a8531;    /* sky-500 */
  --sidebar-hover: #121b2f;     /* hover surface */
  --sidebar-active: #0b2433;    /* active surface */
  --sidebar-radius: 12px;
}

/* Container */
.main-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  /*background: var(--sidebar-bg);*/
  /*border-right: 1px solid var(--sidebar-border);*/
  color: var(--sidebar-text);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02) inset, 0 8px 30px rgba(2,6,23,0.35);
  z-index: 1000;
}

#sidebar-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Brand area */
.sidebar-brand,
.sidebar-brand.sidebar-brand-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  /*background: var(--sidebar-surface);*/
  border-bottom: 1px solid var(--sidebar-border);
}


.sidebar-brand a,
.sidebar-brand a img {
  display: inline-flex;
  align-items: center;
}

.sidebar-brand img {
  max-width: 180px;      /* overrides width attributes safely */
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.04));
}

.sidebar-brand.sidebar-brand-sm {
  padding: 12px 10px;
}

.sidebar-brand.sidebar-brand-sm img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

/* Menu list */
.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 14px 12px 20px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--sidebar-border) transparent;
}

.sidebar-menu::-webkit-scrollbar {
  width: 10px;
}
.sidebar-menu::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-menu::-webkit-scrollbar-thumb {
  background-color: var(--sidebar-border);
  border-radius: 999px;
  border: 2px solid transparent;
}

/* Items */
.sidebar-menu > li {
  margin: 4px 0;
}

.sidebar-menu > li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--sidebar-radius);
  color: var(--sidebar-text);
  text-decoration: none;
  line-height: 1.4;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  outline: none;
}

.sidebar-menu > li > a i {
  width: 22px;
  min-width: 22px;
  text-align: center;
  color: var(--sidebar-muted);
  transition: color 160ms ease, transform 160ms ease;
}

.sidebar-menu > li > a span {
  flex: 1;
  font-weight: 500;
}

/* Hover/Focus */
.sidebar-menu > li > a:hover,
.sidebar-menu > li > a:focus-visible {
  background: var(--sidebar-hover);
  color: var(--sidebar-accent);
  box-shadow: 0 0 0 1px rgba(14,165,233,0.12) inset, 0 4px 14px rgba(2,6,23,0.28);
}

.sidebar-menu > li > a:hover i,
.sidebar-menu > li > a:focus-visible i {
  color: var(--sidebar-accent);
  transform: translateX(1px);
}

/* Active state driven by your existing $activePage logic */
.sidebar-menu > li.active > a {
  background: var(--sidebar-active);
  color: #e8f7ff;
  box-shadow: 0 0 0 1px rgba(14,165,233,0.18) inset, 0 6px 18px rgba(14,165,233,0.12);
  position: relative;
}

.sidebar-menu > li.active > a i {
  color: var(--sidebar-accent);
}

/* Accent bar on active */
.sidebar-menu > li.active > a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 3px;
  border-radius: 3px;
/*background: #34395e;*/
/*    box-shadow: 0 0 0 2px #007bff;*/
}

/* Dropdowns (use your existing .has-dropdown + .dropdown-menu structure) */
.sidebar-menu .nav-link.has-dropdown {
  position: relative;
  padding-right: 34px; /* space for chevron */
}

.sidebar-menu .nav-link.has-dropdown::after {
  content: "›";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  color: var(--sidebar-muted);
  transition: transform 160ms ease, color 160ms ease;
  font-weight: 700;
}

.sidebar-menu li.active > .nav-link.has-dropdown::after {
  transform: translateY(-50%) rotate(270deg);
  color: var(--sidebar-accent);
}

.sidebar-menu .dropdown-menu {
  list-style: none;
  margin: 6px 0 10px 0;
  padding: 6px 6px 6px 10px;
  border-left: 1px dashed var(--sidebar-border);
}

.sidebar-menu .dropdown-menu > li > a.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 14px;
  margin: 2px 0;
  border-radius: calc(var(--sidebar-radius) - 6px);
  color: var(--sidebar-muted);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.sidebar-menu .dropdown-menu > li > a.nav-link:hover,
.sidebar-menu .dropdown-menu > li.active > a.nav-link {
  background: var(--sidebar-hover);
  color: #e5edf6;
  transform: translateX(2px);
}

/* Section separators (optional visual rhythm using existing top-level structure) */
.sidebar-menu > li + li {
  position: relative;
}
.sidebar-menu > li + li::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: -3px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--sidebar-border), transparent);
}



/* Accessibility focus ring */
.sidebar-menu a:focus-visible {
  outline: 2px solid rgba(14,165,233,0.6);
  outline-offset: 2px;
  border-radius: var(--sidebar-radius);
}


/* 2. Default icon color blue */
.sidebar-menu > li > a i {
  color: #2a8531 !important;  /* blue */
}

/* 3. Active item: blue bg + white text */
.sidebar-menu > li.active > a {
  background: #2a8531 !important;
  color: #fff !important;
}

.sidebar-menu > li.active > a i {
  color: #fff !important; /* icons white inside active */
}


/* If you want it scrollable but scrollbar hidden (still usable by mousewheel/touch) */
.sidebar-menu {
  overflow-y: scroll;
  scrollbar-width: none;       /* Firefox */
}
.sidebar-menu::-webkit-scrollbar {
  display: none;               /* Chrome, Safari */
}

.sidebar-brand.sidebar-brand-sm{
    background-color: white;
}

.scrollable-form::-webkit-scrollbar {
  display: none;           /* Chrome, Safari: hide scrollbar */
}

.main-sidebar .sidebar-menu li.active ul.dropdown-menu {
    background-color: rgba(0, 0, 0, 0.03) !important;
}

.main-sidebar .sidebar-menu li.active ul.dropdown-menu a {
     background-color: rgba(0, 0, 0, 0.03) !important;
}

.togglePassword {
    cursor: pointer;
    position: absolute;
    right: 3px;
    bottom: 4px;
    border: none;
    height: fit-content;
    width: fit-content;    
}

.ph-togglePassword{
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 32px;
    /* bottom: 37px; */
    border: none;
    height: fit-content;
    width: fit-content;
}

