@charset "UTF-8";
@import url(https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700);
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
html body {
  font-family: "Outfit", sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.1px;
  font-weight: 500;
}

div.dt-buttons {
  position: relative;
  float: left;
  display: flex;
}

.text-info {
  color: #387cff !important;
}

.text-success {
  color: #039855 !important;
}

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

.text-positive {
  color: #039855 !important;
}

.text-negative {
  color: #f05252 !important;
}

.hidden {
  display: none !important;
}

.tooltip-inner {
  font-family: "Outfit", sans-serif;
}

label {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 5px;
}

.alert a {
  color: #5e72e4 !important;
}

.progress {
  background-color: #d4d7dc;
}
.progress.progress-big {
  height: 28px;
  border-radius: 4px;
}

aside.page-sidebar {
  border-right: 1px solid rgb(228, 231, 236);
}

.admin-page-logo {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.admin-page-logo a img {
  width: auto;
  height: auto;
  max-width: 180px;
}

.page-logo {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.page-logo a img {
  max-height: 28px !important;
  height: 28px !important;
  width: auto;
  height: auto;
}

/*
Page Content
*/
.page-content .subheader {
  margin-bottom: 10px;
}

.subheader .subheader-title {
  font-weight: 600;
  font-size: 1.4em;
}

/*
Calendario
*/
.fc-right {
  display: flex;
}

.fc-view-container {
  border: 1px solid oklch(92.2% 0 0deg);
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.fc-head-container {
  background-color: #f5f7fa;
}

.table-bordered > thead > tr, .table-bordered > thead > tr > th {
  margin: 0;
  background-color: #f5f7fa;
  padding: 13px 0;
}

/* Contenedor principal del calendario */
.table-bordered {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  /*background-color: hsl(0 0% 100%);*/
  border: 1px solid hsl(240, 5.9%, 90%);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9375rem;
}

/* Encabezado de días (Sun, Mon...) */
.fc-day-header {
  text-align: center;
  font-weight: 600;
  padding: 0.75rem 0;
  color: hsl(240, 6%, 25%);
  background-color: hsl(240, 5.9%, 97%);
  border-bottom: 1px solid hsl(240, 5.9%, 90%);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.8125rem;
}

/* Celda de día */
.fc-day {
  border: 1px solid hsl(240, 5.9%, 93%);
  vertical-align: top;
  position: relative;
  transition: background-color 0.2s ease, transform 0.1s ease;
  cursor: pointer;
}

/* Hover general */
.fc-day:hover {
  background-color: hsl(240, 5.9%, 97%);
}

/* Día actual */
.fc-today {
  background-color: hsl(240, 4.8%, 95%);
}

/* Día fuera del mes actual */
.fc-other-month {
  background-color: hsl(240, 4.8%, 98%);
  color: hsl(240, 3.8%, 60%);
  opacity: 0.6;
}

/* Número del día */
.fc-day-number {
  position: relative;
  top: 0.5rem;
  right: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(240, 5%, 30%);
  text-decoration: none;
  transition: color 0.15s ease;
}

.fc-day:hover .fc-day-number {
  color: hsl(240, 5%, 20%);
}

/* Día pasado */
.fc-past .fc-day-number {
  color: hsl(240, 4%, 50%);
}

/* Día futuro */
.fc-future .fc-day-number {
  color: hsl(240, 6%, 25%);
}

/* Día actual destacado */
.fc-today .fc-day-number {
  background-color: hsl(240, 5.9%, 90%);
  color: hsl(240, 6%, 15%);
  border-radius: 9999px;
  padding: 0.25rem 0.5rem;
  font-weight: 600;
}

/* Transición entre semanas */
.fc-row {
  border-bottom: 1px solid hsl(240, 5.9%, 90%);
}

/* Animación sutil de click */
.fc-day:active {
  transform: scale(0.98);
}

/* Scroll vertical si hay overflow */
.fc-scroller {
  scrollbar-width: thin;
  scrollbar-color: hsl(240, 5.9%, 80%) transparent;
}

.fc-scroller::-webkit-scrollbar {
  width: 6px;
}

.fc-scroller::-webkit-scrollbar-thumb {
  background-color: hsl(240, 5.9%, 80%);
  border-radius: 9999px;
}

/* Día seleccionado (puedes asignarlo dinámicamente) */
.fc-day.selected {
  background-color: hsl(240, 4.8%, 94%);
  box-shadow: inset 0 0 0 2px hsl(240, 5.9%, 70%);
}

/* Responsivo */
@media (max-width: 768px) {
  .fc-day-number {
    font-size: 0.75rem;
    right: 0.5rem;
  }
  .fc-day-header span {
    font-size: 0.75rem;
  }
}
/*
Panel
*/
.panel {
  border: 1px solid oklch(92.2% 0 0deg);
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.panel-content .summary-content {
  background: linear-gradient(89deg, #1f50e8, #7693eb) !important;
}

/*
Card
*/
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid oklch(92.2% 0 0deg);
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0.5rem 1rem;
}

.card .card-header h3 {
  font-size: 1.3em;
  margin: 0;
  display: inline-block;
}

.card .card-body {
  border-radius: 8px;
  box-shadow: none;
}

/*****************************/
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  height: 60px;
  background-color: #fff;
  border: none;
  border-bottom: 1px solid rgb(228, 231, 236);
  box-shadow: none;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  display: none;
}

.header-logo img {
  height: 32px;
  width: 32px;
  border-radius: 4px;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn, .user-btn {
  background: white;
  border: 1px solid rgb(228, 231, 236);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s;
  font-size: 24px;
  position: relative;
}

.icon-btn:hover, .user-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.user-btn {
  background-color: #ECF2FF;
}

.user-btn svg {
  stroke: #667085;
}

/*.icon-btn svg,
.icon-btn svg path {
	fill: #667085;
}*/
.user-btn img {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  object-fit: cover;
}

/* Dropdown genérico */
/*.dropdown {
	position: relative;
}

.dropdown-menu {
	display: none;
	position: absolute;
	right: 0;
	top: 120%;
	background: white;
	border: 1px solid #ddd;
	border-radius: 6px !important;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	min-width: 220px;
	z-index: 99;
}

.dropdown:hover .dropdown-menu {
	display: block;
}*/
.dropdown-header {
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-weight: bold;
}

.dropdown-body {
  max-height: 250px;
  overflow-y: auto;
  padding: 10px;
}

.dropdown-footer {
  border-top: 1px solid #eee;
  padding: 8px;
  text-align: center;
}

.dropdown-footer a {
  color: #007bff;
  text-decoration: none;
  font-size: 0.9rem;
}

.dropdown-footer a:hover {
  text-decoration: underline;
}

.loading {
  text-align: center;
  padding: 20px;
  color: #888;
  font-size: 0.9rem;
}

/*.menu-toggle .menu-trigger {
    background: none !important;
    border: none;
	opacity: 0.4;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    position: relative;
    padding: 6px;
    transition: background 0.2s;
    box-shadow: none !important;
}*/
.menu-toggle .icon-btn {
  border-radius: 4px;
  transition: background 0.2s;
  box-shadow: none !important;
  opacity: 0.7;
}

.nav-function-minify:not(.clx-navigation-type-top) .page-header [data-class=nav-function-minify] {
  background: white !important;
  border: 1px solid rgb(228, 231, 236) !important;
}

.notify {
  position: absolute;
  top: 0.125rem; /* top-0.5 (≈2px) */
  right: 0;
  z-index: 1;
  height: 0.5rem; /* h-2 */
  width: 0.5rem; /* w-2 */
  border-radius: 9999px; /* rounded-full */
  background-color: #fb923c; /* bg-orange-400 */
  display: flex;
}

.notify-ping {
  position: absolute;
  z-index: -1;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background-color: #fb923c;
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* equivalente a animate-ping */
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
/* clase para ocultar */
.hidden {
  display: none;
}

.switch.s-outline[class*=s-outline-] .slider:before {
  box-shadow: none !important;
}

.panel-toolbar .btn-panel[data-action=panel-collapse], .panel-toolbar .btn-panel.js-panel-collapse {
  background: #12b76a !important;
}

.panel-toolbar .btn-panel[data-action=panel-fullscreen], .panel-toolbar .btn-panel.js-panel-fullscreen {
  background: #fdd53a !important;
}

/*.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
	border: 1px solid #d1d5db !important;
}*/
.clx-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  width: 42px;
  height: 42px;
  text-align: center;
  border-radius: 50%;
  font-weight: 600;
  background: #ecf2ff;
  vertical-align: middle;
  color: #387cff;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: none !important;
  font-size: 14px;
}
.btn.btn-primary {
  background-color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #fff !important;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  padding: 0.75rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: #374151;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.button.button-primary {
  background-color: #1d4ed8 !important;
  border: 1px solid #001a64 !important;
  color: #fff !important;
}
.button.button-primary:hover {
  background-color: #1d4ed8 !important;
  border: 1px solid #001a64 !important;
  color: #fff !important;
}
.button svg {
  stroke: rgb(52, 64, 84);
}
.button:hover {
  background-color: #f9fafb;
  color: #1f2937;
}
@media (prefers-color-scheme: dark) {
  .button {
    border-color: #374151;
    background-color: #1f2937;
    color: #9ca3af;
  }
  .button:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: #e5e7eb;
  }
}

.btn-group {
  border-top: 1px solid #dadada;
  border-bottom: 1px solid #dadada;
  border-radius: 9px;
}
.btn-group .btn-group {
  border-top: initial;
  border-bottom: initial;
  border-radius: initial;
}

.btn-group .dropdown .btn {
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid #d1d5db;
  background-color: #fff;
  color: #374151;
  transition: background-color 0.2s, color 0.2s;
}
.btn-group .dropdown .btn:hover {
  background-color: #f9fafb;
  color: #1f2937;
}
.btn-group .dropdown .btn:active {
  background-color: #e5e7eb;
}
.btn-group .dropdown .btn:not(:last-child) {
  border-right: none;
}
.btn-group .dropdown .btn:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}
.btn-group .dropdown .btn:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.btn-group .btn {
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid #d1d5db;
  background-color: #fff;
  color: #374151;
  transition: background-color 0.2s, color 0.2s;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group .btn:hover {
  background-color: #f9fafb;
  color: #1f2937;
}
.btn-group .btn:active {
  background-color: #e5e7eb;
}
.btn-group .btn:not(:last-child) {
  border-right: none;
}
.btn-group .btn:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}
.btn-group .btn:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.select2 .select2-selection {
  border-radius: 8px;
  height: 42px;
}
.select2 .select2-selection__rendered {
  line-height: 40px !important;
}

.form-control,
.form-select {
  padding: 0.6rem 0.8rem;
  background-color: rgb(249, 250, 251);
  height: 42px;
  font-size: 14.5px;
  line-height: 15px;
  border: 1px solid rgb(209, 213, 219);
  border-radius: 8px;
  box-shadow: none;
}
.form-control:focus,
.form-select:focus {
  background-color: rgb(249, 250, 251) !important;
  border: 2px solid #1d4ed8 !important;
}

textarea.form-control {
  min-height: initial;
  height: initial;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  font-size: 14.5px;
}

.form-select {
  display: flex;
  width: 100%;
  cursor: pointer;
  white-space: nowrap;
}

.addon-action-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 15px;
}
.addon-action-panel .input-element {
  min-width: 180px;
}

.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left] {
  background-color: initial !important;
}

