@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;
}

.text-end {
  text-align: right !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);
  background-color: #fff;
  background-image: none;
}

.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;
}

.page-content-wrapper.auth-wrapper .bg-brand-gradient {
  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 !important;
}

.page-wrapper,
.page-inner,
.page-content-wrapper {
  display: flex;
  width: 100%;
  min-width: 0;
}

/*
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.xl {
  margin: auto;
  width: 100px;
  height: 100px;
}
.user-btn.xl .user-avatar-initials {
  font-size: 40px;
}

.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;
}*/
.no-data-text {
  font-style: italic;
  font-weight: 100;
}

/* === Overlay === */
.bloqueo_v2 {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(2px);
  z-index: 21000;
}

.bloqueo_v2[hidden] {
  display: none !important;
}

/* === Contenedor central === */
.block-content {
  position: fixed;
  inset: 0;
  z-index: 22000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.block-content[hidden] {
  display: none !important;
}

/* === Card === */
.loader-card {
  padding: 28px 36px;
  border-radius: 14px;
  text-align: center;
  min-width: 280px;
  pointer-events: all;
}

/* === Spinner === */
.preloader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 120px;
  margin: 0 auto;
  overflow: hidden;
}
.preloader svg {
  max-width: 250px;
  width: 100%;
}

/* === Texto === */
.confirmation-message {
  font-size: 1.4rem;
  font-weight: 500;
  color: #0058ff;
}

.modal-body {
  overflow-wrap: break-word;
  overflow-y: auto;
}

.autocomplete-suggestions {
  display: none;
  position: absolute !important;
  z-index: 1000 !important;
  width: 100% !important;
  background: white !important;
  border-top: none !important;
  border-right: 1px solid rgb(221, 221, 221) !important;
  border-bottom: 1px solid rgb(221, 221, 221) !important;
  border-left: 1px solid rgb(221, 221, 221) !important;
  border-image: initial !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  max-width: 420px;
}
.autocomplete-suggestions .smarty-address-suggestions-item {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}
.autocomplete-suggestions .smarty-address-suggestions-item .smarty-address-suggestions-option {
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-weight: 400;
  font-size: 14px;
  color: #666;
}
.autocomplete-suggestions .smarty-address-suggestions-item .smarty-address-suggestions-option.autocomplete-back {
  font-size: 13.5px;
  color: #397aff;
}
.autocomplete-suggestions .smarty-address-suggestions-item .smarty-address-suggestions-unit {
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-weight: 400;
  font-size: 13.5px;
  color: #397aff;
  text-decoration: underline;
}
.autocomplete-suggestions .smarty-address-suggestions-item {
  /*.title {
      font-weight: bold;
      font-size: 14px;
  }

  .description {
      color: #666;
      font-size: 0.9em;
  }*/
}

.autocomplete-suggestions.selected {
  background-color: #f5f5f5;
}

.autocomplete-unit-selector {
  color: rgb(33, 133, 208);
  text-decoration: underline;
  display: flex;
  gap: 5px;
  justify-content: start;
  align-items: center;
  margin-top: 4px;
}

.autocomplete-unit-selector .arrow-icon {
  width: 12px;
  height: 12px;
  vertical-align: middle;
}

.loading-spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #2185d0;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.6s linear infinite;
  margin-left: 5px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.country-area-dropdown {
  position: relative;
  display: block;
}
.country-area-dropdown .country-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 9999;
}
.country-area-dropdown .dropdown-btn {
  display: flex;
  width: 100%;
  padding: 0.6rem 0.8rem;
  background-color: #ffffff;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  gap: 6px;
  cursor: pointer;
  height: 42.19px;
  white-space: nowrap;
}
.country-area-dropdown .dropdown-btn span {
  width: 100%;
  gap: 5px;
  display: inline-flex;
  justify-content: start;
  align-items: center;
  flex-direction: row;
  font-size: 14px;
}
.country-area-dropdown .dropdown-btn span.dropdown-arrow-icon {
  justify-content: flex-end;
}
.country-area-dropdown .dropdown-btn:focus {
  outline: none;
}
.country-area-dropdown .country-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  z-index: 10;
  font-size: 14px;
}
.country-area-dropdown .country-dropdown-menu .country-search-input {
  width: 100%;
  padding: 5px 5px;
  border-radius: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid #e3e3e3;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
  /*&:focus {
      border-color: #007bff;
      box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  }*/
}
.country-area-dropdown .country-dropdown-menu li {
  padding: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.country-area-dropdown .country-dropdown-menu li:hover {
  cursor: pointer;
}
.country-area-dropdown .country-dropdown-menu li.highlighted {
  background-color: #f0f0f0;
}
.country-area-dropdown .country-dropdown-menu img {
  margin-right: 5px;
}
.country-area-dropdown .country-dropdown-menu--floating {
  position: absolute;
  z-index: 90000;
}

.country-dropdown-menu {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  z-index: 10;
  font-size: 14px;
}

.country-dropdown-menu .country-search-input {
  width: 100%;
  padding: 5px 5px;
  border-radius: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid #e3e3e3;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
}

.country-dropdown-menu li {
  padding: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.country-dropdown-menu li:hover {
  cursor: pointer;
}

.country-dropdown-menu li.highlighted {
  background-color: #f0f0f0;
}

.country-dropdown-menu img {
  margin-right: 5px;
}

.country-dropdown-menu--floating {
  position: fixed;
  z-index: 90000;
}

.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 {
  height: 42px;
  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;
}
.button {
  /*@media (prefers-color-scheme: dark) {
  	border-color: #374151;
  	background-color: #1f2937;
  	color: #9ca3af;

  	&: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([class*=btn-outline-]):not(.btn-icon):not(.btn-light) {
  border: 0px solid rgba(0, 0, 0, 0.1);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.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: #fff;
  height: 42px;
  font-size: 14.5px;
  line-height: 15px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.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;
}

select.form-control {
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill='%23000000' version='1.1' id='Capa_1' width='800px' height='800px' viewBox='0 0 30.727 30.727' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M29.994,10.183L15.363,24.812L0.733,10.184c-0.977-0.978-0.977-2.561,0-3.536c0.977-0.977,2.559-0.976,3.536,0 l11.095,11.093L26.461,6.647c0.977-0.976,2.559-0.976,3.535,0C30.971,7.624,30.971,9.206,29.994,10.183z'/%3E%3C/g%3E%3C/svg%3E");
  background-position: calc(100% - 16px) calc(50% - 0px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.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;
}

.toast-error {
  background-color: #fd3939 !important;
}

.apply_display {
  display: flex;
  gap: 5px;
}

.bill-data h2 {
  font-size: 18.5px;
  margin-bottom: 3px;
}

.bill-info {
  border-top: 1px solid #e1e1e1;
}

.enlaces_pago {
  color: #1d4ed8 !important;
}

.hero-actions .btn {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
}

.hero-actions .btn-icon {
  padding: 0;
  width: 40px;
}

.invoice-hero {
  background: #f7f9fc;
  border: 1px solid #e5e9f2;
  border-radius: 12px;
}

.invoice-hero .badge-overdue {
  background: #fce2e5;
  color: #d61f3a;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.invoice-hero .hero-meta {
  font-size: 13px;
  color: #6b7280;
}

.invoice-hero .hero-title {
  margin: 0;
  font-weight: 700;
  color: #101828;
}

.edit-contact-btn {
  color: #475467;
  padding: 0;
  font-size: 0.9rem;
}

.edit-contact-btn:hover {
  color: #0d6efd;
  text-decoration: none;
}

.invoice-item-description {
  font-size: 0.85rem;
  color: #6c7b8a;
  margin-top: 0.35rem;
}

.invoice-items-table {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(0, 27, 50, 0.08);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}

.invoice-items-table tbody td {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.invoice-items-table tbody td.item-column {
  padding-left: 2rem;
}

.invoice-items-table td {
  border-top: none;
  border-bottom: none;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.invoice-items-table thead th {
  border-bottom: 1px solid rgba(0, 27, 50, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: #6c7b8a;
  font-weight: 600;
}

.invoice-items-table tbody tr {
  border-bottom: 1px solid rgba(0, 27, 50, 0.06);
}

.invoice-items-table tbody tr:last-child {
  border-bottom: none;
}

.invoice-section-title {
  font-size: 18px;
}

.invoice-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.15rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.invoice-summary-card .summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #475467;
  padding: 0.25rem 0;
}

.invoice-summary-card .summary-row span:first-child {
  color: #94a3b8;
}

.invoice-summary-card .summary-row span:last-child {
  font-weight: 600;
}

.payment-history-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.payment-history-card {
  background: #ffffff;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.payment-history-date {
  color: #6b7280;
  font-size: 13px;
  white-space: nowrap;
  margin-top: 4px;
}

.payment-history-meta {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  font-weight: 400;
  margin-top: 10px;
  font-style: italic;
}

.payment-history-status {
  display: inline-block;
  background: rgba(34, 197, 94, 0.18); /*#eef2ff;*/
  color: #198541; /*#4338ca;*/
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.payment-history-status.overdue {
  background: #fce2e5;
  color: #d61f3a;
}

.payment-metadata {
  padding: 0 0 0 17px;
  gap: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.payment-history-time {
  display: inline-block;
  color: #878787;
}

.strong_p p {
  margin: 0;
}

.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;
}

.datepicker-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
}
.datepicker-cta .date-display {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d1d5db;
  color: #1f2937;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-weight: 600;
  font-size: 14px;
  width: 100%;
}
.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;
}
.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;
}

