/* @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Urbanist:wght@300;400;500;600;700&display=swap"); */

html {
  background: #fafafa;
}

body {
  font-family: "Urbanist", sans-serif;
}

.overflow-style-none::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.overflow-style-none {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* width */
.scroll-style-1::-webkit-scrollbar {
  width: 2px;
}

/* Track */
.scroll-style-1::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.scroll-style-1::-webkit-scrollbar-thumb {
  background: #8e8e8e;
}

/* Handle on hover */
.scroll-style-1::-webkit-scrollbar-thumb:hover {
  background: #8e8e8e;
}

.layout-wrapper .sidebar-wrapper {
  left: -308px;
  transition: left 0.5s ease-in-out;
}

.layout-wrapper.active .sidebar-wrapper {
  left: 0;
}

/* FIX z-index: en tablet/móvil el drawer debe quedar por encima del header fijo */
@media (max-width: 1024px) {
  .layout-wrapper.active .sidebar-wrapper {
    z-index: 80 !important;
  }

  .layout-wrapper.active .body-wrapper .header-wrapper {
    z-index: 40 !important;
  }

  .layout-wrapper.active .aside-overlay {
    z-index: 70 !important;
  }
}

/* Overlay del drawer (solo en tablet/móvil). Evita que se bloquee el click si el
   sidebar está cerrado y permite cerrar tocando fuera. */
.aside-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
}

.layout-wrapper.active .aside-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .aside-overlay {
    display: none !important;
  }
}

.layout-wrapper .sidebar-wrapper-collapse {
  left: 0;
  transition: left 0.5s ease-in-out;
}

.layout-wrapper.active .sidebar-wrapper-collapse {
  left: -120px;
}

.layout-wrapper .body-wrapper {
  /*margin-left: 96px;*/
  transition: margin-left 0.5s ease-in-out;
}

.layout-wrapper.active .body-wrapper {
  margin-left: 208px;
}

.upgrade-wrapper .upgrade-banner {
  background-repeat: no-repeat;
  background-size: cover;
}