.swal2-popup.swal2-toast .swal2-success .swal2-success-fix {
  background-color: initial !important;
}

.swal2-success-circular-line-right {
  background-color: initial !important;
}

.swal2-popup.swal2-toast {
  padding: 12px;
}
.swal2-popup.swal2-toast .swal2-success {
  border: 3px solid #08c8a6;
}
.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line] {
  height: 3px;
  background-color: #08c8a6;
}
.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip] {
  top: 20px;
  left: 4px;
  width: 10px;
}
.swal2-popup.swal2-toast .swal2-success .swal2-success-ring {
  border: none;
}
.swal2-popup.swal2-toast .swal2-title {
  font-size: 15px !important;
  font-weight: 500 !important;
}

.dataTables_wrapper .datatable-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.dataTables_wrapper .datatable-header .datatable-search .dataTables_filter {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.dataTables_wrapper .datatable-header .datatable-search .dataTables_filter > * {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dataTables_wrapper .datatable-header .datatable-search .dataTables_filter label {
  margin-bottom: 0;
}
.dataTables_wrapper .datatable-header .datatable-search .dataTables_filter label [type=search].form-control {
  height: 46.5px;
  width: 100%;
  border-radius: 8px !important;
  border: 1px solid #d1d5db;
  background-color: transparent;
  padding: 10px 16px 10px 42px;
  font-size: 0.875rem;
  color: #1f2937;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'><path fill-rule='evenodd' clip-rule='evenodd' d='M3.04199 9.37381C3.04199 5.87712 5.87735 3.04218 9.37533 3.04218C12.8733 3.04218 15.7087 5.87712 15.7087 9.37381C15.7087 12.8705 12.8733 15.7055 9.37533 15.7055C5.87735 15.7055 3.04199 12.8705 3.04199 9.37381ZM9.37533 1.54218C5.04926 1.54218 1.54199 5.04835 1.54199 9.37381C1.54199 13.6993 5.04926 17.2055 9.37533 17.2055C11.2676 17.2055 13.0032 16.5346 14.3572 15.4178L17.1773 18.2381C17.4702 18.531 17.945 18.5311 18.2379 18.2382C18.5308 17.9453 18.5309 17.4704 18.238 17.1775L15.4182 14.3575C16.5367 13.0035 17.2087 11.2671 17.2087 9.37381C17.2087 5.04835 13.7014 1.54218 9.37533 1.54218Z' fill='%239ca3af'/></svg>");
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 20px;
}
.dataTables_wrapper .datatable-header .datatable-search .dataTables_filter label [type=search].form-control::placeholder {
  color: #9ca3af;
}
.dataTables_wrapper .datatable-header .datatable-search .dataTables_filter label [type=search].form-control:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.dataTables_wrapper .datatable-header .datatable-buttons .dt-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.dataTables_wrapper .datatable-header .datatable-buttons .dt-buttons > button {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dataTables_wrapper .datatable-header .datatable-buttons .dt-buttons > button:hover {
  background-color: #f9fafb;
  color: #1f2937;
}
@media (prefers-color-scheme: dark) {
  .dataTables_wrapper .datatable-header .datatable-buttons .dt-buttons > button {
    border-color: #374151;
    background-color: #1f2937;
    color: #9ca3af;
  }
  .dataTables_wrapper .datatable-header .datatable-buttons .dt-buttons > button:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: #e5e7eb;
  }
}
.dataTables_wrapper .table-container table tbody .control::before {
  background-color: #1d4ed8 !important;
}
.dataTables_wrapper .table-container table tbody .child .dtr-details::before {
  color: #1d4ed8 !important;
}
.dataTables_wrapper .table-container table tbody .child .dtr-details::after {
  background-color: #1d4ed8 !important;
}
.dataTables_wrapper .datatable-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.dataTables_wrapper .datatable-footer .datatable-paging .dataTables_paginate .pagination .paginate_button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  padding: 3px;
  font-weight: 500;
  font-size: 0.875rem;
  color: #374151;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dataTables_wrapper .datatable-footer .datatable-paging .dataTables_paginate .pagination .paginate_button:hover {
  background-color: #f9fafb;
  color: #1f2937;
}
.dataTables_wrapper .datatable-footer .datatable-paging .dataTables_paginate .pagination .paginate_button.active {
  background-color: #ECF2FF;
  color: #0039b5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
}
.dataTables_wrapper .datatable-footer .datatable-paging .dataTables_paginate .pagination .paginate_button.active .page-link {
  color: #0039b5;
  font-size: 13px !important;
  margin-top: 0;
}
.dataTables_wrapper .datatable-footer .datatable-paging .dataTables_paginate .pagination .paginate_button .page-link {
  background-color: transparent !important;
  font-size: 13px !important;
  font-weight: 100;
  text-align: center;
  margin: auto;
  margin-top: -2px;
  color: #1f2937;
}

/* === Botones de DataTable === */
.dt-btn {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 0.4rem;
}

.dt-btn:hover {
  opacity: 0.9;
}

/* Colores tipo ShadCN */
.dt-btn-primary {
  background-color: #3b82f6;
  color: #fff;
}

.dt-btn-success {
  background-color: #22c55e;
  color: #fff;
}

.dt-btn-danger {
  background-color: #ef4444;
  color: #fff;
}

.dt-btn-info {
  background-color: #0ea5e9;
  color: #fff;
}

.dt-btn-secondary {
  background-color: #6b7280;
  color: #fff;
}

/* === Search box === */
.dataTables_filter input {
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.875rem;
  background-color: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dataTables_filter input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
  background-color: #fff;
}

/* === Paginación === */
.dataTables_paginate a {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  margin: 0 0.15rem;
  border-radius: 0.375rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.dataTables_paginate a:hover {
  background-color: #f3f4f6;
}

.dataTables_paginate .current {
  background-color: #6366f1;
  color: #fff !important;
}

.files-panel {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  border: 1px solid #e5e7eb;
}
.files-panel.empty {
  text-align: center;
  color: #9ca3af;
  padding: 3rem 0;
}

.files-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.file-item:hover {
  background: #f9fafb;
}
.file-item .file-icon {
  flex-shrink: 0;
  font-size: 1.8rem;
  color: #60a5fa;
}
.file-item .file-info {
  flex: 1;
}
.file-item .file-info .file-title {
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
}
.file-item .file-info .file-title:hover {
  text-decoration: underline;
}
.file-item .file-info .file-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 2px;
}
.file-item .file-info .file-meta a {
  color: #2563eb;
  text-decoration: none;
}
.file-item .file-info .file-meta a:hover {
  text-decoration: underline;
}
.file-item .file-info .file-meta .meta-sep {
  margin: 0 6px;
  color: #9ca3af;
}

.panel .panel-hdr {
  background-color: #ecf3ff;
  padding: 5px 0;
}
.panel .panel-hdr h2 {
  font-size: 14px;
  font-weight: 500 !important;
}
.panel .panel-hdr .panel-toolbar {
  padding: 0 20px 0 0;
}
.panel .panel-content.full-height {
  min-height: calc(100vh - 176px);
}
.panel .panel-container .filter-actions {
  padding: 1rem 1rem;
}

.filter-actions {
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}
.filter-actions .filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.filter-actions .filter-form .form-group {
  flex: 1 1 150px;
  min-width: 120px;
}
.filter-actions .filter-form .form-group .form-control {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background-color: #f9fafb;
  color: #111827;
  font-size: 0.875rem;
  box-sizing: border-box;
}
.filter-actions .filter-form .form-group .form-control:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
.filter-actions .filter-form .form-group .form-control::placeholder {
  color: #9ca3af;
}

@media (max-width: 768px) {
  .filter-form {
    flex-direction: column;
  }
  .filter-form .form-group {
    width: 100%;
    min-width: 0;
    flex: initial !important;
  }
}
.table-container {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin: 1rem 0;
}
.table-container table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Outfit", system-ui, sans-serif;
  margin-bottom: 0 !important;
}
.table-container thead {
  background-color: #f9fafb;
}
.table-container th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  line-height: 14px;
}
.table-container tbody tr {
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgb(236, 236, 238);
}
.table-container tbody tr:last-child {
  border-bottom: 0px solid transparent;
}
.table-container tbody tr:hover {
  background-color: #f3f4f6;
}
.table-container tbody tr + tr {
  border-top: 1px solid #e5e7eb;
}
.table-container tbody td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #4b5563;
  vertical-align: middle;
  font-weight: 400;
}
.table-container tbody td .btn-icon {
  border: 1px solid rgb(228, 231, 236);
  height: 40px;
  width: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}
