/*
 * Custom CSS Overrides
 * 
 * This file contains custom styles that override the default application styles.
 * Add any custom styling here to ensure it takes precedence over existing styles.
 * 
 * Load order: This file is loaded after app.css to ensure overrides work correctly.
 */

/* ============================================================================
   CUSTOM STYLES - Add your custom overrides below
   ============================================================================ */

/* Example: Custom button styles */
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.form-control::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #000000;
}
.form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: #000000;
}
.form-control:-ms-input-placeholder {
  /* IE 10+ */
  color: #000000;
}
.form-control:-moz-placeholder {
  /* Firefox 18- */
  color: #000000;
}
.btn {
  border-radius: 6px;
  white-space: nowrap;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-icon,
.mdi-magnify {
  font-size: 20px;
}

form .btn {
  height: 42px;
  padding-left: 16px;
  padding-right: 16px;
  font-size: 12px;
  font-weight: 600;
}

.btn-primary {
  background: #e26e21;
  border-color: #e26e21;
  color: #fff;
}

.btn-primary:hover,
.btn-primary:active {
  background: #be5c1c;
  border-color: #be5c1c;
}

.btn:disabled {
  opacity: 0.5;
}

.btn-lg {
  height: 56px;
  font-size: 16px;
  font-weight: 600;
}

.btn-outline-primary {
  border: 2px solid #e26e21;
  color: #e26e21;
  white-space: nowrap;
}

.btn-outline-primary:hover {
  background: #e26e21;
  border-color: #e26e21;
}

.rounded-circle .avatar-title,
.avatar-xs .avatar-title {
  background-color: #e26e21;
}

.form-control,
.form-select {
  transition: all ease-in-out 0.3s;
  min-height: 42px !important;
  border-radius: 6px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: 'Inter', sans-serif !important;
  font-style: normal;
  font-weight: 500;
  border: 1px solid var(--gray-300, #c7cdd2);
}

.form-select option {
  font-family: 'Inter', sans-serif;
  font-style: normal;
}

.form-control:focus {
  box-shadow: inset 0 0 0 1px #e26e21;
  border-color: #e26e21;
}

/* Password input group - ensure button height matches input */
.auth-pass-inputgroup .btn {
  height: 100%;
  min-height: 48px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.account-pages {
  min-height: 100vh;
  background: radial-gradient(circle at 10% 90%, rgba(60, 60, 60, 0.7), transparent 80%), radial-gradient(circle at 50% 80%, rgba(60, 60, 60, 0.7), transparent 20%), radial-gradient(circle at 90% 90%, rgba(60, 60, 60, 0.7), transparent 80%), #000;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.silhouette {
  position: absolute;
  width: 100%;
  height: 360px;
  background: url(../images/silhouette.png) repeat-x center center;
  left: 0;
  bottom: 0;
}

.login-box {
  position: relative;
  z-index: 5;
  flex-direction: row;
  border: 1px solid #474747;
  border-radius: 8px;
}

.login-box .left-col {
  position: relative;
  flex: 0 0 50%;
  background: url(../images/fire-fighters.jpg) repeat-x center center;
  background-size: cover;
  min-height: 570px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  padding: 32px;
}

.login-box .left-col.changePassword {
  background: url(../images/changePassword-bg.jpg) repeat-x center center;
}

.login-box .left-col.resetPassword {
  background: url(../images/resetPassword-bg.jpg) repeat-x center center;
}

/* .login-box .left-col.resetPassword {
    background: url(../images/resetPassword-bg.jpg) repeat-x center center;
} */
.login-box .left-col::before {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  content: '';
}
.login-box .left-col::after {
  position: absolute;
  width: 100%;
  height: 300px;
  left: 0;
  bottom: 0;
  background: linear-gradient(195deg, rgba(0, 0, 0, 0) 30%, rgba(224, 218, 204, 0.6) 50%, rgba(224, 218, 204, 1) 90%);
  z-index: 1;
  content: '';
}

.login-box .logo {
  position: relative;
  z-index: 2;
}

.login-box .logo img {
  width: auto;
  height: 300px !important;
}

.login-box .left-col .message {
  position: relative;
  color: #000000;
  z-index: 2;
}

.login-box .left-col .message h5 {
  font-family: 'Teko', sans-serif;
  font-size: 36px;
  margin: 0;
}

.login-box .left-col .message p {
  font-size: 14px;
  font-weight: 500;
}

.login-box .form-title {
  font-family: 'Teko', sans-serif;
  font-size: 46px;
  margin-bottom: 30px;
  color: #000000;
}

.login-box .divider {
  border-bottom: 2px dashed #c7cdd2;
  height: 1px;
  text-align: center;
  margin: 30px 0 40px;
}

.login-box .divider span {
  display: inline-block;
  padding: 4px 10px;
  position: relative;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: #c7cdd2;
  text-transform: uppercase;
  top: -12px;
  z-index: 1;
}

.login-box .text-muted {
  color: #e26e21 !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  display: block;
}

.login-box .text-muted:hover {
  color: #414141 !important;
  text-decoration: underline !important;
}

.login-box .form-control {
  height: 48px;
}

.login-box .otp-box {
  height: 68px;
}

.login-box .rc-title {
  font-size: 16px;
  font-weight: 500;
  color: #0a0a0a;
  display: inline-block;
  margin-bottom: 8px;
}

.login-box .resend {
  font-size: 16px;
  font-weight: 600;
  color: #0a0a0a;
}

.login-box .resend .rc-title {
  color: #ddc7b9;
}

.login-box .rc-btn {
  font-size: 16px;
  font-weight: 600;
  color: #ddc7b9;
  text-decoration: underline !important;
}

.login-box .rc-btn:hover {
  color: #0a0a0a;
}

.login-box .resend .timer {
  color: #00ba00;
}

#page-topbar {
  background-color: #fff;
  box-shadow: none;
}

.vertical-collpsed:not([data-hover-overlay='true']) .navbar-brand-box {
  padding: 0 16px;
}

#sidebar-menu ul li a {
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.0384em;
}

#sidebar-menu ul li ul.sub-menu li a {
  text-transform: capitalize;
  font-weight: 600;
  color: #bdbdbd;
}