.flatpickr-calendar {
  border: 1px solid #e5e7eb;
  border-radius: 12px !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16), 0 8px 20px rgba(15, 23, 42, 0.08);
  font-family: "Outfit", sans-serif;
  margin-top: 6px;
  padding: 20px !important;
  min-width: 350px;
}
.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;
}

.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: #f4f8ff;
  padding: 5px 0;
}
.panel .panel-hdr h2 {
  font-size: 16px;
  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 {
  margin: 1rem 0;
  background: #fff;
  border: 1px solid oklch(92.2% 0 0deg);
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}
.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;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  overflow: hidden;
}
.table-container thead th:first-child {
  border-top-left-radius: 0.5rem;
}
.table-container thead th:last-child {
  border-top-right-radius: 0.5rem;
}
.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:last-child(4) {
  max-width: 260px;
}
.table-container.small-table.no-wrap table tbody td {
  white-space: initial;
  max-width: initial;
}

.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;
}

.finance-connected-bar {
  background: linear-gradient(90deg, #e8efff 0%, #f8fafc 100%);
  border: 1px solid #e3e8f5;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.finance-connected-bar .finance-connected-info {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #0f172a;
  font-weight: 600;
}
.finance-connected-bar .finance-connected-info .connected-chip {
  background: #d1fae5;
  color: #01976d;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #01976d;
  font-weight: 500;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.finance-connected-bar .finance-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.finance-connected-bar .finance-actions .finance-search {
  max-width: 240px;
}

.tc-table {
  overflow-x: auto;
  margin: 1rem 0;
  background: #fff;
  border: 1px solid oklch(92.2% 0 0deg);
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}
.tc-table.table-striped tbody tr:nth-of-type(odd) {
  background-color: #F7F9FC;
}
.tc-table .skeleton-table {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(17, 24, 39, 0.06);
}
.tc-table .skeleton-table .skeleton-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 10px 0;
  align-items: center;
  border-bottom: 1px solid #f1f3f7;
}
.tc-table .skeleton-table .skeleton-row .skeleton-cell {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f1f3f7 0%, #e4e8ef 50%, #f1f3f7 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}
.tc-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Outfit", system-ui, sans-serif;
  margin-bottom: 0 !important;
}
@media (min-width: 720px) {
  .tc-table table {
    min-width: 620px;
  }
}
.tc-table table thead {
  background-color: #f9fafb;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  overflow: hidden;
}
.tc-table table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  line-height: 14px;
}
.tc-table table thead th:first-child {
  border-top-left-radius: 0.5rem;
}
.tc-table table thead .sort-icon {
  width: 12px;
  height: 12px;
  margin-left: 6px;
  color: #cbd0d8;
  transition: color 0.2s ease, transform 0.2s ease;
}
.tc-table table thead .sort-icon.is-asc, .tc-table table thead .sort-icon.is-desc {
  color: #6772E5;
}
.tc-table table thead .sort-icon.is-asc {
  transform: rotate(180deg);
}
.tc-table table tbody tr {
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgb(236, 236, 238);
}
.tc-table table tbody tr td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #4b5563;
  vertical-align: middle;
  font-weight: 400;
}

.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-footer .select-per-page {
  width: 125px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236772E5' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) 50%;
  padding-right: 32px;
}
.table-footer .table-paging {
  margin: 2px 0;
  white-space: nowrap;
  justify-content: flex-end;
  display: flex;
  gap: 8px;
}
.table-footer .table-paging .button {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
}
.table-footer .table-paging .button.button-active-page {
  background-color: #ECF2FF;
  color: #0039b5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@media (max-width: 900px) {
  .finance-connected .finance-connected-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .finance-connected .finance-connected-bar .finance-actions {
    width: 100%;
    justify-content: space-between;
  }
  .finance-connected .finance-connected-bar .finance-actions .finance-search {
    flex: 1 1 auto;
    max-width: none;
  }
}
@media (max-width: 720px) {
  .tc-table {
    overflow: visible;
    border: none;
  }
  .tc-table table,
  .tc-table thead,
  .tc-table tbody,
  .tc-table th,
  .tc-table td,
  .tc-table tr {
    display: block;
  }
  .tc-table thead {
    display: none;
  }
  .tc-table tbody tr {
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 10px 12px;
  }
  .tc-table tbody tr::last-child {
    margin-bottom: 0;
  }
  .tc-table td {
    padding: 8px 0;
    border: none;
    gap: 12px;
    font-size: 13px;
    display: flex;
    justify-content: start;
  }
  .tc-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #6b7280;
    flex: 0 0 45%;
  }
  .table-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .table-paging {
    flex-wrap: wrap;
  }
}
.input-search-table {
  max-width: 220px;
  height: 42px;
  width: 100%;
  border-radius: 8px !important;
  padding: 10px 16px 10px 42px !important;
  font-size: 0.875rem;
  color: #1f2937;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  background-color: #fff;
  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;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.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;
  }
}
.client-view {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 8px;
  color: #111827;
  font-family: "Outfit", sans-serif;
}
.client-view .client-header h1,
.client-view .client-header h2,
.client-view .client-header h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}
.client-view .client-header p {
  color: #4a90e2;
  font-size: 15px;
  margin-bottom: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.15s;
}

.form-control:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-text {
  font-size: 12px;
  color: #6c757d;
  margin-top: 0.25rem;
  display: block;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.payment-method-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.payment-method-info .payment-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4a90e2;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
}

.payment-method-info .payment-details .payment-bank {
  font-weight: 500;
  font-size: 14px;
  color: #1a1a1a;
}

.payment-method-info .payment-details .payment-account {
  font-size: 12px;
  color: #6c757d;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.status-dot.active {
  background: #28a745;
}

.status-dot.paused {
  background: #ffc107;
}

.recipient-info {
  display: flex;
  align-items: center;
}

.recipient-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  font-size: 14px;
}

.recipient-details strong {
  display: block;
  color: #1a1a1a;
  font-size: 14px;
}

.recipient-details small {
  color: #6c757d;
  font-size: 12px;
}

.frequency-badge {
  background: #e7f3ff;
  color: #0066cc;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.loading-state {
  text-align: center;
  padding: 3rem;
}

.text-danger {
  color: #dc3545;
}