.layout-wrapper.active .body-wrapper .drawer-btn {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.layout-wrapper .body-wrapper .drawer-btn {
  opacity: 100;
  transition: opacity 0.5s ease-in-out;
}

.layout-wrapper.active .body-wrapper .header-wrapper {
  width: calc(100% - 308px);
  transition: width 0.5s ease-in-out;
}

.layout-wrapper .body-wrapper .header-wrapper {
  width: calc(100% - 96px);
  transition: width 0.5s ease-in-out;
}

.progess-bar .bonus-per .bonus-outer {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 100px 100px 100px 100px #e4e4e4 inset;
}

.progess-bar .bonus-per .bonus-inner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.progess-bar .bonus-per svg {
  position: absolute;
  left: 0;
  top: 0;
}

.progess-bar .bonus-per svg circle {
  fill: none;
  stroke: rgb(71, 131, 127);
  stroke-width: 9px;
  stroke-dasharray: 215;
}

.card-slider .slick-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.card-slider .slick-dots button {
  width: 10px;
  height: 4px;
  border-radius: 50px;
  text-indent: 1000px;
  overflow: hidden;
  background: #a0aec0;
  margin-right: 4px;
  transition: 1s all ease-in-out;
}

.card-slider .slick-dots .slick-active button {
  width: 24px;
  background: #1a202c;
}

.mini-calender-wrapper .flatpickr-calendar {
  box-shadow: none;
}

.mini-calender-wrapper .flatpickr-calendar :is(.flatpickr-time, .flatpickr-months) {
  display: none;
}

.mini-calender-wrapper :is(.flatpickr-calendar, .flatpickr-innerContainer, .flatpickr-rContainer, .flatpickr-days, .dayContainer) {
  width: 100%;
  min-width: 100%;
}

.mini-calender-wrapper .flatpickr-calendar .flatpickr-innerContainer .flatpickr-rContainer {
  padding: 26px;
  border-radius: 18px;
  background: #f7fafc;
}

.dark .flatpickr-calendar {
  background: #1D1E24;
}

.dark .mini-calender-wrapper .flatpickr-calendar .flatpickr-innerContainer .flatpickr-rContainer {
  background: #23262B;
  border-color: #2A313C;
}

.mini-calender-wrapper .flatpickr-calendar .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-weekdays .flatpickr-weekdaycontainer .flatpickr-weekday {
  color: #b7b7b7;
  font-weight: 600;
  font-size: 14px;
}

.mini-calender-wrapper .flatpickr-calendar .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-weekdays {
  margin-bottom: 5px;
}

.dark .mini-calender-wrapper .flatpickr-calendar .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer .flatpickr-day {
  color: #ffffff;

}

.mini-calender-wrapper .flatpickr-calendar .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer .flatpickr-day {
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.mini-calender-wrapper .flatpickr-calendar .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer .flatpickr-day.prevMonthDay {
  color: #b7b7b7;
  font-weight: 400;
}

.mini-calender-wrapper .flatpickr-calendar .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer .flatpickr-day.nextMonthDay {
  color: #b7b7b7;
  font-weight: 400;
}

.mini-calender-wrapper .flatpickr-calendar .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer .flatpickr-day.today,
.mini-calender-wrapper .flatpickr-calendar .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer .flatpickr-day.today.selected {
  background: rgb(71, 131, 127);
  color: #ffffff;
  border: none;
  border-radius: 8px;
}

.mini-calender-wrapper .flatpickr-calendar .flatpickr-innerContainer .flatpickr-rContainer .flatpickr-days .dayContainer .flatpickr-day.selected {
  background: none;
  border: 1px solid rgb(71, 131, 127);
  border-radius: 8px;
}

.dark .fc-daygrid-dot-event .fc-event-title {
  color: white;
}

canvas {
  position: relative;
  z-index: 1;
}

/* Modal */
/* Hide scrollbar */
body.modal-open {
  overflow: hidden;
}

.modal {
  z-index: 9999;
}

.modal-overlay {
  z-index: -1;
}

/* Settings Tab */
.tab {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.tab.active {
  background-color: #f7fafc;
  color: #1e293b;
}

.dark .tab.active {
  background-color: #23262B;
}

.dark .tab .tab-icon {
  background-color: #23262B;
  color: white;
}

.tab.active .tab-icon {
  background-color: rgb(71, 131, 127);
  color: white;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Accordion */
.accordion-content {
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

/* Custom Quill Editor */

.custom-quill .ql-toolbar.ql-snow {
  background-color: #fafafa;
  border: 1px solid #e2e8f0;
  color: white;
  padding: 16px 24px;
  border-radius: 8px 8px 0 0;
}

.dark .custom-quill .ql-toolbar.ql-snow {
  background-color: #E2E8F0;
  border: #2A313C;
}

.custom-quill .ql-toolbar.ql-snow .ql-formats {
  color: hsl(0, 0%, 100%);
}

.ql-container.ql-snow {
  border: 1px solid #e2e8f0;
}

/* Quill Two */
.custom-quill-2 .ql-container.ql-snow {
  background-color: #ffffff;
  border-radius: 8px 8px 0 0;
  border-bottom: 0;
}

.dark .custom-quill .ql-container.ql-snow {
  background-color: #1D1E24;
  border-color: #2A313C;
}

.dark .custom-quill-2 .ql-container.ql-snow {
  background-color: #1D1E24;
  border-color: #2A313C;
}

.custom-quill-2 .ql-toolbar.ql-snow {
  padding: 16px 20px;
  background: #fafafa;
  border-radius: 0 0 8px 8px;
  border: 1px solid #e2e8f0;
}

.dark .custom-quill-2 .ql-toolbar.ql-snow {
  background: #1D1E24;
  border-color: #2A313C;
}

.dark .ql-editor {
  color: white;
}

/* for calender */

.fc .fc-daygrid .fc-non-business {
  background-color: white;
}

.dark .fc .fc-daygrid .fc-non-business {
  background-color: #23262B;
}

.fc .fc-col-header-cell .fc-col-header-cell-cushion {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: rgb(71, 131, 127);
}

.fc-day-sun .fc-col-header-cell-cushion,
.fc-day-sun a.fc-daygrid-day-number {
  color: #ff4747 !important;
}

.fc-day-sat,
.fc-day-sat a.fc-daygrid-day-number {
  color: #ff4747 !important;
}

.fc-button-group button.fc-dayGridMonth-button.fc-button.fc-button-primary,
.fc-button-group button.fc-timeGridWeek-button.fc-button.fc-button-primary,
.fc-button-group button.fc-timeGridDay-button.fc-button.fc-button-primary,
.fc-button-group button.fc-listMonth-button.fc-button.fc-button-primary {
  display: none !important;
}

button.fc-button.fc-button-primary.fc-next-button,
button.fc-button.fc-button-primary.fc-prev-button {
  border: 1px solid gray;
  padding: 10px 5px;
  border-radius: 5px;
  margin-right: 2px;
  outline: none;
}

.MiddletitleButton {
  display: flex;
}

.fc-toolbar-title {
  color: #1a202c;
  font-size: 18px !important;
  font-weight: bold !important;
}

.dark .fc-toolbar-title {
  color: white;
}

.fc-header-toolbar {
  margin-bottom: 24px !important;
}

.fc td,
.fc th {
  border-style: none !important;
}

.fc-scrollgrid {
  padding-top: 20px !important;
  border-top: 1px solid #e4f2ff !important;
}

.dark .fc-scrollgrid {
  border-top: 1px solid #2A313C !important;
}

.fc-scrollgrid td:last-of-type {
  border-right: none !important;
}

.fc-day:first-child>div:first-child {
  position: relative;
}

#calendar td {
  vertical-align: middle !important;
  border: 1px solid #000;
}

.fc {
  text-align: center !important;
}

.fc td {
  padding: 0;
  vertical-align: middle !important;
}

.fc-day .fc-daygrid-day-frame {
  position: relative !important;
}

.fc-day .fc-daygrid-day-frame .fc-daygrid-day-number {
  position: absolute !important;
  top: 50% !important;
  left: 0px !important;
  right: 0px !important;
  text-align: center !important;
  margin-top: -0.5em !important;
  line-height: 1em !important;
  font-weight: 500;
  font-size: 18px;
  color: #2f3032;
}

.dark .fc-day .fc-daygrid-day-frame .fc-daygrid-day-number {
  color: white;
}

.fc .fc-daygrid .fc-day-today .fc-daygrid-day-frame {
  border: 2px solid #b7ffd1 !important;
  background: none !important;
}

.fc .fc-day-today {
  background: none !important;
}

/* .fc .fc-timegrid .fc-daygrid-day{
  background: none !important;
} */
.fc .fc-timegrid .fc-timegrid-slot.fc-timegrid-slot-lane {
  border: 1px solid #cbd5e0 !important;
}

.fc .fc-non-business {
  background: none !important;
}

.fc .fc-daygrid .fc-timegrid-col {
  background: none !important;
  border: none !important;
}

.fc .fc-daygrid .fc-day-today .fc-daygrid-day-frame {
  border-radius: 6px;
}

.fc .fc-scrollgrid.fc-scrollgrid-liquid {
  border: none;
}

.fc .fc-view-harness {
  width: 100% !important;
  height: 800px !important;
}

.fc .fc-scrollgrid-sync-table {
  width: 100% !important;
  height: 100% !important;
}

.fc table.fc-col-header {
  width: 100% !important;
}

.fc .fc-daygrid-body.fc-daygrid-body-unbalanced {
  width: 100% !important;
  height: 100% !important;
}

:is(.sidebar-wrapper, .sidebar-wrapper-collapse) .sidebar-body .item-wrapper ul li.item,
:is(.sidebar-wrapper, .sidebar-wrapper-collapse) .sidebar-body .item-wrapper ul li.item .item-ico svg .path-1,
:is(.sidebar-wrapper, .sidebar-wrapper-collapse) .sidebar-body .item-wrapper ul li.item .item-ico svg .path-2 {
  transition: all 0.3s ease-in-out;
}

:is(.sidebar-wrapper, .sidebar-wrapper-collapse) .sidebar-body .item-wrapper ul li.item:hover .item-ico svg .path-1,
:is(.sidebar-wrapper, .sidebar-wrapper-collapse) .sidebar-body .item-wrapper ul li.item:hover {
  fill: rgb(71, 131, 127);
  color: rgb(71, 131, 127);
}

:is(.sidebar-wrapper, .sidebar-wrapper-collapse) .sidebar-body .item-wrapper ul li.item:hover .item-ico svg .path-2 {
  fill: #b7ffd1;
}

.sidebar-wrapper .sidebar-body .nav-wrapper ul li.item .sub-menu {
  display: none;
  animation: tabFade 1s;
}

.sidebar-wrapper .sidebar-body .nav-wrapper ul li.item .sub-menu.active {
  display: block;
}

@keyframes tabFade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.sidebar-wrapper-collapse .sidebar-body .nav-wrapper ul li.item {
  position: relative;
}

.sidebar-wrapper-collapse .sidebar-body .nav-wrapper ul li.item .sub-menu {
  position: absolute;
  left: 100%;
  top: 0;
  z-index: 10;
  display: none;
}

.sidebar-wrapper-collapse .sidebar-body .nav-wrapper ul li.item:hover .sub-menu {
  display: block;
}

/* TODO: ===============RESPONSIVE */
:is(.dark .sidebar-wrapper, .dark .sidebar-wrapper-collapse) .sidebar-body .item-wrapper ul li.item .item-ico svg .path-1,
:is(.dark .sidebar-wrapper, .dark .sidebar-wrapper-collapse) .sidebar-body .item-wrapper ul li.item {
  fill: #FFFFFF;
  color: #FFFFFF;
}

:is(.dark .sidebar-wrapper, .dark .sidebar-wrapper-collapse) .sidebar-body .item-wrapper ul li.item:hover .item-ico svg .path-1,
:is(.dark .sidebar-wrapper, .dark .sidebar-wrapper-collapse) .sidebar-body .item-wrapper ul li.item:hover {
  fill: rgb(112, 162, 159);
  color: rgb(112, 162, 159);
}

:is(.dark .sidebar-wrapper, .dark .sidebar-wrapper-collapse) .sidebar-body .item-wrapper ul li.item:hover .item-ico svg .path-2 {
  fill: #F9F9F9;
}

@media (max-width: 1536px) {}

@media (max-width: 1280px) {}

@media (max-width: 1024px) {
  .fc .fc-view-harness {
    width: 100% !important;
    height: 600px !important;
  }

  /* En tablet, cuando se abre el drawer (sidebar grande), ocultamos por completo
     el sidebar colapsado para evitar solapamientos visuales (p.ej. ~905px). */
  .layout-wrapper.active .sidebar-wrapper-collapse {
    left: -120px;
    opacity: 0;
    pointer-events: none;
  }

  .layout-wrapper.active .body-wrapper {
    margin-left: 0;
  }

  .layout-wrapper.active .body-wrapper .header-wrapper {
    width: 100%;
    transition: all 0.5s ease-in-out;
  }
}

@media (max-width: 768px) {}

@media (max-width: 640px) {
  .fc .fc-view-harness {
    width: 100% !important;
    height: 400px !important;
  }
}

@media (max-width: 426px) {

  .layout-wrapper .body-wrapper,
  .layout-wrapper.active .body-wrapper {
    margin-left: 0;
  }

  /* En móvil el botón del drawer debe quedar siempre clicable */
  .layout-wrapper.active .body-wrapper .drawer-btn {
    opacity: 1;
  }
}

/* TODO: ===============RESPONSIVE END */

.dark .jvm-container {
  background-color: #23262B !important;
  border-color: #2A313C;
}

/* Slider  Pagination */

.trust-pagination {
  top: 150px;
}

.trust-pagination.swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  background-color: rgb(71, 131, 127);
  opacity: 0.2;
  width: 12px;
  height: 12px;
  transition: all 0.4s;
}

.trust-pagination.swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background-color: rgb(71, 131, 127);
  opacity: 1;
  width: 14px;
  height: 14px;
}

/* slide active  */
.swiper-slide-active>div {
  border-radius: 12px;
  border: 1px solid var(--stock-color, #cbcbcb);
  background: var(--white-v-1, #fff);
  border-bottom: 7px solid rgb(71, 131, 127);
}

.swiper-slide-next>div {
  border-bottom: 7px solid #facc15;
}

.moving-element>img:nth-child(1) {
  animation: linear 20s animationFramesOne infinite;
}

.moving-element>img:nth-child(2) {
  animation: linear 20s animationFramesTwo infinite;
}

.moving-element>img:nth-child(3) {
  animation: linear 25s animationFramesThree infinite;
}

.moving-element>img:nth-child(4) {
  animation: linear 25s animationFramesFour infinite;
}

.moving-element>img:nth-child(5) {
  animation: linear 25s animationFramesFive infinite;
}

.moving-element>img:nth-child(6) {
  animation: linear 20s animationFramesTwo infinite;
}

.moving-element>img:nth-child(7) {
  animation: linear 25s animationFramesFour infinite;
}

.moving-element>img:nth-child(8) {
  animation: linear 20s animationFramesOne infinite;
}

.moving-element>img:nth-child(9) {
  animation: linear 25s animationFramesThree infinite;
}

.moving-element>img:nth-child(10) {
  animation: linear 25s animationFramesFive infinite;
}

.moving-element>img:nth-child(11) {
  animation: linear 25s animationFramesTwo infinite;
}

.moving-element>img:nth-child(12) {
  animation: linear 20s animationFramesOne infinite;
}

.moving-element>img:nth-child(13) {
  animation: linear 25s animationFramesFive infinite;
}

.moving-element>img:nth-child(14) {
  animation: linear 25s animationFramesFour infinite;
}

.moving-element>img:nth-child(15) {
  animation: linear 20s animationFramesOne infinite;
}

.moving-element>img:nth-child(16) {
  animation: linear 25s animationFramesFive infinite;
}

.moving-element>img:nth-child(17) {
  animation: linear 25s animationFramesThree infinite;
}

.moving-element>img:nth-child(18) {
  animation: linear 20s animationFramesTwo infinite;
}

.moving-element>img:nth-child(19) {
  animation: linear 25s animationFramesFour infinite;
}

.moving-element>img:nth-child(20) {
  animation: linear 20s animationFramesTwo infinite;
}

.moving-element>img:nth-child(21) {
  animation: linear 20s animationFramesOne infinite;
}

@keyframes animationFramesOne {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }

  20% {
    transform: translate(73px, -1px) rotate(36deg);
  }

  40% {
    transform: translate(141px, 72px) rotate(72deg);
  }

  60% {
    transform: translate(83px, 122px) rotate(108deg);
  }

  80% {
    transform: translate(-40px, 72px) rotate(144deg);
  }

  100% {
    transform: translate(0px, 0px) rotate(0deg);
  }
}

@keyframes animationFramesTwo {
  0% {
    transform: translate(0px, 0px) rotate(0deg) scale(1);
  }

  20% {
    transform: translate(73px, -1px) rotate(36deg) scale(0.9);
  }

  40% {
    transform: translate(141px, 72px) rotate(72deg) scale(1);
  }

  60% {
    transform: translate(83px, 122px) rotate(108deg) scale(1.2);
  }

  80% {
    transform: translate(-40px, 72px) rotate(144deg) scale(1.1);
  }

  100% {
    transform: translate(0px, 0px) rotate(0deg) scale(1);
  }
}

@keyframes animationFramesThree {
  0% {
    transform: translate(165px, -179px);
    opacity: 1;
  }

  96% {
    opacity: 1;
  }

  100% {
    transform: translate(-346px, 617px);
    opacity: 0;
  }
}

@keyframes animationFramesFour {
  0% {
    transform: translate(-300px, 151px) rotate(0deg);
    opacity: 1;
  }

  96% {
    opacity: 1;
  }

  100% {
    transform: translate(251px, -200px) rotate(180deg);
    opacity: 0;
  }
}

@keyframes animationFramesFive {
  0% {
    transform: translate(61px, -99px) rotate(0deg);
  }

  21% {
    transform: translate(4px, -190px) rotate(38deg);
  }

  41% {
    transform: translate(-139px, -200px) rotate(74deg);
  }

  60% {
    transform: translate(-263px, -164px) rotate(108deg);
  }

  80% {
    transform: translate(-195px, -49px) rotate(144deg);
  }

  100% {
    transform: translate(-1px, 0px) rotate(180deg);
  }
}

@media (max-width: 1280px) {
  .overFlowHidden {
    overflow: hidden !important;
  }
}

.zm-input-error {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, .35);
}

.zm-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.zm-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.zm-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(520px, 92vw);
  background: #0b1220;
  color: #e5e7eb;
  z-index: 70;
  transform: translateX(100%);
  transition: transform .25s ease;
  box-shadow: -20px 0 60px rgba(0, 0, 0, .55);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.zm-drawer.open {
  transform: translateX(0);
}

.zm-drawer-header {
  padding: 18px 18px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.zm-drawer-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.zm-drawer-subtitle {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(229, 231, 235, .7);
}

.zm-drawer-close {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .75);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
}

.zm-drawer-close:hover {
  color: #fff;
}

.zm-drawer-body {
  padding: 0 18px 14px;
  overflow: auto;
  flex: 1;
}

.zm-drawer-body h4 {
  margin: 14px 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.zm-drawer-body p,
.zm-drawer-body li {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(229, 231, 235, .86);
}

.zm-drawer-body ul {
  padding-left: 18px;
  margin: 8px 0 14px;
}

.zm-drawer-body a {
  color: rgb(71, 131, 127);
  text-decoration: underline;
}

.zm-drawer-footer {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #0b1220;
}

.zm-btn {
  width: 100%;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 800;
  text-align: center;
  display: inline-block;
}

.zm-btn-primary {
  background: rgb(71, 131, 127);
  border: 1px solid rgba(34, 197, 94, .35);
  color: #fff;
}

.zm-btn-secondary {
  margin-top: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #e5e7eb;
}

.zm-alert {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.35;
  border: 1px solid transparent;
  display: none;
  gap: 10px;
  align-items: flex-start;
}

.zm-alert.show {
  display: flex;
}

.zm-alert-error {
  background: rgba(239, 68, 68, .12);
  border-color: rgba(239, 68, 68, .45);
  color: #fecaca;
}

.zm-alert-error strong {
  color: #fff;
  font-weight: 800;
}

.zm-alert-icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 18px;
  opacity: .95;
}

.zm-field-error {
  margin-top: 6px;
  font-size: 12px;
  color: #fca5a5;
  display: none;
}

.zm-field-error.show {
  display: block;
}

/* Fix UI checkbox "Recordarme": en modo dark, el utilitario dark:bg-* podía
   pisar el :checked (se veía bien con hover, pero al salir el hover se "apagaba"). */
#remember:checked {
  background-color: rgb(112, 162, 159) !important;
  /* success-300 */
  border-color: transparent !important;
}

.textFormFoot br {
  display: none;
}


.pt75 {
  padding-top: 85px;
}

.pt55 {
  padding-top: 75px;
}

.legaladmn {
  position: absolute;
}

@media (max-width: 639px) {
  .legaladmn {
    position: initial;
  }
}

@media (max-width: 1023px) {
  header h2 {
    line-height: 37px;
    margin-bottom: 20px !important;
  }

  #drawer-legal,
  #drawer-privacy {
    box-shadow: initial;
  }

  .textFormFoot br {
    display: initial;
  }

  header.headerlog {
    display: flex;
    justify-content: center;
  }

  .pt75 {
    padding-top: 75px;
  }

  .pt55 {
    padding-top: 55px;
  }

}

