.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #32393f;
}

a {
  color: #008cff;
}

.table-responsive {
  white-space: nowrap;
}

.form-check-input:checked {
  background-color: #008cff;
  border-color: #008cff;
}

.form-check-input[type="checkbox"]:indeterminate {
  background-color: #008cff;
  border-color: #008cff;
}

.valid-feedback {
  color: #15ca20;
}

.form-control.is-valid,
.was-validated .form-control:valid {
  border-color: #15ca20;
}

.form-control.is-valid:focus,
.was-validated .form-control:valid:focus {
  border-color: #15ca20;
}

.form-select.is-valid,
.was-validated .form-select:valid {
  border-color: #15ca20;
}

.form-select.is-valid:focus,
.was-validated .form-select:valid:focus {
  border-color: #15ca20;
}
.form-check-input.is-valid,
.was-validated .form-check-input:valid {
  border-color: #15ca20;
}
.form-check-input.is-valid:checked,
.was-validated .form-check-input:valid:checked {
  background-color: #15ca20;
}
.form-check-input.is-valid ~ .form-check-label,
.was-validated .form-check-input:valid ~ .form-check-label {
  color: #15ca20;
}

.invalid-feedback {
  color: #fd3550;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
  border-color: #fd3550;
}
.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus {
  border-color: #fd3550;
}
.form-select.is-invalid,
.was-validated .form-select:invalid {
  border-color: #fd3550;
}
.form-select.is-invalid:focus,
.was-validated .form-select:invalid:focus {
  border-color: #fd3550;
}
.form-check-input.is-invalid,
.was-validated .form-check-input:invalid {
  border-color: #fd3550;
}
.form-check-input.is-invalid:checked,
.was-validated .form-check-input:invalid:checked {
  background-color: #fd3550;
}
.form-check-input.is-invalid ~ .form-check-label,
.was-validated .form-check-input:invalid ~ .form-check-label {
  color: #fd3550;
}

.input-group-text {
  background-color: #ffffff;
}

.btn {
  letter-spacing: 0.5px;
}

.btn-primary {
  color: #fff;
  background-color: #008cff;
  border-color: #008cff;
}
.btn-primary:hover {
  color: #fff;
  background-color: #037de2;
  border-color: #037de2;
}
.btn-check:focus + .btn-primary,
.btn-primary:focus {
  color: #fff;
  background-color: #037de2;
  border-color: #037de2;
  box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
}
.btn-check:active + .btn-primary,
.btn-check:checked + .btn-primary,
.btn-primary.active,
.btn-primary:active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #037de2;
  border-color: #037de2;
}
.btn-check:active + .btn-primary:focus,
.btn-check:checked + .btn-primary:focus,
.btn-primary.active:focus,
.btn-primary:active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
}
.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff;
  background-color: #008cff;
  border-color: #008cff;
}

.btn-success {
  color: #fff;
  background-color: #15ca20;
  border-color: #15ca20;
}
.btn-success:hover {
  color: #fff;
  background-color: #0eb018;
  border-color: #0eb018;
}
.btn-check:focus + .btn-success,
.btn-success:focus {
  color: #fff;
  background-color: #0eb018;
  border-color: #0eb018;
  box-shadow: 0 0 0 0.25rem rgb(23 160 14 / 52%);
}
.btn-check:active + .btn-success,
.btn-check:checked + .btn-success,
.btn-success.active,
.btn-success:active,
.show > .btn-success.dropdown-toggle {
  color: #fff;
  background-color: #0eb018;
  border-color: #0eb018;
}
.btn-check:active + .btn-success:focus,
.btn-check:checked + .btn-success:focus,
.btn-success.active:focus,
.btn-success:active:focus,
.show > .btn-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgb(23 160 14 / 52%);
}
.btn-success.disabled,
.btn-success:disabled {
  color: #fff;
  background-color: #0f8107;
  border-color: #146c43;
}

