:root {
  --primary-color: #21B573;
  --secondary-color: #fd9404;
  --primary-dark: var(--secondary-color);
  --secondary-soft-color: #fffaf6;
  --primary-soft-color: #F0FFE6;
  --dark-color: #000000;
  --primary-gradient: linear-gradient(135deg, #21b573, #28c77d);
}

body{
  font-family: "Epilogue", sans-serif;
}

label.error{
  color: #ff0000!important;
  font-size: 12px;
}

a{
  text-decoration: none;
  color: inherit!important;
}

.text-primary{
  color: var(--primary-color)!important;
}

.alert-dismissible .btn-close{
  top: -8px !important;
  font-weight: 600;
  font-size: 10px;
}
.navbar-toggler:focus {
  box-shadow: none!important;
}

.btn:focus{
  box-shadow: none!important;
  outline: none!important;
}

.btn-dark{
  border-color: var(--dark-color);
  background: var(--dark-color);
}
.btn-dark:hover{
  border-color: var(--primary-color);
  background: var(--primary-color);
}
.btn-primary{
  background: var(--primary-color);
  color: #fff!important;
  transition: 0.3s!important;
  border-color: var(--primary-color);
  padding-left: 20px!important;
  padding-right: 20px!important;
}

.btn-primary:hover{
  background: #149058;
  color: #fff;
  transition: 0.3s!important;
  border-color: #149058;
}

.btn-primary:focus, .btn-primary:active{
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  transition: 0.3s!important;
}

.btn-primary:disabled {
  color: #fff;
  background-color: #18ad6a;
  border-color: #18ad6a;
}

.btn-outline-primary{
  background: #fff;
  color: var(--primary-color)!important;
  transition: 0.3s!important;
  border-color: var(--primary-color);
}

.btn-outline-primary:hover{
  background: var(--primary-color);
  color: #fff!important;
  transition: 0.3s!important;
  border-color: var(--primary-color);
}

.btn-outline-primary:focus{
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff!important;
  transition: 0.3s!important;
}

.btn-theme-primary{
  background: linear-gradient(90deg, #64ECF5 0%, #1CEBBC 100%)!important;
  color: #fff!important;
  transition: 0.3s!important;
  padding: 7px 30px 7px 30px;
  font-size: 17px;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0px 10px 20px 0px rgba(64,236,217,0.5)!important;
}

.btn-theme-primary:hover{
  transition: 0.3s!important;
  box-shadow:none!important;
}

.form-control:focus{
  border-color: var(--primary-color);
  box-shadow: none!important;
}

/* sidebar css start  */
.sidebar {
  background: #ffffff;
  min-height: 100vh;
  padding: 30px 18px 30px 10px;
  border-radius: 15px;
  z-index: 999999!important;
}
.sidebar .menu-item {
  display: flex;
  align-items: center;
  padding: 9px 10px;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  margin-bottom: 5px;
}
.sidebar .menu-item.active {
  background: var(--primary-color);
  color: #ffffff!important;
}
.sidebar .menu-item:hover {
  background: var(--primary-color);
  color: #ffffff!important;
}
.sidebar .menu-item:hover svg {
  fill: #ffffff!important;
  stroke: #ffffff!important;
}
.sidebar .menu-divider {
  margin: 20px 0px 10px 0px;
  border-top: 1px solid #0000001A;
}
.menu-text{
  margin-top: 3px;
  font-size: 14px;
}
.sidemenu-text{
  font-weight: 400;
  font-size: 12px;
  color: #00000045;
  margin-left: 10px;
  margin-top: 30px;
}
/* sidebar css end  */


.crud-card{
  border-radius: 15px;
  background: #FFFFFF;
  border: none;
  padding: 20px;
}
.page-card-head{
  font-weight: 500;
  font-size: 16px;
}
.create-new-btn{
  font-size: 12px;
}
.form-label{
  font-weight: 500!important;
  font-size: 14px!important;
  color: #000000!important;
}
.image-help-text{
  font-weight: 500;
  font-size: 10px;
}
.image-help-text .help-label{
  color: #39393B80;
}
.upload-img-btn{
  font-weight: 500;
  font-size: 13.15px;
  padding: 7px 20px;
}
.form-check-input:checked[type=radio] {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10 L9 13 L15 7'/%3e%3c/svg%3e") !important;
  background-position: center;
  background-repeat: no-repeat;
}
.form-check-input:focus {
  box-shadow: none!important;
}

.status-active{
  background-color:#F0FFE6;
  color: var(--primary-color);
  padding: 5px 7px;
  font-size: 10px;
  font-weight: 500;
  border-radius: 5px;
}
.status-inactive{
  background-color:#fdeeee;
  color: #fe3232;
  padding: 5px 7px;
  font-size: 10px;
  font-weight: 500;
  border-radius: 5px;
}
.status-pending{
  background-color: #fcffd4;
  color: #c8bc23;
  padding: 5px 7px;
  font-size: 10px;
  font-weight: 500;
  border-radius: 5px;
}
.trash-icon{
  color: #ff4e4e!important;
}

.crud-datatable>:not(:last-child)>:last-child>*{
  border-bottom-color: #dee2e6!important;
}


/* Change active page button background */
.dataTables_wrapper .dataTables_paginate .pagination .page-item.active .page-link {
  background-color: var(--primary-color) !important; /* Uses Bootstrap primary color */
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

/* Change hover and focus effect */
.dataTables_wrapper .dataTables_paginate .pagination .page-item .page-link:hover,
.dataTables_wrapper .dataTables_paginate .pagination .page-item .page-link:focus {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

.dataTables_info, .dataTables_paginate.paging_simple_numbers{
  font-size: 12px !important;
}

table.table-bordered.dataTable td {
  font-size: 14px!important;
  padding: 10px 13px!important;
}

table.table-bordered.dataTable thead tr:first-child th, table.table-bordered.dataTable thead tr:first-child td {
  padding: 15px 13px!important;
  background-color: #F5F6FA!important;
  font-weight: 500!important;
  font-size: 15px!important;
}
/* Add border-radius to the whole table */
.dataTables_wrapper table.dataTable {
  border-radius: 10px !important; /* Adjust for smoother corners */
  overflow: hidden !important; /* Ensures rounded edges */
  border-collapse: separate !important; /* Allows border-radius to apply */
}

/* Apply border-radius to the header */
.dataTables_wrapper table.dataTable thead {
  background: #f8f9fa !important; /* Adjust if needed */
}

.dataTables_wrapper table.dataTable thead th:first-child {
  border-top-left-radius: 10px !important;
}

.dataTables_wrapper table.dataTable thead th:last-child {
  border-top-right-radius: 10px !important;
}

/* Apply border-radius to the last row in tbody */
.dataTables_wrapper table.dataTable tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px !important;
}

.dataTables_wrapper table.dataTable tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px !important;
}
.page-link:focus{
  box-shadow: none!important;
}

.alert {
  padding: 0.6rem 0.5rem!important;
  font-size: 12px!important;
}
.alert-success {
  color: var(--primary-color) !important;
  background-color: #F0FFE6!important;
  border-color: #F0FFE6!important;
}
.alert-danger {
  color: #fe3232 !important;
  background-color: #fdeeee!important;
  border-color: #fdeeee!important;
}
.page-form-btn{
  font-size: 14px;
}

.cart-item{
  position: relative;
}
.cart-count{
  position: absolute;
  top: 2px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--primary-color);
  text-align: center;
  right: 3px;
  line-height: 15px;
  border-radius: 50%;
  background: var(--primary-color);
  font-size: 11px;
  color: #fff;
}

/* checkout page */
.checkout-page{
  background: #F5F6FA;
}

.checkout-item-card {
  border-radius: 15px;
  box-shadow: 1px 1px 4px 0px #00000040;
  display: flex;
  height: 100%;
}

.checkout-item-image-card {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkout-item-card img {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  object-fit: cover;
  height: 100%; 
  width: 100%;
}
.checkout-item-image-card{
  position: relative;
}

.checkout-item-card .top-rated-badge{
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 4px;
  border-top-left-radius: 15px;
  padding: 4px 10px 4px 10px;
  font-weight: 400;
  font-size: 12px;
  vertical-align: middle;
  background-color: #FF971A;
  color: #ffffff;
}
.checkout-item-card .course-category{
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #ACACAC;
}
.checkout-item-card .course-title{
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 20px;
}
.checkout-item-card .course-desc{
  font-weight: 400;
  font-size: 8px;
  line-height: 21.22px;
}
.order-details h6{
  font-weight: 600;
  font-size: 14px;
}
.coupon-code-card{
  padding: 14px 19px;
  border-radius: 15px;
  border: none;
}
.coupon-code-card label{
  font-weight: 400;
  font-size: 11.74px;
}
.price-summary{
  padding: 30px 25px 30px 25px;
  border-radius: 15px;
  border: none;
}
.price-summary .label{
  font-weight: 500;
  font-size: 14px;
  color: #ACACAC;
}
.price-summary .label-r{
  font-weight: 600;
  font-size: 15.39px;
}
.total-label-r{
  font-weight: 700;
  font-size: 24.04px;
  color: #21B573;
}
.terms-and-services label{
  font-weight: 400;
  font-size: 12px;
}
.checkout-btn{
  font-weight: 500;
  font-size: 14px;
}
.payment-methods .list-group-item{
  border-radius: 15px;
  background: #FFFFFF;
  padding: 13px 15px 13px 30px;
  border: none;
}
.payment-methods .form-check-input {
  width: 1.3em!important;
  height: 1.3em!important;
}
.coupon-submit-btn{
  font-size: 13px;
}
/* checkout page end */

.nav-dropdown .dropdown-toggle::after{
  display: none!important;
}
.page-form-btn {
  min-width: 120px;
}
.badge-soft-success{
  background-color: #d6fdd1;
  color: #07c41d!important;
}
.badge-soft-primary{
  background-color: #c7ddf2;
  color: #036bd4!important;
}
.badge-soft-danger{
  background-color: #fdd1d1;
  color: #ff1111!important;
}
.font-10{
  font-size: 10px;
}
.font-12{
  font-size: 12px;
}
.font-14{
  font-size: 14px;
}
.font-16{
  font-size: 16px;
}
.font-18{
  font-size: 18px;
}
.font-22{
  font-size: 22px;
}
.fw-400{
  font-weight: 400;
}
.fw-500{
  font-weight: 500;
}
.fw-600{
  font-weight: 600;
}
.btn-soft-primary{
  border: 1px solid var(--primary-color);
  background-color: #fff;
  color: var(--primary-color);
}
.btn-soft-primary:hover{
  border: 1px solid var(--primary-color);
  background-color: var(--primary-color);
  color: #fff;
}
.link-primary{
  color: var(--primary-color)!important;
  text-decoration: none;
}
.ck.ck-powered-by{
  display: none!important;
}

.bg-input{
  background: #F5F6FA!important;
  border-radius: 7px!important;
  border: none!important;
  font-size: 0.875rem!important;
  padding: 0.585rem .85rem!important;
}
.bg-input::placeholder{
  font-size: 13px;
}
.bg-select {
  background-color: #F5F6FA !important;
  border-radius: 7px !important;
  border: none !important;
  font-size: 0.875rem !important;
  padding: 0.585rem 0.85rem !important;
  color: #69696a;
  appearance: none; /* Ensure the default arrow is hidden */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 12px !important;
  padding-right: 2rem !important; /* Ensure space for the icon */
}
.register-kyc .form-label{
  color: #505050!important;
}
.kyc-submit-title{
  font-weight: 600;
  font-size: 20px;
  text-align: center;
  vertical-align: middle;
}

#profile_image,#id_proof_image {
  height: 0px;
  padding: 0px;
  opacity: 0;
}

#preview-id-image{
  object-fit: cover;
  height: 220px;
  width: 380px;
  border-radius: 7px;
}
#preview-profile-image{
  border-radius: 50%;
  height: 180px;
  object-fit: cover;
  width: 180px;
}
.invalid-feedback strong{
  font-weight: 400!important;
}