.table-footer {
  padding: 1rem;
  font-size: 12px;
  color: #6c757d;
  border-top: 1px solid #e9ecef;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .payment-table {
    font-size: 12px;
  }
  .payment-table thead th, .payment-table tbody td {
    padding: 0.5rem;
  }
  .auto-payment-container {
    padding: 0 1rem;
  }
}
.social-chat-main .dropdown_config .dropdown .dropdown-toggle {
  width: 100%;
  background-color: white;
  border-radius: 16px;
  border: 1px solid #d1d5db !important;
}
.social-chat-main .dropdown_config .dropdown .dropdown-toggle svg {
  color: #666666;
}
.social-chat-main .social-chat-filter-button {
  width: 100%;
  padding: 5px;
  background-color: white;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  font-size: 14px;
  transition: all 0.15s;
  box-shadow: none !important;
  color: #111827;
  border-color: #d1d5db !important;
}
.social-chat-main #messages-main {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  border: 1px solid #e2e8f0 !important;
}
.social-chat-main #messages-main .ms-menu.sidebar-chat {
  background: var(--chat-surface-alt);
  border-right: 1px solid #e2e8f0;
  padding: 0;
  width: 290px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.social-chat-main #messages-main .ms-menu.sidebar-chat .chat-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--chat-border);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 10px 0;
  box-shadow: none;
}
.social-chat-main #messages-main .ms-menu.sidebar-chat .ms-menu-header {
  padding: 18px 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.social-chat-main #messages-main .ms-menu.sidebar-chat .ms-menu-header .menu-header-actions {
  display: flex;
  gap: 10px;
}
.social-chat-main #messages-main .ms-menu.sidebar-chat .ms-menu-header .menu-header-actions .select-contact,
.social-chat-main #messages-main .ms-menu.sidebar-chat .ms-menu-header .menu-header-actions .add-contact {
  cursor: pointer;
}
.social-chat-main #messages-main .ms-menu.sidebar-chat .chat-list {
  padding: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.social-chat-main #messages-main .ms-menu.sidebar-chat .badge-container .badge-colors {
  background-color: #3979ff !important;
}
.social-chat-main #messages-main .ms-menu.sidebar-chat .chat-contact-item {
  position: relative;
  border-radius: 0 !important;
  box-shadow: none;
  margin: 0;
  padding: 10px;
}
.social-chat-main #messages-main .ms-menu.sidebar-chat .chat-contact-item.item-contacto-seleccionado {
  background: #eff4ff !important;
  border-left: 4px solid #1e3a8a;
}
.social-chat-main #messages-main .ms-menu.sidebar-chat .chat-contact-item:hover {
  background-color: #f6f5f4 !important;
  color: initial;
}
.social-chat-main #messages-main .chat-header .choose_chat {
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
}
.social-chat-main #messages-main .chat-body {
  background: #fff;
  background-size: contain;
  background-repeat: repeat;
  background-position: center;
}
@media (min-width: 768px) {
  .social-chat-main #messages-main .chat-body {
    padding-left: 290px;
  }
}
.social-chat-main #messages-main .chat-body .action-header {
  border-color: #e2e8f0 !important;
  border-top: none;
  position: relative;
  background: white;
  padding: 15px 13px 15px 17px;
}
.social-chat-main #messages-main .chat-body .action-header .chat-options {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  padding: 0;
  align-items: center;
  margin: 0;
}
.social-chat-main #messages-main .chat-body .action-header .chat-options .main-actions {
  float: right;
  border-right: 1px solid;
  padding-right: 30px;
}
.social-chat-main #messages-main .chat-body .action-header .chat-options .main-actions li {
  cursor: pointer;
}
.social-chat-main #messages-main .chat-body .action-header .chat-options .close-chat-action {
  cursor: pointer;
}
.social-chat-main #messages-main .chat-body .action-header .actions {
  opacity: 0.7;
}
.social-chat-main #messages-main .chat-body-message .mf-date div {
  color: rgba(0, 0, 0, 0.6);
}
.social-chat-main #messages-main .chat-body-message .texto {
  color: #4c4c4c;
  font-size: 15px;
  font-weight: 400;
}
.social-chat-main #messages-main .chat-body-message .palomitas {
  border: 1px solid #e2e8f0;
  box-shadow: none;
}
.social-chat-main #messages-main .chat-body-message .message-feed {
  padding: 20px;
  padding-top: 5px;
  padding-bottom: 0;
}
.social-chat-main #messages-main .chat-body-message .message-feed.msg-group-start {
  margin-top: 12px;
}
.social-chat-main #messages-main .chat-body-message .message-feed.msg-group-middle {
  margin-top: 2px;
}
.social-chat-main #messages-main .chat-body-message .message-feed.media:hover .mf-content .palomitas {
  background-color: initial !important;
}
.social-chat-main #messages-main .chat-body-message .message-feed .mf-content {
  border: 1px solid #e2e8f0;
  background-color: #f8f9fa;
  border-radius: 7.5px;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.social-chat-main #messages-main .chat-body-message .message-feed .mf-content .palomitas {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.social-chat-main #messages-main .chat-body-message .message-feed .mf-content .texto {
  font-size: 14px;
  font-weight: 400;
  color: #0A0A0A;
}
.social-chat-main #messages-main .chat-body-message .message-feed .mf-content.mf-content-documentos .contenedor_archivos, .social-chat-main #messages-main .chat-body-message .message-feed .mf-content.mf-content-imagen .contenedor_archivos {
  background-color: #f1f2f3;
  max-height: 100%;
  box-shadow: none;
  border: 0;
}
.social-chat-main #messages-main .chat-body-message .message-feed.right .mf-content {
  border: 1px solid rgb(217, 253, 211) !important;
  background-color: #d9fdd3;
  border-radius: 7.5px;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.social-chat-main #messages-main .chat-body-message .message-feed.right .mf-content .palomitas {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.social-chat-main #messages-main .chat-body-message .message-feed.right .mf-content .texto {
  font-size: 14px;
  font-weight: 400;
  color: #0A0A0A;
}
.social-chat-main #messages-main .chat-body-message .message-feed.right .mf-content.mf-content-comentario {
  background-color: #FFEBD1;
  border: 1px solid #FFEBD1 !important;
}
.social-chat-main #messages-main .chat-body-message .message-feed.right .mf-content.mf-content-documentos .contenedor_archivos, .social-chat-main #messages-main .chat-body-message .message-feed.right .mf-content.mf-content-imagen .contenedor_archivos {
  background-color: #d6f3cf;
  max-height: 100%;
  box-shadow: none;
  border: 0;
}
.social-chat-main #messages-main .chat-body-message .message-feed .imagen_imagen {
  box-shadow: none;
}
.social-chat-main #messages-main .form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.15s;
  box-shadow: none !important;
  color: #111827;
  border-color: #d1d5db !important;
}
.social-chat-main #messages-main .form-select:focus {
  background-color: rgb(249, 250, 251) !important;
  border: 1px solid #64748b !important;
}
.social-chat-main #messages-main #seleccionar_medio_mensaje + .select2-container .select2-selection {
  border: 1px solid #d1d5db !important;
  border-radius: 6px;
}
.social-chat-main #messages-main .advertencia_mensaje_plantilla {
  border-radius: 6px;
  background: #E6EFFF;
  box-shadow: none;
  border: 1px solid #d1d5db !important;
  width: 100%;
  min-height: 66px;
  margin: 0px;
}
.social-chat-main #messages-main .button-whatsapp-template {
  margin-top: 7px;
  background: #0d6efd;
}
.social-chat-main #messages-main .button-schedule-template {
  margin-top: 7px;
  background: #0dc143;
}
.social-chat-main #messages-main .info-message-box {
  margin-top: 10px;
}
.social-chat-main #messages-main .info-message-box span {
  font-style: italic;
  font-weight: 400;
  font-size: 13.5px;
}
.social-chat-main #messages-main .info-footer-no-messages {
  border-color: #e2e8f0 !important;
  font-size: 16px;
  color: #64748b;
}
.social-chat-main #messages-main .info-footer-no-messages p {
  font-weight: 400;
  margin: 0;
}
.social-chat-main .msb-footer .button-send-message {
  background-color: #3979ff;
  color: white !important;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 48px;
}

.swal2-icon.swal2-error {
  border-color: #fd3939;
  color: #fd3939;
}
.swal2-icon.swal2-error [class^=swal2-x-mark-line] {
  background-color: #fd3939;
}

.swal2-styled.swal2-confirm {
  background-color: #1d4ed8;
}

.block {
  background: white;
  margin-bottom: 2rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.block.w-table .block-body {
  padding: 0;
}
@media (max-width: 720px) {
  .block.w-table {
    border: none;
    box-shadow: none;
  }
  .block.w-table .block-header {
    border: 0;
    padding: 20px 0px;
  }
}
.block .block-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.block .block-header .block-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.block .block-header .block-actions {
  display: flex;
  gap: 12px;
}
.block .block-body {
  padding: 2rem;
  margin: 0;
}
.block .block-body .block-filters {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px 20px;
  padding: 25px;
}
.block .block-body .empty-state {
  text-align: center;
  padding: 2rem;
  color: #6c757d;
}
.block .block-body .empty-state i,
.block .block-body .empty-state svg {
  font-size: 48px;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.block .block-body .empty-state p {
  font-size: 14px;
  margin: 0;
}
.block .block-body label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: #333;
  margin-bottom: 0.5rem;
}

.ui-button {
  /* ---- Base ---- */
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  text-decoration: none;
  /* Base “default” */
  background: #ffffff;
  color: #374151;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  /* Accesibilidad: foco visible con teclado */
}
.ui-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}
.ui-button {
  /* ---- States ---- */
}
.ui-button:disabled, .ui-button.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: -0.1em 0.1em #d1d5db; /* estable */
}
.ui-button.loading {
  cursor: wait;
  pointer-events: none;
  opacity: 0.85;
}
.ui-button {
  /* ---- Sizes ---- */
}
.ui-button.sm {
  height: 34px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}
.ui-button.lg {
  height: 48px;
  padding: 0.875rem 1.125rem;
  font-size: 0.9375rem;
}
.ui-button.block {
  width: 100%;
}
.ui-button.icon {
  width: 42px;
  padding: 0;
}
.ui-button {
  /* ---- Variants ---- */
}
.ui-button.default {
  background: #ffffff;
  color: #374151;
  border-color: #d1d5db;
}
.ui-button.primary {
  background: #1d4ed8;
  color: #ffffff;
}
.ui-button.primary:hover:not(:disabled):not(.disabled):not(.loading) {
  background: #1b4aca;
}
.ui-button.primary:active:not(:disabled):not(.disabled):not(.loading) {
  background: #1d4ed8;
}
.ui-button.primary:focus-visible {
  outline-color: 0;
}
.ui-button.secondary {
  background: #f3f4f6;
  color: #111827;
  border-color: #d1d5db;
}
.ui-button.secondary:hover:not(:disabled):not(.disabled):not(.loading) {
  background: #e5e7eb;
}
.ui-button.secondary:active:not(:disabled):not(.disabled):not(.loading) {
  background: #f3f4f6;
}
.ui-button.secondary:focus-visible {
  outline-color: rgba(17, 24, 39, 0.25);
}
.ui-button.ghost {
  background: transparent;
  color: #111827;
  border-color: #e5e7eb;
  box-shadow: none;
}
.ui-button.ghost:hover:not(:disabled):not(.disabled):not(.loading) {
  background: #f9fafb;
  transform: none;
  box-shadow: none;
}
.ui-button.ghost:active:not(:disabled):not(.disabled):not(.loading) {
  background: #f3f4f6;
  transform: none;
  box-shadow: none;
}
.ui-button.ghost:focus-visible {
  outline-color: rgba(17, 24, 39, 0.25);
}
.ui-button.danger {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  box-shadow: -0.1em 0.1em rgba(220, 38, 38, 0.35);
}
.ui-button.danger:hover:not(:disabled):not(.disabled):not(.loading) {
  background: #b91c1c;
  box-shadow: -0.15em 0.15em rgba(220, 38, 38, 0.35);
}
.ui-button.danger:active:not(:disabled):not(.disabled):not(.loading) {
  background: #dc2626;
  box-shadow: none;
  translate: -1.01px 1.01px;
}
.ui-button.danger:focus-visible {
  outline-color: rgba(220, 38, 38, 0.4);
}