.btn-danger {
  color: #fff;
  background-color: #fd3550;
  border-color: #fd3550;
}
.btn-danger:hover {
  color: #fff;
  background-color: #d10b1e;
  border-color: #b02a37;
}
.btn-check:focus + .btn-danger,
.btn-danger:focus {
  color: #fff;
  background-color: #d10b1e;
  border-color: #b02a37;
  box-shadow: 0 0 0 0.25rem rgba(225, 83, 97, 0.5);
}
.btn-check:active + .btn-danger,
.btn-check:checked + .btn-danger,
.btn-danger.active,
.btn-danger:active,
.show > .btn-danger.dropdown-toggle {
  color: #fff;
  background-color: #b02a37;
  border-color: #a52834;
}
.btn-check:active + .btn-danger:focus,
.btn-check:checked + .btn-danger:focus,
.btn-danger.active:focus,
.btn-danger:active:focus,
.show > .btn-danger.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(225, 83, 97, 0.5);
}
.btn-danger.disabled,
.btn-danger:disabled {
  color: #fff;
  background-color: #fd3550;
  border-color: #fd3550;
}

.btn-outline-primary {
  color: #008cff;
  border-color: #008cff;
}
.btn-outline-primary:hover {
  color: #fff;
  background-color: #008cff;
  border-color: #008cff;
}
.btn-check:focus + .btn-outline-primary,
.btn-outline-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}
.btn-check:active + .btn-outline-primary,
.btn-check:checked + .btn-outline-primary,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show,
.btn-outline-primary:active {
  color: #fff;
  background-color: #008cff;
  border-color: #008cff;
}
.btn-check:active + .btn-outline-primary:focus,
.btn-check:checked + .btn-outline-primary:focus,
.btn-outline-primary.active:focus,
.btn-outline-primary.dropdown-toggle.show:focus,
.btn-outline-primary:active:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}
.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
  color: #008cff;
  background-color: transparent;
}

.btn-outline-success {
  color: #15ca20;
  border-color: #15ca20;
}
.btn-outline-success:hover {
  color: #fff;
  background-color: #15ca20;
  border-color: #15ca20;
}
.btn-check:focus + .btn-outline-success,
.btn-outline-success:focus {
  box-shadow: 0 0 0 0.25rem rgb(23 160 14 / 52%);
}
.btn-check:active + .btn-outline-success,
.btn-check:checked + .btn-outline-success,
.btn-outline-success.active,
.btn-outline-success.dropdown-toggle.show,
.btn-outline-success:active {
  color: #fff;
  background-color: #15ca20;
  border-color: #15ca20;
}
.btn-check:active + .btn-outline-success:focus,
.btn-check:checked + .btn-outline-success:focus,
.btn-outline-success.active:focus,
.btn-outline-success.dropdown-toggle.show:focus,
.btn-outline-success:active:focus {
  box-shadow: 0 0 0 0.25rem rgb(23 160 14 / 52%);
}
.btn-outline-success.disabled,
.btn-outline-success:disabled {
  color: #15ca20;
  background-color: transparent;
}

.btn-outline-danger {
  color: #fd3550;
  border-color: #fd3550;
}
.btn-outline-danger:hover {
  color: #fff;
  background-color: #fd3550;
  border-color: #fd3550;
}
.btn-check:focus + .btn-outline-danger,
.btn-outline-danger:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.5);
}
.btn-check:active + .btn-outline-danger,
.btn-check:checked + .btn-outline-danger,
.btn-outline-danger.active,
.btn-outline-danger.dropdown-toggle.show,
.btn-outline-danger:active {
  color: #fff;
  background-color: #fd3550;
  border-color: #fd3550;
}
.btn-check:active + .btn-outline-danger:focus,
.btn-check:checked + .btn-outline-danger:focus,
.btn-outline-danger.active:focus,
.btn-outline-danger.dropdown-toggle.show:focus,
.btn-outline-danger:active:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.5);
}
.btn-outline-danger.disabled,
.btn-outline-danger:disabled {
  color: #fd3550;
  background-color: transparent;
}

