/* Driver.js: when overlay is hidden (opacity 0) it must not block clicks */
#driver-page-overlay[style*="opacity: 0"],
#driver-page-overlay[style*="opacity:0"] {
  pointer-events: none !important;
}

::selection {
  background-color: #ef5c20;
  color: #fff;
}

* {
  scrollbar-width: thin;
  scrollbar-color:#b3b3b3 rgba(0, 0, 0, 0);
  /* scrollbar-color: #919191 rgba(0, 0, 0, 0.1); */
}

/* Custom Scrollbar (For WebKit Browsers like Chrome, Safari) */
*::-webkit-scrollbar {
  width: 4px;
}

*::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 7px;
}

*::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 7px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 1px solid #d1d5db;
  -webkit-text-fill-color: #000;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
  transition: background-color 5000s ease-in-out 0s;
}

:root {
  --background: #ffffff;
  --primary-color: #ef5c20;
  --secondary-color: #0fab9f;
  --font-sora: "Sora", sans-serif;
}

body {
  min-height: 100vh;
  margin: 0 auto;
  font-size: 16px;
  padding: 0;
  font-family: var(--font-sora);
  color: #555;
}

.obLogo {
  max-height: 110px;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.hover\:text-secondary:hover {
  color: var(--secondary-color);
}

.hover\:text-primary:hover {
  color: var(--secondary-color);
}

.bg-primary {
  background: var(--primary-color);
}

.bg-secondary {
  background: var(--secondary-color);
}

.hover\:bg-primary:hover {
  background: var(--primary-color);
}

.hover\:bg-secondary:hover {
  background: var(--secondary-color);
}

.form-group {
  margin-bottom: 20px;
}

.lmslogo {
  max-width: 80px;
}

[x-cloak] {
  display: none !important;
}

.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  height: 38px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.375rem !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 38px !important;
  padding-left: 12px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 36px !important;
}