.ui-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ui-table {
  width: 100%;
  border-collapse: collapse;
}
.ui-table .text-ellipsis {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ui-table .col-small-width {
  max-width: 260px;
}
.ui-table thead tr {
  background-color: #f9fafb;
}
.ui-table thead th {
  text-align: left;
  padding: 1rem;
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  border-bottom: 2px solid #e9ecef;
}
.ui-table tbody td {
  padding: 1rem;
  border-bottom: 1px solid #f1f3f5;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ui-table tbody td .btn-icon {
  height: 35px;
  width: 40px;
}
.ui-table tbody td .btn-icon svg {
  fill: rgb(102, 112, 133);
}
.ui-table tbody tr:hover {
  background: #f8f9fa;
}
.ui-table p {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .ui-table {
    overflow: visible;
    border: none;
    table-layout: fixed;
  }
  .ui-table table,
  .ui-table thead,
  .ui-table tbody,
  .ui-table th,
  .ui-table td,
  .ui-table tr {
    display: block;
  }
  .ui-table thead {
    display: none;
  }
  .ui-table tbody {
    padding: 0;
  }
  .ui-table tbody tr {
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 0;
  }
  .ui-table td {
    padding: 8px 0;
    border: none;
    gap: 12px;
    font-size: 13px;
    display: flex;
    justify-content: start;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .ui-table td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: #6b7280;
    flex: 0 0 45%;
  }
  .ui-table td[data-actions]::before {
    flex: 1;
  }
}
.ui-key {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: #333;
  margin-bottom: 0.2rem;
}

.ui-value {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: #4c4c4c;
}

.ui-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ui-upload .ui-upload-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.ui-upload .ui-upload-button {
  position: relative;
  overflow: hidden;
}
.ui-upload .ui-upload-name {
  font-size: 13px;
  color: #6b7280;
}

.ui-signature {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-signature-box {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.ui-signature-canvas {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  width: 100%;
  height: 150px;
  background: #fff;
  touch-action: none;
}

.ui-signature-image {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.ui-signature-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ui-signature-toggle {
  display: flex;
  gap: 8px;
}

.ui-signature-toggle .btn.active {
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.ui-signature-typed {
  position: relative;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  height: 150px;
}

.ui-signature-typed::before {
  content: "x";
  position: absolute;
  left: 16px;
  bottom: 28px;
  color: #111827;
  font-size: 14px;
}

.ui-signature-typed::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 24px;
  height: 1px;
  background: #cbd5e1;
}

.ui-signature-typed-input {
  position: absolute;
  left: 36px;
  bottom: 10px;
  width: calc(100% - 48px);
  border: 0;
  outline: none;
  background: transparent;
  font-size: 32px;
  font-family: "Segoe Script", "Brush Script MT", "Comic Sans MS", cursive;
  color: #111827;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge.active {
  background: #d4edda;
  color: #155724;
}

.status-badge.paused {
  background: #fff3cd;
  color: #856404;
}

.status-badge.pending {
  background: #fff3cd;
  color: #856404;
}

.status-badge.failed {
  background: #f8d7da;
  color: #721c24;
}

.status-badge.cancelled {
  background: #e2e3e5;
  color: #383d41;
}

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

.img-avatar-small-header {
  position: absolute;
  bottom: 34px;
  right: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #000000;
}

.img-avatar-header {
  width: 1.7rem;
  height: auto;
}

/* Hide Vue template flicker before mount */
[v-cloak] {
  display: none !important;
}

/* Sidebar menu */
.nav-menu li a .nav-link-text {
  color: #1E2022;
}
.nav-menu li.active > a {
  background-color: rgb(238, 242, 247) !important;
  color: rgb(31, 41, 55) !important;
  font-weight: 600 !important;
}

.nav-menu > li > a {
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #343434;
}

.nav-menu > li.has-sub > a {
  position: relative;
  padding-right: 2rem;
}

.nav-menu > li.has-sub > a::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none'><path d='M5.70711 9.71069C5.31658 10.1012 5.31658 10.7344 5.70711 11.1249L10.5993 16.0123C11.3805 16.7927 12.6463 16.7924 13.4271 16.0117L18.3174 11.1213C18.708 10.7308 18.708 10.0976 18.3174 9.70708C17.9269 9.31655 17.2937 9.31655 16.9032 9.70708L12.7176 13.8927C12.3271 14.2833 11.6939 14.2832 11.3034 13.8927L7.12132 9.71069C6.7308 9.32016 6.09763 9.32016 5.70711 9.71069Z' fill='%239aa9bf'/></svg>");
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-menu > li.active > a {
  background-color: #e9f2ff;
  color: #397AFF;
}

.nav-menu > li.open > a {
  background-color: #e9f2ff;
  color: #397AFF;
}

.nav-menu > li > a svg {
  color: #343434;
  fill: #343434;
  opacity: 1;
  width: 22px;
}

.nav-menu > li > a i {
  color: #6b7a90;
  opacity: 0.7;
}

.nav-menu > li > a img {
  filter: grayscale(1) brightness(0.95);
  opacity: 0.8;
}

.nav-menu > li.active > a svg {
  color: #397AFF;
  fill: #397AFF;
  opacity: 1;
}

.nav-menu > li.open > a svg {
  color: #397AFF;
  fill: #397AFF;
  opacity: 1;
}

.nav-menu > li.active > a i,
.nav-menu > li.open > a i {
  color: #397AFF;
  opacity: 1;
}

.nav-menu > li.active > a em,
.nav-menu > li.open > a em {
  color: #397AFF;
  opacity: 1;
}

.nav-menu > li.active > a .nav-link-text,
.nav-menu > li.open > a .nav-link-text {
  color: #397AFF;
}

.nav-menu > li.active > a img,
.nav-menu > li.open > a img {
  filter: none;
  opacity: 1;
}

.nav-menu > li.open > a::after {
  transform: translateY(-50%) rotate(180deg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none'><path d='M5.70711 9.71069C5.31658 10.1012 5.31658 10.7344 5.70711 11.1249L10.5993 16.0123C11.3805 16.7927 12.6463 16.7924 13.4271 16.0117L18.3174 11.1213C18.708 10.7308 18.708 10.0976 18.3174 9.70708C17.9269 9.31655 17.2937 9.31655 16.9032 9.70708L12.7176 13.8927C12.3271 14.2833 11.6939 14.2832 11.3034 13.8927L7.12132 9.71069C6.7308 9.32016 6.09763 9.32016 5.70711 9.71069Z' fill='%23397AFF'/></svg>");
}

.page-sidebar .nav-menu > li > ul {
  display: none;
  padding-left: 12px;
}

.page-sidebar .nav-menu > li.open > ul {
  display: block;
}

.nav-menu > li > ul > li > a {
  border-radius: 8px;
  color: #5b6b7c;
}

.nav-menu > li > ul > li.active > a,
.nav-menu > li > ul > li > a.active {
  background-color: #eef2f7;
  color: #1f2937;
  font-weight: 600;
}

body.admin-dark .nav-menu > li.active > a {
  background-color: #2b2c3f;
  color: #397AFF;
}

body.admin-dark .nav-menu > li.open > a {
  background-color: #2b2c3f;
  color: #397AFF;
}

body.admin-dark .nav-menu > li > a svg {
  color: #c7c9d1;
  fill: #c7c9d1;
  opacity: 0.75;
}

body.admin-dark .nav-menu > li > a i {
  color: #c7c9d1;
  opacity: 0.75;
}

body.admin-dark .nav-menu > li > a img {
  filter: grayscale(1) brightness(1.15);
  opacity: 0.9;
}

body.admin-dark .nav-menu > li.active > a svg,
body.admin-dark .nav-menu > li.open > a svg {
  color: #397AFF;
  fill: #397AFF;
  opacity: 1;
}

body.admin-dark .nav-menu > li.active > a i,
body.admin-dark .nav-menu > li.open > a i {
  color: #397AFF;
  opacity: 1;
}

body.admin-dark .nav-menu > li.active > a em,
body.admin-dark .nav-menu > li.open > a em {
  color: #397AFF;
  opacity: 1;
}

body.admin-dark .nav-menu > li.active > a .nav-link-text,
body.admin-dark .nav-menu > li.open > a .nav-link-text {
  color: #397AFF;
}

body.admin-dark .nav-menu > li.active > a img,
body.admin-dark .nav-menu > li.open > a img {
  filter: none;
  opacity: 1;
}

body.admin-dark .nav-menu > li.has-sub > a::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none'><path d='M5.70711 9.71069C5.31658 10.1012 5.31658 10.7344 5.70711 11.1249L10.5993 16.0123C11.3805 16.7927 12.6463 16.7924 13.4271 16.0117L18.3174 11.1213C18.708 10.7308 18.708 10.0976 18.3174 9.70708C17.9269 9.31655 17.2937 9.31655 16.9032 9.70708L12.7176 13.8927C12.3271 14.2833 11.6939 14.2832 11.3034 13.8927L7.12132 9.71069C6.7308 9.32016 6.09763 9.32016 5.70711 9.71069Z' fill='%23c7c9d1'/></svg>");
}

body.admin-dark .nav-menu > li.open > a::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none'><path d='M5.70711 9.71069C5.31658 10.1012 5.31658 10.7344 5.70711 11.1249L10.5993 16.0123C11.3805 16.7927 12.6463 16.7924 13.4271 16.0117L18.3174 11.1213C18.708 10.7308 18.708 10.0976 18.3174 9.70708C17.9269 9.31655 17.2937 9.31655 16.9032 9.70708L12.7176 13.8927C12.3271 14.2833 11.6939 14.2832 11.3034 13.8927L7.12132 9.71069C6.7308 9.32016 6.09763 9.32016 5.70711 9.71069Z' fill='%23397AFF'/></svg>");
}

body.admin-dark .nav-menu > li > ul > li > a {
  color: #c7c9d1;
}

body.admin-dark .nav-menu > li > ul > li.active > a,
body.admin-dark .nav-menu > li > ul > li > a.active {
  background-color: #323347;
  color: #397AFF;
}

body.admin-dark {
  background-color: #1E1E2C;
  color: #fff;
}

body.admin-dark a {
  color: #3699ff;
}

body.admin-dark .page-header {
  background-color: #1E1E2C;
}

body.admin-dark .page-content {
  background-color: #151520;
  color: #fff;
}

body.admin-dark .panel,
body.admin-dark .card {
  background-color: #1E1E2C;
}

body.admin-dark .panel-hdr {
  background: #1E1E2C;
}

body.admin-dark .panel-hdr h2 {
  color: #fff;
}

body.admin-dark .table-bordered td,
body.admin-dark .table-bordered th {
  border: 1px solid #323248;
}

body.admin-dark .table-striped tbody tr:nth-of-type(odd) {
  background-color: #2B2C3F;
}

body.admin-dark .text-dark {
  color: #fff !important;
}

body.admin-dark .text-muted,
body.admin-dark .text-muted-green {
  color: #dedee0 !important;
}

body.admin-dark .panel {
  border: 0;
}

body.admin-dark .table thead th {
  border-bottom: 2px solid #323248;
  background-color: #1E1E2B;
}

body.admin-dark .h1,
body.admin-dark .h2,
body.admin-dark .h3,
body.admin-dark .h4,
body.admin-dark .h5,
body.admin-dark .h6,
body.admin-dark h1,
body.admin-dark h2,
body.admin-dark h3,
body.admin-dark h4,
body.admin-dark h5,
body.admin-dark h6 {
  color: #fff;
}

body.admin-dark .table {
  color: #fff;
}

body.admin-dark .btn-default {
  background-color: #565773;
  background-image: none;
  color: #fff;
}

body.admin-dark .fc-head-container thead tr {
  background-image: none;
}

body.admin-dark .fc-other-month {
  background-image: none;
  background-color: #15151F;
  background-size: 1rem 1rem;
}

body.admin-dark .progress {
  background-color: #323347;
}

body.admin-dark .alert-info {
  color: #fff;
  background-color: #2f264f;
  border-color: transparent;
}

body.admin-dark .badge.badge-outline-danger {
  color: #f64e60;
  background-color: #3a2434;
}

body.admin-dark .symbol .symbol-label {
  background-color: #565772;
}

body.admin-dark .clx-avatar {
  background: #372533;
  color: #E45B64;
}

body.admin-dark .form-control {
  background-color: #1b1b29;
  border-color: #1b1b29;
  color: #92929f;
}

body.admin-dark .select2-container--default .select2-selection--single {
  background-color: #1b1b29;
  border: 1px solid #1b1b29;
  border-radius: 4px;
}

body.admin-dark .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff;
}

body.admin-dark .form-control:focus {
  background-color: #171723;
  border-color: #171723;
  color: #92929f;
}

body.admin-dark .custom-control-label::before {
  background-color: #2B2C3F;
  border: #3c3d5a solid 2px;
}

body.admin-dark .settings-panel .list:hover {
  color: #6d6d80;
  background: #323347;
}

body.admin-dark .table td,
body.admin-dark .table th {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #6d6d80;
}

body.admin-dark .table-hover tbody tr:hover {
  color: #fff;
  background: #323347;
}

body.admin-dark .table-striped tbody tr:nth-of-type(odd) {
  color: #6d6d80;
  background-color: #323347;
}

body.admin-dark .settings-panel h5 {
  color: #fff;
}

body.admin-dark .alert-danger {
  border-color: rgba(255, 168, 0, 0.5);
  color: #fff;
  background-color: #392f28;
}

body.admin-dark .page-link {
  color: #fff;
  background-color: #3699ff;
  border-color: transparent;
}

body.admin-dark .pagination .page-item:first-child:not(.active) .page-link,
body.admin-dark .pagination .page-item:last-child:not(.active) .page-link,
body.admin-dark .pagination .page-item.disabled .page-link {
  background: #232F47;
}

body.admin-dark .input-group-text {
  background-color: #1b1b29;
  border: 1px solid #1b1b29;
}

body.admin-dark .select2-dropdown {
  background-color: #171723;
  border-color: #171723;
}

body.admin-dark .select2-results__message {
  color: #92929f !important;
}

body.admin-dark .select2-container--default .select2-selection--multiple {
  background-color: #171723;
  border-color: #171723;
  color: #fff;
}

body.admin-dark .select2-search--dropdown:before {
  color: #fff;
}

body.admin-dark .select2-container--default .select2-search--dropdown .select2-search__field {
  background-color: #171723;
  border-color: #171723;
  color: #fff;
}

body.admin-dark .table-bordered {
  border: none;
}

body.admin-dark .list-group-item {
  background-color: #1E1E2B;
}

body.admin-dark .nav-tabs .nav-item.show .nav-link,
body.admin-dark .nav-tabs .nav-link.active {
  background-color: #1E1E2B;
}

body.admin-dark .nav-tabs-clean .nav-item .nav-link.active {
  border-bottom: 1px solid #3699ff;
  color: #3699ff;
}

body.admin-dark .nav-tabs .nav-item .nav-link.active:not(:hover) {
  color: #3699ff;
}

body.admin-dark .form-control:disabled,
body.admin-dark .form-control[readonly] {
  background-color: #1b1b29;
  border-color: #1b1b29;
  color: #92929f;
}

body.admin-dark .redactor-box,
body.admin-dark .redactor-editor {
  background-color: #1b1b29;
}

body.admin-dark .redactor-toolbar {
  background: #323347;
}

body.admin-dark .redactor-toolbar li a {
  color: #fff;
}

body.admin-dark .redactor-editor {
  border: 1px solid #2b2b40;
}

body.admin-dark .dashboard-stat2 {
  background-color: #1b1b29;
}

body.admin-dark .alert-success {
  color: #ffffff;
  background-color: #063a31;
  border-color: #a3ebe4;
}

body.admin-dark code {
  background: #1c1c29;
}

body.admin-dark .badge.badge-outline-success {
  color: #ffffff;
  background-color: #047051;
}

body.admin-dark .table-striped > tbody > tr:nth-of-type(odd) > * {
  color: #ffffff !important;
}

body.admin-dark .thead-light th {
  background-color: #5d6675;
}

body.admin-dark .swal2-popup {
  background: #000;
}

body.admin-dark .swal2-title {
  color: #ffffff;
}

body.admin-dark .form-control {
  background-color: #3d3d4c;
  color: #bebec1;
}

body.admin-dark .form-control:focus {
  background-color: #5c5c64;
  color: #bebec1;
}

body.admin-dark .text-black {
  color: #fff !important;
}

body.admin-dark .bg-white {
  background-color: #000000 !important;
}

body.admin-dark .subheader-title {
  color: #ffffff;
  text-shadow: #000 0 1px;
}

body.admin-dark .dropdown-item {
  color: #ffffff;
}

body.admin-dark .table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: black;
  color: #ffffff;
}

body.admin-dark .dropzone {
  background: #000000;
}

body.admin-dark .form-select {
  color: #bebec1;
  background-color: #3d3d4c;
  border: none;
}

body.admin-dark .select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: #3d3d4c;
}