.page-title-box {
  padding-top: 0;
  flex-wrap: wrap;
}

.page-title-box h4 {
  font-family: 'Teko', sans-serif;
  font-size: 48px !important;
  text-transform: capitalize;
  color: #3e4144;
}

.card {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid var(--gray-100, #e1e4e7);
}

.card-header {
  background-color: rgb(226 110 33 / 19%);
  padding-top: 10px;
  padding-bottom: 10px;
}

.card-header:first-child {
  border-radius: 8px 8px 0 0;
}

.card-title {
  font-size: 22px;
  font-weight: 400;
  font-family: 'Teko', sans-serif;
  margin: 0;
  color: #0a0a0a;
}

#layout-wrapper .footer {
  background-color: #fff;
  left: 268px;
  transition: left 0.4s ease-in-out;
}

.vertical-collpsed:not([data-hover-overlay='true']) #layout-wrapper .footer {
  left: 80px;
}

#layout-wrapper .footer * {
  color: #0a0a0a;
}

.badge {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
}

.badge-soft-success {
  color: #fff;
  background-color: #e26e21 !important;
}

.badge-soft-primary {
  color: #fff;
  background-color: #34c38f !important;
}

.badge-soft-secondary {
  color: #6c757d;
  background-color: rgba(108, 117, 125, 0.18) !important;
}

.badge-soft-danger {
  color: #dc3545;
  background-color: rgba(220, 53, 70, 0.18) !important;
}

.badge-soft-warning {
  color: #ffc107;
  background-color: rgba(255, 193, 7, 0.18) !important;
}

.badge-soft-info {
  color: #0dcaf0;
  background-color: rgba(13, 202, 240, 0.18) !important;
}

.nav-tabs .nav-link {
  background-color: #e0dacd;
  color: #333;
}

.active > .page-link,
.page-link.active {
  background-color: #e26e21;
  border-color: #e26e21;
}

.disabled > .page-link,
.page-link.disabled,
.page-link {
  border-color: #e0dace;
}

.form-check.form-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-switch .form-check-input {
  width: 3em;
  height: 22px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
  background-color: #f46a6a;
  border-color: #f46a6a;
}

.form-switch .form-check-input:checked {
  background-color: #34c38f;
  border-color: #34c38f;
}

.form-switch .form-check-label {
  margin-bottom: 0;
}

textarea.form-control {
  resize: none;
}

.form-switch .form-check-input:focus {
  outline: none;
  box-shadow: none;
}

.logo-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.count-position {
  position: relative;
  top: -8px;
  margin-bottom: 0 !important;
  padding: 8px !important;
}

/* Sortable table headers (incidents page) */
.sortable-header {
  font-weight: 600;
  color: #4b5563;
  /* neutral text */
  background: none;
  border: none;
  padding: 0;
  text-align: left;
}

.sortable-header:hover,
.sortable-header:focus {
  color: #111827;
  text-decoration: none;
  box-shadow: none;
}

.sortable-header span {
  font-size: 0.85rem;
}

/* update admin css */
#layout-wrapper .vertical-menu {
  background: #e8eaed;
  width: 268px;
  transition: width 0.3s ease-in-out;
}

.vertical-collpsed:not([data-hover-overlay='true']) #layout-wrapper .vertical-menu {
  width: 80px !important;
  position: fixed;
  overflow: hidden;
}

#layout-wrapper .navbar-brand-box {
  background: #e8eaed;
  width: 268px;
  transition: width 0.3s ease-in-out;
}

.vertical-collpsed:not([data-hover-overlay='true']) #layout-wrapper .navbar-brand-box {
  width: 80px !important;
}

#layout-wrapper .main-content {
  margin-left: 268px;
  transition: margin-left 0.4s ease-in-out;
}

.vertical-collpsed:not([data-hover-overlay='true']) #layout-wrapper .main-content {
  margin-left: 80px;
}

#layout-wrapper #sidebar-menu ul {
  padding: 0 16px;
}

#layout-wrapper #sidebar-menu ul ul.sub-menu {
  padding: 0 0 12px;
}

#layout-wrapper #sidebar-menu ul li {
  padding: 0;
  margin-bottom: 2px;
  border-radius: 6px;
}

.vertical-collpsed:not([data-hover-overlay='true']) #layout-wrapper #sidebar-menu ul li {
  padding: 0;
}

#layout-wrapper #sidebar-menu ul li a {
  display: flex;
  align-items: center;
  color: #665f52;
  border-radius: 6px;
  padding: 12.5px 16px;
  margin-bottom: 0;
}

