.bg_primary{
	background-color: #5F26D9;
}

.full_height {
  height: 100vh;
}

.text_white{
	color:#fff !important;
}

.form-group{
	margin-bottom: 1rem;
}

.border-primary-subtle {
  border-color: #e4efff !important;
}

.img-fluid{
	max-height: 100%;
}

.hidden{
	display: none !important;
}

.no_decoration{
	text-decoration: none !important;
}
.top_left_corner{
	position: absolute;
	top: -15px;
	left:10px;
}
.top_right_corner{
	position: absolute;
	top: -15px;
	right:10px;
}
.form-loader{
  position: fixed;
  text-align: center;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 40px;
  z-index: 10001;
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-loader  i{
  font-size: 42px;
  left: 21px;
}
.form-loader>div{
  position: relative;
  color: #fff;
  font-size: 22px;
 /* -webkit-transform: translate3d(-50%,-50%,0);
  -moz-transform: translate3d(-50%,-50%,0);
  -o-transform: translate3d(-50%,-50%,0);
  -ms-transform: translate3d(-50%,-50%,0);
  transform: translate3d(-50%,-50%,0);*/
}
.nowrap{
  white-space: nowrap;
}
.form-loader span{
	font-size: 1rem;
	display: inline-block;
	margin-top: 36px;
}

.help-text{
	color:red;
}

.img-responsive{
	max-width: 100%;
	max-height: 100%;
}

.rotate{
	position: absolute;
	-webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}


@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}

@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

.has_transition{
	-webkit-transition: all 0.2s ease; /* For Safari */
	-moz-transition: all 0.2s ease; /* For Firefox */
	-o-transition: all 0.2s ease; /* For Opera */
	transition: all 0.2s ease; /* Standard syntax */	   
}

.page_header{
	font-size: 1.8rem;
}

.page_subheader{
	font-size: 1rem;
	color:#666;
}

.bg-gray-eee{
	background-color: #eee !important;
}
.bg-gray-ddd{
	background-color: #ddd !important;
}

.alert p{
	margin-bottom: 0;
}
.bg-danger-subtle td{
	background-color: var(--bs-danger-bg-subtle) !important;
}

.add_item_dropdown .dropdown-item{
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}


.vidsafe_card{
	border-color: #ede5ff !important;
    box-shadow: 0px 0px 5px 5px #f4efff;
}
.vidsafe_card .card_body{
}


.data_box{
	margin-bottom: 0rem;
}
.data_box .data_label{
	color:#666;
	font-size: 0.8rem;
}
.data_box .data_value{
	color: #555;
    font-weight: 400;
    font-size: 1rem;
}

.data_box .data_value.smaller{
	font-size: 0.9rem;
}

.drop-zone {
    border: 2px dashed #eee;
    border-radius: 5px;
    padding: 100px 20px;
    text-align: center;
    color: #044FC0;
    cursor: pointer;
    background-color: #f8f5ff;
}

.drop-zone.dragover {
    background-color: #e9ecef;
}

.video-preview {
    display: none;
    width: 100%;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}     

.course_item_row_icon{
	padding: 20px;
	font-size: 24px;
}

.no-text-decoration{
	text-decoration: none !important;
}
.fs-10{
	font-size: 0.6rem !important;
}
.fs-12{
	font-size: 0.75rem !important;
}
.fs-14{
	font-size: 0.875rem !important;
}
/* FILE UPLOAD */
.file_uploaded_div{
	font-weight: bold;  
	overflow-y: hidden;
	margin-bottom:5px;
	padding: 10px;
	background: #faf8ff;
	border: 1px solid #d7c4ff;
	border-radius: 8px;
}

.inline-thin-progressbar{
  height: 10px;
  width: 125px;
  margin-bottom: 0px;
  display: inline-block;
  box-shadow: none;
  border: 1px solid #bbb;
  background: #fff;

}
.inline-thin-progressbar .progress-bar{
  font-size: 10px;
  line-height: 8px;
}
.file_uploaded_div .delete{
  cursor: pointer;
  color:#666;
  padding: 12px 12px 12px 12px;
}
.file_uploaded_div .delete:hover{
  color:#222;
}