.btn-link {
  font-weight: 400;
  color: #008cff;
  text-decoration: underline;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #1e2125;
  background-color: #f8f9fa;
}
.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #008cff;
}
.dropdown-item.disabled,
.dropdown-item:disabled {
  color: #6c757d;
  pointer-events: none;
  background-color: transparent;
}

.card {
  border: 0 solid transparent;
  margin-bottom: 1.5rem;
  box-shadow:
    0 2px 6px 0 rgb(218 218 253 / 65%),
    0 2px 6px 0 rgb(206 206 238 / 54%);
}

.card-header {
  background-color: rgba(0, 0, 0, 0);
}

.progress-bar {
  background-color: #008cff;
}

.list-group-item.active {
  z-index: 2;
  color: #fff;
  background-color: #008cff;
  border-color: #008cff;
}

.border-primary {
  border-color: #008cff !important;
}

.border-success {
  border-color: #15ca20 !important;
}

.border-danger {
  border-color: #fd3550 !important;
}

.border-light-2 {
  border-color: rgb(255 255 255 / 12%) !important;
}

.text-primary {
  color: #008cff !important;
}
.text-secondary {
  color: #6c757d !important;
}
.text-success {
  color: #15ca20 !important;
}
.text-info {
  color: #0dcaf0 !important;
}
.text-warning {
  color: #ffc107 !important;
}
.text-danger {
  color: #fd3550 !important;
}
.text-light {
  color: #f8f9fa !important;
}
.text-dark {
  color: #212529 !important;
}
.text-white {
  color: #fff !important;
}
.text-body {
  color: #212529 !important;
}
.text-muted {
  color: #6c757d !important;
}
.text-black-50 {
  color: rgba(0, 0, 0, 0.5) !important;
}
.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.bg-primary {
  background-color: #008cff !important;
}

.bg-success {
  background-color: #15ca20 !important;
}

.bg-danger {
  background-color: #fd3550 !important;
}

.form-check-success .form-check-input:checked {
  background-color: #15ca20;
  border-color: #15ca20;
}

.form-check-success .form-check-input[type="checkbox"]:indeterminate {
  background-color: #15ca20;
  border-color: #15ca20;
  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 10h8'/%3e%3c/svg%3e");
}

.form-check-success .form-check-input:focus {
  border-color: #15ca20;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(21, 202, 33, 0.25);
}

.form-check-danger .form-check-input:checked {
  background-color: #fd3550;
  border-color: #fd3550;
}

.form-check-danger .form-check-input[type="checkbox"]:indeterminate {
  background-color: #fd3550;
  border-color: #fd3550;
  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 10h8'/%3e%3c/svg%3e");
}

.form-check-danger .form-check-input:focus {
  border-color: #fd3550;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(253, 53, 80, 0.25);
}

.form-check-warning .form-check-input:checked {
  background-color: #ffc107;
  border-color: #ffc107;
}

.form-check-warning .form-check-input[type="checkbox"]:indeterminate {
  background-color: #ffc107;
  border-color: #ffc107;
  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 10h8'/%3e%3c/svg%3e");
}

.form-check-warning .form-check-input:focus {
  border-color: #ffc107;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.form-check-dark .form-check-input:checked {
  background-color: #212529;
  border-color: #212529;
}

.form-check-dark .form-check-input[type="checkbox"]:indeterminate {
  background-color: #212529;
  border-color: #212529;
  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 10h8'/%3e%3c/svg%3e");
}

.form-check-dark .form-check-input:focus {
  border-color: #212529;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(33, 37, 41, 0.25);
}

.form-check-secondary .form-check-input:checked {
  background-color: #6c757d;
  border-color: #6c757d;
}