.vertical-collpsed:not([data-hover-overlay='true']) #layout-wrapper #sidebar-menu ul li a {
  padding: 12px;
  min-height: 50px;
}

#layout-wrapper #sidebar-menu ul li a span.caret.float-end {
  margin-left: auto;
  float: none !important;
  position: relative;
  top: -4px;
}

#layout-wrapper #sidebar-menu ul li a:before {
  display: none;
}

#layout-wrapper #sidebar-menu ul li a.mm-active,
#layout-wrapper #sidebar-menu ul li a:hover,
#layout-wrapper #sidebar-menu ul li.mm-active,
#layout-wrapper #sidebar-menu ul li:hover,
#layout-wrapper #sidebar-menu ul li:hover a {
  background-color: #000000;
  color: #fff !important;
}

#layout-wrapper #sidebar-menu ul li a i {
  color: #000000;
  font-weight: bold;
  margin: 0;
}

#layout-wrapper #sidebar-menu ul li a:hover i,
#layout-wrapper #sidebar-menu ul li:hover a i,
#layout-wrapper #sidebar-menu ul li a.mm-active i {
  color: #e26e21 !important;
}

.vertical-collpsed:not([data-hover-overlay='true']) #layout-wrapper .vertical-menu #sidebar-menu > ul > li:hover > ul {
  border-radius: 0 6px 6px 0;
  background-color: #e8eaed;
  left: 70px;
  width: auto;
}

.vertical-collpsed:not([data-hover-overlay='true']) #layout-wrapper .vertical-menu #sidebar-menu > ul > li:hover > a {
  background: #000000;
  color: #fff !important;
}

.vertical-collpsed:not([data-hover-overlay='true']) #layout-wrapper .vertical-menu #sidebar-menu > ul > li:hover > a i {
  color: #e26e21 !important;
}

#layout-wrapper #sidebar-menu ul ul.sub-menu li {
  padding: 0 16px 5px 26px;
  margin: 0;
}

#layout-wrapper #sidebar-menu ul ul.sub-menu li a {
  color: #665f52;
  padding-left: 17px;
}

#layout-wrapper #sidebar-menu ul ul.sub-menu li a.mm-active,
#layout-wrapper #sidebar-menu ul ul.sub-menu li a:hover {
  background-color: #e26e21;
  color: #fff;
}

#layout-wrapper #sidebar-menu ul li.mm-active ul.sub-menu li a {
  color: #fff;
}

.vertical-collpsed:not([data-hover-overlay='true']) #layout-wrapper #sidebar-menu ul ul.sub-menu li {
  padding: 0;
  margin: 3px 0;
}

.vertical-collpsed:not([data-hover-overlay='true']) #layout-wrapper #sidebar-menu ul ul.sub-menu li a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
}

.main-content .page-title-right {
  position: fixed;
  top: 12px;
  z-index: 1002;
  left: 310px;
  transition: all 300ms ease-in-out;
}

.vertical-collpsed:not([data-hover-overlay='true']) .main-content .page-title-right {
  left: 140px;
}

.gray-card {
  /* background-color: #E8EAED;
    padding: 16px;
    border-radius: 8px; */
  margin-bottom: 16px;
}

.d-flex.gap-16 {
  max-width: 654px;
}

.d-flex.gap-16,
.d-flex.gap-16 .row {
  width: 100%;
}

.gray-card .row,
.row.gap-16,
#layout-wrapper .row {
  --bs-gutter-x: 16px;
}

.gray-card .row .card {
  box-shadow: none;
  border: 1px solid #dfdfdf;
  border-radius: 8px;
  transition: all 300ms ease-in-out;
  background-color: #fff;
  background-image: none;
  margin-bottom: 0;
  min-height: 137px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease-in-out;
  /* background: linear-gradient(135deg, #fff3e0 0%, #ffd180 25%, #ffab40 55%, #ff6e40 80%, #ff1744 100%);
    background-blend-mode: lighten; */
}

/* .gray-card .row .card:hover {
    position: relative;
    border: 1px solid #3E4144;
    box-shadow: 0px 4px 9px 0px #00000038;
    background-image: url('../images/card-gradiant-bg.webp');
    background-color: #3E4144;
    background-size: cover;
    background-repeat: no-repeat;
} */

.gray-card .row .card .card-body p {
  font-size: 16px;
  color: #0a0a0a !important;
}

/* .gray-card .row .card:hover .card-body p {
    color: #E1E4E7 !important;
} */

.gray-card .row .card .card-body .d-flex {
  height: 100%;
}

.gray-card .row .card .card-body .d-flex .flex-grow-1 {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gray-card .row .card .card-body h4 {
  font-family: 'Teko', sans-serif;
  font-size: 40px !important;
  color: #000000 !important;
  line-height: 32px;
}

.gray-card .row .card .card-body h4 span {
  font-size: 18px;
  color: #767b81;
}

/* .gray-card .row .card:hover .card-body h4 {
    color: #fff !important;
} */

.gray-card .card.mini-stats-wid .mini-stat-icon {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 6px !important;
}

.gray-card .card.mini-stats-wid .mini-stat-icon .avatar-title {
  background-color: inherit;
}

.bg-orange,
.badge-primary {
  background-color: #e26e21 !important;
}

.bg-yellow {
  background-color: #ffc600 !important;
}

.bg-green {
  background-color: #00aa00 !important;
}

.card .btn.btn-sm {
  height: 32px;
}

.details-info-wrap .card-body .row .text-right {
  text-align: right;
}

.details-info-wrap .card-body .row .col-md-3 strong {
  color: #495057;
  font-size: 13px;
  font-weight: 700;
}

.details-info-wrap .card-body .row .col-md-3 span {
  color: #5a5e62;
  font-size: 13px;
  font-weight: 400;
}

.details-info-wrap .card-body .row .col-md-3 span.bg-secondary {
  background-color: #f7d6c1 !important;
  color: #815006;
  border-radius: 30px;
}

.details-info-wrap .card-body .row .col-md-3 span.bg-success {
  color: #fff;
  font-size: 12px;
}

#layout-wrapper .details-info-wrap .card-body .row {
  --bs-gutter-x: 50px;
}