body.admin-dark .datepicker-content li {
  background-color: #3d3d4c;
}

body.admin-dark .datepicker-week li,
body.admin-dark .datepicker-week li:hover {
  background-color: #15151f;
}

body.admin-dark .card-header {
  background-color: #3d3d4c;
}

body.admin-dark .daterangepicker {
  background-color: #3d3d4c;
}

body.admin-dark .daterangepicker .ranges li:hover {
  background-color: #151E29;
}

body.admin-dark .daterangepicker .calendar-table {
  background-color: #3d3d4c;
}

body.admin-dark .daterangepicker td.off,
body.admin-dark .daterangepicker td.off.in-range,
body.admin-dark .daterangepicker td.off.start-date,
body.admin-dark .daterangepicker td.off.end-date {
  background-color: #3d3d4c;
}

body.admin-dark .dropdown-menu {
  background: #1e1f2c;
}

body.admin-dark .dropdown-item:hover,
body.admin-dark .dropdown-item:focus {
  color: #fff;
  background-color: #2E2E3C;
}

/*@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: 8px;
  border: 1px solid #e5e7eb;
  padding: 1.25rem;
  background-color: #fff;
  transition: border-color 0.2s ease;
  /*border: 1px solid #dbdbdb;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);*/
}
.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: "";
}

#messages-main .message-feed {
  padding: 20px;
}
#messages-main .message-feed.right > .pull-right {
  margin-left: 15px;
}
#messages-main .message-feed:not(.right) .mf-content {
  /* background: #edecec; */
  /* background-color: #dadcf1; */
  /*background-color: #e5e2e2;*/
}
#messages-main .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;
}

.message-feed.msg-group-start {
  margin-top: 12px;
}

.message-feed.msg-group-middle {
  margin-top: 2px;
}

#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;
}

.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: 0;
}

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

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

.texto {
  color: #464646;
  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;
  max-height: 535px;
  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: #d6daeb;
  color: #858585;
  box-shadow: none;
}

.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: #6b7294;
}

.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;
}