.boot-pagination .pagination {
  display: block;
}
.boot-pagination .page-item {
    display: inline-block;
}
.boot-pagination .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--primary-soft-color);
    border-color:  var(--primary-soft-color);
    box-shadow: 0 0 0 0.15rem var(--primary-color);
    color: var(--primary-color);
}
/* .page-link {
    margin-right: 10px;
    min-width: 40px!important;
    border-radius: 8px;
} */
.boot-pagination .page-link:hover {
    background-color: var(--primary-soft-color);
}
.boot-pagination .page-item:first-child .page-link, .boot-pagination  .page-item:last-child .page-link {
    border-radius: 6px;
}
.boot-pagination .page-link:focus {
  margin-right: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: 500;
}

.boot-pagination .page-link,.boot-pagination  .page-item:first-child .page-link,.boot-pagination  .page-item:last-child .page-link {
  margin-right: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: 500;
}
.boot-pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  color: #fff;
  border-color: transparent;
}

.bg-primary{
  background-color: var(--primary-color)!important;
  color: #fff!important;
}

.cke_notifications_area{
  display: none;
}
.lesson-lock-img{
    height: 27px;
    width: 35px;
}
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    top: 22%!important;
    left: 32px!important;
}

/* messages common css */
  .chat-sidebar {
      height: calc(100vh - 104px);
      background-color: #ffffff;
      width1: 300px;
  }
  .chat-sidebar .search-input {
      background-color: #f5f5f5;
      border: none;
      color: #2a2a2a;
      padding: 11px 12px 11px 16px;
      border-radius: 47px;
      font-size: 14px;
  }
  .chat-sidebar .search-input::placeholder {
      color: #888;
  }
  .chat-list {
      overflow-y: auto;
      height: calc(100vh - 80px);
  }
  .chat-list .list-group-item {
      background-color: #ffffff;
      color: #e0e0e0;
      border: none;
      /* border-bottom: 1px solid #3a3a3a; */
      padding: 10px 15px 10px 8px;
      font-size: 14px;
      border-radius: 8px;
  }
  .chat-list .list-group-item.active {
      background-color: #3a3a3a;
  }
  .chat-list .list-group-item .chatlist-user-img {
      width: 45px;
      height: 45px;
      object-fit: cover;
      margin-right: 10px;
      border-radius: 50%;
  }
  .chat-list .list-group-item small {
      color: #888;
      font-size: 10px;
  }
  .chat-area {
      height: 100vh;
      background-color: #F5F6FA;
      padding: 0;
      border-top-right-radius: 20px;
      border-bottom-right-radius: 20px;
  }
  .send-msg-group{
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
  }
  .chat-header {
    background-color: #CED3E6BA;
    padding: 20px 30px;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
  }
  .chat-header .rounded-circle {
      width: 41px;
      height: 41px;
      object-fit: cover;
      margin-right: 10px;
      background-color: #444; /* Placeholder background */
      border-radius: 50%;
  }
  
  
  .chat-header small {
      color: #ACACAC;
      font-size: 12px;
  }
  .chat-messages {
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
  }
  .chat-history {
      height: calc(100vh - 300px);
      overflow-x: auto;
      background-color: #F5F6FA;
  }
  .message {
      max-width: 60%;
      padding: 10px 15px;
      font-size: 14px;
      line-height: 1.4;
  }
  .received {
      background-color: #888888;
      color: #fff;
      align-self: flex-start;
      border-top-right-radius: 15px;
      border-bottom-right-radius: 15px;
      border-bottom-left-radius: 15px;
  }
  .sent {
      color: #fff;
      align-self: flex-end;
      border-top-left-radius: 15px;
      border-bottom-right-radius: 15px;
      border-bottom-left-radius: 15px;
      background: linear-gradient(90deg, #0d9859 0%, #21b573 100%);
  }
  .message-time {
      font-size: 10px;
      color: #f1f1f1;
      margin-top: 2px;
      text-align: right;
  }
 .input-area {
    background-color: #f5f6fa;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}
  .input-area .form-control {
      background-color: #ffffff;
      border: none;
      color: #000;
      border-radius: 14px;
      padding: 11px 20px;
      flex: 1;
  }
  .input-area .form-control::placeholder {
      color: #888;
  }
.input-area .btn-custom {
  background-color: #d32f2f;
  border: none;
  border-radius: 8px;
  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  font-size: 14px; /* optional: controls icon size */
  padding: 0; /* ensure no default padding */
}

  .no-results {
      display: none;
      text-align: center;
      color: #888;
      padding: 10px;
      font-size: 14px;
  }
  .chat-open-username{
      font-size: 15px;
      font-weight: 500;
  }
  .back-btn:hover{
      fill: var(--primary-color) 
  }
  input:focus{
      outline: none!important;
      box-shadow: none!important;
  }
  .user-search-box{
      position: relative;
  }
  .user-search-box .fa-search{
      position: absolute;
      top: 26%;
      right: 5%;
  }
  .blocked-users-btn{
      padding: 17px 6px!important;
      text-align: center!important;
      background: var(--primary-soft-color);
  }

  .chatlist-user-img-wrapper {
      position: relative;
      width: 45px;
      height: 45px;
  }

  .avatar-img {
      width: 70px !important;
      height: 70px !important;
      object-fit: cover;
      margin-right: 10px;
      border-radius: 50%;
  }

  .online-dot {
      position: absolute;
      bottom: 5%;
      right: 0%;
      width: 10px;
      height: 10px;
      background-color: var(--primary-color);
      border: 2px solid #fff;
      border-radius: 50%;
  }
  .left-username{
      font-weight: 500;
  }
  .left-msg{
      font-size: 12px!important;
  }
  
  .main-chat-head{
      position: relative;
  }
  .main-online-dot{
      position: absolute;
      bottom: 17%;
      right: 14%;
      width: 10px;
      height: 10px;
      background-color: #28a745; /* Bootstrap green */
      border: 2px solid #fff;
      border-radius: 50%;
  }
  .main-offline-dot{
      position: absolute;
      bottom: 17%;
      right: 14%;
      width: 10px;
      height: 10px;
      background-color: #28a745; /* Bootstrap green */
      border: 2px solid #fff;
      border-radius: 50%;
  }
  .chathead-btn{
      border-radius: 9px;
      font-weight: 400;
      font-size: 14px;
      padding: 8px 24px;
      background: #DF302626;
      color: #F5F5F5;
      border: 1px solid #F5F5F51A;
      transition: all ease 0.4s;
  }
  .chathead-btn:hover{
      color: #F5F5F5;
      background: #78120d26;
  }
  .chat-screen{
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
  }
  .chat-side-header{
    border-top-left-radius: 20px;
  }
   .send-msg-group{
    padding: 20px 20px;
    position: relative;
  }
 .send-media-btns {
    position: absolute;
    top: 30%;
    right: 4%;
}
  .msg-send-btn{
    background: var(--primary-color)!important;
  }
  /* new css start */
  /* .msg-self-image{
    height: 100px;
    width: 100px;
    border-radius: 50%;
    object-fit: cover;
  } */
  .msg-self-name{
    font-weight: 500;
    font-size: 13.55px;
    margin-top: 8px;
  }
  .self-user-status-on{
    border-radius: 12.71px;
    background: #F0FFE6;
    color: #21B573;
    font-weight: 500;
    font-size: 8.47px;
    padding: 3px 18px;
  }
  .self-user-status-off{
    border-radius: 12.71px;
    background: #dedede;
    color: #575757;
    font-weight: 500;
    font-size: 8.47px;
    padding: 3px 18px;
  }
.profile-img-wrapper {
    position: relative;
    display: inline-block;
}

.msg-self-image {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    object-fit: cover;
}
.text-hover-primary{
  transition: all ease 0.35s;
}
.text-hover-primary:hover{
  color: var(--primary-color)!important;
}

.msg-self-dot-online {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary-color, green);
    border-radius: 50%;
    border: 2px solid #fff;
}
  .chat-list .list-group-item:hover {
    background-color: #F5F6FA;
  }
  .chat-list .list-group-item.active-chat {
    background-color: #F5F6FA;
  }
  .chat-users{
    padding: 4px 10px 4px 9px;
  }
  .chat-right-screen{
    padding: 14px 14px 14px 0px;
    background-color: #fff;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    height: calc(100vh - 106px);
  }
  .message-input{
    font-size: 14px;
  }
  /* new css end */
  /* messages common css end */

  .dataTables_wrapper .dt-buttons {
        margin-bottom: 0;
        margin-left: 1rem;
    }
    .dataTables_wrapper .dataTables_length {
        display: flex;
        align-items: center;
    }
    .dataTables_wrapper .top-row {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }
	.dt-button.buttons-html5{
		font-size: 12px!important;
		padding: 5px 10px!important;
		background: #5e5e5d!important;
		color: #fff!important;
	}

  .info-card{
			border-radius: 5px!important;
		}
		@keyframes ring {
			0% { transform: rotate(0deg); }
			15% { transform: rotate(15deg); }
			30% { transform: rotate(-10deg); }
			45% { transform: rotate(15deg); }
			60% { transform: rotate(-10deg); }
			75% { transform: rotate(15deg); }
			100% { transform: rotate(0deg); }
		}

		.bell {
			display: inline-block;
			animation: ring 1s ease-in-out infinite;
			transform-origin: 50% 10%;
		}
    

/* mobile sidebar code start */
#sidebar {
    display: none;
}