html {
  background-color: rgb(35 38 43 / 1) !important;
}

/* Toast (notificaciones) */
.zm-toast-host {
  position: fixed;
  top: 30px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.zm-toast {
  pointer-events: auto;
  width: min(420px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: 18px 1fr 24px;
  gap: 10px;
  align-items: start;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
  backdrop-filter: blur(8px);
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}

.zm-toast-show {
  transform: translateY(0);
  opacity: 1;
}

.zm-toast-hide {
  transform: translateY(-8px);
  opacity: 0;
}

.zm-toast-ok {
  background: rgba(25, 146, 69, 0.69);
  border-color: rgba(34, 197, 94, .35);
  color: #dcfce7;
}

.zm-toast-error {
  background: rgba(121, 29, 29, 0.69);
  border-color: rgba(239, 68, 68, .35);
  color: #fee2e2;
}

.zm-toast-icon svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.zm-toast-text {
  font-size: 14px;
  line-height: 1.35;
  color: inherit;
  word-break: break-word;
}

.zm-toast-close {
  border: 0;
  background: transparent;
  color: inherit;
  opacity: .75;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.zm-toast-close:hover {
  opacity: 1;
}

/* Leads table selection (solo tabla): evita fondo verde mientras hay focus */
.leads-row-check,
#leads-select-all {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  border: 1px solid #A0AEC0;
  background-color: transparent;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
}

.dark .leads-row-check,
.dark #leads-select-all {
  border-color: #3f4450;
}

.leads-row-check:focus,
#leads-select-all:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: none;
}