.table-container tbody td .btn-icon:hover {
  background-color: #f7f8f9;
}
.table-container tbody td .btn-icon svg {
  fill: rgb(102, 112, 133);
}
.table-container tfoot tr {
  transition: background-color 0.2s ease;
  border-bottom: 0px solid transparent;
}
.table-container tfoot td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #4b5563;
  vertical-align: middle;
  font-weight: 400;
  border-top: 1px solid #e5e7eb;
}
.table-container tfoot td .btn-icon {
  border: 1px solid rgb(228, 231, 236);
  height: 40px;
  width: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}
.table-container tfoot td .btn-icon svg {
  fill: rgb(102, 112, 133);
}
.table-container .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
}
.table-container .name {
  font-weight: 500;
  color: #111827;
  text-decoration: none;
}
.table-container .email {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 2px;
}
.table-container {
  /*
  * Small Table
  */
}
.table-container.small-table table tbody td {
  padding: 0.6rem 0.6rem;
  font-size: 13px;
  max-width: 50px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table-container.small-table table tbody td .btn-icon {
  width: 35px;
}
.table-container.small-table table tbody td:nth-child(4) {
  max-width: 260px;
}

.table-responsive {
  overflow-x: initial;
}

.table > :not(caption) > * > * {
  box-shadow: none;
}

.datatable-footer .datatable-paging {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
}
.datatable-footer .datatable-paging .per-page-trigger {
  height: 2.25rem;
  min-height: 2.25rem;
}

.skeleton-wrapper {
  display: block;
  padding: 12px 0;
  background: #fff;
  border: none;
  border-radius: 8px;
}

.skeleton-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr 1fr 0.8fr;
  gap: 12px;
  margin-bottom: 10px;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f2f2f2 0%, #e5e5e5 50%, #f2f2f2 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-line.sm {
  width: 60%;
}

.skeleton-loading-frame.is-hidden {
  display: none;
}
.skeleton-loading-frame .log-skeleton-wrapper {
  padding: 8px 0;
  background: #fff;
  border-radius: 8px;
}
.skeleton-loading-frame .log-skeleton-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.8fr 2fr 0.6fr;
  gap: 12px;
  margin-bottom: 12px;
}
.skeleton-loading-frame .log-skeleton-row .skeleton-line {
  height: 12px;
}