/* Quill Editor Styling */
.ql-container {
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.ql-editor {
  min-height: 250px;
}

.ql-toolbar {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  border-bottom: none;
}

.ql-container {
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

/* Choices.js Tailwind Styling - Beautiful Searchable Dropdowns */
.choices {
  margin-bottom: 0;
}

.form-control {
  font-size: 14px;
  color: #505050;
  min-height: 42px;
  border: 1px solid #f3f5f8;
  background: #f9fafb;
}

.choices__inner {
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  min-height: 42px;
  font-size: 14px;
  line-height: 1.25rem;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.choices__inner:hover {
  border-color: #9ca3af;
}

.choices.is-focused .choices__inner,
.choices.is-open .choices__inner {
  /* border-color: #FFA884;
            outline: none;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); */
}

.choices__input {
  background-color: transparent;
  font-size: 14px;
  margin-bottom: 0;
  padding: 10px;
  color: #505050;
}

.choices__input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.choices__placeholder {
  color: #9ca3af;
  opacity: 1;
}

.choices__list--single {
  padding: 0;
}

.choices__list--single .choices__item {
  color: #505050;
}

.choices__list--dropdown {
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  margin-top: 0.25rem;
  background-color: #ffffff;
  z-index: 9999;
  max-height: min(70vh, 24rem);
}

/* Scroll through all options (Choices default list can feel capped at ~6 visible rows). */
.choices__list--dropdown .choices__list,
.choices__list[aria-expanded] {
  max-height: min(65vh, 22rem) !important;
  overflow-y: auto !important;
}

.choices__list--dropdown .choices__item {
  padding: 0.5rem 0.75rem;
  font-size: 14px;
  color: #505050;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
  background-color: #f3f4f6;
  color: #505050;
}

.choices__list--dropdown .choices__item--selectable.is-selected {
  background-color: #ffa884;
  color: #ffffff;
}

.choices__list--dropdown .choices__item--selectable.is-selected.is-highlighted {
  background-color: var(--primary-color);
  color: #ffffff;
}

.choices__list--multiple .choices__item {
  background-color: var(--primary-color);
  color: #ffffff !important;
  border: none;
  border-radius: 0.25rem;
  padding: 0.125rem 0.5rem;
  margin: 0.125rem 0.25rem 0.125rem 0;
  font-size: 14px;
}


.choices__list--multiple .choices__item.is-highlighted {
  background-color: var(--primary-color);
}

.choices__button {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  opacity: 0.8;
  transition: opacity 0.15s ease-in-out;
}

.choices__button:hover {
  opacity: 1;
}

.choices__list--dropdown .choices__search {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.choices__search--hidden {
  display: none;
}

.choices__heading {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

/* Ensure dropdown appears above modals */
.choices__list--dropdown {
  z-index: 99999;
}

.choices[data-type*="select-one"]::after {
  content: "";
  height: 0;
  width: 0;
  border-style: solid;
  border-color: #333 transparent transparent;
  border-width: 5px;
  position: absolute;
  right: 11.5px;
  top: 50%;
  margin-top: -2.5px;
  pointer-events: none;
}

/* Loading state */
.choices__list--dropdown .choices__loading {
  padding: 0.5rem 0.75rem;
  color: #6b7280;
  text-align: center;
}

/* No results */
.choices__list--dropdown .choices__item--no-results {
  padding: 0.5rem 0.75rem;
  color: #6b7280;
  text-align: center;
  cursor: default;
}

/* .is-open .choices__list--dropdown,
.is-open .choices__list[aria-expanded] {
    border-color: rgb(107 114 128);
} */
.choices[data-type="select-multiple"].is-focused .choices__inner {
  border-color: rgb(107 114 128);
  box-shadow: none;
}

/* Multisect */
/* MULTIPLE SELECT WRAPPER */
.choices[data-type="select-multiple"] .choices__inner {
  min-height: 42px;
  padding: 0 8px;
  /* border: 1px solid #d1d5db; */
  /* border-radius: 5px; */
  /* background-color: #ffffff; */
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

/* Focus State */
/* .choices[data-type="select-multiple"].is-focused .choices__inner {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(239, 92, 32, 0.15);
} */

/* Selected Tag Style */
.choices[data-type="select-multiple"] .choices__item {
  /* background-color: var(--primary-color); */
  border: none;
  border-radius: 6px;
  color: #2d2d2d;
  font-size: 0.75rem;
  padding: 4px 8px;
}

/* Remove Button (X) */
.choices[data-type="select-multiple"] .choices__button {
  border-left: none;
  margin-left: 0;
  opacity: 1;
  width: 16px;
  border-radius: 30px;
  height: 16px;
  background-color: transparent;
}

.choices[data-type="select-multiple"] .choices__button:hover {
  opacity: 1;
}

.is-open .choices__inner {
  border-radius: 6px 6px 0 0;
}

.is-open.is-flipped .choices__inner {
  border-radius: 0 0 6px 6px;
}

/* Dropdown Menu */
.choices__list--dropdown {
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  /* gray-200 */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

iframe {
  border: 0;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

@media (min-width: 1025px) {
  .main-menu {
    border-top: 1px solid #e8e8e8;
    padding: 7px 0;
    background: #f9fafb;
  }
}

.badge-btn {
  min-width: 70px;
}

.btn,
.theme-btn {
  text-align: center;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  outline: 0;
}

.btn-icon .svg-icon,
.btn-icon i {
  padding: 0;
  margin: 0;
  line-height: 1;
}

.btn-icon .svg-icon {
  flex-shrink: 0;
  line-height: 0;
}

.svg-icon {
  line-height: 1;
  color: #a1a5b7;
}

.svg-icon svg {
  width: 20px;
}

.btn-icon.view-btn svg {
  width: 34px;
}

.btn-icon {
  height: 35px;
  width: 35px;
  min-width: 35px;
  /* border:1px solid #d8d8d8; */
  background-color: #f0f3f4;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: 0;
}

.delete-btn .svg-icon {
  color: red;
}

.view-btn .svg-icon {
  color: var(--primary-color);
}

.edit-btn .svg-icon {
  color: var(--secondary-color);
}

.btn-icon.view-btn:hover {
  background-color: #ffe9e0;
}

.btn-icon.edit-btn:hover {
  background-color: #cef8f7;
}

.btn-icon.delete-btn:hover {
  background-color: #ffe3e3;
}

.modal-head {
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
  margin-bottom: 25px;
}

.modal-footer {
  border-top: 1px solid #ddd;
  padding-top: 12px;
  margin-top: 25px;
}

.backBtn {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #fff;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #ddd;
}

.back-text {
  font-size: 14px;
}

.form-footer {
  border-top: 1px solid #e5e7eb;
  padding-top: 21px;
}

a:hover .backBtn {
  color: #fff;
  background-color: var(--secondary-color);
}

.chatbg {
  --s: 50px;
  --c: #ececec;
  --c1: #f3f3f3;
  --_s: calc(2 * var(--s)) calc(2 * var(--s));
  --_g: 35.36% 35.36% at;
  --_c: #0000 66%, var(--c1) 68% 70%, #0000 72%;
  background:
    radial-gradient(var(--_g) 100% 25%, var(--_c)) var(--s) var(--s) / var(--_s),
    radial-gradient(var(--_g) 0 75%, var(--_c)) var(--s) var(--s) / var(--_s),
    radial-gradient(var(--_g) 100% 25%, var(--_c)) 0 0 / var(--_s),
    radial-gradient(var(--_g) 0 75%, var(--_c)) 0 0 / var(--_s),
    repeating-conic-gradient(var(--c) 0 25%, #0000 0 50%) 0 0 / var(--_s),
    radial-gradient(var(--c) 66%, var(--c1) 68% 70%, var(--c) 72%) 0
      calc(var(--s) / 2) / var(--s) var(--s) var(--c);
  background-attachment: fixed;
}

/* Custom Checkbox */
.custom-checkbox {
  border-color: #d1d5db;
  /* gray-300 */
  background-color: white;
}

.custom-checkbox:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.custom-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox:focus {
  outline: none;
  box-shadow: unset;
  /* box-shadow: 0 0 0 3px rgba(239, 92, 32, 0.25); */
}

.form-label {
	font-size: 13px;
	margin: 0 0 6px;
	font-weight: normal;
	display: block;
	color: #000;
	font-weight: 500;
}

.custom-file-input {
  font-family: var(--font-sora);
}

input[type="file"] {
  height: 42px;
}

input[type="file"]::file-selector-button {
	margin-right: 9px;
	padding: 5px 9px;
	border: none;
	border-radius: 5px;
	background-color: #8ed6d6;
	color: #000;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	font-size: 13px;
	margin-top: 7px;
}

input[type="file"]::file-selector-button:hover {
  opacity: 0.9;
}

input[type="file"]::file-selector-button:active {
  transform: scale(0.97);
}

.filter-footer {
  border-top: 1px solid #ebebec;
  padding-top: 15px;
}

table thead {
  background-color: #eaeff2;
  border-bottom: 2px solid #ddd;
}

table thead th {
  padding: 12px 15px;
  border-right: 1px solid #d4dbdf;
  text-align: left;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  color: #3a3c48;
}

table tbody td {
  padding: 10px 15px;
  font-size: 14px;
  color: #111a39;
}

.flatpickr-current-month {
  font-size: 14px !important;
}

/* .flatpickr-current-month .choices__inner {
    display: inline;
    width: auto;
    border: 0;
}
.flatpickr-current-month {
    height: auto !important;
    display: flex !important; 
    gap: 10px;
    justify-content: space-evenly !important;
}
.flatpickr-months .flatpickr-month {
    overflow: visible !important;
}
.flatpickr-current-month .choices {
    flex: 1;
        z-index: 99;;
}
.flatpickr-current-month .choices__list--dropdown .choices__item--selectable,
.flatpickr-current-month .choices__list[aria-expanded] .choices__item--selectable {
    padding-right: 10px;
}
.flatpickr-current-month .choices__list--dropdown { 
    max-height: 210px;
} */

.pageTitles {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	align-items: flex-start;
}
.choices-full .choices {
  width: 100%;
}

.info-grid {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #ddd;
  padding: 11px 0;
  align-items: center;
}

.info-grid:last-child {
  border: 0;
}

.info-grid dt {
  width: 150px;
  flex: 0 0 150px;
}

.assignment .info-grid dt {
  width: 110px;
  flex: 0 0 110px;
}

.info-grid dd {
  flex: 1;
}

.lead-timelines {
  max-height: 500px;
  overflow: auto;
}

body.bg-gray-50 {
  background-color: #f3f4f6 !important;
}

.login-box {
  border-radius: 16px;
  border: 1px solid #fff;
  margin-top: 25px;
  padding: 25px;
  background: #fff;
  box-shadow:
    0 20px 25px -5px rgba(229, 231, 235, 0.5),
    0 8px 10px -6px rgba(229, 231, 235, 0.5);
}

.countryNames {
  font-size: 12px;
  color: #828181;
  font-weight: normal;
}

.scroll-h-600 {
  max-height: 320px;
  overflow: auto;
  padding-right: 7px;
  margin-right: -18px;
}

.fc .fc-button-primary:not(:disabled).fc-button-active:focus,
.fc .fc-button-primary:not(:disabled):active:focus {
  box-shadow: unset !important;
}

.desktopMenu {
  /* background: #f9fafb; */
  border-top: 1px solid #e7e8ea;
  padding: 6px 0;
}

@media (max-width: 767px) {
  .fc .fc-toolbar {
    flex-wrap: wrap;
    gap: 15px;
  }

  .fc .fc-toolbar-title {
    font-size: 17px !important;
  }
}

@media (min-width: 1200px) {
  .chat-container,
  .message-row {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (min-width: 1024px) {
  .chatpanel-height {
    height: calc(100vh - 131px);
  }
}
@media (max-width: 1023px) {
  .chatpanel-height {
    height: calc(100vh - 84px);
  }
}

.closeMenu {
  margin: 10px 15px 0 auto;
  display: flex;
  justify-content: flex-end;
}

.fc-today-button {
  text-transform: capitalize !important;
}

.pl-8.space-y-3.proDesc-data {
  max-height: 370px;
  overflow: auto;
}

.abs-closeIcon {
  position: absolute;
  top: 8px;
  right: 6px;
  font-size: 21px;
  width: 25px;
  height: 26px;
  line-height: 26px;
}
.mobileMenu a {
  border-bottom: 1px solid #eee;
  padding-left: 0;
  padding-right: 0;
}
.userInfoMobile {
  position: fixed;
  bottom: 0;
  background: #fff;
  width: 287px;
  box-shadow: 1px 0 20px rgba(0, 0, 0, 0.1);
}

.sub-h1 {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 10px;
  margin-top: 22px;
  color: #000;
}
table th,
table thead th {
  white-space: nowrap;
}

@media (max-width: 1199px) {
  table td,
  table tbody td,
  table th,
  table thead th {
    white-space: nowrap;
  }
}

a, button {
  transition: all 0.2s ease;
}
.abs-remove-icon {
	position: absolute;
	top: 0;
	right: 0;
	background: #ec0808;
	width: 26px;
	height: 26px;
	border-radius: 0 6px 0 12px;
	color: #fff;
	display: flex;
	justify-content: center;
  transition: all 0.2s ease;
	align-items: center;
}
.abs-remove-icon:hover {
    opacity: 0.7;
}

.shadow {
  box-shadow: 0 12px 23px 0 rgba(62, 73, 84, 0.07) !important;
}

@media (min-width: 640px) {
  .choices__list--dropdown .choices__item--selectable, .choices__list[aria-expanded] .choices__item--selectable {
    padding-right: 10px;
  }
}

.flex-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	flex-wrap: wrap;
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 14px;
	margin-bottom: 28px;
}

/* ===== Gradient Core Button ===== */
.btn-core {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(135deg, #ef5c20, #0fab9f);
    z-index: 2;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ===== Pulse Waves ===== */
.play-btn {
    position: relative;
}

.wave {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ef5c20, #0fab9f);
    opacity: 0.5;
    animation: wavePulse 2s infinite;
    z-index: 1;
}

.wave.delay {
    animation-delay: 1s;
}

/* ===== Wave Animation ===== */
@keyframes wavePulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    70% {
        transform: scale(2.2);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.video-overlay {
  z-index: 4;
}

.story-film video {
  z-index: 1;
  position: relative;
}
/* ===== Overlay Hidden ===== */
.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===== Pause Button ===== */
/* ===== Pause Button (FIXED) ===== */
.pause-btn {
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 5;
}

/* When playing: do not capture clicks — invisible full-bleed layer was blocking native <video controls>. */
.pause-btn.active {
  opacity: 0;
  pointer-events: none;
}

/* Small pause control only; show on hover so the rest of the frame stays usable (scrub, volume, fullscreen). */
.story-film:hover .pause-btn.active {
  opacity: 1;
  pointer-events: auto;
}
/* .story-film:hover .pause-btn.active {
    display: flex;
} */

/* Optional smooth hover */
.pause-btn .btn-core {
    transition: transform 0.2s ease;
}

.pause-btn:hover .btn-core {
    transform: scale(1.1);
}


.story-film video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* or 'contain' if you don’t want cropping */
}

.ai-classification-cell {
	display: flex;
	gap: 11px;
	align-items: center;
}