.form-check-secondary .form-check-input[type="checkbox"]:indeterminate {
  background-color: #6c757d;
  border-color: #6c757d;
  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 10h8'/%3e%3c/svg%3e");
}

.form-check-secondary .form-check-input:focus {
  border-color: #6c757d;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25);
}

.form-check-info .form-check-input:checked {
  background-color: #0dcaf0;
  border-color: #0dcaf0;
}

.form-check-info .form-check-input[type="checkbox"]:indeterminate {
  background-color: #0dcaf0;
  border-color: #0dcaf0;
  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 10h8'/%3e%3c/svg%3e");
}

.form-check-info .form-check-input:focus {
  border-color: #0dcaf0;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.25);
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

.btn-xs {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1.25;
  border-radius: 0.2rem;
}
.table tr th {
  font-weight: 500 !important;
  text-align: center;
  background-color: #6fd7ec6b;
}
.table tr td {
  font-size: 14px;
  text-align: center;
  /* border-bottom: 1px solid gray;; */
}

table.dataTable tr td input {
  font-size: 17px;
  margin: auto !important;
}

table.dataTable {
  border-collapse: collapse !important;
}

table.dataTable th,
table.dataTable td {
  border: 1px solid #ddd !important;
}

table.dataTable thead th {
  border-bottom: 2px solid #ddd !important;
}

/* Green Background (Success - Light) */
.green-bg {
  background-color: #d4edda !important; /* Light Green */
  color: #155724 !important; /* Dark Green Text */
  border: 1px solid #c3e6cb !important; /* Border */
}

/* Blue Background (Info - Light) */
.info-bg {
  background-color: #d1ecf1 !important; /* Light Blue */
  color: #0c5460 !important; /* Dark Blue Text */
  border: 1px solid #bee5eb !important; /* Border */
}

/* Red Background (Danger - Light) */
.red-bg {
  background-color: #f8d7da !important; /* Light Red */
  color: #721c24 !important; /* Dark Red Text */
  border: 1px solid #f5c6cb !important; /* Border */
}

/* White Background (Neutral) */
.white-bg {
  background-color: #ffffff !important; /* White */
  color: #212529 !important; /* Dark Text */
  border: 1px solid #dee2e6 !important; /* Border */
}

/* Yellow Background (Warning - Light) */
.yellow-bg {
  background-color: #fff3cd !important; /* Light Yellow */
  color: #856404 !important; /* Dark Yellow Text */
  border: 1px solid #ffeeba !important; /* Border */
}
/* Green Row (Success - Light) */
tr.green-bg td {
  background-color: #d4edda !important; /* Light Green */
  color: #155724 !important; /* Dark Green Text */
  border-bottom: 1px solid #c3e6cb !important;
}

/* Blue Row (Info - Light) */
tr.info-bg td {
  background-color: #d1ecf1 !important; /* Light Blue */
  color: #0c5460 !important; /* Dark Blue Text */
  border-bottom: 1px solid #bee5eb !important;
}

/* Red Row (Danger - Light) */
tr.red-bg td {
  background-color: #f8d7da !important; /* Light Red */
  color: #721c24 !important; /* Dark Red Text */
  border-bottom: 1px solid #f5c6cb !important;
}

/* White Row (Neutral) */
tr.white-bg td {
  background-color: #ffffff !important; /* White */
  color: #212529 !important; /* Dark Text */
  border-bottom: 1px solid #dee2e6 !important;
}

/* Yellow Row (Warning - Light) */
tr.yellow-bg td {
  background-color: #fff3cd !important; /* Light Yellow */
  color: #856404 !important; /* Dark Yellow Text */
  border-bottom: 1px solid #ffeeba !important;
}
/* Apply to entire project */
* {
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #b0b0b0 #f1f1f1; /* Thumb and Track colors */
}

/* Chrome, Edge, and Safari */
::-webkit-scrollbar {
  width: 6px; /* Thin width */
  height: 6px; /* Thin horizontal scrollbar */
}

/* Scrollbar Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; /* Light background */
  border-radius: 10px;
}

