.toggle-switch {
  position: relative;
  display: block;
  width: 110px;
  height: 30px;
}


.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  display: none;
}
.toggle-switch .slider{
position: relative;
width: 100%;
height: 100%; 
display: flex;
justify-content: center;
align-items: center;
padding: 2px;
border-radius: 30px;
color: white;    
font-size: 14px;
transition: 0.4s;
cursor: pointer;
}
/* Active toggle button */
.toggle-switch.active .slider {
  background-color: #28a745; /* Green for active */
}

.toggle-switch.inactive .slider {
  background-color: #dc3545; /* Red for inactive */
}

.toggle-switch .slider:before{
opacity: .8;
}

.toggle-switch.active .slider:before {
      position: absolute;
      content: "";
      height: 20px;
      width: 20px;
      right: 5px;        
      bottom: 5px;
      background-color: white;
      transition: 0.4s;
      border-radius: 50%;
    }

.featuredstyle {
    width: 155px;
}

/* Inactive toggle button */


.toggle-switch.inactive .slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 5px;
  bottom: 5px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

#pagesubmitloader {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgb(255 255 255 / 70%);
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  display: none;
}
.table td, .table th {
    padding: 10px 16px;
    vertical-align: middle;
    white-space: nowrap;
}
.dataTables_filter .form-control.form-control-sm {
    padding: .375rem .75rem;
    font-size: .875rem;
    width: 280px;
    padding-right: 30px;
}
.dashboardCard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, .03);
    padding: 20px;
    margin-bottom: 30px;
    height: calc(100% - 30px);
}
.dashboardCard i{
  display: block;
  font-size: 30px;
  line-height: 30px;
  margin-bottom: 5px;
}
.dashboardCardInfo {
  padding-right: 20px;
  flex: 1;
}
.dashboardCardInfo p
 {
    font-size: 18px;
    margin: 0;
}
.dashboardNumber{
    display: block;
    font-size: 40px;
    flex: 0 0 auto;
}

.swal2-toast .swal2-title {
    font-weight: 450 !important; /* 400 is normal */
    font-size: 15px; /* Optional: reduce font size too */
}

.dropify-wrapper .dropify-filename {
  display: none !important;
}


.swal2-toast {
    pointer-events: auto !important;
}

.close-icon {
  background: url("../../assets/images/close-search.png") no-repeat center right 0;
  width: 12px;
  height: 12px;
  position: absolute;
  top:11px;
  right: 10px;
}

.topbar .top-navbar .navbar-header .navbar-brand .logo-icon {
    display: block;
    height: 85px;
}

.topbar .top-navbar .navbar-header .navbar-brand .logo-icon img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.not-table-responsive{
  overflow-x: inherit;
}
#dataaTable_wrapper .row:nth-child(2) {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.iframe-video-card iframe{width:800px; height:500px;display: block;outline: none;}
.select2-container--default .select2-selection--multiple{height: auto;}

.wrap-text {
    white-space: normal !important;
    word-break: break-word;
}


.ccv-button div.dataTables_length{position: relative;
    display: inline-block;
    width: 40%;}
.ccv-button div.dataTables_filter{position: relative;
    display: inline-block;
    width: 60%;}
   .ccv-button .dt-buttons{position: absolute;
    right: 20px;
    top: 10px;}

/* minor zoom effect */
.hover-scale:hover {
    transform: scale(1.03);
}


.profile-img-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: contain;   /* shows whole image */
    object-position: center;
    background-color: #f0f0f0; /* optional, fills empty space */
}

.header-profile-img{
      object-fit: contain;
    object-position: center;
    background-color: #f0f0f0;
    width: 65px;
    height: 65px;
}

.text-wrap {
    white-space: normal !important;
    word-break: break-word;
}