/* FILE UPLOAD ENDS */


/* For modern browsers (WebKit and Blink-based browsers like Chrome, Edge, and Safari) */
.thin_scrollbar::-webkit-scrollbar {
  width: 2px; /* Width of the scrollbar */
  height: 2px; /* Height of the scrollbar (for horizontal scroll) */
}

.thin_scrollbar::-webkit-scrollbar-track {
  background: #fbfbfb; /* Color of the track (background of the scrollbar) */
}

.thin_scrollbar::-webkit-scrollbar-thumb {
  background-color: #fff; /* Color of the scrollbar handle */
  border-radius: 6px; /* Rounded corners for the handle */
  border: 3px solid #f1f1f1; /* Adds space between the handle and the track */
  width: 4px;
}

.thin_scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #f0f0f0; /* Darker handle on hover */
}

/* For Firefox */
.thin_scrollbar * {
  scrollbar-width: thin; /* Thin scrollbar */
  scrollbar-color: #fbfbfb; /* Handle color and track color */
}

/* For Internet Explorer and older browsers */


.select2-container .select2-selection--single{
	border-radius: 0px !important;
	height: 42px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container--default .select2-selection--single .select2-selection__clear{
	height: 42px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
	line-height: 42px !important;
}


.select2-container--default .select2-selection--multiple{
	border: var(--bs-border-width) solid var(--bs-border-color);
	border-radius: 0px !important;
	min-height: 42px !important;
}

.fieldset_box{
  border: 1px solid #ddd;
  border-radius: 0px;
  padding: 10px;
  padding-top: 30px;
  /* margin-bottom: 10px; */
  margin-top: 10px;
  position: relative;
}

.fieldset_box legend{
  font-size: 1rem;
  font-weight: 400;
  position: absolute;
  display:inline-block;
  width: auto;
  top: -10px;
  left: 10px;
  padding: 4px 10px;
  border: 1px solid #ddd;
  /* default legend */
  background-color: #fff;
  color:#000;
}

.fieldset_box .legend-title.primary{
  background-color: #0b4db1;
  color:#fff;
}
.fieldset_box .legend-title.danger{
  background-color: #ff0000;
  color:#fff;
}
.fieldset_box .legend-title.warning{
  background-color: #ffa500;
  color:#fff;
}
.fieldset_box .legend-title.success{
  background-color: #008000;
  color:#fff;
}
@media (max-width: 768px) {
  .stacked-responsive-table,
  .stacked-responsive-table thead,
  .stacked-responsive-table tbody,
  .stacked-responsive-table th,
  .stacked-responsive-table td,
  .stacked-responsive-table tr {
    display: block;
    width: 100%;
  }

  .stacked-responsive-table thead {
    display: none;
  }

  .stacked-responsive-table tr {
    margin-bottom: 15px;
    /* border: 1px solid #ddd; */
    /* border-radius: 6px; */
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); */
    padding: 4px;
    background-color: white;
  }

  .stacked-responsive-table td {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #f6f6f6;
    font-size: 14px;
  }

  .stacked-responsive-table td:last-child {
    border-bottom: none;
  }

  .stacked-responsive-table td::before {
    content: attr(data-label);
    font-weight: normal;
    flex-shrink: 0;
    margin-right: 10px;
    color: #888;
    position: relative !important;
  }

  
  .stacked-responsive-table .hide_th_on_mobile::before {
    content: none !important;
  }
  .stacked-responsive-table .hide_row_on_mobile{
    display: none !important;
  }
}

a.badge{
  white-space: normal !important;
}