.leads-row-check:checked,
#leads-select-all:checked {
  border-color: rgb(71, 131, 127);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z' fill='%2347837F'/%3e%3c/svg%3e");
  background-size: 75% 75%;
  background-position: center;
  background-repeat: no-repeat;
}

#leads-select-all:indeterminate {
  border-color: rgb(71, 131, 127);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='%2347837F' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
  background-size: 80% 80%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Backdrop modal confirmación (más contraste + desenfoque) */
.zm-modal-backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Botón peligro (usar paleta del template, sin depender de clases purgadas) */
.zm-btn-danger {
  background: #dd3333;
  color: #fff;
}

.zm-btn-danger:hover {
  background: #c52828;
}

/* Botón outline de peligro para acciones ("Eliminar seleccionados") */
.zm-btn-danger-outline {
  border: 1px solid rgba(221, 51, 51, 0.45);
  color: #dd3333;
  background: transparent;
}

.zm-btn-danger-outline:hover {
  background: rgba(221, 51, 51, 0.10);
}

.dark .zm-btn-danger-outline {
  border-color: rgba(221, 51, 51, 0.35);
  color: #ff8f8f;
}

.dark .zm-btn-danger-outline:hover {
  background: rgba(221, 51, 51, 0.18);
}

/* Checkbox “bonito” reutilizable (NO global, solo si pones la clase) */
input[type="checkbox"].zm-check {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  /* similar al de la tabla */
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06);
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