.dashboard-scope .overview-header {
  flex-direction: row;
  display: flex;
  margin-bottom: 0.8rem !important;
  align-items: end;
}
.dashboard-scope .datepicker-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.dashboard-scope .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);
}
.dashboard-scope .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;
}
.dashboard-scope .datepicker-cta .range-toggle .range-btn.is-active {
  background: #fff;
  color: #1f2937;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12);
}
.dashboard-scope .datepicker-cta .range-toggle .range-btn:hover, .dashboard-scope .datepicker-cta .range-toggle .range-btn:focus {
  color: #1f2937;
}
.dashboard-scope .datepicker-cta .range-toggle .range-btn:focus-visible,
.dashboard-scope .datepicker-cta .date-display:focus-visible {
  outline: 2px solid #d6e4ff;
  outline-offset: 2px;
}
.dashboard-scope .datepicker-cta .date-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-weight: 600;
  font-size: 14px;
  height: 42px;
  width: initial;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.dashboard-scope .datepicker-cta .date-display .icon {
  display: grid;
  place-items: center;
  color: #1d2939;
}
.dashboard-scope .datepicker-cta .date-display svg {
  width: 18px;
  height: 18px;
}
.dashboard-scope .datepicker-cta .date-range-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.dashboard-scope .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;
}
.dashboard-scope .flatpickr-calendar .flatpickr-months {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}
.dashboard-scope .flatpickr-calendar .flatpickr-months .flatpickr-prev-month,
.dashboard-scope .flatpickr-calendar .flatpickr-months .flatpickr-next-month {
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #445cf6;
}
.dashboard-scope .flatpickr-calendar .flatpickr-months .flatpickr-prev-month svg,
.dashboard-scope .flatpickr-calendar .flatpickr-months .flatpickr-next-month svg {
  width: 12px;
  height: 12px;
}
.dashboard-scope .flatpickr-calendar .flatpickr-months .flatpickr-prev-month:hover,
.dashboard-scope .flatpickr-calendar .flatpickr-months .flatpickr-next-month:hover {
  background: #eef1ff;
  color: #2f45d2;
}
.dashboard-scope .flatpickr-calendar .flatpickr-months .flatpickr-current-month {
  padding: 8px 0;
  display: flex;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}
.dashboard-scope .flatpickr-calendar .flatpickr-months .flatpickr-current-month .cur-month {
  margin-right: 4px;
}
.dashboard-scope .flatpickr-calendar .flatpickr-weekday {
  color: #98a2b3;
  font-weight: 700;
  font-size: 12px;
}
.dashboard-scope .flatpickr-calendar .flatpickr-days {
  padding: 4px 6px 2px;
}
.dashboard-scope .flatpickr-calendar .flatpickr-days .dayContainer {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  width: 100% !important;
}
.dashboard-scope .flatpickr-calendar .flatpickr-day {
  border-radius: 10px;
  color: #1f2937;
  font-weight: 600;
  height: 36px;
  line-height: 36px;
  margin: 0;
  width: 100%;
}
.dashboard-scope .flatpickr-calendar .flatpickr-day.prevMonthDay, .dashboard-scope .flatpickr-calendar .flatpickr-day.nextMonthDay {
  color: #cbd5e1;
}
.dashboard-scope .flatpickr-calendar .flatpickr-day:hover {
  background: #f3f4f6;
}
.dashboard-scope .flatpickr-calendar .flatpickr-day.today {
  border-color: #e0e7ff;
}
.dashboard-scope .flatpickr-day.selected,
.dashboard-scope .flatpickr-day.startRange,
.dashboard-scope .flatpickr-day.endRange {
  background: #445cf6;
  border-color: #445cf6;
  color: #fff;
  box-shadow: none;
}
.dashboard-scope .flatpickr-day.inRange {
  box-shadow: -5px 0 0 #f9fafb, 5px 0 0 #f9fafb !important;
  background: #f9fafb !important;
  border-color: #f9fafb !important;
}

[v-cloak] {
  display: none;
}

.sales-manager-dashboard {
  background-color: #000000;
  font-family: "Outfit", sans-serif;
  padding: 12px;
  color: #e9edf5;
}
.sales-manager-dashboard .sd-shell {
  padding: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
}
.sales-manager-dashboard .sd-shell .sd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sales-manager-dashboard .sd-shell .sd-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: #90a4c2;
}
.sales-manager-dashboard .sd-shell .sd-header h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #f5f7fb;
}
.sales-manager-dashboard .sd-shell .sd-header p {
  margin: 0;
  color: #9bb0cc;
}
.sales-manager-dashboard .sd-shell .sd-layout {
  display: grid;
  grid-template-columns: 3fr 1.15fr;
  gap: 16px;
  align-items: start;
  height: 100%;
}
.sales-manager-dashboard .sd-shell .sd-layout .sd-main {
  display: grid;
  grid-auto-rows: auto;
  gap: 16px;
  height: 100%;
}
.sales-manager-dashboard .sd-shell .sd-layout .sd-main .sd-grid.top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 14px;
  min-height: 40vh;
}
.sales-manager-dashboard .sd-shell .sd-layout .sd-main .sd-grid.bottom {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr;
  gap: 14px;
}
.sales-manager-dashboard .sd-shell .sd-layout .sd-aside {
  position: sticky;
  top: 0;
}
.sales-manager-dashboard .sd-skeleton {
  display: grid;
  gap: 20px;
}
.sales-manager-dashboard .sd-skeleton .skeleton-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.sales-manager-dashboard .sd-skeleton .skeleton-grid .skeleton-span-8 {
  grid-column: span 8;
}
.sales-manager-dashboard .sd-skeleton .skeleton-grid .skeleton-span-4 {
  grid-column: span 4;
}
.sales-manager-dashboard .sd-skeleton .skeleton-grid .skeleton-span-6 {
  grid-column: span 6;
}
.sales-manager-dashboard .sd-skeleton .skeleton-grid .skeleton-span-12 {
  grid-column: span 12;
}
.sales-manager-dashboard .sd-skeleton .skeleton-grid .skeleton-card {
  background: #121f33;
  border-radius: 18px;
  padding: 18px;
  min-height: 140px;
  position: relative;
  overflow: hidden;
}
.sales-manager-dashboard .sd-skeleton .skeleton-grid .skeleton-card .skeleton-list li {
  margin-bottom: 10px;
}
.sales-manager-dashboard .sd-skeleton .skeleton-grid .skeleton-card .skeleton-line {
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.sales-manager-dashboard .sd-skeleton .skeleton-grid .skeleton-card .skeleton-line.lg {
  height: 26px;
}
.sales-manager-dashboard .sd-skeleton .skeleton-grid .skeleton-card .skeleton-line.sm {
  height: 10px;
  width: 60%;
}
.sales-manager-dashboard .sd-skeleton .skeleton-grid .skeleton-card .skeleton-line.md {
  width: 80%;
}
.sales-manager-dashboard .sd-skeleton .skeleton-grid .skeleton-card .skeleton-line.full {
  width: 100%;
}
.sales-manager-dashboard .sd-skeleton .skeleton-grid .skeleton-card .skeleton-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120px;
  height: 100%;
  width: 120px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  animation: skeleton-shimmer-sales 1.4s infinite;
}

@keyframes skeleton-shimmer-sales {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(420px);
  }
}
.sd-badge {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(125, 211, 252, 0.4);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}

.sd-grid {
  display: grid;
  grid-gap: 14px;
  height: 100%;
}

.sd-grid.bottom {
  grid-template-columns: 1.2fr 1.5fr 1.2fr;
  min-height: 40vh;
  /* Payment Methods layout: chart fills available width, legend pinned right */
}
.sd-grid.bottom #payment_methods_chart,
.sd-grid.bottom #payment_methods_legend {
  display: inline-block;
  vertical-align: top;
}
.sd-grid.bottom #payment_methods_chart {
  width: calc(100% - 220px);
  min-width: 240px;
  min-height: 320px;
}
.sd-grid.bottom #payment_methods_legend {
  width: 200px;
  margin-left: 12px;
  list-style: none;
  padding: 0;
  font-size: 17px;
}
.sd-grid.bottom #payment_methods_legend ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sd-grid.bottom #payment_methods_legend ul li {
  margin-bottom: 20px;
}
.sd-grid.bottom #payment_methods_legend ul li:last-child {
  margin-bottom: 0;
}
.sd-grid.bottom #payment_methods_legend ul li .legend-item {
  display: block;
}
.sd-grid.bottom #payment_methods_legend ul li .legend-item .legend-color-box {
  margin-right: 8px;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.sd-grid.bottom #payment_methods_legend ul li .legend-item .legend-title {
  margin-bottom: 2px;
}
.sd-grid.bottom #payment_methods_legend ul li .legend-item-value {
  font-size: 20px;
  font-weight: 700;
}
@media (max-width: 1100px) {
  .sd-grid.bottom #payment_methods_chart {
    width: 100%;
  }
  .sd-grid.bottom #payment_methods_legend {
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
  }
}

.sd-card {
  background: #0e1a2b;
  border: 1px solid #13243a;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}
.sd-card.ranking {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-direction: column;
}
.sd-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a9c8;
}