.showMore-accordion .accordion-header .accordion-button {
  font-size: 16px;
  color: #e26e21;
  font-weight: 600;
  text-align: center;
  justify-content: center;
}

.showMore-accordion .accordion-header .accordion-button:not(.collapsed) {
  background-color: #e8eaed;
}

.showMore-accordion .accordion-header .accordion-button::after {
  background-image: none;
  content: '+';
  font-size: 32px;
  font-family: 'Teko', sans-serif;
  font-weight: 300;
  line-height: 24px;
  margin-left: 0;
  position: relative;
  right: 0;
  top: -1px;
}

.showMore-accordion .accordion-header .accordion-button:not(.collapsed)::after {
  transform: none;
  content: '-';
}

#layout-wrapper .form-label {
  color: #000000;
  margin-bottom: 2px;
  font-weight: 600;
  font-size: 11px;
}

.btn-sm-action-position {
  position: absolute;
  right: 20px;
  top: 10px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.card .btn-sm-action .btn.btn-sm {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.export-filter-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.export-filter-wrap .export-filter-fields .form-select {
  min-width: 190px;
}

.form-select:focus {
  box-shadow: inset 0 0 0 1px #e26e21;
  border-color: #e26e21;
}

.checkbox-wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.checkbox-wrap .form-check {
  margin: 0;
}

.checkbox-wrap .form-check .form-check-label {
  margin: 0;
}

.imageView-wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.transcription-chatlist {
  max-height: 550px;
  overflow-y: auto;
}

.transcription-chatlist .bg-light {
  background: linear-gradient(0deg, var(--beige-50, #eeebe4), var(--beige-50, #eeebe4)), linear-gradient(0deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
}

.accodion-grid {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  gap: 10px;
}

.accodion-grid .accordion-item:not(:first-of-type) {
  border-top: 1px solid var(--gray-100, #e1e4e7);
}

.accodion-grid .accordion-item {
  border: 1px solid var(--gray-100, #e1e4e7);
  border-radius: 6px;
}

.accodion-grid .accordion-item .accordion-button {
  border-radius: 6px;
}

.accodion-grid .accordion-item .accordion-button span {
  font-weight: 500;
  font-size: 14px;
  color: #000000;
}

.accodion-grid .accordion-item .accordion-button small {
  font-weight: 400;
  font-size: 14px;
  color: #91989f;
}

.accodion-grid .accordion-item:first-of-type > .accordion-header .accordion-button {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.accodion-grid .accordion-item .accordion-button:not(.collapsed) {
  background-color: transparent;
}

.btn:active,
.btn:focus-visible,
.btn:first-child:active {
  background-color: #e26e21;
  box-shadow: none;
  outline: none;
  border-color: #e26e21;
}

.add-image-box {
  border: 1px dashed var(--gray-400, #bac1c8);
  width: 100%;
  height: 100%;
  min-height: 200px;
  background-color: #e8eaed;
  color: #5a5e62;
  box-shadow: none;
  outline: none;
}

.add-image-box span {
  margin-top: 0;
}

.add-image-box:focus {
  box-shadow: none;
  outline: none;
}

.add-image-box:hover,
.add-image-box:active,
.add-image-box:focus-visible,
.add-image-box:first-child:active {
  border: 1px dashed var(--gray-400, #bac1c8);
  background-color: #f8f8fb;
  color: #5a5e62;
}

.add-image-box span {
  font-size: 12px;
  font-weight: 500;
  display: block;
  margin-top: 0;
  color: #5a5e62;
}

.max-320 {
  max-width: 320px;
}

.g-4,
.gy-4 {
  --bs-gutter-y: 16px;
}

.page-title-box .d-flex.gap-16 .row .form-select {
  color: #3e4144;
}

.page-title-box .d-flex.gap-16 .row .form-select,
.page-title-box .d-flex.gap-16 .row .btn {
  font-size: 13px;
  min-height: 42px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.4px;
}

.d-flex.gap-3 {
  align-items: center;
}

.modal .modal-dialog .modal-content {
  box-shadow: 0px 2px 5px 0px #00000005;
  border: 1px solid var(--gray-100, #e1e4e7);
  border-radius: 8px;
}

.modal .modal-dialog .modal-header {
  border: 0;
}

.modal .modal-dialog .modal-header .modal-title {
  font-size: 32px;
  line-height: 32px;
  font-weight: 400;
  font-family: 'Teko', sans-serif;
  margin: 0;
  color: #0a0a0a;
}

.form-label {
  color: #000000;
  margin-bottom: 5px !important;
  font-weight: 500;
  font-size: 12px;
}

.form-select:disabled {
  background-color: #edf0f2;
  color: #657489;
}

.form-control:disabled {
  background-color: #edf0f2;
  opacity: 1;
  color: #657489;
}

.react-datepicker {
  font-family: 'Inter', sans-serif !important;
  border: 1px solid #e2e2e2;
  box-shadow: 0 0 20px #999999;
}

.react-datepicker .react-datepicker__header {
  background-color: #fff5ef;
}

.react-datepicker .react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle {
  fill: #fff5ef;
  color: #f0f0f0;
}

.react-datepicker .react-datepicker__day-name,
.react-datepicker .react-datepicker__day,
.react-datepicker .react-datepicker__time-name {
  text-align: center;
  width: 2rem;
  height: 2rem;
  margin: 0.166rem;
  line-height: 2rem;
  font-size: 13px;
  font-weight: 400;
}

.react-datepicker .react-datepicker__day--keyboard-selected,
.react-datepicker .react-datepicker__month-text--keyboard-selected,
.react-datepicker .react-datepicker__quarter-text--keyboard-selected,
.react-datepicker .react-datepicker__year-text--keyboard-selected {
  color: #fff;
  background-color: #e26e21;
  border-radius: 0.3rem;
}

.react-datepicker .react-datepicker__day--selected,
.react-datepicker .react-datepicker__day--in-selecting-range,
.react-datepicker .react-datepicker__day--in-range,
.react-datepicker .react-datepicker__month-text--selected,
.react-datepicker .react-datepicker__month-text--in-selecting-range,
.react-datepicker .react-datepicker__month-text--in-range,
.react-datepicker .react-datepicker__quarter-text--selected,
.react-datepicker .react-datepicker__quarter-text--in-selecting-range,
.react-datepicker .react-datepicker__quarter-text--in-range,
.react-datepicker .react-datepicker__year-text--selected,
.react-datepicker .react-datepicker__year-text--in-selecting-range,
.react-datepicker .react-datepicker__year-text--in-range {
  background-color: #e26e21;
}

.react-datepicker .react-datepicker__header__dropdown--select select {
  border: 1px solid var(--gray-300, #c7cdd2);
  border-radius: 6px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 10px;
}

.react-datepicker h2.react-datepicker__current-month {
  margin: 0px 0 5px;
}

.modal-content div ul.small {
  padding-left: 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-content div ul li {
  word-wrap: break-word;
  word-break: break-all;
  font-size: 12px;
  background-color: #fdf5ef;
  padding: 2px 8px;
  border-radius: 6px;
  color: #000;
}

.card,
.tableCardOuter,
.tableFilterCardOuter {
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
  background: #fff;
  /* border-radius: 8px; */
}

.table-responsive td,
.table-responsive th {
  font-size: 13px;
  font-weight: 500;
  color: #0a0a0a;
  transition: all 0.3s ease-in-out;
}

.table-responsive th {
  background-color: #eff2f7;
  border: 0;
  color: #7d7d7d !important;
  font-weight: 600;
}

.table-responsive td {
  border-color: #dcdcdc;
  line-height: 1.3;
  min-height: auto;
  height: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  cursor: pointer;
}
.accessLogsTable .table-responsive td {
  cursor: default;
}
.table-responsive tbody tr:hover {
  position: relative;
  /* z-index: 1; */
  /* box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px; */
}

.table-responsive tr:hover td {
  border-color: transparent;
}

.table-responsive tbody tr {
  transition: all 0.3s ease-in-out;
}

.table-responsive tbody tr:hover > * {
  --bs-table-color-state: var(--bs-table-hover-color);
  --bs-table-bg-state: #ffefe5 !important;
}

.tableCardOuter .table-responsive {
  max-height: 45vh;
  padding-right: 15px;
  margin-right: -20px;
}

.lg-toolbar .lg-download {
  display: none !important;
}

.lg-toolbar .lg-zoom-in {
  display: none !important;
}

@media (min-width: 1800px) {
  .tableCardOuter .table-responsive {
    max-height: 44vh;
  }
}

@media (min-width: 2200px) {
  .tableCardOuter .table-responsive {
    max-height: 50vh;
  }
}

@media (min-width: 2800px) {
  .tableCardOuter .table-responsive {
    max-height: 61vh;
  }
}

.tableCardOuter .table-responsive::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.tableCardOuter .table-responsive::-webkit-scrollbar-thumb {
  background: #a8724e;
  border-radius: 4px;
}

.tableCardOuter .table-responsive::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.tableCardOuter .table-responsive:has(tbody tr:only-child) {
  min-height: 250px;
}

.tableCardOuter thead {
  position: sticky;
  top: 0;
  z-index: 5;
}

.table-responsive .sortable-header:active {
  background-color: transparent;
  color: #111827;
}

.create-task-description {
  height: 123px !important;
}

.create-task-keywords .keyword-badge {
  padding: 0 10px;
  min-height: 30px;
  justify-content: space-between;
  background: #e26e21 !important;
  border-radius: 30px;
  /* min-width: 70px; */
}

.create-task-keywords .keyword-badge span {
  color: #fff;
}

.create-task-keywords .keyword-badge .btn {
  line-height: 1;
  height: auto;
}

.incidentBasicInfoList {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.incidentBasicInfoList strong,
.incidentBasicInfoScrollList strong {
  display: block;
  margin-bottom: 6px;
  min-width: 150px;
}

.incidentBasicInfoList span,
.showMore-accordion span {
  color: #0a0a0a !important;
  text-align: right;
}

.incidentBasicInfoList .badge.bg-secondary {
  background-color: #51280c !important;
  color: #fff !important;
}

.incidentBasicInfoList .badge.bg-success {
  background-color: #e26e21 !important;
  color: #fff !important;
}

.incidentBasicInfoScrollList .scroll-text-box {
  background: none;
  border: 1px solid #bfbdbd;
  color: #0a0a0a;
  line-height: 1.7;
  max-height: 250px;
}

.incidentGalleryCount {
  background-color: #51280c;
  display: inline-flex;
  width: auto;
  margin-left: auto;
  color: #fff !important;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.incidentGalleryImageCard {
  position: relative;
  overflow: hidden;
}

.incidentGalleryImageCard::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  transform: scale(0.8);
  border-radius: 0.25rem;
}

.incidentGalleryImageCard:hover::before {
  opacity: 1;
  transform: scale(1);
}

.incidentGalleryImageCard .incident-gallery-link {
  height: 100%;
  padding: 0;
  border: 0;
  width: 100%;
}

.incidentGalleryImageCard .img-fluid {
  object-fit: cover;
  object-position: top;
}

.incidentGalleryImageCard .zoomBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 2;
  pointer-events: none;
  background-color: transparent;
  padding: 0;
  border: 0;
  font-size: 30px;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

.incidentGalleryImageCard:hover .zoomBtn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.incidentDetailsCardOuter #incident-media .card {
  height: auto;
}

.incidentDetailsCardOuter {
  box-shadow: none;
}

.incidentDetailsCardOuter .tab-content .incidentMediaSection .card:not(.headerCard) {
  border: 1px solid #e2e2e2;
  background: #fff;
  padding: 15px;
  height: 100% !important;
  margin: 0;
}

.incidentDetailsCardOuter .tab-content .incidentMediaSection .card:not(.headerCard) .card-header {
  background-color: transparent;
  padding: 0;
  margin-bottom: 0;
}

.incidentDetailsCardOuter .tab-content .incidentMediaSection .card:not(.headerCard) .card-title {
  margin-bottom: 20px !important;
}

.orgDetailsCardOuter .tab-content .incidentMediaSection .transcription-chatlist .border {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.incidentDetailsCardOuter .tab-content .incidentMediaSection .transcription-chatlist {
  padding-right: 10px;
  margin-right: -14px;
}

.incidentDetailsCardOuter .tab-content .incidentMediaSection .transcription-chatlist::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.incidentDetailsCardOuter .tab-content .incidentMediaSection .transcription-chatlist::-webkit-scrollbar-thumb {
  background: #a8724e;
  border-radius: 4px;
}

.incidentDetailsCardOuter .tab-content .incidentMediaSection .transcription-chatlist::-webkit-scrollbar-track {
  background: #f1f3f4;
  border-radius: 4px;
}

.incidentDetailsCardOuter .tab-content .incidentMediaSection .transcription-chatlist .bg-light {
  background: #e9e9e9 !important;
}

.incidentDetailsCardOuter .tab-content .incidentMediaSection .transcription-chatlist .bg-light:nth-of-type(even) {
  background: #f1f3f4 !important;
}

.incidentDetailsCardOuter .tab-content .incidentMediaSection .transcription-chatlist .bg-light * {
  color: #0a0a0a !important;
}

.incidentDetailsCardOuter .tab-content .incidentMediaSection .transcription-chatlist .badge {
  background: rgb(81 40 12) !important;
}

.viewIncidentLogsCard .table-responsive {
  padding-right: 15px;
  margin-right: -15px;
}

.incident-basic-details-body .showMore-accordion .accordion-header .accordion-button {
  font-size: 13px;
  background: #e26e21 !important;
  font-weight: 600;
  text-align: center;
  justify-content: center;
  color: #fff;
  max-width: 130px;
  margin-left: auto;
  border-radius: 6px !important;
  margin-bottom: 20px;
  padding: 12px;
}

.incident-basic-details-body .showMore-accordion .accordion-item {
  border: 0;
}

.incident-basic-details-body .showMore-accordion .accordion-item .accordion-collapse {
  border: 1px solid #bfbdbd;
  border-radius: 6px;
  box-shadow: none;
}

.hotwashReportCard .form-control:disabled {
  background-color: var(--bs-body-bg);
  opacity: 1;
  color: #0a0a0a;
}

.hotwashReportCard textarea.form-control {
  height: 183px !important;
  color: #0a0a0a;
  line-height: 1.7;
}

.taskViewModalBody .taskViewModalBodyContent {
  border: 1px solid #bfbdbd;
  border-radius: 6px;
  box-shadow: none;
  padding: 15px 0;
  padding-top: 0;
  overflow: hidden;
}

.taskViewModalBody .taskViewModalBodyContent .col-sm-8 {
  color: #0a0a0a;
}

.taskViewModalBodyContent .row {
  border-bottom: 1px solid #ddd9d9;
  border-radius: 6px;
  box-shadow: none;
  padding: 10px 15px;
  overflow: hidden;
  margin-bottom: 0 !important;
}

.taskViewModalBodyContent .row:nth-child(even) {
  background-color: #eceff1;
}

.taskViewModalBodyContent .row:last-child {
  margin-bottom: 0 !important;
  border-bottom: 0;
}

.badgePrimary {
  background-color: #e26e21 !important;
  color: #fff !important;
}

.bg-secondary {
  background-color: #000000 !important;
}

.incidentDetailsCardOuter .tab-content > .tab-pane {
  display: block;
  opacity: 1;
  margin-bottom: 40px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 15px;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}

.incidentDetailsCardOuter .tab-content > .tab-pane:last-child {
  margin-bottom: 0;
}

.incidentDetailsCardOuter .card-header {
  border-radius: 8px;
  padding: 12px;
}

/* #orgDetailsTabContent {
    max-height: 69vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 15px;
    margin-right: -20px;
} */

#orgDetailsTabContent::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}

#orgDetailsTabContent::-webkit-scrollbar-thumb {
  background: #a8724e;
  border-radius: 4px;
}

#orgDetailsTabContent::-webkit-scrollbar-track {
  background: #f1f3f4;
  border-radius: 4px;
}

.react-datepicker-popper {
  z-index: 8;
}

.modal-body {
  padding-bottom: 35px;
}

.incident-bulk-upload-error-details ul {
  list-style: none;
  padding: 0;
}

.incident-bulk-upload-error-details ul li {
  background-color: transparent !important;
  padding: 0 !important;
  list-style: none;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.incident-bulk-upload-error-details ul li:last-child {
  margin-bottom: 0;
}

.incident-bulk-upload-error-details ul li i {
  color: #d72e2e;
  font-size: 17px;
  line-height: 1;
  position: relative;
  top: -1px;
}

.yarl__slide_image {
  cursor: grab;
}
.incidentStatusBadges .isAudioUploaded {
  background-color: #ffd770 !important;
}
.incidentStatusBadges .isTranscriptionFailed,
.incidentStatusBadges .isInformationRequired {
  background-color: #dc3545 !important;
}
.incidentStatusBadges .isTranscriptionSuccess {
  background-color: #6ca756 !important;
}
.incidentStatusBadges .isReportRequired {
  color: #6c757d;
  background-color: rgba(108, 117, 125, 0.18) !important;
}
.incidentStatusBadges .isSynced {
  background-color: #4b89e4 !important;
}
.loginRightLogo {
  display: none;
}

.taskTimelineCategoriesOuter {
  position: relative;
  height: 58px;
  /* 28px outer padding on left & right */
  padding-left: 28px;
  padding-right: 28px;
  /* vertical spacing as in reference design */
  margin-top: 24px;
  margin-bottom: 32px;
}

.taskTimelineCategoriesOuter .categoriesItem {
  height: 58px;
  /* width: 210px !important; */
  display: flex;
  transition: all 0.4s ease-in-out;
}

.taskTimelineCategoriesOuter .categoriesItem .holder {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid;
  border-radius: 7px 0 0 7px;
  flex-grow: 1;
  padding: 10px;
}

.taskTimelineCategoriesOuter .categoriesItem h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #665f52;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.taskTimelineCategoriesOuter .categoriesItem p {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #665f52;
  margin: 0;
}

.taskTimelineCategoriesOuter .categoriesItem .squareBox {
  width: 20px;
  height: 20px;
  min-width: 20px;
  box-shadow: -3px 3px 11px 0px #00000038;
  border-radius: 4px;
  background-color: #964300;
}

.taskTimelineCategoriesOuter .categoriesItem .arrow {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 29px 0px 29px 9px;
  transform: rotate(0deg);
}

.taskTimelineCategoriesOuter .categoriesItem:last-child .holder {
  border-radius: 7px;
}

.taskTimelineCategoriesOuter .categoriesItem:last-child .arrow {
  display: none;
}

.taskTimelineGraphOuter {
  min-height: 70vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
  /* width: 1280px; */
}

.taskTimelineWrapper::-webkit-scrollbar {
  width: 6px;
  height: 10px;
  cursor: grab;
}

.taskTimelineWrapper::-webkit-scrollbar-thumb {
  background: #a8724e;
  border-radius: 4px;
}

.taskTimelineWrapper::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.taskTimelineGraphOuter .timeStampOuter {
  background: #eae5dc;
  height: 60px;
  padding: 0;
  position: absolute;
  /* slightly overdraw width so no tiny gap from rounding */
  width: calc(100% + 2px);
  z-index: 2;
  left: -1px;
  right: 0;
  top: 50%;
  /* border-top: 1px solid #C4B79D;
    border-bottom: 1px solid #C4B79D; */
  /* transform: translateY(-50%); */
}
/* .taskTimelineGraphOuter .timeStampOuter::before{
    content: "";
    position: absolute;
    left: calc(100% + 0px);
    top: -1px;
    width: 50px;
    height: calc(100% + 3px);
    background: #EAE5DC;
    z-index: 1;
    border-top: 1px solid #C4B79D;
    border-bottom: 1px solid #C4B79D;
} */
.taskTimelineGraphOuter .timeStampItem {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  background: #eae5dc;
}

.taskTimelineGraphOuter .timeStampItem .timeStampText {
  background-color: #fff;
  height: 30px;
  border-radius: 17px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #3e4144;
  display: inline-flex;
  align-items: center;
  min-width: 60px;
  justify-content: center;
  padding: 0 6px;
  white-space: nowrap;
}

.taskTimelineGraphOuter .timeStampItem:last-child .arrow {
  display: none;
}

.taskTimelineGraphOuter .taskItem {
  position: absolute;
  left: -16px;
  min-height: 90px;
  bottom: 100%;
  display: flex;
  align-items: flex-start;
}

.taskTimelineGraphOuter .taskItem:nth-child(even) {
  top: 100%;
  align-items: flex-end;
}

.taskTimelineGraphOuter .taskItem + .taskItem {
  margin-top: 10px;
}

.taskTimelineGraphOuter .taskItem .line {
  height: 100%;
  border-left: 1px dashed #964300;
  position: absolute;
  left: 50%;
}

.taskTimelineGraphOuter .taskBox {
  background-color: #964300;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

.taskTimelineGraphOuter .taskBox h3 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 5px;
  color: #fff;
}

.taskTimelineGraphOuter .taskBox p {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0;
  color: #fff;
}

.taskBoxDynamicOuter {
  bottom: 100% !important;
  top: auto !important;
  min-height: 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.taskBoxDynamicOuter:nth-child(even) {
  bottom: auto !important;
  top: 100% !important;
  align-items: flex-end;
}

.taskBoxDynamicOuter .line {
  height: 100%;
  border-left: 1px dashed;
  position: absolute;
  left: 50%;
}

/* Timeline task layout helpers */
.tasksLayer {
  position: absolute;
  width: 100%;
  height: 60px;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 3;
}

.taskBoxDynamic {
  transition:
    top 200ms ease,
    left 200ms ease,
    width 200ms ease;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  z-index: 2;
  text-align: center;
  position: relative;
  overflow: visible !important;
  min-width: 150px !important;
}

.taskBoxDynamic:hover {
  z-index: 3;
}

.timeStampItem {
  top: 0;
}

.taskTimelineGraphOuter .timeStampOuter .timeStampItem .arrow {
  margin-top: 2px;
  margin-right: 10px;
}

.timelineFilter {
  display: flex;
  align-items: center;
  gap: 12px 22px;
  flex-wrap: wrap;
}

.timelineFilter label {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timelineFilter label input {
  opacity: 0;
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.timelineFilter label .squareBox {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 4px;
  border: 2px solid;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.timelineFilter span {
  font-size: 12px;
  font-weight: 600;
  color: #c4b79d;
  display: block;
  max-width: 280px;
  transition: all 0.3s ease-in-out;
}

.timelineFilter input:checked + .squareBox + span {
  color: #c4b79d;
  color: #665f52;
}

.timelineFilter .squareBox svg {
  opacity: 0;
  transform: rotate(90deg);
  transition: all 0.3s ease-in-out;
}

.timelineFilter input:checked + .squareBox svg {
  opacity: 1;
  transform: rotate(0deg);
}

.taskTimelineGraphInner {
  width: 100%;
  background: #eae5dd;
  padding: 0 20px;
  border-top: 1px solid #c4b79d;
  border-bottom: 1px solid #c4b79d;
}
.notesToggleBtn {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffcf29;
  border-radius: 100%;
  border: 1px solid #fff;
  box-shadow: 0px 3px 3.3px 0px #00000024;
  position: absolute;
  right: -7px;
  z-index: 2;
  top: -7px;
  cursor: pointer;
}
.notesToggleBtn .notesToggleBtnText {
  background: #fff;
  position: absolute;
  left: 100%;
  top: 0;
  z-index: 28;
  box-shadow: 0px 3px 3.3px 0px #00000024;
  min-width: 200px;
  border-radius: 4px;
  padding: 10px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}
.notesToggleBtn.isActive .notesToggleBtnText {
  opacity: 1;
  transform: translateY(0);
}
.notesToggleBtn .notesToggleBtnText h3 {
  font-size: 17px;
  color: #000;
  line-height: 1.2;
  margin-bottom: 5px;
  font-weight: 600;
}
.notesToggleBtn .notesToggleBtnText p {
  color: #000;
  font-size: 14px;
  margin: 0;
  line-height: 1.3;
}
@media (max-width: 1440px) {
  .taskTimelineGraphOuter .timeStampItem .timeStampText {
    height: 26px;
    font-size: 12px;
    min-width: 50px;
  }
}

@media (max-width: 992px) {
  #layout-wrapper .navbar-brand-box {
    width: auto;
    padding: 0 0 0 1.5rem;
    background: #fff;
  }

  .login-box .left-col {
    flex: 0 0 40%;
  }

  .main-content .page-title-right {
    left: 120px;
  }

  #layout-wrapper .footer {
    left: 0;
  }
}

@media (max-width: 767px) {
  .login-box .left-col {
    display: none;
  }

  .login-box {
    flex-direction: column;
  }

  .gray-card .row,
  .row.gap-16,
  #layout-wrapper .row {
    --bs-gutter-x: 8px;
  }

  .main-content .page-title-right {
    left: -12px;
    position: relative;
    top: 0;
    z-index: 1;
  }
  .loginRightLogo {
    display: block;
    max-width: 140px;
    margin-bottom: 10px;
  }
}

/* ============================================================================
   Task timeline popover prominence
   ============================================================================ */
.task-timeline-popover.popover {
  --bs-popover-max-width: 360px;
  z-index: 1080; /* keep above timeline elements */
  border: 1px solid rgba(15, 23, 42, 0.18);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
}

.task-timeline-popover .popover-header {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.task-timeline-popover .popover-body {
  font-size: 13px;
  line-height: 1.35;
  color: rgba(15, 23, 42, 0.9);
}
