.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  /* reduced from 60px */
  height: 22px;
  /* reduced from 34px */
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 22px;
  /* optional, for consistency */
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  /* reduced from 26px */
  width: 16px;
  /* reduced from 26px */
  left: 3px;
  /* adjusted to match new size */
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  transform: translateX(18px);
  /* was 26px; adjusted to match new width */
}

.slider.round {
  border-radius: 22px;
}

.deleted-row {
  background-color: rgb(244 106 106 / 28%) !important;
}


.bg-theme-orange {
  background-color: #ff5e1a !important;
}

.text-theme-orange {
  color: #ff5e1a !important;
}

.text-white {
  color: #fff !important;
}

.btn-theme-orange {
  color: #fff;
  background-color: #ff5e1a !important;
}

.btn-theme-orange:hover {
  color: #fff;
  background-color: #e24a0b !important;
}

.mm-active,
.mm-active>a,
.mm-active>a i,
.mm-active>i,
.mm-active .active {
  color: #e24a0b !important;
}

.sidebar-menu>.waves-effect:hover {
  background-color: #e24a0b !important;
}

.page-item.active .page-link {
  background-color: #e24a0b !important;
  border-color: #e24a0b !important;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>a,
.vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>a i {
  color: #e24a0b !important;
}

.section-card .card-header {
  background-color: #e9ecef;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
}


.section-card {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.section-card .card-header {
  background-color: #f8f9fa;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid #dee2e6;
  /* This is the "section cut" */
}

.section-card .card-body {
  padding: 1.5rem;
}

.contact-row {
  position: relative;
  padding: 2rem;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  margin-bottom: 1rem;
  /* margin-bottom: 40px; */
  background-color: #fdfdfd;
}

.remove-contact {
  position: absolute;
  top: 0px;
  right: 0px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}

.remove-contact:hover {
  background-color: #c82333;
}

.multi-section-card .card-body {
  background-color: #f8f9fa !important;
}

.dataTables_paginate {
  float: right !important;
}

.required-feild {
  color: red;
}


/* Horizontal scrollable tabs container */
.nav-tabs-scrollable {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  /* For Firefox */
  scrollbar-color: #adb5bd #f8f9fa;
  /* For Firefox */
  padding-bottom: 6px;
  /* Space for scrollbar */
}

/* Custom scrollbar for WebKit browsers */
.nav-tabs-scrollable::-webkit-scrollbar {
  height: 6px;
}

.nav-tabs-scrollable::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 3px;
}

.nav-tabs-scrollable::-webkit-scrollbar-thumb {
  background-color: #adb5bd;
  border-radius: 3px;
}

/* Tab items styling */
.nav-tabs-scrollable .nav-item {
  flex: 0 0 auto;
  white-space: nowrap;
  margin-right: 4px;
  /* Spacing between tabs */
}

/* Optional: Add some shadow when scrolling */
.nav-tabs-scrollable {
  mask-image: linear-gradient(to right,
      transparent,
      black 16px,
      black calc(100% - 16px),
      transparent);
}

.btn-toggle {
  position: relative;
  margin: 0 4rem;
  padding: 0;
  width: 3rem;
  height: 1.5rem;
  border: none;
  border-radius: 1.5rem;
  background: #cccfd5;
  cursor: pointer;
  transition: background-color 0.25s ease-in-out;
}

.btn-toggle:before,
.btn-toggle:after {
  content: '';
  position: absolute;
  top: 0;
  width: 4rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  font-weight: bold;
  font-size: 0.75rem;
  color: #6b7381;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: opacity 0.25s ease-in-out;
}

/* .btn-toggle:before {
      content: 'Off';
      left: -4rem;
      opacity: 1;
    }

    .btn-toggle:after {
      content: 'On';
      right: -4rem;
      opacity: 0.5;
    } */

.btn-toggle .handle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.25s ease-in-out;
}

.btn-toggle.active {
  background-color: #29b5a8;
}

.btn-toggle.active .handle {
  left: 26px;
}

.btn-toggle.active:before {
  opacity: 0.5;
}

.btn-toggle.active:after {
  opacity: 1;
}

.dropzone {
  border: 2px dashed #0087F7;
  border-radius: 5px;
  background: #f8f9fa;
  min-height: 150px;
  padding: 20px;
  margin-bottom: 20px;
}

.dz-message {
  text-align: center;
  font-size: 16px;
  color: #666;
}

.file-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.file-info {
  display: flex;
  flex-direction: column;
}

.file-info span {
  font-size: 12px;
  color: #777;
}

.text-right {
  text-align: right !important;
}

.custom-invalid-feedback {
    /* display: none; */
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #f46a6a;
}
.cursor-pointer
{
  cursor: pointer !important;
}

.preview,
.preview * {
    color: #909090 !important;
}
.preview-image{
  opacity: 0.5 !important;
}

.datepicker
{
  border: 1px solid #ced4da !important;
}