input[type="checkbox"].zm-check:hover {
  border-color: rgba(255, 255, 255, .4);
}

/* el “tick” */
input[type="checkbox"].zm-check::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 4px;
  transform: scale(0);
  transition: transform .12s ease;
  background: #49c5b6;
  /* el turquesa del proyecto */
}

input[type="checkbox"].zm-check:checked {
  border-color: rgba(73, 197, 182, .9);
  background: rgba(73, 197, 182, .12);
}

input[type="checkbox"].zm-check:checked::before {
  transform: scale(1);
}

/* focus bonito sin fondo verde raro */
input[type="checkbox"].zm-check:focus {
  outline: none;
}

input[type="checkbox"].zm-check:focus-visible {
  box-shadow: 0 0 0 3px rgba(73, 197, 182, .18);
}



[type="checkbox"]:checked,
[type="radio"]:checked {
  border-color: rgb(71, 131, 127);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z' fill='%2347837F'/%3e%3c/svg%3e");
  background-size: 75% 75%;
  background-position: center;
  background-repeat: no-repeat;
}

[type="checkbox"]:focus,
[type="radio"]:focus {
  outline: none;
  box-shadow: none;
}

[type="checkbox"]:active,
[type="radio"]:active {
  outline: none;
  box-shadow: none;
}