.table-wrapper {
  display: none;
}
.table-wrapper.is-loaded {
  display: block;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/*@import 'layout/footer';
@import 'layout/grid';*/
@media (prefers-color-scheme: dark) {
  body {
    background-color: #0f172a;
    color: #f1f5f9;
  }
  .profile-card {
    background-color: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
  }
  a {
    color: rgb(44, 171.4568527919, 255);
  }
  .btn-secondary {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
  }
}
.profile-panel {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 8px;
  color: #111827;
  font-family: "Outfit", sans-serif;
}
.profile-panel .profile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.profile-panel .profile-panel-header h3 {
  margin: 0;
}

.actions {
  display: flex;
  gap: 0.75rem;
}
.actions button {
  padding: 0.6rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 0.95rem;
}
.actions .btn-primary {
  background: #0077c5;
  color: #fff;
}
.actions .btn-primary:hover {
  background: rgb(0, 94.3543147208, 156.2);
}
.actions .btn-secondary {
  background: #f9fafb;
  color: #111827;
  border: 1px solid #e5e7eb;
}
.actions .btn-secondary:hover {
  background: #f3f4f6;
}

.card-box {
  margin-bottom: 16px;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.25rem;
  background-color: #fff;
  transition: border-color 0.2s ease;
}
.card-box h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.card-box .card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .card-box .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}
@media (min-width: 1536px) {
  .card-box .card-grid {
    column-gap: 2rem;
  }
}
.card-box .card-row {
  display: flex;
  flex-direction: column;
}
.card-box .card-row .key {
  font-weight: 400;
  font-size: 13px;
  color: #667085;
  margin-bottom: 5px;
}
.card-box .card-row .value {
  font-weight: 500;
  font-size: 14px;
  color: #1d2939;
}
.card-box .card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 0.75rem;
  background-color: #f3f4f6;
  color: #374151;
  margin-bottom: 1.5rem;
}
.card-box .card-top .icon-svg {
  width: 25px;
  height: 24px;
}
.card-box .card-content .title {
  font-size: 13px;
  color: #667085;
  margin: 0;
}
.card-box .card-content .title-lg {
  font-size: 18px;
  color: #32325d;
  margin-bottom: 8px;
}
.card-box .card-content .title-xl {
  font-size: 20px;
  color: #000000;
  margin-bottom: 8px;
}
.card-box .card-content .value {
  font-size: 30px;
  font-weight: 700;
  color: #1d2939;
  margin: 0;
}
.card-box .card-content .trending {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
  margin-top: 5px;
}
.card-box .card-content .trending .trending-icon {
  margin: 0;
}
.card-box .card-content .trending .trending-value {
  margin: 0;
  font-size: 15px;
}
.card-box .card-end {
  margin-top: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.card-box .card-end .value {
  font-size: 30px;
  font-weight: 700;
  color: #1d2939;
  margin: 0;
}

.account-profile-menu .dropdown-item {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center;
  border-radius: 0 !important;
  gap: 8px;
  padding: 10px 16px;
}
.account-profile-menu .dropdown-item.active {
  color: #397AFF;
  background-color: #edf3ff;
}
.account-profile-menu .dropdown-item.active .svg-icon.svg-icon-primary svg g [fill] {
  fill: #397AFF;
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #11142d;
  background-color: #f3f6fb;
}

.reset {
  margin: 0px;
  padding: 0px;
}

#messages-main {
  position: relative;
  margin: 0 auto;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  border-color: #d3cac0 !important;
  border: 1px solid #d3cac0 !important;
}

#messages-main:after,
#messages-main:before {
  content: " ";
  display: table;
}

#messages-main .ms-menu {
  position: absolute;
  left: 0;
  top: 0;
  border-right: 1px solid #eee;
  padding-bottom: 0px;
  width: 240px;
  background: #ffffff;
}

.ms-menu-title {
  font-weight: 600;
  color: #1d2939;
  font-size: 24px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  #messages-main .ms-body {
    padding-left: 240px;
  }
}
@media (max-width: 767px) {
  #messages-main .ms-menu {
    height: calc(100% - 58px);
    display: none;
    z-index: 1;
    top: 58px;
  }
  #messages-main .ms-menu.toggled {
    display: block;
  }
  #messages-main .ms-body {
    overflow: hidden;
  }
}
#messages-main .ms-user {
  padding: 15px;
  background: #f5f5f5;
  border-bottom: 1px solid #d3cac0;
}

#messages-main .ms-user > div {
  overflow: hidden;
  padding: 3px 5px 0 15px;
  font-size: 11px;
}

#messages-main #ms-compose {
  position: fixed;
  bottom: 120px;
  z-index: 1;
  right: 30px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
}

#ms-menu-trigger {
  user-select: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 100%;
  padding-right: 10px;
  padding-top: 19px;
}

#ms-menu-trigger i {
  font-size: 21px;
}

#ms-menu-trigger.toggled i:before {
  content: "\f2ea";
}

.fc-toolbar:before,
.login-content:after {
  content: "";
}

.message-feed {
  padding: 20px;
}

#footer,
.fc-toolbar .ui-button,
.fileinput .thumbnail,
.four-zero,
.four-zero footer > a,
.ie-warning,
.login-content,
.login-navigation,
.pt-inner,
.pt-inner .pti-footer > a {
  text-align: center;
}

.message-feed.right > .pull-right {
  margin-left: 15px;
}

.message-feed:not(.right) .mf-content {
  /* background: #edecec; */
  /* background-color: #dadcf1; */
  /*background-color: #e5e2e2;*/
}

.message-feed.right .mf-content {
  /* background: #eee; */
  background-color: #f5f6f6;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
  -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
  border-radius: 4px;
  clear: both;
}

/* .mf-content {
   padding: 12px 3px 17px 13px;
   border-radius: 2px;
   display: inline-block;
   max-width: 80%;
} */
.mf-content {
  padding: 8px 8px 8px 6px;
  border-radius: 5px;
  display: inline-block;
  max-width: 80%;
  overflow-wrap: break-word; /* Asegura que las palabras largas se dividan */
}

.mf-date {
  display: block;
  color: #b3b3b3;
  margin-top: 7px;
}

.mf-date > i {
  font-size: 14px;
  line-height: 100%;
  position: relative;
  top: 1px;
}

.msb-reply {
  box-shadow: 0 -20px 20px -5px #fff;
  position: relative;
  margin-top: 30px;
  border-top: 1px solid #eee;
  background: #f8f8f8;
}

.four-zero,
.lc-block {
  box-shadow: 0 1px 11px rgba(0, 0, 0, 0.27);
}

.msb-reply textarea {
  width: 94%;
  font-size: 13px;
  border: 0;
  padding: 10px 15px;
  resize: none;
  height: 60px;
  background: 0 0;
  border: 1px solid;
}

.msb-reply button {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  height: 100%;
  width: 60px;
  font-size: 25px;
  color: #2196f3;
  background: 0 0;
}

.msb-reply button:hover {
  background: #f2f2f2;
}

.img-avatar {
  height: 40px;
  border-radius: 50%;
  width: 40px;
}

.list-group.lg-alt .list-group-item {
  border: 0;
}

.p-15 {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
}

.btn:not(.btn-alt) {
  border: 0;
}

.action-header {
  position: relative;
  background: #f5f5f5;
  padding: 15px 13px 15px 17px;
  border-bottom: 1px solid #d3cac0;
}

.ah-actions {
  z-index: 3;
  float: right;
  margin-top: 7px;
  position: relative;
}

.actions {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 9px;
}

.actions > li {
  display: inline-block;
}

.actions:not(.a-alt) > li > a > i {
  color: #6b709f;
}

.actions > li > a > i {
  font-size: 20px;
}

.actions > li > a {
  display: block;
  padding: 0 10px;
}

.ms-body {
  background: #fff;
  /* background-image: url("../img/fondo1.png"); */
  background-size: contain;
  background-repeat: repeat;
  background-position: center;
}

#ms-menu-trigger {
  user-select: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 100%;
  padding-right: 10px;
  padding-top: 19px;
  cursor: pointer;
}

#ms-menu-trigger,
.message-feed.right {
  text-align: right;
}

#ms-menu-trigger,
.toggle-switch {
  -webkit-user-select: none;
  -moz-user-select: none;
}

/*mio*/
:root {
  --ancho_pantalla: 82vh;
}