/* Scrollbar Handle (Thumb) */
::-webkit-scrollbar-thumb {
  background: #b0b0b0; /* Gray color */
  border-radius: 10px;
}

/* Scrollbar Thumb on Hover */
::-webkit-scrollbar-thumb:hover {
  background: #888;
}

.scrollable-select {
  max-height: 200px; /* Set maximum height */
  overflow-y: auto; /* Enable vertical scrolling */
  display: block; /* Ensure it respects height settings */
  width: 100%;
}
.select-wrapper {
  max-height: 150px; /* Limit height */
  overflow-y: auto; /* Enable scrolling */
}

/* Fix select box inside the wrapper */
.select-wrapper select {
  display: block;
  width: 100%;
}

.auth-cover-bg {
  width: 100%;
  height: 100vh;
  position: relative;
}

.auth-cover-bg .auth-illustration {
  max-height: 65%;
  max-width: 65%;
  z-index: 1;
}

.platform-bg {
  position: absolute;
  width: 100%;
  bottom: 0%;
  left: 0%;
  height: 35%;
}

.auth-cover-bg-color {
  background-color: #eae9ee;
}
.authentication-bg {
  box-shadow:
    -6px 0 6px -4px rgba(227, 227, 247, 0.65),
    -6px 0 6px -4px rgba(206, 206, 238, 0.54);
}
@media (max-width: 768px) {
  /* Apply shadow-lg only for small screens */
  .shadow-smaller-screen {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; /* Equivalent to Bootstrap 5's shadow-lg */
    margin-top: 20%;
    padding: 10px;
  }
  .shadow-smaller-screen-parent {
    margin: 20px;
  }
}

.agent-profile .form-control {
  font-size: 14px !important;
}
.agent-profile label {
  font-size: 14px;
}

input.form-control:read-only {
  background-color: var(--bs-secondary-bg);
  opacity: 1;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
  box-shadow: none !important;
}