.btnalter {
  border: 1px solid #ffffff38;
  padding: 1px 8px;
  border-radius: 10px;
}

.btnalter:hover {
  border: 1px solid #ffffff38;
  padding: 1px 8px;
  border-radius: 10px;
  background-color: #ffffff13;
}

.active {
  color: rgb(112, 162, 159) !important;
}

/* ZentroMagnet: contacto iconos (Leads/Prospectos) */
a.zm-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-decoration: none;
  transition: color .15s ease, opacity .15s ease;
}

a.zm-contact-icon:hover {
  color: #34d399;
}

.dark a.zm-contact-icon {
  color: #A0AEC0
}

a.zm-contact-icon {
  color: #4b5563;
}

a.zm-contact-icon.zm-contact-icon--disabled {
  opacity: .3;
  cursor: not-allowed;
  pointer-events: none;
}

a.zm-contact-icon.zm-contact-icon--disabled:hover {
  color: inherit;
}

#ds-dropzone {
  background-color: #1f242d9d;
  background-image: repeating-linear-gradient(-45deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 18px);
}

.ds-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  min-width: 96px;
  text-align: center;
  justify-content: center;
}

.mri8 {
  margin-right: 8px;
}

.ds-status-pending {
  background: #f3f4f6;
  color: #4b5563;
}