.sd-card .subdued {
  margin: 0 0 10px;
  color: #7c8faa;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.sd-stack {
  display: grid;
  gap: 12px;
}
.sd-stack .sd-subcard {
  background: #0e1a2b;
  border: 1px solid #13243a;
  border-radius: 14px;
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.forecast {
  margin-top: 10px;
  padding: 10px 12px;
  background: linear-gradient(90deg, rgba(80, 180, 255, 0.14), rgba(80, 180, 255, 0));
  border-radius: 12px;
  color: #d9e6f7;
  border: 1px solid rgba(80, 180, 255, 0.35);
  font-weight: 600;
}

.reps {
  gap: 10px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.reps .rep-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 12px;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.reps .rep-card .rep-avatar {
  width: clamp(64px, 12vw, 220px);
  height: clamp(64px, 12vw, 220px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  position: relative;
  border: 5px solid transparent;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08), 0 8px 16px rgba(0, 0, 0, 0.35);
}
.reps .rep-card .rep-avatar::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 3px solid transparent;
}
.reps .rep-card .rep-avatar img {
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  max-width: 100%;
  aspect-ratio: 1/1;
}
.reps .rep-card .rep-avatar .initials {
  display: none;
  place-items: center;
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: 1px;
  line-height: 1;
  width: 100%;
  height: 100%;
}
.reps .rep-card .rep-avatar.is-fallback img {
  display: none;
}
.reps .rep-card .rep-avatar.is-fallback .initials {
  display: grid;
  place-items: center;
}
.reps .rep-card .rep-avatar.is-fallback .initials span {
  display: block;
  text-align: center;
}
.reps .rep-card .rep-avatar.avatar-gold {
  background: radial-gradient(circle at 30% 30%, #ffe8a3, #b6800a 70%);
  border-color: #f9c851;
}
.reps .rep-card .rep-avatar.avatar-gold::after {
  border-color: #f9c851;
  box-shadow: 0 0 0 4px rgba(249, 200, 81, 0.18);
}
.reps .rep-card .rep-avatar.avatar-silver {
  background: radial-gradient(circle at 30% 30%, #e4ecf5, #8fa1b6 70%);
  border-color: #c0cbda;
}
.reps .rep-card .rep-avatar.avatar-silver::after {
  border-color: #c0cbda;
  box-shadow: 0 0 0 4px rgba(192, 203, 218, 0.18);
}
.reps .rep-card .rep-avatar.avatar-bronze {
  background: radial-gradient(circle at 30% 30%, #f3c3a1, #9c5a2f 70%);
  border-color: #d58c60;
}
.reps .rep-card .rep-avatar.avatar-bronze::after {
  border-color: #d58c60;
  box-shadow: 0 0 0 4px rgba(213, 140, 96, 0.18);
}
.reps .rep-card {
  /*&.medal-gold {
      box-shadow: 0 0 0 2px rgba(249,200,81,0.35), 0 12px 24px rgba(0,0,0,0.3);
  }
  &.medal-silver {
      box-shadow: 0 0 0 2px rgba(192,203,214,0.35), 0 12px 24px rgba(0,0,0,0.25);
  }
  &.medal-bronze {
      box-shadow: 0 0 0 2px rgba(213,140,96,0.35), 0 12px 24px rgba(0,0,0,0.25);
  }*/
}
.reps .rep-card .rank {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 4px 8px;
  font-size: 12px;
  color: #d9e6f7;
}

.medal-badge {
  position: absolute;
  left: 50%;
  bottom: -20px;
  z-index: 100;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #0f1b2d;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #0f1b2d;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.medal-badge.badge-gold {
  background: linear-gradient(145deg, #f9c851, #b6800a);
  color: #0c0b09;
}
.medal-badge.badge-silver {
  background: linear-gradient(145deg, #e6edf5, #9aa8ba);
  color: #0f1b2d;
}
.medal-badge.badge-bronze {
  background: linear-gradient(145deg, #efb48d, #a65d2e);
  color: #0f1b2d;
}

.sparkles {
  display: none;
}

/*.sparkles {
    position: absolute;
    bottom: -45px;
    left: 0;
    right: 0;
    color: #ffd666;
    font-size: 20px;
    opacity: 0.9;
    text-shadow: 0 0 6px rgba(255, 214, 102, 0.7);
}*/
.rep-meta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 80px;
}
.rep-meta .name {
  font-weight: 700;
  color: #9fc4ff;
  margin: 0;
  font-size: 16px;
}
.rep-meta .value {
  margin: 2px 0 0;
  color: #f5f7fb;
  font-size: 20px;
  font-weight: 700;
}

.sd-subcard {
  border: 1px solid #13243a;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  padding: 10px 25px;
  justify-content: center;
}
.sd-subcard h3 {
  font-size: 16px;
  color: #94a9c8;
  margin-top: 0;
  margin-bottom: 0;
  text-transform: uppercase;
}
.sd-subcard h4 {
  font-size: 13px;
  color: #94a9c8;
  margin-bottom: 0;
  text-transform: uppercase;
  margin-top: 2px;
}
.sd-subcard .value {
  font-size: 25px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 28px;
  margin-bottom: 4px;
}
.sd-subcard .value.total-net {
  font-size: 19px;
  color: #e1e1e1;
}
.sd-subcard .stat-invoice-details {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 18px;
  margin: 8px 0;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 15px;
  grid-auto-rows: 1fr;
  height: 50%;
  align-content: stretch;
}

.kpi-card {
  background: #111f33;
  border: 1px solid #1b314c;
  border-radius: 12px;
  padding: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kpi-card .label {
  color: #94a9c8;
  font-size: 13px;
}
.kpi-card .value {
  font-size: 28px;
  font-weight: 700;
  color: #f5f7fb;
}
.kpi-card .note {
  color: #7585a6;
  font-size: 12px;
}

.demos {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
}

.demo-total {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #45b7ff, #1d3350 75%);
  display: grid;
  place-items: center;
  color: #f5f7fb;
  font-weight: 700;
  font-size: 24px;
  border: 2px solid #1b314c;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.demo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.demo-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #16263d;
  color: #d9e6f7;
}

.demo-bullet {
  width: 10px;
  height: 10px;
  border-radius: 4px;
  display: inline-block;
  margin-right: 8px;
}

.leaderboard {
  height: calc(100% - 34px);
}
.leaderboard table {
  width: 100%;
  color: #d9e6f7;
}
.leaderboard th,
.leaderboard td {
  border-bottom: 1px solid #16263d;
  padding: 8px 4px;
}
.leaderboard th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #8aa2c7;
  text-transform: uppercase;
}
.leaderboard tr td {
  padding: 10px 0;
}

.team-bars .bar-row {
  margin-bottom: 30px;
}
.team-bars .bar-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d9e6f7;
  font-weight: 600;
  margin-bottom: 6px;
}
.team-bars .bar-label span {
  font-size: 20px;
}
.team-bars .bar-label span.value {
  font-size: 20px;
}
.team-bars .bar {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, #3ac1ff, #5de0a3);
  position: relative;
  overflow: hidden;
}
.team-bars .bar-track {
  background: #16263d;
  border-radius: 10px;
  height: 14px;
  overflow: hidden;
}
.team-bars .bar span {
  position: absolute;
  right: 10px;
  top: -2px;
  font-size: 11px;
  color: #0f1b2d;
  font-weight: 700;
}

.group-board {
  padding: 18px;
}
.group-board .group-board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.group-board .group-column {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  min-height: 260px;
}
.group-board .group-column + .group-column {
  border-left: 1px solid #18263c;
  padding-left: 16px;
}
.group-board .group-summary {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid #20334d;
  background: #111b2e;
  display: grid;
  gap: 10px;
}
.group-board .group-summary.group-a {
  --group-accent: #43a3ff;
  border-color: rgba(67, 163, 255, 0.45);
  background: rgba(67, 163, 255, 0.04);
}
.group-board .group-summary.group-b {
  --group-accent: #b575ff;
  border-color: rgba(181, 117, 255, 0.45);
  background: rgba(181, 117, 255, 0.04);
}
.group-board .group-summary.group-c {
  --group-accent: #35d6a7;
  border-color: rgba(53, 214, 167, 0.45);
  background: rgba(53, 214, 167, 0.04);
}
.group-board .group-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #b9c8de;
}
.group-board .group-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.group-board .group-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.group-board .group-stat .label {
  font-size: 12px;
  color: #8aa2c7;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.group-board .group-stat .value {
  font-size: 20px;
  font-weight: 700;
  color: #f5f7fb;
}
.group-board .group-stat .value.accent {
  color: var(--group-accent);
}
.group-board .group-members {
  display: grid;
  gap: 10px;
}
.group-board .group-member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #16263d;
}
.group-board .group-member:last-child {
  border-bottom: none;
}
.group-board .member-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1d2a3f;
  color: #dbe7f8;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
}
.group-board .member-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.group-board .member-name {
  font-weight: 600;
  color: #d9e6f7;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.group-board .member-won {
  font-size: 12px;
  color: #7f93b0;
}
.group-board .member-tax {
  margin-left: auto;
  font-weight: 700;
  font-size: 14px;
  color: #7f93b0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.group-board .member-tax.active {
  color: #5de0a3;
  background: rgba(93, 224, 163, 0.12);
}
.group-board .group-empty {
  color: #93a7c5;
  font-style: italic;
  padding: 12px 4px;
}

@media (max-width: 1420px) {
  .group-board .group-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1421px) and (max-width: 1640px) {
  .group-board .group-board-grid {
    gap: 12px;
  }
  .group-board .group-column + .group-column {
    padding-left: 12px;
  }
  .group-board .group-stat .value {
    font-size: 18px;
  }
  .group-board .member-name {
    font-size: 14px;
  }
  .group-board .member-tax {
    font-size: 12px;
    text-wrap-mode: nowrap;
  }
}
.pbx-groups {
  background: #1a2332;
  border-radius: 8px;
  padding: 16px;
}
.pbx-groups h3 {
  margin-bottom: 12px;
}

.pbx-groups-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pbx-total-calls {
  text-align: center;
  padding: 50px;
  background: #0f1621;
  border-radius: 6px;
  margin-bottom: 8px;
}
.pbx-total-calls .total-number {
  font-size: 44px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}
.pbx-total-calls .total-label {
  font-size: 12px;
  color: #6c7a8d;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

.pbx-group {
  background: #0f1621;
  border-radius: 6px;
  padding: 12px;
}
.pbx-group .group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid #2a3647;
}
.pbx-group .group-badge {
  color: #94a9c8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}
.pbx-group .group-label {
  color: #6c7a8d;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pbx-group .employee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #1a2332;
}
.pbx-group .employee-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.pbx-group .employee-name {
  color: #e1e3e6;
  font-size: 16px;
}
.pbx-group .employee-stats {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}
.pbx-group .stat-in {
  color: #3699ff;
}
.pbx-group .stat-separator {
  color: #6c7a8d;
}
.pbx-group .stat-out {
  color: #35C28F;
}

.pbx-group-totals {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #0f1621;
  border-radius: 6px;
}
.pbx-group-totals .group-total-item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.pbx-group-totals .group-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.pbx-group-totals .group-name {
  color: #e1e3e6;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.pbx-group-totals .group-count {
  color: #6c7a8d;
  font-size: 12px;
  font-weight: 700;
  margin-left: auto;
}

@media (max-width: 768px) {
  .pbx-group-totals {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 1100px) {
  .sd-layout {
    grid-template-columns: 1fr;
  }
  .sd-aside {
    position: static;
  }
  .sd-grid.top,
  .sd-grid.bottom {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .group-board {
    padding: 14px;
  }
  .group-board .group-board-grid {
    grid-template-columns: 1fr;
  }
  .group-board .group-column + .group-column {
    border-left: none;
    padding-left: 0;
  }
  .group-board .group-column {
    min-height: 0;
  }
  .group-board .group-stats {
    flex-direction: column;
    align-items: flex-start;
  }
  .group-board .group-stat .value {
    font-size: 18px;
  }
  .group-board .member-name {
    font-size: 14px;
  }
  .group-board .member-tax {
    font-size: 12px;
  }
  .demos {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .demo-total {
    margin: 0 auto;
  }
}
.user-edit-page {
  padding: 24px 0 48px;
}
.user-edit-page .user-edit-hero {
  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);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.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: #ECF2FF;
  border: 2px solid rgb(228, 231, 236);
}
.user-edit-page .user-edit-hero .user-avatar-initials {
  font-weight: 700;
  font-size: 20px;
  color: #5e85e8;
  font-size: 18px;
}
.user-edit-page .user-edit-hero .hero-title {
  font-size: 20px;
  color: #0f172a;
}
.user-edit-page .user-edit-hero .hero-meta {
  color: #0f172a;
  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: rgba(25, 133, 65, 0.5);
}
.user-edit-page .user-edit-hero .pill.pill-warning {
  background: rgba(197, 34, 34, 0.18);
  border-color: rgba(197, 34, 34, 0.5);
  color: rgba(133, 25, 25, 0.5);
}
.user-edit-page .user-edit-hero .pill.pill-muted {
  background: rgb(253, 253, 253);
  border-color: rgba(50, 50, 50, 0.5);
  color: #646464;
}
.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-radius: 9999px !important;
  border: none !important;
  box-shadow: none !important;
  width: 180px !important;
  height: 180px !important;
  display: block;
  background-color: #dfdfdf;
  background-position: center !important;
  background-size: cover;
  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;
  padding-left: 0;
}
.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%;
  }
}
.user-avatar-initials {
  color: #5e85e8;
  font-size: 18px;
}

.finance-hero .finance-hero-intro {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 12px;
}
.finance-hero .finance-hero-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.12);
  padding: 90px 90px 60px;
  text-align: center;
  border: 1px solid #edf1f9;
  margin-bottom: 35px;
}
.finance-hero .finance-hero-card .finance-hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f4f7ff 0%, #e6edff 100%);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  position: relative;
}
.finance-hero .finance-hero-card .finance-hero-icon svg {
  width: 42px;
  height: 42px;
}
.finance-hero .finance-hero-card .finance-hero-icon .checkmark {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: #16a34a;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.28);
}
.finance-hero .finance-hero-card .finance-hero-icon .checkmark svg {
  width: 13px;
  height: 24px;
  color: #ffffff;
}
.finance-hero .finance-hero-card .finance-hero-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #0f172a;
}
.finance-hero .finance-hero-card .finance-hero-copy {
  color: #4b5563;
  max-width: 620px;
  margin: 0 auto 18px;
  line-height: 1.6;
}
.finance-hero .finance-hero-card .plaid-connection-act {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 50px 0 40px;
}
.finance-hero .finance-hero-card .plaid-connection-act .plaid-primary-btn {
  background: linear-gradient(90deg, #1f6ae6 0%, #1b56d0 100%);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(31, 106, 230, 0.35);
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.finance-hero .finance-hero-card .plaid-connection-act .plaid-primary-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  box-shadow: none;
}
.finance-hero .finance-hero-card .plaid-connection-act .plaid-primary-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(31, 106, 230, 0.4);
}
.finance-hero .finance-hero-card .plaid-connection-act .plaid-secured {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 16px 0 10px;
}
.finance-hero .finance-hero-card .finance-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.finance-hero .finance-hero-card .finance-feature-grid .finance-feature {
  background: #f8fafc;
  border: 1px solid #edf1f9;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.finance-hero .finance-hero-card .finance-feature-grid .finance-feature .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e8efff;
  color: #1f6ae6;
  display: grid;
  place-items: center;
}
.finance-hero .finance-hero-card .finance-feature-grid .finance-feature h4 {
  margin: 0;
  font-size: 14px;
  color: #111827;
}
.finance-hero .finance-hero-card .finance-feature-grid .finance-feature p {
  margin: 2px 0 0;
  color: #6b7280;
  font-size: 12px;
}
.finance-hero .finance-footnote {
  margin-top: 14px;
  color: #9ca3af;
  font-size: 12px;
  text-align: center;
}
.finance-hero .finance-footnote a {
  color: #1f6ae6;
  text-decoration: none;
}