@media(max-width: 575px){
  #preview-profile-image {
    height: 111px;
    width: 111px;
  }
  .container-fluid{
    padding-left: 5px;
    padding-right: 5px;
  }

}

@media (max-width: 767.98px) {
    #sidebar {
        position: fixed;
        top: 0;
        left: -260px;
        width: 250px;
        height: 100%;
        background-color: #fff;
        color: #333;
        z-index: 1050;
        padding: 20px 10px;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
        transition: left 0.3s ease;
        display: block;
    }

    #sidebar.sidebar-active {
        left: 0;
    }

    /* Close button inside sidebar */
    .close-sidebar-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background: transparent;
        color: #333;
        font-size: 22px;
        border: none;
    }
    .mobile-sidebar-menu{
      padding-left: 0rem;
      margin-top: 2.5rem !important;
    }
    .logout-btn {
      margin-left: 9px!important;
    }
    .desk-sidebar{
      display: none;
    }
    .desk-top-menu{
      display: none;
    }
    .mobile-nav-top-menu .navbar-nav {
      flex-direction: row;
    }
    .mobile-nav-top-menu .navbar-brand {
      margin-left: 10px;
    }
    .mobile-nav-top-menu .container-fluid{
      padding-left:32px;
      padding-right:32px;
    }
    .mobile-nav-top-menu .navbar-nav .dropdown-menu {
      position: absolute;
      right: 0px!important;
    }
    .top-search-input{
      border-radius: 30px;
      font-size: 14px;
      padding: 10px 15px;
    }
    .search-modal-btn{
      font-size: 20px;
      line-height: 32px;
    }
    .msg-self-dot-online {
      bottom: 2px;
      right: 5px;
      width: 12px;
      height: 12px;
    }
    .msg-self-image {
      height: 70px;
      width: 70px;
    }
    .chat-side-header div.d-inline-flex{
      margin-bottom: 10px!important;
    }
    .chat-sidebar .search-input {
      padding: 7px 12px 7px 16px;
    }
    .user-search-box .fa-search {
      top: 15%;
    }
    .chat-screen {
      border-top-left-radius: 7px;
      border-bottom-left-radius: 7px;
      border-top-right-radius: 7px!important;
    }
    .chat-side-header {
      border-top-left-radius: 7px;
      border-top-right-radius: 7px;
    }
    .left-msg {
      padding: 0px 9px 0px 0px;
    }
    .chat-right-screen {
      padding: 0px;
      border-top-left-radius: 7px;
      border-top-right-radius: 7px;
      border-bottom-right-radius: 7px;
      height: calc(100vh - 96px);
    }
    .chat-header {
      padding: 8px 8px;
      border-top-right-radius: 7px;
      border-top-left-radius: 7px;
    }
    .chat-header .rounded-circle {
      width: 35px;
      height: 35px;
    }
    .chat-open-username {
      font-size: 13px;
    }
    .chat-header small {
      font-size: 9px;
    }
    .chat-history {
      height: calc(100vh - 226px);
    }
    .send-msg-group {
      padding: 20px 3px;
    }
    .send-msg-group {
      border-bottom-right-radius: 7px;
      border-bottom-left-radius: 7px;
    }
    .input-area .form-control {
      padding: 11px 129px 11px 20px
    }
    .sent {
      border-top-left-radius: 10px;
      border-bottom-right-radius: 10px;
      border-bottom-left-radius: 10px;
    }
    .received {
      border-top-right-radius: 10px;
      border-bottom-right-radius: 10px;
      border-bottom-left-radius: 10px;
    }
      
}