.ds-status-processing {
  background: #eff6ff;
  color: #1d4ed8;
}

.ds-status-done {
  background: #ecfdf5;
  color: #047857;
}

.ds-status-error {
  background: #fef2f2;
  color: #dc2626;
}

.ds-status-spinner {
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  border: 2px solid #cbd5e1;
  border-top-color: #22c55e;
  animation: ds-spin 0.8s linear infinite;
}

@keyframes ds-spin {
  to {
    transform: rotate(360deg);
  }
}

.mutedText {
  margin-top: -11px;
  font-size: 12px;
  margin-bottom: 4px;
  color: #b8b8b8 !important;
}

.mutedText2 {
  font-size: 12px;
  margin-bottom: 4px;
  color: #b8b8b8 !important;
}


.zm-pretty-select-native {
  display: none;
}

.zm-pretty-select-menu {
  margin-top: 8px;
}

.lead-category-wrap {
  position: relative !important;
  overflow: visible !important;
  z-index: 20;
}

#ps-menu-lead-category {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  bottom: calc(100% + 8px) !important;
  margin-top: 0 !important;
  max-height: 18rem !important;
  overflow-y: auto !important;
  z-index: 9999 !important;
  border-radius: 0.75rem !important;
  background: #ffffff !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
}

.dark #ps-menu-lead-category {
  background: rgb(35 38 43 / var(--tw-bg-opacity)) !important;
}