/*.h2, h2 {
    font-size: 1.25rem;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: .5rem;
    color: #32325d;
}*/
/*.text-info{
    color: #6772E5!important;
}
.text-success{
    color: #2CCE89!important;
}*/
.cdr-section .filters-card {
  border: 1px solid var(--border-color, #e3e6f0);
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
  margin-bottom: 1.5rem;
}
.cdr-section .filters-card .form-label {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.cdr-section .filters-card .form-check {
  margin-bottom: 0.5rem;
}
.cdr-section .cdr-table .text-success {
  color: #1cc88a !important;
}
.cdr-section .cdr-table .text-danger {
  color: #e74a3b !important;
}
.cdr-section .cdr-table .text-warning {
  color: #f6c23e !important;
}
.cdr-section .cdr-table td, .cdr-section .cdr-table th {
  vertical-align: middle;
}
.cdr-section .cdr-table .btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}
.cdr-section .pagination .page-item.active .page-link {
  background-color: var(--primary-color, #4e73df);
  border-color: var(--primary-color, #4e73df);
}
.cdr-section .pagination .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}
.cdr-section .audio-modal .modal-body {
  padding: 2rem;
  text-align: center;
}
.cdr-section .audio-modal .modal-body audio {
  width: 100%;
  margin-bottom: 1rem;
  border: 2px solid var(--primary-color, #4e73df);
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}
.cdr-section .audio-modal .modal-body .btn-group {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.cdr-section .loading-spinner {
  text-align: center;
  padding: 3rem 0;
}
.cdr-section .loading-spinner i {
  font-size: 3rem;
  color: var(--primary-color, #4e73df);
}
.cdr-section .loading-spinner p {
  margin-top: 1rem;
  color: var(--text-muted, #858796);
}
.cdr-section .alert-danger {
  border-left: 4px solid #e74a3b;
}
.cdr-section .cdr-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.cdr-section .cdr-stats .stat-card {
  flex: 1;
  padding: 1rem;
  background: var(--card-bg, #fff);
  border-radius: 0.35rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}
.cdr-section .cdr-stats .stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted, #858796);
  margin-bottom: 0.5rem;
}
.cdr-section .cdr-stats .stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary, #5a5c69);
}

.dark-mode .cdr-section .filters-card {
  border-color: #2b2b40;
  background-color: #1b1b29;
}
.dark-mode .cdr-section .cdr-table {
  background-color: #1b1b29;
}
.dark-mode .cdr-section .cdr-table th {
  background-color: #1e1e2b;
}
.dark-mode .cdr-section .stat-card {
  background-color: #1b1b29;
}

.tx-report-table .ui-table {
  width: 100%;
  table-layout: fixed;
}
.tx-report-table .ui-table th:first-child,
.tx-report-table .ui-table td:first-child {
  width: 6%;
  white-space: nowrap;
}
.tx-report-table .ui-table th:nth-child(2),
.tx-report-table .ui-table td:nth-child(2) {
  width: 10%;
  white-space: nowrap;
}
.tx-report-table .ui-table th:nth-child(4),
.tx-report-table .ui-table td:nth-child(4) {
  width: 5%;
  white-space: nowrap;
}
.tx-report-table .ui-table th:nth-child(6),
.tx-report-table .ui-table td:nth-child(6) {
  width: 14%;
}
.tx-report-table .ui-table th:nth-child(13),
.tx-report-table .ui-table td:nth-child(13) {
  width: 8%;
  white-space: nowrap;
}