.mi_contenedor_especial {
  max-width: 100% !important;
  padding: 0px;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

.cuerpo_mensaje {
  height: var(--ancho_pantalla);
  max-height: 100%;
  overflow-y: auto;
}

.pull-left {
  float: left;
  margin-right: 10px;
}

.pull-left.hidden-xs {
  margin-left: 0px;
}

.visible-xs-mi-clase {
  display: none !important;
}

@media (max-width: 767px) {
  .visible-xs-mi-clase {
    display: block !important;
  }
  .pull-left.hidden-xs {
    margin-left: 34px !important;
  }
  .hidden-xs {
    display: block !important;
  }
}
.mi-bandeja-mensajes-contactos {
  max-height: 100%;
  height: calc(var(--ancho_pantalla) + 3vh);
  overflow-y: auto;
  background-color: #f5f5f5;
  overflow: auto;
  max-height: 580px;
}

.sin_mensaje {
  height: var(--ancho_pantalla);
  max-height: 100%;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.pintar_body_card {
  font-weight: 600;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.pintar_body_card h4 {
  font-weight: 500;
  margin: 0;
}

/* .pintar_body_card {
   font-weight: 600;
   text-align: center;

   width: 100%;
   height: 100%;
   max-width: 100%;
   max-height: 100%;
   min-width: 100%;
   min-height: 100%;

} */
/*cuerpo mensaje*/
.palomitas {
  display: flex;
  justify-content: end;
  flex-direction: column;
  margin-left: 2px;
}

.palomita_texto {
  float: right;
  margin-left: 10px;
}

.media-body-change-display {
  display: contents;
}

.fecha_y_palomitas {
  display: flex;
  justify-content: space-between;
}

.texto {
  color: black;
  white-space: break-spaces;
}

.tamano_div_imagen {
  width: 100%;
  display: flex;
  justify-content: center;
  /* height: 250px; */
}

.mf-content-imagen {
  width: 40% !important;
}

.imagen_imagen {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.1490196078), 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.1490196078);
}

.msb-footer {
  box-shadow: 0 -20px 20px -5px #f3f1ee;
  /* position: relative; */
  margin-top: 30px;
  border-top: 1px solid #eee;
  background: #f5f5f5;
  /* display: flex;
  justify-content: space-between; */
}

textarea {
  width: 100%;
  font-size: 13px;
  border: 0;
  padding: 10px 15px;
  resize: none;
  height: 60px;
  background: 0 0;
}

.div_footer_text_area {
  width: 90%;
}

.btn_footer_enviar {
  border: 0;
  height: 100%;
  width: 100%;
  font-size: 25px;
  color: #6b709f;
  background: 0 0;
}

.footer_text_btn_enviar {
  width: 50px;
}

.footer_text_btn_enviar button:hover {
  background: #f2f2f2;
}

/*.footer_opciones {
   width: 50px;
   height: 60px;
   max-height: 100%;
   display: flex;
}*/
.btn_footer_opciones {
  border: 0;
  height: 100%;
  width: 100%;
  font-size: 20px;
  color: #6b709f;
  background: 0 0;
}

.dropup button:hover {
  background: #f2f2f2;
}

#fileInput {
  display: none;
}

.image-container {
  position: relative;
  width: 100%; /* Ajusta esto según tus necesidades */
  height: auto; /* Ajusta esto según tus necesidades */
  margin-bottom: 20px; /* Espacio entre imágenes */
}

.spinner {
  font-size: 50px; /* Tamaño del spinner */
  color: #3498db; /* Color del spinner */
  /* animation: spin 2s linear infinite; */ /* Animación de giro */
}

/* @keyframes spin {
   0% {
      transform: rotate(0deg);
   }
   100% {
      transform: rotate(360deg);
   }
} */
.spinnerv1 {
  font-size: 50px; /* Tamaño del spinner */
  color: #3498db; /* Color del spinner */
  /* color: #dadcf1 !important; */
}

.caption_mensaje {
  margin-top: 10px;
  margin-left: 5px;
  text-align: start;
}

.izquierda {
  text-align: left;
}

.cabecera_informacion {
  max-width: 100%;
  width: 100%;
  gap: 2px !important;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.cabecera_informacion_choose_user {
  padding: 8px;
}

.active-word-wrap {
  padding-left: 5px;
  word-wrap: break-word;
}

.cabecera_perfil_contacto {
  min-height: 71px;
}

.text-color-dark {
  color: #000;
}

.item-contactos {
  cursor: pointer;
  padding-left: 6px;
  padding-right: 6px;
  border-bottom: 1px dashed #dadcf1 !important;
  background-color: transparent !important;
}

.contenedor_principal {
  display: flex;
  justify-content: center;
}

.chat-app-loading {
  max-width: 1400px;
  width: 100%;
  min-height: calc(100vh - 150px);
  border: 1px solid var(--chat-border);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(17, 26, 104, 0.08);
  background: var(--chat-surface);
  align-items: center;
  padding: 0;
}

.chat-app-loading .cargando {
  height: 100%;
  max-height: 100%;
  box-shadow: none;
  border: 0;
  background: transparent;
}

.cargando {
  width: 100%;
  background-color: white;
  height: var(--ancho_pantalla);
  max-width: 100%;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 0px;
  width: 100%;
  height: 100vh;
  max-height: 100%;
}

.active-display-inline {
  display: inline;
}

a.list-group-item:focus,
a.list-group-item:hover {
  color: #555;
  text-decoration: none;
  background-color: #e5e2e2 !important;
}

.item-contacto-seleccionado {
  background-color: #e5e2e2 !important;
}

.badge-colors {
  color: #fff;
  background-color: #34db77;
}

.msb-footer-sin-enviar-mensajes {
  margin-top: 30px;
  border-top: 1px solid #eee;
  background: transparent;
  display: flex;
  justify-content: center;
  height: 70px;
  /* height: 118px; */
  text-align: center;
  align-items: center;
  border-color: #d3cac0 !important;
}

.choose_chat {
  font-size: 13px;
  color: #767676;
  text-decoration: underline;
  font-weight: 600;
}

.choose_chat:hover {
  color: #141414;
}

.offcanvas {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -400px; /* Initially hide offcanvas */
  width: 400px;
  background-color: #f8f8f8;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
  z-index: 2030;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  background-clip: padding-box;
  outline: 0;
}

.offcanvas-show {
  right: 0; /* Show offcanvas */
}

.offcanvas-backdrop {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1030;
}

.offcanvas-header {
  display: flex;
  align-items: center;
  padding: 1.5rem 1rem;
  justify-content: space-between;
  border-bottom: 1px solid #b7b7b7;
}

.offcanvas-title {
  margin-bottom: 0;
  line-height: 1.5;
  font-weight: 600;
}

.btn-close-offcanvas {
  background-color: transparent;
  border: none;
  font-size: 14px;
}

.Staff {
  padding: 1.6rem 1rem;
  border-bottom: 1px solid #b7b7b7;
  max-width: 100%;
  width: 100% !important;
}

.Custummers {
  padding: 1.6rem 1rem;
  border-bottom: 1px solid #b7b7b7;
  max-width: 100%;
  width: 100% !important;
}

.conf_label {
  font-size: 14px;
}

.items_details_custumers {
  height: auto;
  background-color: white;
  padding: 8px;
  border-radius: 2px;
  border-bottom: 1px solid #aaa;
  word-wrap: break-word;
  min-height: 40px;
}

.detalle_custumers {
  border-radius: 3px;
  border: 1px solid #aaa;
  margin-top: 5px;
}

.image-container-perfil {
  position: relative;
  display: inline-block;
}

/*esta clase seria imagen de whatsapp*/
.img-avatar-small {
  position: absolute;
  bottom: -5px;
  right: -3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  /* border: 2px solid white; */
}

/*esta clase seria para imagen de sms*/
.img-avatar-small-sms {
  position: absolute;
  width: 26px;
  height: 26px;
  bottom: -7px;
  right: -6px;
  border-radius: 50%;
  /* border: 2px solid white; */
}

.staff-asignado-a {
  background: #3498db;
  border-radius: 3px;
  padding: 1px;
  color: white;
  padding-left: 5px;
  padding-right: 5px;
}

.staff-sin-asignar {
  background: black;
  border-radius: 3px;
  padding: 1px;
  color: white;
  padding-left: 5px;
  padding-right: 5px;
}

#hiddenFileInput {
  display: none; /* Oculta el input de archivo */
}