.zm-native-select-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.lead-category-wrap {
  position: relative !important;
  overflow: visible !important;
  z-index: 20;
}

.lead-category-wrap .zm-custom-select-menu {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  bottom: calc(100% + 8px) !important;
  margin-top: 0 !important;
  max-height: 18rem !important;
  overflow-y: auto !important;
  z-index: 9999 !important;
  border-radius: 0.75rem !important;
  background: #ffffff !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
}

.dark .lead-category-wrap .zm-custom-select-menu {
  background: rgb(35 38 43 / var(--tw-bg-opacity)) !important;
}

.marg-bottom-4 {
  margin-bottom: -4px;
}

.marg-bottom-3 {
  margin-bottom: -3px;
}

#dsDebugClose {
  margin-right: 20px;
}

.linkCust {
  color: #69a9a4;
}

.linkCust:hover {
  color: #53918c;
}

.col-span-2 {
  grid-column: span 2 / span 2;
}

.zm-email-validation-row {
  margin-top: 10px;
}

.zm-work-panel-active {
  border: 1px solid #42d477 !important;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, .12);
}

.layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.layout__left {
  flex: 1 1 auto;
  min-width: 0;
}

.layout__right {
  flex: 0 0 auto;
  min-width: 380px;
  max-width: 380px;
}

.table-wrap {
  min-width: 0;
  overflow-x: auto;
}

@media (max-width: 1500px) {
  .layout {
    flex-direction: column;
    gap: 24px;
  }

  .layout__left,
  .layout__right {
    width: 100%;
    max-width: none;
  }

  .layout__right {
    min-width: 0;
  }
}

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