.custom_fieldset{
  border: 1px dashed #044fc0;
  padding: 10px;
  background:#fff;
  position: relative;
  padding-top: 30px;
  margin-bottom: 10px;
}
.custom_fieldset legend{
  color:#fff;
  padding: 2px 16px;
  background-color: #044fc0;
  border-radius: 40px;
  font-size: 0.875rem;
  font-weight: 600;
  position: absolute;
  top: -10px;
  display: inline-block;
  width: auto;
}

.image_upload_preview_box{
  max-width: 300px;
  min-height: 150px;
  max-height: 202px;
  border: 1px solid #ddd;
  /* background: #faf8ff; */
  padding: 0px;
  margin-top: 10px;
  position: relative;
  text-align: center;
}

.image_upload_preview_box img{
  z-index: 2;
  position: relative;
}

.image_upload_preview_box:after{
  content: "Upload Image";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.875rem;
  font-weight: 600;
  color: #999;
  margin-top: 10px;
}

.card-text p{
  margin-bottom: 2px
}

.top_right{
  position: absolute;
  top: 5px;
  right: 5px;
}
textarea.form-control{
  height: auto !important;
}
textarea.form-control::placeholder{
  color:#ccc !important;
}
.bg-primary-light{
  background-color: #edf0f9 !important;
}

#pricing_calculation_preview .course_price{
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
}
#pricing_calculation_preview .payment_gateway{
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
} 
#pricing_calculation_preview .your_share{
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
}
#pricing_calculation_preview .our_share{
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;  
}


.input_with_clear_button{
  position: relative;
}
.input_with_clear_button::after{
  content: "X";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
  font-size: 16px;
  font-weight: 600;
  z-index: 10;
  background-color: #fff;
  padding: 4px 8px;
  border-radius: 50%;
  border: 1px solid #ddd;
}
.form_group_with_clear_button{
  position: relative;
}
.form_group_with_clear_button .clear_input_button{
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 10;
  cursor: pointer;
  color: #666;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.form_group_with_clear_button .clear_input_button:hover{
  color: #000;
  transform: scale(1.1);
}

.form_group_with_clear_button .clear_input_button:active{
  transform: scale(0.95);
}
.select2-container{
  width: initial !important;
}

.bg-warning{
  background-color: #ff7807 !important;
}

/* Ensure select dropdown arrow is visible */
select.form-control {
  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='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* For Firefox */
select.form-control::-ms-expand {
  display: none;
}

.modal-open .select2-container{
  z-index: 1055 !important;
}

.nav.nav-underline .dropdown-item a{
  display: block;
    width: 100%;
    clear: both;
    font-weight: 400;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius, 0);
}


.alert-warning{
  border-color: #F58F30 !important;
  color: #E8750C !important;
  background-color: #FFF8F2 !important;
}

.alert-info{
  border-color: #B0CFFF !important;
  background: #f2f7ff !important;
}

.box_checkbox_label{
  padding: 5px 8px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #fff;
  display: inline-block;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
}
.box_checkbox_label:hover{
  background-color: #f2f7ff;
}
.box_checkbox_label input[type="checkbox"]{
  margin-right: 4px;
}