#hiddenFileInputVideo {
  display: none; /* Oculta el input de archivo */
}

.contenedor_archivos {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.1490196078), 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.1490196078);
}

.contenedor_contenido_archivos {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.nombre_archivo {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
}

.logo_archivo {
  padding-top: 10px;
}

.logo_descargar_archivo {
  width: auto;
  background-color: #eae6df;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 10px;
  padding-top: 10px;
  border-top: 1px solid #414141; /*#A4AEB3*/
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.imagen {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: 35px;
  height: auto;
}

.texto_archivo {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  padding: 10px;
}

.mf-content-all {
  width: 40% !important;
}

@media (max-width: 300px) {
  .mf-content-imagen {
    width: 61% !important;
  }
}
.mf-content-documentos {
  width: 40% !important;
}

@media (max-width: 329px) {
  .mf-content-documentos {
    width: 70% !important;
  }
  .mf-content-all {
    width: 70% !important;
  }
}
@media (min-width: 330px) and (max-width: 700px) {
  .mf-content-documentos {
    width: 78% !important;
  }
  .mf-content-all {
    width: 78% !important;
  }
}
@media (min-width: 700px) and (max-width: 1000px) {
  /* .mf-content-documentos {
     width: 90% !important;
  } */
  .mf-content-documentos {
    width: 80% !important;
  }
  .mf-content-all {
    width: 80% !important;
  }
}
@media (min-width: 1010px) {
  .mf-content-documentos {
    width: 40% !important;
  }
  .mf-content-all {
    width: 40% !important;
  }
}
.formatear_margin_0 {
  margin: 0px;
}

.audio-general {
  width: 100%;
  box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.1490196078), 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.1490196078);
  border-radius: 25px;
}

.botones_grupo {
  display: flex;
  height: 100%;
}

.activar_microfono {
  width: 50px;
}

.activar_microfono button:hover {
  background: #f2f2f2;
}

.btn_microfono {
  border: 0;
  height: 100%;
  width: 100%;
  font-size: 25px;
  color: #6b709f;
  background: 0 0;
}

.div_footer_audio {
  width: 100%;
  height: 60px;
}

.msb-footer-audio {
  box-shadow: 0 -20px 20px -5px #fff;
  /* position: relative;  
  margin-top: 30px;*/
  margin-top: 30px;
  border-top: 1px solid #eee;
  background: #f8f8f8;
  /* display: flex;
  justify-content: space-between; */
}

.botones_grupo_audio {
  display: flex;
  height: 100%;
  justify-content: end;
}

.canvas_area {
  width: 18%;
  height: 60px;
  border-radius: 10px;
}

.div_eliminar_audio {
  width: 50px;
  height: 100%;
}

.btn_eliminar_audio {
  border: 0;
  height: 100%;
  width: 100%;
  font-size: 25px;
  color: #6b709f;
  background: 0 0;
}

.btn_microfono_activo_inactivo {
  border: 0;
  height: 100%;
  width: 100%;
  font-size: 25px;
  color: red;
  background: 0 0;
}

.div_contador_audio {
  width: 50px;
  height: 100%;
}

.div_contador_audio {
  text-align: center;
  align-content: center;
  font-weight: 600;
}

.canvas_vos_pintado {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.boton_send {
  background-color: #f2f2f2 !important;
}

.conjunto-msb-footer {
  display: flex;
  justify-content: space-between;
}

.canal_mensajeria {
  text-align: center;
  cursor: pointer;
}

@media (min-width: 0px) and (max-width: 860px) {
  .pintar_card {
    width: 80%;
  }
}
.video-general {
  width: 100%;
  box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.1490196078), 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.1490196078);
  border-radius: 5px;
}

.div_filtro_plantillas {
  display: flex;
}

#input_nombre_plantilla {
  margin-right: 5px;
}

.centrar {
  text-align: center;
  align-content: center;
}

.configuracion_plantilla {
  overflow-y: auto;
}

.plantilla_vista_previa {
  background-color: #e5ddd5;
  height: 100%;
  padding: 0px;
  background-image: url("../img/fondo1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #d3cac0;
  border-radius: 5px;
  max-height: 100%;
  min-height: 300px;
  margin-bottom: 15px;
}

#seleccionar_medio_mensaje {
  background-color: #f5f5f5;
}

.modal-content {
  background-color: #f5f5f5;
}

.plantilla_vista_previa_headers {
  min-height: 55px;
  background-color: white;
  border-bottom: 1px solid #d3cac0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  max-height: 100%;
  height: 100%;
}

.extender-contenedores {
  width: 100%;
  max-width: 100%;
}

#texto_header_plantilla_previa {
  font-weight: 600;
  color: black;
  font-size: 18px;
}

.texto_header_mensaje {
  font-weight: 600;
  color: black;
  font-size: 18px;
}

#texto_body_plantilla {
  font-size: 14px;
  color: black;
  white-space: break-spaces;
}

#texto_body_plantilla_previa {
  font-size: 14px;
  color: black;
  white-space: break-spaces;
}

.texto_body_mensaje {
  font-size: 14px;
  color: black;
  white-space: break-spaces;
}

#texto_footer_plantilla {
  color: #8696a0;
  white-space: break-spaces;
}

#texto_footer_plantilla_previa {
  color: #8696a0;
  white-space: break-spaces;
}

.texto_footer_mensaje {
  color: #8696a0;
  white-space: break-spaces;
}

.plantilla-footer {
  margin-top: 6px;
}

.informacion_general_plantilla {
  padding-left: 0px;
}

.descripcion_general_plantilla {
  background-color: white;
  border-radius: 5px;
  border: 1px solid #d3cac0;
  padding: 5px;
  padding-bottom: 11px;
  margin-bottom: 12px;
  padding-left: 0px;
  padding-right: 0px;
}

.separador {
  padding-right: 10px;
}

@media (max-width: 767px) {
  .informacion_general_plantilla {
    padding-right: 0px;
    margin-bottom: 10px;
  }
  .separador {
    padding-right: 0px;
    margin-bottom: 10px;
  }
  .contenido_guardar_plantilla {
    margin-top: 10px;
  }
}
.modal-header {
  min-height: 16.43px;
  padding: 15px;
  border-bottom: 1px solid #d3cac0 !important;
}

#texto_textarea_header {
  /*    min-height: 100px;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical; */
  min-height: 100px;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  overflow: hidden;
}

#texto_textarea_body {
  /*    min-height: 100px;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical; */
  min-height: 100px;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  overflow: hidden;
}

#texto_textarea_footer {
  /*    min-height: 100px;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical; */
  min-height: 100px;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  overflow: hidden;
}

.contenido_principal_header {
  margin-top: 12px;
}

.contenido_principal_body {
  margin-top: 12px;
}

.contenido_principal_footer {
  margin-top: 12px;
}

.contenido_principal_buttons {
  margin-top: 12px;
}

.contenido_principal_guardar {
  margin-top: 12px;
}

.imagen_header_plantilla {
  background-color: #e5ddd5;
  height: 100%;
  padding: 0px;
  background-image: url("../img/imagen_sinimagen.png");
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #d3cac0;
  border-radius: 5px;
  max-height: 100%;
  min-height: 180px;
  margin-bottom: 10px;
}

.imagen_header_plantilla_location {
  background-color: #e5ddd5;
  height: 100%;
  padding: 0px;
  background-image: url("../img/puntero_google_map.png");
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #d3cac0;
  border-radius: 5px;
  max-height: 100%;
  min-height: 180px;
  margin-bottom: 10px;
}

.video_header_plantilla {
  background-color: #e5ddd5;
  height: 100%;
  padding: 0px;
  background-image: url("../img/imagen_play.png");
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #d3cac0;
  border-radius: 5px;
  max-height: 100%;
  min-height: 180px;
  margin-bottom: 10px;
}