.ribbon {
  position: absolute;
  top: 32px;
  left: -73px;
  background: #007bff;
  color: white;
  padding: 5px 30px;
  transform: rotate(-45deg);
  transform-origin: top left;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  width: 150px;
  height: 80px;
  padding-top: 60px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.badge1 {
  position: absolute;
  top: -8px;
  right: -8px;
  background: orange;
  color: white;
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  z-index: 99;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.card-header h5,
.card-header h6 {
  margin-bottom: 0px;
  margin-top: 5px;
}

.skeleton-table {
  width: 100%;
  border-collapse: collapse;
}

.skeleton-table th {
  background: #e0e0e0;
  padding: 10px;
  text-align: left;
}

.skeleton-table td {
  padding: 12px;
}

.skeleton-container {
  display: flex;
  align-items: center;
  gap: 10px; /* Adjust spacing between avatar and text */
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  animation: skeleton-loading 1.5s infinite linear;
}

.skeleton-text {
  height: 15px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  animation: skeleton-loading 1.5s infinite linear;
  border-radius: 4px;
}

.skeleton-progress-bar {
  width: 100%;
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.skeleton-progress {
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  animation: skeleton-loading 1.5s infinite linear;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.modal-dialog {
  max-width: 700px;
}

.modal-xxl {
  max-width: 70%;
}

.bg-orange {
  background-color: #fd7e14;
}
.marginTopMarks {
  margin-top: 21px;
}

.orange-bg {
  background-color: #fff1e6 !important; /* Light Orange */
  color: #8a3b00 !important; /* Dark Orange Text */
  border: 1px solid #ffccaa !important; /* Border */
}

tr.orange-bg td {
  background-color: #fff1e6 !important; /* Light Orange */
  color: #8a3b00 !important; /* Dark Orange Text */
  border-bottom: 1px solid #ffccaa !important;
}

/* Header & Table User Avatar Zoom Preview */
.user-img-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.user-img-wrapper:hover {
  z-index: 999999 !important;
}
tbody tr:hover {
  position: relative;
  z-index: 99999;
}
tbody tr:hover td {
  position: relative;
  z-index: 99999;
}
.user-img-wrapper .user-img-zoom-preview {
  display: none;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  padding: 4px;
  border: 2px solid #e5e5e5;
  z-index: 999999 !important;
  pointer-events: none;
}
.user-img-wrapper .user-img-zoom-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.user-img-wrapper:hover .user-img-zoom-preview {
  display: block;
  animation: zoomAvatarIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Table specific: pop out to the right so top/first row is never clipped by table header */
.table .user-img-wrapper .user-img-zoom-preview {
  top: 50%;
  bottom: auto;
  left: calc(100% + 12px);
  transform: translateY(-50%);
}
.table .user-img-wrapper:hover .user-img-zoom-preview {
  display: block;
  animation: zoomAvatarInSide 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes zoomAvatarIn {
  from {
    opacity: 0;
    transform: translateX(-50%) scale(0.75);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}
@keyframes zoomAvatarInSide {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.75);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

/* Truncated text with ellipsis and hover indicator */
.text-truncate-hover {
  display: inline-block;
  max-width: 100%;
  cursor: pointer;
  text-decoration: underline dotted #adb5bd 1px;
  text-underline-offset: 2px;
}
.text-truncate-hover:hover {
  text-decoration: underline dotted #0d6efd 1px;
  color: #0d6efd;
}

/* Profile Picture Hover Zoom & Preview CSS */
.csr-floating-avatar-preview {
  position: fixed;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  border: 4px solid #fff;
  box-shadow: 0 16px 38px rgba(15, 52, 72, 0.3);
  z-index: 99999;
  display: none;
  pointer-events: none;
  background: #fff;
}

.csr-profile-hover {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

/* Modal & DataTable Stacking Context Fixes */
.modal {
  z-index: 1065 !important;
}

.modal-backdrop {
  z-index: 1055 !important;
}

.dataTables_scrollHead,
.dataTables_scrollBody,
.dataTables_wrapper {
  z-index: 1 !important;
}

#DispositionUpdateModal .modal-body,
#CustomerProfileViewModal .modal-body {
  max-height: calc(85vh - 120px);
  overflow-y: auto;
}

/* Customer Profile Stepper & Modal Sizing */
#DispositionUpdateModal .modal-dialog {
  max-width: 1250px;
  width: 95%;
}

.cp-stepper-nav {
  background-color: #f8f9fa;
  border: 1px solid #e2e8f0;
}

.cp-stepper-nav .cp-step-nav-btn {
  transition: all 0.2s ease-in-out;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
}

.cp-stepper-nav .cp-step-nav-btn.active {
  background-color: #0d6efd !important;
  color: #ffffff !important;
  border-color: #0d6efd !important;
  box-shadow: 0 2px 6px rgba(13, 110, 253, 0.35) !important;
}

.cp-stepper-nav .cp-step-nav-btn.active .cp-nav-badge {
  background-color: #ffffff !important;
  color: #0d6efd !important;
}

.cp-section {
  border: 1px solid #e9ecef !important;
  border-radius: 8px;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.cp-section:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

.cp-section .card-header {
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 16px;
}

.customer-profile-entry {
  background-color: #ffffff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px;
}

.cp-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}

.cp-field .form-control,
.cp-field .form-select {
  font-size: 13px;
  border-radius: 6px;
}

/* Clickable KPI Cards */
.kpi-card-clickable {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  cursor: pointer;
}

.kpi-card-clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12) !important;
}

.kpi-card-clickable.active-kpi {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15) !important;
  background-color: #f8fafc;
}

.custom-modal-xxl {
  max-width: 95vw;
  width: 95vw;
}

.custom-modal-xxl .modal-content {
  min-height: 85vh;
}