@media (min-width: 768px) {
  #sidebar, #menu-toggle {
    display: none !important;
  }
  
  .mobile-nav-top-menu{
    display: none;
  }
}

@media (max-width: 430px) {
  .mobile-nav-top-menu .container-fluid {
    padding-left: 5px;
    padding-right: 11px;
  }
  .mobile-nav-top-menu .head-notification {
    height: 29px!important;
  }
  .mobile-nav-top-menu .badge {
    padding: .35em .55em!important;
    font-size: .45em!important;
    font-weight: 400!important;
  }
  .search-modal-btn {
    font-size: 16px;
  }
  .mobile-nav-top-menu .navbar-brand img {
    width: 90px!important;
  }
  .mobile-nav-top-menu .navbar-brand{
    padding-top: 0px!important;
    padding-bottom: 0px!important;
  }
  
  .message {
    font-size: 12px;
  }
}
  .mobile-search-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #000; 
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.mobile-search-btn i {
  margin: 0; 
}
#sidebar {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}
/* mobile sidebar code end */


.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-container .tooltip-text {
  visibility: hidden;
  width: 220px;
  font-size: 12px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 4px;
  position: absolute;
  z-index: 999;
  bottom: 125%; /* Show above the icon */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s;
  white-space: normal;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

#fileModal .bg-dark {
    background-color: #fff!important;
}
#fileModal .modal-title {
    color: #000!important;
}

@media (max-width: 767px) {
    .chat-area {
        height: 50vh!important;
    }
    .chat-history {
        height: 60vh!important;
    }
    .chat-right-screen {
        padding: 0px;
        border-top-left-radius: 7px;
        border-top-right-radius: 7px;
        border-bottom-right-radius: 7px;
        height: 50vh!important;
    }
    
    .chat-header {
        position: sticky;
        top: 0;
        z-index: 999;
        background: #fff;
    }
    
    .chat-messages .message .message-file {
        width: 138px !important;
        height: 117px !important;
        object-fit: cover;
        cursor: pointer;
    }
}