.documento_header_plantilla {
  background-color: #e5ddd5;
  height: 100%;
  padding: 0px;
  background-image: url("../img/imagen_documento.png");
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #d3cac0;
  border-radius: 5px;
  max-height: 100%;
  min-height: 180px;
  margin-bottom: 10px;
}

.contenedor_header_plantilla {
  /*  background-color: #e5ddd5; */
  height: 100%;
  padding: 0px;
  /*  border: 1px solid #d3cac0; */
  border-radius: 5px;
  max-height: 100%;
  min-height: 180px;
  margin-bottom: 10px;
  align-content: center;
  text-align: center;
}

.color-error {
  border: 1px solid red !important;
}

.mensajes_botones {
  border-top: 1px solid #dadde1;
  text-align: center;
  padding-top: 3px;
}

.angotar_mensajes_botones {
  text-decoration: none !important;
  cursor: default;
}

.div_mensaje_boton {
  margin: 8px;
}

.class_hr {
  border-top: 1px solid #dadde1;
  width: 100%;
  margin-top: 0px;
  margin-bottom: 15px;
}

.quitar_estilo_mensajes_botones {
  border-top: none;
  text-align: center;
  padding-top: 0px;
}

.icono_plantilla {
  width: 17px;
  height: 17px;
}

.margin_bottom {
  margin-bottom: 0px;
}

.item_config {
  text-align: center;
  cursor: pointer;
}

.borde-boton {
  border-color: #d3cac0 !important;
  border: 1px solid #d3cac0 !important;
}

/* Estilo para el botón redondo */
.scroll-button {
  position: fixed;
  bottom: 79px;
  right: 27px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #ffffff; /* Color de fondo similar a WhatsApp */
  color: #888d90;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-align: center;
  align-content: center;
  z-index: 1000;
  display: none; /* Oculto inicialmente */
}

.scroll-button i {
  font-size: 15px;
}

.swal2-container {
  z-index: 9999;
}

h4 {
  color: #767676;
}

.badge-contactos {
  float: right;
}

#opciones_mensajes::after {
  display: none;
}

/* =======================
   Chat redesign (UI v2)
   ======================= */
:root {
  --chat-primary: #3658e5;
  --chat-surface: #ffffff;
  --chat-surface-alt: #f8f9fd;
  --chat-muted: #6b7294;
  --chat-border: #e5e8f2;
  --chat-bg: #f3f6fb;
}

.chat-app {
  background: var(--chat-surface);
  border: 1px solid var(--chat-border);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(17, 26, 104, 0.08);
  display: flex;
  overflow: hidden;
  max-width: 1400px;
  margin: 8px auto 0;
  /*min-height: calc(100vh - 150px);*/
}

#messages-main.chat-app {
  border: 1px solid var(--chat-border) !important;
  background: var(--chat-surface);
  box-shadow: 0 10px 32px rgba(17, 26, 104, 0.08);
  min-height: 650px;
}

@media (max-width: 991px) {
  .chat-app {
    flex-direction: column;
    min-height: calc(100vh - 110px);
  }
  #messages-main.chat-app .chat-sidebar {
    display: flex !important;
  }
}
.chat-sidebar {
  background: var(--chat-surface-alt);
  border-right: 1px solid var(--chat-border);
  padding: 18px 14px 14px;
  width: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative !important;
  left: auto;
  top: auto;
  height: auto;
}

.chat-sidebar .ms-user {
  background: var(--chat-surface);
  border: 1px solid var(--chat-border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(17, 26, 104, 0.06);
}

.chat-sidebar .img-avatar {
  width: 52px;
  height: 52px;
  box-shadow: 0 2px 10px rgba(17, 26, 104, 0.1);
}

.chat-sidebar .nombre_cabecera_perfil {
  font-weight: 700;
  color: #0f1b40;
}

.chat-sidebar .correo_cabecera_perfil {
  color: var(--chat-muted);
}

.chat-contact-list {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
  margin-right: -4px;
}

.chat-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--chat-border);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 6px 4px 10px;
  box-shadow: 0 4px 12px rgba(17, 26, 104, 0.05);
}

.chat-search__icon {
  color: #6b7294;
}

.chat-search__input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-size: 13px;
  color: #0f1b40;
}

.chat-sidebar .mi-bandeja-mensajes-contactos {
  background: transparent;
}

.chat-app .list-group-item {
  display: flex;
  border: 1px solid transparent;
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 12px 10px;
  background: var(--chat-surface);
  transition: all 0.15s ease;
}

.chat-app .list-group-item:hover,
.chat-app .item-contacto-seleccionado {
  border-color: #dfe3f3 !important;
  background: #eef1fb !important;
  box-shadow: 0 8px 20px rgba(17, 26, 104, 0.06);
}

/*.chat-app .badge-contactos {
   background: #34c759;
   color: #fff;
   min-width: 22px;
   height: 22px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 11px;
   border-radius: 11px;
}*/
.chat-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--chat-surface);
  padding-left: 0 !important;
}