.btn-warning{
  color: #fff;
  background: #F58F30 !important;
  border: #F58F30 !important;
}
@media (max-width: 390px) {
  .table-responsive {
    max-width: 340px !important;
  }
}
@media (min-width: 391px) and (max-width: 480px) {
  .table-responsive {
    max-width: 330px !important;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .table-responsive {
    max-width: 728px !important;
  }
}
.cursor-pointer{
  cursor: pointer;
}

/* Highlight flash animation for scrolling to elements */
.highlight_flash {
  animation: highlightFlash 2s ease-out;
  background-color: #fff9c4 !important; /* yellow */
  border-color: #ff7807 !important; /* orange */  
}

@keyframes highlightFlash {
  0% {
    box-shadow: 0 0 10px rgba(255, 177, 59, 0.8); /* yellow */
    background-color: #fff9c4 !important; /* yellow */
    border-color: #ff7807 !important; /* orange */  
  }
  50% {
    box-shadow: 0 0 5px rgba(255, 177, 59, 0.4); /* yellow */
    background-color: #fff9c4 !important; /* yellow */
    border-color: #ff7807 !important; /* orange */  
  }
  100% {
    box-shadow: none;
    background-color: #fff !important; /* yellow */
    border-color: #ff7807 !important; /* orange */  
  }
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #e9eef7;
  border: 1px solid #d4e5ff;
  border-radius: 28px;
  display: inline-block;
  margin-left: 5px;
  margin-top: 5px;
  padding: 3px 10px;
  color: #2a62b4;
}

/* ===== Collapsible Slots Accordion ===== */
.slots-accordion .accordion-item {
  border: 1px solid #e9ecef;
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.slots-accordion .accordion-button {
  background-color: #fff;
  padding: 16px 20px;
  font-weight: 500;
  box-shadow: none;
}

.slots-accordion .accordion-button:not(.collapsed) {
  background-color: #fff;
  color: inherit;
  box-shadow: none;
}

.slots-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: #e9ecef;
}

.slots-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23666'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.2s ease-in-out;
}

.slots-accordion .accordion-body {
  padding: 0;
}

.slots-accordion .date-header-icon {
  color: #0d6efd;
  font-size: 1.1rem;
}

.slots-accordion .date-header-text {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.slots-accordion .slots-count-badge {
  background-color: #e9ecef;
  color: #555;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}

.slots-accordion .bookings-count-badge {
  background-color: #fce4ec;
  color: #c62828;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Slots Table Styles */
.slots-table {
  margin-bottom: 0;
}

.slots-table thead th {
  background-color: #fff;
  border-bottom: 1px solid #e9ecef;
  border-top: 1px solid #e9ecef;
  font-weight: 500;
  font-size: 0.8rem;
  color: #6c757d;
  padding: 12px 16px;
  white-space: nowrap;
}

.slots-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
  background-color: inherit;
}

.slots-table tbody tr.bg-danger-subtle td {
  background-color: var(--bs-danger-bg-subtle) !important;
}

.slots-table .mentor-cell-td {
  border-right: 1px solid #f0f0f0;
  vertical-align: middle;
}

.slots-table .mentor-last-row td {
  border-bottom: 2px solid #e9ecef;
}

.slots-table .mentor-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slots-table .mentor-avatar,
.mentor-card-header .mentor-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.slots-table .mentor-name,
.mentor-card-header .mentor-name {
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.slots-table .time-text {
  color: #333;
}

.slots-table .seats-indicator,
.slot-card .seats-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.seats-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.seats-dot.available {
  background-color: #28a745;
}

.seats-dot.booked {
  background-color: #f59e0b;
}

.seats-dot.full {
  background-color: #dc3545;
}

.seats-text {
  font-weight: 600;
}

.seats-text.text-success {
  color: #28a745 !important;
}

.seats-text.text-warning {
  color: #f59e0b !important;
}

.seats-text.text-danger {
  color: #dc3545 !important;
}

/* Mode Badges */
.mode-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid;
}

.mode-badge.mode-on {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-color: #c8e6c9;
}

.mode-badge.mode-off {
  background-color: #fff;
  color: #757575;
  border-color: #e0e0e0;
}

.slots-table .center-text {
  color: #555;
}

.slots-table .center-text i {
  font-size: 0.9rem;
}

.action-link {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
}

.action-link:hover {
  text-decoration: underline;
}

/* Mobile view styles */
.slots-mobile-view {
  padding: 12px;
}

.mentor-card {
  background-color: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.mentor-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.mentor-slots {
  padding: 8px;
}

.slot-card {
  background-color: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
}

.slot-card:last-child {
  margin-bottom: 0;
}

.slot-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #f8f8f8;
}

.slot-card-row:last-child {
  border-bottom: none;
}

.slot-label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
}

.slot-value {
  font-size: 0.9rem;
  color: #333;
  text-align: right;
}