.chat-panel-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--chat-border);
  background: var(--chat-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.chat-panel-header .pull-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-panel-header .img-avatar {
  width: 48px;
  height: 48px;
  box-shadow: 0 2px 10px rgba(17, 26, 104, 0.12);
}

.chat-panel-header .active-word-wrap a {
  color: #0f1b40;
  font-weight: 700;
}

.chat-panel-header .ah-actions {
  margin-top: 0;
}

.chat-panel-header .actions > li > a > i {
  color: #6c7695;
  transition: color 0.15s ease;
}

.chat-panel-header .actions > li > a:hover > i {
  color: var(--chat-primary);
}

.chat-thread {
  flex: 1;
  background: var(--chat-surface);
  padding: 24px 32px 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  /*max-height: 72vh;*/
}

.chat-thread .message-feed {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.chat-thread .message-feed.right {
  flex-direction: row-reverse;
}

.chat-thread .message-feed.right .palomitas {
  align-items: flex-end;
}

.chat-thread .mf-content {
  padding: 12px 14px;
  border-radius: 6px;
  background: #eef2f8;
  color: #0f1b40;
  max-width: 68%;
}

.chat-thread .message-feed.right .mf-content {
  background: var(--chat-primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(54, 88, 229, 0.25);
}

.chat-thread .mf-content-imagen,
.chat-thread .mf-content-documentos,
.chat-thread .mf-content-all {
  max-width: 70% !important;
}

.message-feed.no-avatar .pull-left,
.message-feed.no-avatar .pull-right {
  display: none !important;
}

.chat-thread .message-feed.no-avatar {
  gap: 0;
}

.chat-thread .message-feed.right.no-avatar {
  justify-content: flex-end;
}

.chat-thread .message-feed.right.no-avatar .mf-content {
  margin-left: auto;
}

.chat-thread .mf-date {
  color: var(--chat-muted);
  margin-top: 8px;
  font-size: 12px;
}

.chat-thread .message-feed.right .mf-date {
  color: #e7eafe;
}

.chat-thread .imagen_imagen,
.chat-thread .contenedor_archivos,
.chat-thread .audio-general,
.chat-thread .video-general {
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(17, 26, 104, 0.15);
}

.chat-empty,
.chat-loading {
  background: var(--chat-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  max-height: initial;
  height: 100%;
}

.chat-footer-empty {
  border-top: 1px solid var(--chat-border);
  background: var(--chat-surface);
  color: var(--chat-muted);
}

.chat-footer {
  border-top: 1px solid var(--chat-border);
  background: var(--chat-surface);
  padding: 12px 16px;
}

.chat-footer .conjunto-msb-footer {
  align-items: center;
  gap: 12px;
}

.chat-footer textarea {
  background: #f5f7fb;
  border: 1px solid var(--chat-border);
  border-radius: 16px;
  height: 52px;
  padding: 14px 16px;
  font-size: 14px;
  color: #0f1b40;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chat-footer textarea:focus {
  outline: none;
  border-color: var(--chat-primary);
  box-shadow: 0 0 0 3px rgba(54, 88, 229, 0.18);
}

.chat-footer .footer_opciones .dropdown-toggle,
.chat-footer .btn_footer_enviar {
  width: 44px;
  height: 44px;
  display: flex;
  padding: 0;
  border-radius: 6px;
  background: #f0f2f8;
  align-items: center;
  justify-content: center;
  color: #566086;
  transition: all 0.15s ease;
  border: 1px solid var(--chat-border);
}

.chat-footer .footer_opciones .dropdown-toggle:hover,
.chat-footer .btn_footer_enviar:hover {
  background: var(--chat-primary);
  color: #fff;
  border-color: var(--chat-primary);
}

.chat-footer .botones_grupo {
  gap: 10px;
  align-items: center;
}

.chat-footer .dropdown-menu {
  border-radius: 10px;
  border: 1px solid var(--chat-border);
  box-shadow: 0 12px 32px rgba(17, 26, 104, 0.12);
}

.cargando {
  background: var(--chat-bg);
  border-radius: 18px;
}

.scroll-button {
  background: #ffffff;
  border: 1px solid var(--chat-border);
  box-shadow: 0 10px 22px rgba(17, 26, 104, 0.12);
}

@media (max-width: 991px) {
  .chat-app .chat-sidebar {
    position: absolute !important;
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 5;
    box-shadow: 16px 0 32px rgba(17, 26, 104, 0.12);
  }
  .chat-app .chat-sidebar.toggled {
    transform: translateX(0);
  }
  .chat-app .chat-panel-header {
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .chat-thread {
    padding: 18px 16px;
  }
  .chat-thread .mf-content {
    max-width: 80%;
  }
}
.chat-thread::-webkit-scrollbar,
.chat-contact-list::-webkit-scrollbar {
  width: 8px;
}

.chat-thread::-webkit-scrollbar-thumb,
.chat-contact-list::-webkit-scrollbar-thumb {
  background: #d6daeb;
  border-radius: 12px;
}

.chat-thread::-webkit-scrollbar-track,
.chat-contact-list::-webkit-scrollbar-track {
  background: transparent;
}

.overview-header {
  flex-direction: row;
  display: flex;
  margin-bottom: 0.8rem !important;
  align-items: end;
}

.datepicker-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.datepicker-cta .range-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: #f6f8fb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}
.datepicker-cta .range-toggle .range-btn {
  border: 0;
  background: transparent;
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: #98a2b3;
  transition: all 0.15s ease;
}
.datepicker-cta .range-toggle .range-btn.is-active {
  background: #fff;
  color: #1f2937;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12);
}
.datepicker-cta .range-toggle .range-btn:hover, .datepicker-cta .range-toggle .range-btn:focus {
  color: #1f2937;
}
.datepicker-cta .range-toggle .range-btn:focus-visible,
.datepicker-cta .date-display:focus-visible {
  outline: 2px solid #d6e4ff;
  outline-offset: 2px;
}
.datepicker-cta .date-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1f2937;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
  min-height: 42px;
}
.datepicker-cta .date-display .icon {
  display: grid;
  place-items: center;
  color: #1d2939;
}
.datepicker-cta .date-display svg {
  width: 18px;
  height: 18px;
}
.datepicker-cta .date-range-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.flatpickr-calendar {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16), 0 8px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  font-family: "Outfit", sans-serif;
  border-radius: 12px !important;
  padding: 20px !important;
  min-width: 350px;
  width: 100%;
  margin-top: 25px;
}
.flatpickr-calendar .flatpickr-months {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}
.flatpickr-calendar .flatpickr-months .flatpickr-prev-month,
.flatpickr-calendar .flatpickr-months .flatpickr-next-month {
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #445cf6;
}
.flatpickr-calendar .flatpickr-months .flatpickr-prev-month svg,
.flatpickr-calendar .flatpickr-months .flatpickr-next-month svg {
  width: 12px;
  height: 12px;
}
.flatpickr-calendar .flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-calendar .flatpickr-months .flatpickr-next-month:hover {
  background: #eef1ff;
  color: #2f45d2;
}
.flatpickr-calendar .flatpickr-months .flatpickr-current-month {
  padding: 8px 0;
  display: flex;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}
.flatpickr-calendar .flatpickr-months .flatpickr-current-month .cur-month {
  margin-right: 4px;
}
.flatpickr-calendar .flatpickr-weekday {
  color: #98a2b3;
  font-weight: 700;
  font-size: 12px;
}
.flatpickr-calendar .flatpickr-days {
  padding: 4px 6px 2px;
}
.flatpickr-calendar .flatpickr-days .dayContainer {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  width: 100% !important;
}
.flatpickr-calendar .flatpickr-day {
  border-radius: 10px;
  color: #1f2937;
  font-weight: 600;
  height: 36px;
  line-height: 36px;
  margin: 0;
  width: 100%;
}
.flatpickr-calendar .flatpickr-day.prevMonthDay, .flatpickr-calendar .flatpickr-day.nextMonthDay {
  color: #cbd5e1;
}
.flatpickr-calendar .flatpickr-day:hover {
  background: #f3f4f6;
}
.flatpickr-calendar .flatpickr-day.today {
  border-color: #e0e7ff;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #445cf6;
  border-color: #445cf6;
  color: #fff;
  box-shadow: none;
}

.flatpickr-day.inRange {
  box-shadow: -5px 0 0 #f9fafb, 5px 0 0 #f9fafb !important;
  background: #f9fafb !important;
  border-color: #f9fafb !important;
}

.user-edit-page {
  padding: 24px 0 48px;
}
.user-edit-page .user-edit-hero {
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.12), rgba(15, 23, 42, 0.6));
  color: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 18px;
}
.user-edit-page .user-edit-hero .user-hero-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.user-edit-page .user-edit-hero .user-avatar-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.user-edit-page .user-edit-hero .user-avatar-initials {
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}
.user-edit-page .user-edit-hero .hero-title {
  font-size: 20px;
  color: #fff;
}
.user-edit-page .user-edit-hero .hero-meta {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}
.user-edit-page .user-edit-hero .user-hero-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-edit-page .user-edit-hero .pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.user-edit-page .user-edit-hero .pill.pill-success {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.5);
  color: #ecfdf3;
}
.user-edit-page .user-edit-hero .pill.pill-warning {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fff8eb;
}
.user-edit-page .user-edit-hero .pill.pill-muted {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.user-edit-page .ue-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.user-edit-page .ue-card-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-edit-page .ue-field label {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
  display: inline-block;
}
.user-edit-page .ue-field .form-control,
.user-edit-page .ue-field .form-select {
  border-radius: 10px;
  border-color: #e5e7eb;
}
.user-edit-page .ue-divider {
  border-bottom: 1px dashed #e5e7eb;
  margin: 18px 0;
}
.user-edit-page .ue-subtitle {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}
.user-edit-page .ue-cropper {
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
  min-height: 180px;
  background: #f8fafc;
  max-width: 100% !important;
  margin: 0 !important;
  margin-bottom: 25px !important;
}
.user-edit-page .btn-soft {
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  color: #0f172a;
}
.user-edit-page .ue-field-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.user-edit-page .form-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-edit-page .form-switch input {
  width: 38px;
  height: 20px;
}
.user-edit-page .form-switch .switch-text {
  color: #0f172a;
  font-weight: 600;
}
.user-edit-page .table {
  margin-bottom: 0;
}
.user-edit-page .table td {
  vertical-align: middle;
}

@media (max-width: 991px) {
  .user-edit-page .user-edit-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .user-edit-page .user-hero-right {
    width: 100%;
  }
}
