.ls-login-message {
  margin-bottom: 12px;
  font-size: 16px;
}

.ls-customer-progress {
  display: flex;
  justify-content: center;
  padding: 12px 16px 24px;
  font-family: Poppins, sans-serif !important;
}

.ls-progress-card {
  width: min(980px, 100%);
  border-radius: 24px;
  padding: 28px;
  background: radial-gradient(circle at top left, rgba(50, 255, 145, 0.12), transparent 45%),
    radial-gradient(circle at top right, rgba(14, 194, 255, 0.12), transparent 45%),
    #0b0f14;
  color: #e9f3ee;
  font-family: Poppins, sans-serif !important;
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.ls-progress-card * {
  font-family: Poppins, sans-serif !important;
}

.ls-progress-card > * {
  position: relative;
  z-index: 1;
}


.ls-progress-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 20px;
  z-index: 999;
}

.ls-progress-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  justify-content: space-between;
  flex: 1;
}

.ls-progress-details {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none;
  color: #32ff91 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all 0.2s ease;
  background: transparent !important;
  border-style: unset !important;
}

.ls-progress-details:hover {
  color: #e9fff4;
}

.ls-progress-details-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(7, 14, 20, 0.9);
  border: 1px solid rgb(50 255 145 / 16%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ls-progress-details-icon img {
  width: 20px;
  height: 20px;
  transition: width 0.2s ease, height 0.2s ease;
}

.ls-progress-details-text {
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.ls-progress-details-text:hover {
  opacity: 1;
}

.ls-progress-details-icon img:hover {
  width: 24px;
  height: 24px;
}

.ls-progress-menu-item, 
.ls-progress-logout, 
button.ls-progress-details.ls-progress-details--menu.ls-progress-menu-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  width: 100%;
  border: 1px solid rgb(55 95 88 / 17%) !important;
  background: transparent !important;
}

.ls-progress-menu-item:hover,
.ls-progress-logout:hover {
  border-color: rgba(50, 255, 145, 0.6);
  box-shadow: 0 0 12px rgba(50, 255, 145, 0.3);
  color: #ffffff;
}

button.ls-progress-details.ls-progress-details--menu.ls-progress-menu-item {
  display: none;
}

.ls-progress-menu-icon,
.ls-progress-logout-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(50, 255, 145, 0.12);
}

.ls-progress-menu-icon svg,
.ls-progress-logout-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ls-progress-user-block {
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  flex: 1;
  justify-content: center;
  position: relative;
  z-index: 20;
}

.ls-progress-user {
  display: inline-flex;
  align-items: center  !important;
  gap: 0px  !important;
  padding: 5px  !important;
  border-radius: 999px  !important;
  background: rgba(255, 255, 255, 0.06)  !important;
  border: 1px solid rgba(255, 255, 255, 0.08)  !important;
  color: #d5efe3  !important;
  font-size: 13px  !important;
  justify-content: flex-end;
  width: min(360px, 100%)  !important;
  cursor: pointer;
  appearance: none;
}

.ls-progress-user-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: center;
  padding-right: 10px;
}

.ls-progress-user-name {
  font-size: 14px;
  color: #e6fff5;
  font-weight: 600;
}

.ls-progress-user-email {
  font-size: 13px;
  color: #a8c2b7;
}

.ls-progress-avatar {
  width: 55px !important;
  height: 55px !important;
  border-radius: 50% !important;
  border: 2px solid rgb(102 125 139 / 42%) !important;
  object-fit: cover !important;
}

.ls-progress-avatar-wrapper {
    margin: 0 !important;
    height: 55px;
    width: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ls-progress-user-menu {
  position: absolute;
  top: calc(100% + -22px);
  right: 0;
  background: rgb(11 30 38 / 20%);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px;
  min-width: 180px;
  z-index: 100;
  border-radius: 12px;
  display: grid;
  gap: 8px;
}

.ls-progress-user-menu[hidden] {
  display: none !important;
}

.ls-progress-heading {
  display: flex;
  flex-direction: column;
  width: min(325px, 100%);
}

.ls-progress-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7fd8b8;
}

.ls-progress-title, .ls-section-title {
  font-size: 28px !important;
  margin: 0px;
  color: #e6fff5 !important;
  font-family: Poppins, sans-serif !important;
}

.ls-subtitle {
    font-size: 28px !important;
    margin-bottom: 15px;
    font-family: Poppins, sans-serif !important;
    letter-spacing: -0.05em !important;
    color: #34475a !important;
}

.ls-progress-subtitle,
.ls-progress-copy,
.ls-progress-note {
  margin-bottom: 0px !important;
  color: #2f9373;
  font-size: 15px;
  margin-top: 15px;
}

.ls-progress-note {
  color: #ffffff !important;
}

.loyalty-stamps-auto-page-note {
  margin: 0 0 12px;
  font-size: 12px;
  color: #32ff91;
  font-weight: 600;
}

.ls-qr-image {
  width: 100%;
  max-width: 270px !important;
  border-radius: 16px !important;
  padding: 10px;
  background: #f7fffb;
}

.ls-qr-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(50, 255, 145, 0.35), rgba(14, 194, 255, 0.15));
  box-shadow: 0 0 25px rgba(50, 255, 145, 0.25);
  margin: 16px 0;
}

.ls-progress-body {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.ls-progress-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  background: rgba(20, 30, 35, 0.7);
  border: 1px solid rgba(127, 216, 184, 0.35);
  text-align: center;
  min-width: 100px;
}

.ls-progress-badge-icon {
  width: 32px;
  height: auto;
}

.ls-progress-badge span {
  font-size: 12px;
  color: #94a9a1;
  line-height: 1.8em;
}

.ls-progress-badge.is-premium span {
  color: #6a5840;
}

.ls-progress-badge strong {
  font-size: 13px;
  color: #32ff91;
  line-height: 1em;
}

.ls-progress-badge.is-premium strong {
  color: #b48e2f;
}
.ls-progress-copy {
  font-size: 15px;
  color: #c7d7d2;
  text-align: center;
  
}

.ls-progress-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ls-progress-note-inline {
  margin: 0;
  color: #c7d7d2;
  font-size: 13px;
  max-width: 260px;
}

.ls-progress-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.ls-progress-summary-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.ls-progress-summary-icon {
  width: 28px;
  height: 28px;
}

.ls-progress-summary-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ls-progress-summary-item span {
  font-size: 12px;
  color: #9cb2a9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ls-progress-summary-item strong {
  font-size: 17px;
  color: #e6fff5;
  font-family: Sora, sans-serif !important;
}
.ls-progress-summary-highlight {
  background: rgba(50, 255, 145, 0.14);
  border-color: rgba(50, 255, 145, 0.35);
}

.ls-progress-meter {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 18px;
}

.ls-progress-meter-title {
  margin: 20px 0px 10px 0px;
  color: #94d0aa;
  font-size: 20px;
  letter-spacing: 0;
  font-weight: 600;
}

.ls-progress-meter span {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, #32ff91, #0ec2ff);
  box-shadow: 0 0 18px rgba(50, 255, 145, 0.45);
}

.ls-progress-card.is-premium .ls-progress-meter span {
  background: linear-gradient(90deg, #145040, #2ea630);
  box-shadow: 0 0 18px rgb(141 255 0 / 99%);
  border-radius: 100px;
}

.ls-stamps-grid {
  display: flex;
  gap: 15px;
  margin: 10px 0 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.ls-progress-note-below {
  margin: 12px 0 0;
  text-align: center;
}

.ls-stamp-cell {
  width: clamp(56px, 8vw, 90px);
  height: clamp(56px, 8vw, 90px);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background-image: url("../images/stamppending.png");
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.ls-stamp-cell-prize {
  background-image: url("../images/premio.png");
  position: relative;
}

.ls-stamp-cell-prize.is-complete::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ls-stamp-prize-complete-image, url("../images/Premio-conseguido.gif"));
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: #22673496;
  border-radius: 100%;
  margin: 5px !important;
  backdrop-filter: blur(3px);
}

.ls-stamp-image {
  border-radius: 100px !important;
  backdrop-filter: blur(3px);
}

.ls-stamp-image-final {
  width: 90px;
  height: 70px;
  background: #20202069;
}

.ls-stamp-image-check {
  width: clamp(48px, 7vw, 57px) !important;
  height: clamp(48px, 7vw, 57px) !important;
  background: #a6edc7ed;
}

@media (max-width: 860px) {
  .ls-progress-card {
    padding: 22px;
  }

  .ls-progress-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ls-progress-badge {
    align-items: flex-start;
  }

  .ls-progress-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .ls-progress-body {
    grid-template-columns: 1fr;
  }

  .ls-action-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 540px) {
  .ls-progress-card {
    padding: 18px;
    border-radius: 18px;
  }

  .ls-progress-title, .ls-section-title {
    font-size: 24px !important;
  }

  .ls-progress-summary {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .ls-progress-summary-item {
    flex: 0 0 80%;
    min-width: 220px;
    scroll-snap-align: start;
  }
}

.ls-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    border: 1px solid rgba(50, 255, 145, 0.4) !important;
    color: #32ff91 !important;
    padding: 8px 20px !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    font-weight: 200 !important;
    font-family: Poppins, sans-serif !important;
}

button.ls-button.ls-whatsapp-edit {
  border: 1px solid rgb(123 229 96) !important;
  color: #14964f !important;
  background: #38fe7e96 !important;
  opacity: 0.6;
}
button.ls-button.ls-button-dark.ls-whatsapp-save {
  border: 1px solid rgb(123 229 96) !important;
  color: #14964f !important;
  background: #ffffff96 !important;
  opacity: 0.6;
}

button.ls-button.ls-whatsapp-edit, button.ls-button.ls-button-dark.ls-whatsapp-save:hover {
  opacity: 1 !important;
}

.ls-button:hover {
    background: rgba(50, 255, 145, 0.12) !important;
    border-color: rgba(50, 255, 145, 0.6) !important;
    color: #e4f7ec !important;
}

.ls-action-row .ls-button {
  border-radius: 12px !important;
  padding: 12px 18px !important;
  text-decoration: unset !important;
}

.ls-button-block {
  width: 100%;
  justify-content: center;
}

.ls-button-secondary {
    border: 1px solid rgb(255 50 50 / 40%) !important;
    color: #a75252 !important;
}

.ls-button-danger {
  background-color: #d33 !important;
  color: #fff !important;
  border: 1px solid rgb(255 155 155 / 40%) !important;
}
.ls-button-danger:hover {
    background-color: #ff0000 !important;
    color: #ffb9b9 !important;
    border: 1px solid rgb(255 0 0 / 40%) !important;
}
button.ls-button.ls-button-light.ls-profile-avatar-button {
    width: fit-content !important;
}
.ls-button-dark {
  background-color: #0c1416 !important;
  color: #fff !important;
  border: 1px solid rgb(27 44 39) !important;
  margin-bottom: 4px;
}

.ls-button-light {
  background-color: #d9d9d9 !important;
  color: #0c3524 !important;
}

.ls-button-with-icon {
  margin-top: 0 !important;
}

.ls-button-dark:hover {
  background-color: #d1fddd !important;
  color: #419859 !important;
}

.ls-button-light:hover {
  background-color: #007d2f !important;
  color: #ffffff !important;
}

.ls-button-secondary:hover {
    background: rgb(255 50 50 / 12%) !important;
    border-color: rgb(255 50 50 / 60%) !important;
    color: #ff5f5f !important;
}

.ls-button-danger:hover {
  background-color: #b81f1f;
}

.ls-button-dark.ls-login-button {
  border-radius: 100px;
}

.ls-button-icon {
  width: 20px;
  height: 20px;
}

.ls-button-icon-large {
  width: 30px;
  height: 30px;
}

.ls-table-wrapper {
  overflow-x: auto;
  background: linear-gradient(160deg, #111820 0%, #0f1419 60%);
  border-radius: 16px;
  border: none;
  padding: 12px;
}

.ls-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  color: #f1fff7;
  font-family: "Poppins", sans-serif !important;
  border: none;
}

.ls-table th,
.ls-table td {
  padding: 12px;
  text-align: left;
  border: none;
  border: 0px !important;
  font-weight: 500 !important;
}

.ls-table thead {
  background: rgba(255, 255, 255, 0.04);
}

.ls-table tbody tr {
  border-bottom: none;
}

.ls-table tbody tr:hover {
  background: rgba(50, 255, 145, 0.08);
}

.ls-table-number {
  font-family: "Poppins", sans-serif !important;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.ls-stamp-count {
  text-align: center;
}

.ls-stamp-count .ls-client-badge {
  margin: 0 auto;
  display: inline-flex;
  justify-content: center;
}

.ls-table-number .ls-client-badge {
  margin: 0 auto;
  display: inline-flex;
  justify-content: center;
}

.ls-table-highlight {
  color: #fed832;
}

.ls-table-total-label {
  text-align: right;
}

.ls-table-total-value {
  background-color: #187b4c;
  color: #56f8ab;
  font-size: 18px;
}

.ls-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ls-modal.is-visible {
  display: flex;
}

.ls-modal-content {
  background: linear-gradient(160deg, #0f1b24, #111e27);
  width: min(450px, 90%);
  padding: 28px 24px 24px;
  border-radius: 18px;
  position: relative;
  border: 1px solid rgba(50, 255, 145, 0.2);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  font-family: Poppins, sans-serif !important;
}

.ls-modal-title {
    text-align: left;
    margin-bottom: 15px;
    color: #f4fff9 !important;
    font-size: 20px !important;
    letter-spacing: 0.02em;
    font-family: Poppins, sans-serif !important;
}

.ls-modal-subtitle {
  margin: -8px 0 18px;
  color: #65af88 !important;
  font-size: 14px;
  font-family: Poppins, sans-serif !important;
}

.ls-progress-details--menu {
  display: none;
  width: 100%;
  justify-content: flex-start;
  padding: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  border: none !important;
}

@media (max-width: 640px) {
  .ls-progress-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    position: relative;
    width: 100%;
  }

  .ls-progress-actions > .ls-progress-details {
    display: none;
  }

  .ls-progress-details--menu {
    display: inline-flex !important;
  }

  .ls-progress-user-block {
    display: flex;
    order: -1;
    width: 100%;
    flex-wrap: wrap;
  }

  .ls-progress-user {
    width: 100% !important;
  }

  .ls-progress-badge {
    position: absolute;
    top: -15px;
    right: 15px;
    min-width: 0;
    padding: 0;
    border: none;
    background: transparent;
    z-index: 30;
  }

  .ls-progress-heading {
    display: flex;
    width: min(325px, 100%);
    flex-direction: column;
    align-items: center;
  }

 .ls-progress-subtitle {
    text-align: center;
  }

  .ls-stamp-cell {
    width: clamp(80px, 8vw, 90px);
    height: clamp(80px, 8vw, 90px);
  }
  
  .ls-stamps-grid {
    gap: 10px;
  }
  .ls-progress-badge span,
  .ls-progress-badge strong {
    display: none;
  }

  .ls-progress-badge-icon {
    width: 35px;
    height: 26px;
  }
  .ls-customer-progress {
    padding: 0px!important;
  }
   .ls-action-row {
    display: flex;
    flex-direction: column !important;
  }
  .ls-action-row > form, .ls-action-row > a, .ls-history-action-item {
    flex: 1 1 0 !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    min-width: 0 !important;
    font-weight: 500 !important;
  }
  .ls-client-badge {
    text-align: center !important;
  }
  .ls-table-actions {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100%;
  }
  .ls-table-action {
    gap: 15px !important;
    text-align: left !important;
  }
  .ls-dashboard-modal-content {
    width: min(520px, 85%) !important;
  }
  .ls-panel-header {
    display: flex;
    flex-direction: column;
  }
  .ls-dashboard-search-input {
    width: 85% !important;
    margin: 0px 0px 10px 10px !important;
    font-family: Poppins, sans-serif !important;
  }
}

 .ls-action-row > form, .ls-action-row > a, .ls-history-action-item {
    display: flex !important;
    align-items: center !important;
    font-weight: 500 !important;
  }

  .dashicons dashicons-search{
    margin-top: 13px;
}

.ls-modal-close {
  position: absolute;
  top: 25px;
  right: 16px;
  background: none !important;
  border: none !important;
  color: #4d99b3 !important;
  font-size: 40px !important;
  cursor: pointer !important;
  padding: 0 !important;
  border-style: unset !important;
  line-height: 0.9 !important;
  opacity: 0.7 !important;
  transition: all 0.2s ease !important;
}

.ls-modal-close:hover {
  opacity: 1 !important;
}

.ls-input,
.ls-select {
  color: #ffffff !important;
    max-width: 100% !important;
    font-family: Poppins, sans-serif !important;
    background: #10161c !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 12px 14px !important;
}

.ls-select option {
  background: #0f1419 !important;
  color: #e9f3ee !important;
}

.ls-select option:checked {
  background: #1f6f4a !important;
  color: #f4fff8 !important;
}

.ls-field select option,
.ls-multi-select option,
.ls-period-select-input option,
.ls-period-select-input optgroup,
.wp-core-ui select option,
.wp-core-ui select optgroup {
  background: #0f1419 !important;
  color: #e9f3ee !important;
}

.ls-multi-select option:checked,
.ls-period-select-input option:checked,
.wp-core-ui select option:checked {
  background: #1f6f4a !important;
  color: #f4fff8 !important;
}

.ls-select,
.ls-field select,
.ls-multi-select,
.ls-period-select-input,
.wp-core-ui select {
  background-color: #0f1419 !important;
  color: #00824c !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.ls-input {
  max-width: 100% !important;
  font-family: Poppins, sans-serif !important;
  margin-bottom: 20px !important;
}

.ls-whatsapp-field .iti,
.ls-whatsapp-input {
  width: 100%;
}

.ls-whatsapp-field .iti input {
  width: 100%;
}

#loyalty_stamps_whatsapp {
    padding-left: 55px !important;
}

.ls-whatsapp-field.is-locked .iti input,
.ls-whatsapp-field.is-locked .ls-whatsapp-input {
  opacity: 0.7;
  cursor: not-allowed;
}

.ls-whatsapp-actions {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-top: 15px !important;
}

.ls-label {
    margin-bottom: 10px;
    font-family: "Poppins", sans-serif !important;
    letter-spacing: 0.01em;
    color: #00c04e !important;
    margin-top: 0px;
    text-transform: capitalize ! IMPORTANT;
    font-size: 18px !important;
}

.ls-search-panel {
  margin-bottom: 20px;
}

.ls-search-status {
    margin: 0 0 10px;
    color: #437863;
    font-size: 15px;
    font-family: Poppins, sans-serif !important;
}

.ls-label-inverse {
  color: #ffffff;
}

.ls-action-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
  flex-wrap: nowrap;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #11161e 0%, #0b2218 45%, #020c08 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ls-action-row > form,
.ls-action-row > a,
.ls-history-action-item {
  flex: 1 1 0;
  display: flex;
  align-items: stretch;
  margin: 0;
  min-width: 0;
}

.ls-history-section .ls-action-row {
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.ls-history-section .ls-action-row > form,
.ls-history-section .ls-action-row > a,
.ls-history-section .ls-history-action-item {
  flex: 0 0 auto;
}

.ls-download {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background-color: #1f2327;
  color: #ffffff;
  border-radius: 12px;
  margin-left: 0;
  text-decoration: none !important;
}

.ls-download-label {
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
}
.comments-area a, .page-content a {
    text-decoration: none !important;
}

.ls-download-actions {
  display: flex;
  gap: 0px !important;
  margin-top: 0;
}

.ls-download-icon {
  width: 55px;
  height: 55px;
}

.ls-delete-history-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.ls-table-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ls-table-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ls-table-user-name {
  font-weight: 600;
  color: inherit;
}

.ls-table-user-username {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.ls-download-link {
    gap: 0px !important;
    background: linear-gradient(135deg, rgb(0 176 82 / 18%), rgb(0 43 28)) !important;
    border: 1px solid rgb(71 114 91 / 55%) !important;
    color: #5a8f73 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-size: 21px !important;
    transition: all 0.2s ease;
    text-decoration: unset;
}

.ls-download-link:hover,
.ls-download-link:focus-visible {
    background: linear-gradient(135deg, rgba(50, 255, 145, 0.35), rgba(50, 255, 145, 0.08)) !important;
    border-color: rgba(50, 255, 145, 0.9) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(50, 255, 145, 0.25) inset;
    color: #ffffff !important;
}

.ls-history-section .ls-action-row {
  background: transparent;
  border: none;
  padding: 0;
  justify-content: flex-end;
}

.ls-action-row .ls-button,
.ls-action-row .ls-download-link,
.ls-history-action-item .ls-button,
.ls-history-action-item.ls-download-link {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  height: 100%;
}

.ls-history-section .ls-download-link,
.ls-history-section .ls-history-action-item.ls-download-link {
  width: auto;
  min-height: unset;
  height: auto;
  justify-content: flex-start;
  padding: 12px 16px !important;
  margin-top: 20px !important; 
}

.ls-history-download .ls-download-label {
  font-size: 12px;
  font-weight: 500;
}

.ls-action-row .ls-download-link {
  margin-top: 0 !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  display: flex !important;
  border-radius: 13px !important;
  flex-direction: row;
}

.ls-table-footer {
  margin-top: 14px;
  display: flex;
  justify-content: flex-start;
}

.ls-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #32ff91 !important;
  text-decoration: none;
  font-family: Poppins, sans-serif !important;
  font-size: 14px;
  border: 1px solid rgba(50, 255, 145, 0.4);
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.ls-back-link:hover,
.ls-back-link:focus-visible {
  background: rgba(50, 255, 145, 0.12);
  border-color: rgba(50, 255, 145, 0.6);
  color: #e4f7ec;
}

.ls-back-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  object-fit: contain;
}

.ls-whatsapp-status {
  margin: 8px 0 0;
  font-size: 13px;
  color: #437863;
  font-family: Poppins, sans-serif !important;
}

.ls-whatsapp-status.is-error {
  color: #d97878;
}

.ls-pagination {
  margin-top: 20px;
}

.ls-admin-wrap {
  max-width: 100%;
}

.ls-email-page {
  max-width: none;
}

body.loyalty-stamps_page_loyalty-stamps-emails #wpbody-content,
body.loyalty-stamps_page_loyalty-stamps-emails #wpbody-content .wrap,
body.loyalty-stamps_page_loyalty-stamps-emails {
  background: #0f1316;
}

body.loyalty-stamps_page_shortcodes #wpbody-content,
body.loyalty-stamps_page_shortcodes #wpbody-content .wrap,
body.loyalty-stamps_page_shortcodes {
  background: #0f1316;
}

body.loyalty-stamps_page_loyalty-stamps-icons #wpbody-content,
body.loyalty-stamps_page_loyalty-stamps-icons #wpbody-content .wrap,
body.loyalty-stamps_page_loyalty-stamps-icons {
  background: #0f1316;
}

.ls-shortcodes-page h1 {
  color: #97ffad;
  font-family: "Poppins", sans-serif !important;
}

.ls-shortcodes-page .ls-admin-description {
  color: #d7efe2;
  font-family: Poppins, sans-serif !important;
}

.ls-shortcodes-page .ls-admin-card {
  background: linear-gradient(160deg, #111820 0%, #0f1419 60%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4f7ec;
  font-family: "Poppins", sans-serif !important;
}

.ls-shortcodes-page .ls-admin-card .description {
  color: #9fb7aa;
}

.ls-email-page h1 {
  color: #97ffad;
  font-family: "Poppins", sans-serif !important;
}

.ls-stamp-icons-page h1,
.ls-stamp-icons-page .ls-admin-description {
  font-family: "Poppins", sans-serif !important;
}

.ls-email-page .ls-admin-description {
  color: #d7efe2;
  font-family: Poppins, sans-serif !important;
}

.ls-email-page .ls-admin-card {
  background: linear-gradient(160deg, #111820 0%, #0f1419 60%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4f7ec;
  font-family: "Poppins", sans-serif !important;
}

.ls-email-page .ls-email-template-header h3,
.ls-email-page h2 {
  color: #ffffff;
  font-family: "Poppins", sans-serif !important;
}

.ls-email-page .ls-email-template-meta,
.ls-email-page .ls-email-placeholder-list {
  color: #9fb7aa;
}

.ls-email-page .ls-email-placeholder-list code {
  background: rgba(255, 255, 255, 0.08);
  color: #97ffad;
}

.ls-email-page .ls-field,
.ls-email-page .ls-toggle {
  color: #9fb7aa;
}

.ls-email-page .ls-field input,
.ls-email-page .ls-field select,
.ls-email-page .ls-multi-select {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f1419;
  color: #e4f7ec;
}

.ls-email-page .ls-multi-select option:checked {
  background: #22c55e;
  color: #0b1f13;
}

.ls-email-page .ls-field input::placeholder {
  color: rgba(228, 247, 236, 0.55);
}

.ls-email-page .ls-field .regular-text,
.ls-email-page .ls-field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.ls-email-page .ls-field input[type="color"] {
  width: 48px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0f1419;
  cursor: pointer;
  appearance: none;
}

img.colorpick-eyedropper-input-trigger {
  width: 16px !important;
}

.ls-email-header-color-picker {
  flex: 0 0 auto;
}

.ls-email-page .ls-field input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 4px;
}

.ls-email-page .ls-field input[type="color"]::-webkit-color-swatch {
  border-radius: 8px;
  border: none;
}

.ls-email-page .ls-field-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.ls-email-page .ls-field-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ls-email-page .ls-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #9fb7aa;
  cursor: help;
}

.ls-email-page .ls-tooltip .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.ls-email-page .ls-tooltip-content {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #0f1419;
  color: #e4f7ec;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 12px;
  width: 280px;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.ls-email-page .ls-tooltip:hover .ls-tooltip-content,
.ls-email-page .ls-tooltip:focus .ls-tooltip-content,
.ls-email-page .ls-tooltip:focus-within .ls-tooltip-content {
  opacity: 1;
}

.ls-email-page .ls-field-actions input {
  flex: 1;
  min-width: 0;
}

.ls-email-page .ls-email-font-size,
.ls-email-page .ls-email-logo-size {
  width: 100%;
  accent-color: #22c55e;
}

.ls-email-page .ls-range-value {
  font-size: 12px;
  color: #9fb7aa;
  min-width: 48px;
  text-align: right;
}

.ls-email-page .ls-email-footer-field {
  margin-top: 18px;
}

.ls-email-page .ls-field-inline .regular-text {
  min-width: 260px;
  flex: 1;
}

.ls-email-page .wp-editor-wrap {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.ls-email-page .wp-editor-container {
  background: #0f1419;
}

.ls-email-page .mce-top-part::before {
  box-shadow: none;
}

.ls-admin-description {
  font-size: 15px;
  color: #555;
}

.ls-admin-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

.ls-stamp-icons-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ls-button-ghost {
  background: transparent !important;
  color: #97ffad !important;
  border: 1px solid rgba(151, 255, 173, 0.6) !important;
}

.ls-button-ghost:hover {
  background: rgba(151, 255, 173, 0.12) !important;
  color: #97ffad !important;
}

.ls-settings-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ls-settings-form .ls-admin-card {
  margin-top: 0;
}

.ls-settings-form > p {
  grid-column: 1 / -1;
  margin: 0;
}

.ls-email-settings-grid,
.ls-email-templates-grid {
  display: grid;
  gap: 16px;
}

.ls-email-settings-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: end;
}

.ls-email-templates-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.ls-email-new-template-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

@media (max-width: 700px) {
  .ls-email-new-template-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .ls-email-templates-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: start;
  }
}

.ls-email-template-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ls-email-template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ls-email-template-actions .dashicons {
  font-size: 16px;
}

.ls-email-template-actions .ls-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ls-email-templates-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  justify-content: center;
  visibility: hidden;
}

.ls-email-templates-pagination.is-visible {
  visibility: visible;
}

.ls-email-page-button {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0f1419;
  color: #e4f7ec;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12px;
}

.ls-email-page-button.is-active {
  background: #22c55e;
  color: #0b1f13;
  border-color: transparent;
}

.ls-email-settings-grid .ls-field-logo {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .ls-email-settings-grid .ls-field-logo {
    grid-column: auto;
  }
}

.ls-email-template-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ls-email-template-header h3 {
  margin: 0;
  font-size: 18px;
}

.ls-email-template-meta {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.ls-email-recipients {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ls-email-recipient-search {
  gap: 6px;
}

.ls-email-recipient-search-input {
  width: 100%;
}

.ls-email-placeholder-list {
  margin: 0;
  padding-left: 18px;
  color: #4b5563;
}

.ls-email-placeholder-list code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 6px;
}

.ls-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #4b5563;
}

.ls-field input,
.ls-field select,
.ls-field textarea,
.ls-multi-select {
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  font-family: Poppins, sans-serif;
}

.ls-multi-select {
  min-height: 120px;
}

.ls-wallets-page .ls-wallets-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
}

.ls-wallets-page h1 {
  color: #97ffad;
  font-family: "Poppins", sans-serif !important;
}

.ls-wallets-page .ls-admin-description {
  color: #d7efe2;
  font-family: "Poppins", sans-serif !important;
}

.ls-wallets-page .ls-admin-card {
  background: linear-gradient(160deg, #111820 0%, #0f1419 60%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4f7ec;
  font-family: "Poppins", sans-serif !important;
}

.ls-wallets-page .ls-admin-card .ls-admin-description {
  color: #9fb7aa;
}

.ls-wallets-page .ls-wallets-help {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #9fb7aa;
  font-size: 13px;
  line-height: 1.5;
}

.ls-wallets-page .ls-wallets-help a {
  color: #32ff91;
  text-decoration: underline;
}

.ls-wallets-page .ls-wallets-card h2 {
  margin-top: 0;
  font-family: "Poppins", sans-serif !important;
  color: #ffffff;
}

.ls-wallets-page .ls-wallets-textarea {
  min-height: 140px;
  resize: vertical;
}

.ls-wallets-page .ls-field-full {
  grid-column: 1 / -1;
}

.ls-wallets-page .ls-field,
.ls-wallets-page .ls-toggle {
  color: #9fb7aa;
}

.ls-wallets-page .ls-field input,
.ls-wallets-page .ls-field select,
.ls-wallets-page .ls-field textarea,
.ls-wallets-page .ls-multi-select {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f1419;
  color: #e4f7ec;
  width: 100%;
  box-sizing: border-box;
}

.ls-wallets-page .ls-field input::placeholder,
.ls-wallets-page .ls-field textarea::placeholder {
  color: rgba(228, 247, 236, 0.55);
}

.ls-push-page h1 {
  color: #97ffad;
  font-family: "Poppins", sans-serif !important;
}

.ls-push-page .ls-admin-description {
  color: #d7efe2;
  font-family: "Poppins", sans-serif !important;
}

.ls-push-page .ls-admin-card {
  background: linear-gradient(160deg, #111820 0%, #0f1419 60%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4f7ec;
  font-family: "Poppins", sans-serif !important;
}

.ls-push-page .ls-admin-card .ls-admin-description {
  color: #9fb7aa;
}

.ls-push-page .ls-push-help {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #9fb7aa;
  font-size: 13px;
  line-height: 1.5;
}

.ls-push-page .ls-push-help a {
  color: #32ff91;
  text-decoration: underline;
}

.ls-push-page .ls-push-card h2 {
  margin-top: 0;
  font-family: "Poppins", sans-serif !important;
  color: #ffffff;
}

.ls-push-page .ls-wallets-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
}

.ls-push-page .ls-field,
.ls-push-page .ls-toggle {
  color: #9fb7aa;
}

.ls-push-page .ls-field input,
.ls-push-page .ls-field select,
.ls-push-page .ls-field textarea,
.ls-push-page .ls-multi-select {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f1419;
  color: #e4f7ec;
  width: 100%;
  box-sizing: border-box;
}

.ls-push-page .ls-field input::placeholder,
.ls-push-page .ls-field textarea::placeholder {
  color: rgba(228, 247, 236, 0.55);
}

.ls-whatsapp-page h1 {
  color: #97ffad;
  font-family: "Poppins", sans-serif !important;
}

.ls-whatsapp-page .ls-admin-description {
  color: #d7efe2;
  font-family: "Poppins", sans-serif !important;
}

.ls-whatsapp-page .ls-admin-card {
  background: linear-gradient(160deg, #111820 0%, #0f1419 60%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4f7ec;
  font-family: "Poppins", sans-serif !important;
}

.ls-whatsapp-page .ls-admin-card .ls-admin-description {
  color: #9fb7aa;
}

.ls-whatsapp-page .ls-whatsapp-help {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #9fb7aa;
  font-size: 13px;
  line-height: 1.5;
}

.ls-whatsapp-page .ls-whatsapp-help a {
  color: #32ff91;
  text-decoration: underline;
}

.ls-whatsapp-page .ls-admin-card h2 {
  margin-top: 0;
  font-family: "Poppins", sans-serif !important;
  color: #ffffff;
}

.ls-whatsapp-page .ls-field,
.ls-whatsapp-page .ls-toggle {
  color: #9fb7aa;
}

.ls-whatsapp-page .ls-field input,
.ls-whatsapp-page .ls-field select,
.ls-whatsapp-page .ls-field textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f1419;
  color: #e4f7ec;
  width: 100%;
  box-sizing: border-box;
}

.ls-whatsapp-page .ls-field input::placeholder,
.ls-whatsapp-page .ls-field textarea::placeholder {
  color: rgba(228, 247, 236, 0.55);
}

.ls-whatsapp-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
}

.ls-whatsapp-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ls-whatsapp-placeholder-list {
  margin: 0;
  padding-left: 18px;
  color: #9fb7aa;
}

.ls-whatsapp-placeholder-list code {
  background: rgba(255, 255, 255, 0.08);
  color: #97ffad;
  padding: 2px 6px;
  border-radius: 6px;
}

.ls-whatsapp-templates-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .ls-whatsapp-templates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ls-whatsapp-templates-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: start;
  }
}

.ls-whatsapp-templates-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  justify-content: center;
  visibility: hidden;
}

.ls-whatsapp-templates-pagination.is-visible {
  visibility: visible;
}

.ls-whatsapp-page-button {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0f1419;
  color: #e4f7ec;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12px;
}

.ls-whatsapp-page-button.is-active {
  background: #22c55e;
  color: #0b1f13;
  border-color: transparent;
}

.ls-whatsapp-template-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ls-whatsapp-template-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ls-whatsapp-template-header h3 {
  margin: 0;
  font-size: 18px;
  color: #ffffff;
}

.ls-whatsapp-template-meta {
  margin: 0;
  font-size: 13px;
  color: #9fb7aa;
}

.ls-whatsapp-template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ls-whatsapp-template-actions .dashicons {
  font-size: 16px;
}

.ls-whatsapp-new-template-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 16px;
}

.ls-whatsapp-new-template .ls-toggle-switch {
  margin-top: 12px !important;
}

.ls-whatsapp-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ls-whatsapp-preview-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ls-whatsapp-preview-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.ls-whatsapp-preview-frame {
  background: #0b0f14;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ls-whatsapp-preview-bubble {
  background: #f3fff8 !important;
  border-radius: 18px;
  padding: 14px 16px;
  color: #0d1825 !important;
  font-size: 14px;
  line-height: 1.5;
  max-width: 560px;
  white-space: pre-wrap;
  box-shadow: inset 0 0 0 1px rgb(62 255 176) !important;
}

.ls-whatsapp-modal-content {
  width: min(520px, 92%);
}

.ls-whatsapp-modal-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 16px;
}

a#ls-whatsapp-modal-send {
  text-decoration: unset;
  background: #ffffff !important;
  color: #767778 !important;
  border-radius: 15px !important;
  font-weight: 500 !important;
  border-color: unset !important;
}

a#ls-whatsapp-modal-send:hover {
  background: linear-gradient(160deg, #2c9e61 0%, #095528 60%) !important;
  border-color: rgba(50, 255, 145, 0.3) !important;
  color: #fff !important;
}

.ls-whatsapp-preview-label {
  font-size: 12px;
  color: #9fb7aa;
}

.ls-whatsapp-modal-send.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.ls-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
}

.ls-toggle-switch {
  position: relative;
  gap: 10px;
  font-weight: 500;
  margin-top: 20px !important;
}

.ls-toggle-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ls-toggle-switch .ls-switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgb(255 151 151 / 35%);
  background: rgb(255 151 151 / 10%);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ls-toggle-switch .ls-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d7efe2;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.ls-toggle-switch input:checked + .ls-switch {
  background: #22c55e;
  border-color: rgba(34, 197, 94, 0.9);
}

.ls-toggle-switch input:checked + .ls-switch::after {
  transform: translateX(20px);
  background: #ffffff;
}

.ls-toggle-switch .ls-toggle-label {
  color: #e4f7ec;
}

.ls-toggle-switch .ls-toggle-label-active {
  display: none;
  color: #18e275;
}

.ls-toggle-switch .ls-toggle-label-inactive {
  color: #ff3f3f;
}

.ls-toggle-switch input:checked ~ .ls-toggle-label .ls-toggle-label-active {
  display: inline-flex;
}

.ls-toggle-switch input:checked ~ .ls-toggle-label .ls-toggle-label-inactive {
  display: none;
}

.ls-email-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ls-email-test-alert {
  display: none;
}

.ls-email-test-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(200px, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.ls-email-test-action {
  display: flex;
  align-items: flex-end;
  height: 100%;
}

@media (max-width: 900px) {
  .ls-email-test-grid {
    grid-template-columns: 1fr;
  }

  .ls-email-test-action {
    justify-content: flex-start;
  }
}

.ls-email-preview-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.ls-email-preview-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.ls-email-preview-frame {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  background: #0f1419;
}

.ls-email-preview-frame iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  background: #0f1419;
}

.ls-email-preview-subject {
  font-size: 13px;
  color: #9fb7aa;
}

.ls-email-settings h2,
.ls-email-placeholders h2,
.ls-email-new-template h2 {
  margin-top: 0;
  font-family: "Poppins", sans-serif !important;
}

.ls-shortcodes-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 20px;
}

.ls-shortcodes-page .ls-shortcodes-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ls-shortcode-card {
  background: linear-gradient(135deg, #001a1a 0%, #092e22 45%, #001a1a 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #e4f7ec;
}

.ls-shortcode-title {
  font-size: 18px;
  margin: 0;
  color: #e9fff4;
}

.ls-shortcode-description {
  margin: 0;
  color: #9fb7aa;
}

.ls-shortcode-row {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.ls-shortcode-input {
  flex: 1;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  border: 1px solid rgb(8 66 49) !important;
  background: #021815 !important;
  color: #e4f7ec !important;
  font-family: Poppins, sans-serif !important;
}

.ls-shortcodes-page .button.button-primary.ls-copy-shortcode {
  background: #0f2e1d !important;
  border-color: rgba(50, 255, 145, 0.4) !important;
  color: #e9fff4 !important;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 18px;
  transition: all 0.2s ease;
}

.ls-shortcodes-page .button.button-primary.ls-copy-shortcode:hover {
  background: rgba(50, 255, 145, 0.12) !important;
  border-color: rgba(50, 255, 145, 0.6) !important;
  color: #ffffff !important;
}

.ls-copy-status {
  font-size: 13px;
  color: #32ff91;
  min-height: 16px;
}

.ls-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 9px;
  width: fit-content;
}

.ls-alert-success {
  background: #cefdde;
  color: #228342;
}

.ls-alert-warning {
  color: #cb4e4e !important;
}

.ls-alert-error {
  background: #ffbebe;
  color: #cc3333;
}

input#swal2-input {
  max-width: 100% !important;
  width: 85% !important;
  border-radius: 10px;
  text-align: center;
}

.ls-alert-floating {
  position: absolute;
  right: 20px;
  top: 20px;
}

.ls-alert-inline {
  margin: 12px 0;
}

.ls-alert-icon {
  width: 40px;
  height: 40px;
}

.ls-alert-text {
  margin: 0px !important;
}

.ls-alert-slot {
  margin-bottom: 16px;
}

.ls-hidden-submit {
  display: none;
}

.ls-inline-form {
  margin: 0;
}

.ls-error-text {
  color: #cc3333 !important;
}

.swal2-popup {
  font-size: 16px !important;
  font-family: Poppins, sans-serif !important;
  z-index: 9999;
  background: #ffffff !important;
  border-radius: 25px !important;
  color: #6e6e6e !important;
}

.swal2-container {
  z-index: 10050 !important;
}
.swal2-title {
  display: block !important;
  font-size: 25px !important;
  font-family: Poppins, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.04em !important;
  color: #143a4d !important;
}
button.swal2-cancel.swal2-styled {
  background: red !important;
  color: #fff;
  border-color: #dc3545;
  transition: all 0.15s ease-in-out;
  border: 1px solid transparent;
  margin: 0 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 18px;
  line-height: 1.25;
  border-radius: 12px;
  font-family: Poppins, sans-serif !important;
  font-weight: 400 !important;
}

button.swal2-cancel.swal2-styled:hover {
  color: #fff !important;
  background-color: #c82333 !important;
  border-color: #bd2130 !important;
}

button.swal2-confirm.swal2-styled {
  color: #b9ffc6;
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  transition: all 0.15s ease-in-out;
  border: 1px solid transparent;
  margin: 0 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 18px;
  line-height: 1.25;
  border-radius: 12px !important;
  font-family: Poppins, sans-serif !important;
  font-weight: 400 !important;
}
button.swal2-confirm.swal2-styled:hover {
  color: #fff !important;
  background-color: #218838 !important;
  border-color: #1e7e34 !important;
}

div:where(.swal2-container) div:where(.swal2-html-container) {
  font-size: 14px !important;
  color: #6e6e6e !important;
}

@media (max-width: 768px) {
  .ls-download {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .ls-dashboard-wrap {
    padding-right: 0;
  }
}

.ls-dashboard-wrap {
  max-width: none;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif !important;
  overflow-x: hidden;
}

body.toplevel_page_loyalty-stamps #wpbody-content,
body.toplevel_page_loyalty-stamps #wpbody-content .wrap,
body.toplevel_page_loyalty-stamps {
  background: #0f1316;
}

.ls-dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #001a1a 0%, #092e22 45%, #001a1a 100%);
  color: #e4f7ec;
  margin-bottom: 24px;
}

.ls-dashboard-hero h1 {
  margin: 0 0 8px;
  font-size: 30px;
  color: #97ffad;
  font-weight: 500;
}

.ls-dashboard-hero .ls-admin-description {
  color: #d7efe2;
  margin: 0;
}

.ls-dashboard-filters {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.ls-dashboard-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.ls-dashboard-period-selectors {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.ls-dashboard-period-selectors.is-disabled {
  opacity: 0.6;
}

.ls-period-select {
  display: inline-flex;
  align-items: center;
}

.ls-period-select-input {
  background: rgb(0 201 95 / 8%) !important;
  color: #c3ffde !important;
  border: 1px solid rgb(23 255 41 / 12%) !important;
  border-radius: 999px !important;
  padding: 5px 12px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  -webkit-appearance: auto !important;
}

.ls-period-select-input option,
.ls-period-select-input optgroup {
  background-color: #0f1a14 !important;
  color: #c3ffde !important;
  border-radius: 5px !important;
  border: 1px solid rgba(23, 22, 39, 0.12) !important;
}

.wp-core-ui select {
  background: #0f1419 !important;
  color: #00824c !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
}

.wp-core-ui select.disabled, .wp-core-ui select:disabled {
  box-shadow: none !important;
  text-shadow: unset !important;
}

.wp-core-ui select:focus {
  border-color: #077a3c !important;
  color: #00fa74 !important;
  box-shadow: unset !important;
}
.ls-period-select-input:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.ls-filter-button {
  border: none;
  background: transparent;
  color: #d4f3e2;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.ls-filter-button.is-active {
  background: #32ff91;
  color: #0b150f;
  box-shadow: 0 8px 18px rgba(50, 255, 145, 0.35);
}

.ls-dashboard-grid {
  display: grid;
  gap: 20px;
}

.ls-dashboard-cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 24px;
}

.ls-dashboard-card, .ls-dashboard-panel {
    background: linear-gradient(160deg, #111820 0%, #0f1419 60%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e4f7ec;
}

.ls-dashboard-main {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  margin-bottom: 24px;
}

.ls-panel-wide {
  grid-column: span 1;
}

.ls-panel-full {
  margin-bottom: 24px;
}

.ls-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ls-metric-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fb7aa;
}

.ls-metric-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #a6f4c5;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ls-metric-badge-primary {
  background: rgba(50, 255, 145, 0.16);
  color: #32ff91;
}

.ls-metric-badge-secondary {
  background: rgba(97, 180, 255, 0.15);
  color: #7dc6ff;
}

.ls-metric-value {
  font-size: 28px;
  font-weight: 600;
  font-family: "Sora", sans-serif !important;
  margin-bottom: 8px;
}

.ls-currency {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.ls-currency-symbol {
  font-size: 0.7em;
  font-weight: 400;
  opacity: 0.75;
  text-transform: uppercase;
  font-family: "Sora", sans-serif !important;
}

.ls-currency-amount {
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Sora", sans-serif !important;
}

.ls-metric-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9fb7aa;
}

.ls-metric-change {
  font-weight: 600;
  color: #32ff91;
}

.ls-metric-change.is-down {
  color: #ff6b6b;
}

.ls-mini-chart {
  display: block;
  height: 46px;
  margin-top: 16px;
  width: 100%;
}

.ls-dashboard-card .ls-mini-chart {
  margin-left: -20px;
  margin-right: -20px;
  width: calc(100% + 40px);
}

.ls-mini-chart--lw {
  height: 54px;
}

.ls-mini-chart--lw canvas {
  border-radius: 12px;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.ls-mini-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.ls-mini-chart-area {
  opacity: 0.9;
}

.ls-mini-chart-line {
  fill: none;
  stroke: #32ff91;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 8px rgba(50, 255, 145, 0.4));
}

.ls-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.ls-panel-header h2 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #ffffff;
}

.ls-panel-header p {
  margin: 0;
  color: #9fb7aa;
  font-size: 13px;
}

.ls-panel-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ls-dashboard-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 260px;
}

.ls-dashboard-search .dashicons {
  font-size: 18px;
  color: #9fb7aa;
}

.ls-dashboard-search-input {
  flex: 1;
  border: none;
  color: #ffffff !important;
  font-size: 12px !important;
  outline: none;
  background: #10171d !important;
  border-color: #1f2630 !important;
  margin: 0px 10px 0px 5px;
  font-family: Poppins, sans-serif !important;
  padding: 8px 10px !important;
  border-radius: 100px !important;
}

.ls-dashboard-search-input::placeholder {
  color: rgba(99, 105, 134, 0.8);
}

.ls-panel-badge {
  background: rgba(50, 255, 145, 0.15);
  color: #32ff91;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
}

.ls-chart-wrapper {
  padding: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ls-dashboard-panel .ls-chart-wrapper {
  margin: 0 -20px -20px;
  padding: 10px;
  width: calc(100% + 20px);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0 0 16px 16px;
}

.ls-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22px, 1fr));
  gap: 10px;
  align-items: end;
  height: 240px;
}

.ls-chart--lw {
  display: block;
  height: 260px;
}

.ls-chart--lw canvas {
  border-radius: 12px;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.ls-chart-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 8px;
}

.ls-chart-column {
  width: 100%;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(50, 255, 145, 0.85), rgba(50, 255, 145, 0.05));
  position: relative;
}

.ls-chart-column:focus-visible {
  outline: 2px solid rgba(50, 255, 145, 0.8);
  outline-offset: 2px;
}

.ls-chart-column::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 8px;
  height: 8px;
  background: #32ff91;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(50, 255, 145, 0.8);
}

.ls-chart-label {
  font-size: 10px;
  color: #9fb7aa;
}

.ls-stamps-summary {
  display: grid;
  gap: 16px;
}

.ls-stamps-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.ls-stamps-label {
  color: #cfe3d7;
  font-size: 13px;
}

.ls-stamps-value {
  font-size: 18px;
  font-weight: 600;
}

.ls-stamps-summary-highlight {
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(50, 255, 145, 0.2), rgba(50, 255, 145, 0.05));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ls-stamps-highlight-value {
  font-size: 22px;
  font-weight: 700;
  color: #32ff91;
}

.ls-dashboard-table-wrapper {
  overflow-x: auto;
  width: 100%;
  border-radius: 10px !important;
}

.ls-history-section {
  margin-top: 24px;
}

.ls-dashboard-table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  color: #f1fff7;
  border: none;
}

.ls-dashboard-table th,
.ls-dashboard-table td {
  padding: 12px;
  text-align: left;
  border: none;
}

.ls-dashboard-table th:last-child,
.ls-dashboard-table td:last-child {
  text-align: right;
}

.ls-dashboard-table thead {
  background: rgba(255, 255, 255, 0.04);
}

.ls-dashboard-table tbody tr {
  border-bottom: none;
}

.ls-dashboard-table tbody tr:hover {
  background: rgba(50, 255, 145, 0.08);
}

.ls-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  color: #0b150f;
}

.ls-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ls-avatar-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #0b150f;
}

.ls-country-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ls-country-flag {
  font-size: 16px;
}

.ls-country-label {
  font-size: 12px;
  color: #9fb7aa;
}

.ls-client-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #e7fff2;
  text-align: center !important;
  line-height: 1em !important;
  min-height: 28px !important;
}

.ls-client-badge--full {
  background: rgba(50, 255, 145, 0.18);
  color: #32ff91;
}

.ls-client-badge--mid {
  background: rgba(255, 191, 70, 0.2);
  color: #ffbf46;
}

.ls-client-badge--low {
  background: rgba(121, 106, 255, 0.2);
  color: #9b8cff;
}

.ls-client-badge--zero {
  background: rgba(255, 95, 95, 0.18);
  color: #ff5f5f;
}

.ls-table-action {
  background: none !important;
  border: 1px solid rgba(50, 255, 145, 0.4) !important;
  color: #32ff91 !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  font-size: 12px !important;
  transition: all 0.2s ease !important;
}

.ls-table-action:hover {
  background: rgba(50, 255, 145, 0.12) !important;
  border-color: rgba(50, 255, 145, 0.6) !important;
  color: #e4f7ec !important;
}

.ls-view-all-button {
  background: rgba(255, 255, 255, 0.08) !important;
  border: none !important;
  color: #e4f7ec !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-size: 12px !important;
}

.ls-admin-card-dark {
  background: rgba(13, 17, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4f7ec;
}

.ls-admin-card-dark h3 {
  color: #97ffad;
}

.ls-admin-card-dark p,
.ls-admin-card-dark .description {
  color: #9fb7aa;
}

.ls-history-action-label {
    font-family: "Poppins", sans-serif !important;
    letter-spacing: 0.01em;
    color: #00c04e !important;
    margin-top: 30px;
    text-transform: capitalize ! IMPORTANT;
    font-size: 18px !important;
}

.ls-history-action-button,
.ls-history-download {
  font-family: "Poppins", sans-serif !important;
}

.ls-history-action-button--disabled {
  opacity: 0.55;
  pointer-events: none;
  filter: grayscale(0.6);
}

.ls-table-button--disabled,
.ls-table-button:disabled {
  opacity: 0.55;
  pointer-events: none;
  filter: grayscale(0.6);
}

.ls-table-button {
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 12px !important;
  background: linear-gradient(160deg, #111820 0%, #0f1419 60%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e4f7ec !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.ls-table-button:hover,
.ls-table-button:focus-visible {
  transform: translateY(-1px) !important;
  filter: brightness(1.1) !important;
}

.ls-table-button-primary {
  background: linear-gradient(160deg, #2c9e61 0%, #095528 60%) !important;
  border-color: rgba(50, 255, 145, 0.3) !important;
}

.ls-table-button-secondary {
  background: linear-gradient(160deg, #1c2831 0%, #10171d 60%) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.ls-table-icon-button {
  padding: 8px !important;
  border-radius: 10px !important;
  min-width: 38px !important;
  justify-content: center !important;
}

.ls-table-button.ls-button-danger {
  background: linear-gradient(160deg, #3b1111 0%, #1d0b0b 60%) !important;
  border-color: rgba(255, 107, 107, 0.35) !important;
  color: #ffd6d6 !important;
}

.ls-input-dark {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #e4f7ec !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  font-family: Poppins, sans-serif !important;
}

input.regular-text.ls-input-dark {
  border-radius: 10px !important;
  width: 80px !important;
  padding: 8px 8px 8px 17px !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  text-align: center !important;
  line-height: 0em !important;
  font-family: Sora, sans-serif !important;
  margin-bottom: 10px;
}

#ls-save-settings-button {
  background: linear-gradient(160deg, #2c9e61 0%, #095528 60%);
  border-radius: 16px;
  padding: 5px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 20px 40px rgba(0, 0, 0, 0.35);
  color: #e4f7ec;
  font-size: 17px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#ls-save-settings-button:hover,
#ls-save-settings-button:focus-visible {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 9px 4px 20px 1px rgb(0 191 85 / 19%) !important;
  filter: brightness(1.05);
}

.ls-dashboard-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 14, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ls-dashboard-modal.is-visible {
  display: flex;
}

.ls-dashboard-modal-content {
  width: min(520px, 90%);
  background: #0f1419;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4f7ec;
  position: relative;
  font-family: Poppins, sans-serif !important;
}

.ls-profile-modal-content {
  width: min(720px, 94%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 90vh !important;
  overflow-y: auto !important;
  font-family: Poppins, sans-serif !important;
}

.ls-profile-subtitle {
  margin: 0 0 8px;
  color: #9fd5c1;
  font-size: 14px;
}

.ls-profile-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ls-profile-avatar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.ls-profile-avatar-preview {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(50, 255, 145, 0.25);
  background: rgba(15, 27, 36, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e4f7ec;
  font-size: 36px;
  font-weight: 600;
}

.ls-profile-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ls-profile-avatar-input {
  display: none;
}

.ls-profile-avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ls-profile-avatar-help {
  font-size: 12px;
  color: #7fb7a1;
}

.ls-profile-avatar-cropper {
  border: 1px dashed rgba(127, 216, 184, 0.4);
  border-radius: 14px;
  padding: 12px;
  background: rgba(15, 27, 36, 0.65);
  display: grid;
  gap: 12px;
}

.ls-profile-avatar-cropper img {
  max-width: 100%;
  max-height: 320px;
  border-radius: 12px;
}

.ls-profile-avatar-cropper img[src=""],
.ls-profile-avatar-cropper img:not([src]) {
  display: none;
}

.ls-profile-cropper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.ls-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.ls-profile-field {
  background: rgba(12, 18, 24, 0.8) !important;
  border: 1px solid rgba(127, 216, 184, 0.2) !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  color: #3e9e6b !important;
  font-size: 13px !important;
  outline: none !important;
  font-family: Poppins, sans-serif !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  text-transform: capitalize !important;
  font-weight: 200 !important;
}

.ls-profile-input {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  color: #e4f7ec !important;
  font-family: Poppins, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  padding: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.ls-profile-input[type="date"] {
  padding-right: 30px !important;
  background-image: url(../images/Cumple.svg) !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 18px 18px !important;
  cursor: pointer;
}

.ls-profile-input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

.ls-profile-input[type="date"]::-webkit-clear-button,
.ls-profile-input[type="date"]::-webkit-inner-spin-button {
  display: none;
}

.ls-profile-input::placeholder {
  color: rgba(228, 247, 236, 0.55) !important;
}

.ls-profile-field:focus-within {
  border-color: rgba(50, 255, 145, 0.6) !important;
  box-shadow: 0 0 0 2px rgba(50, 255, 145, 0.12) !important;
}

/* Estilos scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #243342;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #5b6e91;
}

.ls-profile-danger {
  border: 1px solid rgba(255, 89, 89, 0.4);
  border-radius: 14px;
  padding: 14px;
  background: rgba(44, 14, 14, 0.5);
  display: grid;
  gap: 10px;
}

.ls-profile-danger h4 {
  margin: 0;
  font-size: 14px;
  color: #ff8080;
  font-family: Poppins, sans-serif !important;
}

.ls-profile-danger p {
  margin: 0;
  font-size: 13px;
  color: #f0b6b6;
  font-family: Poppins, sans-serif !important;
}

.ls-profile-delete-confirm {
  display: grid;
  gap: 10px;
}

.ls-profile-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: nowrap;
}

.ls-profile-submit {
  background: linear-gradient(150deg, #2fe48b, #0c8d54) !important;
  border-color: rgba(50, 255, 145, 0.5) !important;
  color: #0b1e26 !important;
  font-weight: 600 !important;
}

.ls-profile-status {
  margin: 0;
  font-size: 13px;
  color: #9fd5c1;
  min-height: 18px;
}

.ls-client-modal-title {
  margin: 0 0 6px;
  color: #ffffff !important;
  font-size: 22px !important;
  font-family: Poppins, sans-serif !important;
}

.ls-client-total {
  margin: 0 0 12px;
  color: #cfe3d7;
  font-size: 13px;
}

.ls-client-total-amount {
  color: #32ff91;
  font-size: 16px;
  font-weight: 600;
}

.ls-dashboard-modal-close {
  position: absolute;
  top: 25px;
  right: 16px;
  background: none !important;
  border: none !important;
  color: #4d99b3 !important;
  font-size: 40px !important;
  cursor: pointer !important;
  padding: 0px !important;
  border-style: unset !important;
  line-height: 0 !important;
  opacity: 0.7 !important;
  transition: all 0.2s ease !important;
}
.ls-dashboard-modal-close:hover {
  opacity: 1 !important;
}

.ls-client-chart-note {
  margin: 12px 0 0;
  color: #cfe3d7;
  font-size: 13px;
}

.ls-client-chart {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: end;
  height: 140px;
  margin-top: 16px;
}

.ls-client-chart-bar {
  display: block;
  width: 35px !important;
  min-width: 10px !important;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(50, 255, 145, 0.9), rgba(50, 255, 145, 0.08));
  position: relative;
  outline: none;
}

.ls-client-chart-bar:focus-visible {
  box-shadow: 0 0 0 2px rgba(50, 255, 145, 0.6);
}

.ls-client-chart .ls-chart-tooltip {
  border-color: rgba(50, 255, 145, 0.35);
}

.ls-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  width: 100%;
}

.ls-table-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ls-table-action-link {
  text-decoration: none;
}

a.ls-table-action.ls-table-action-link:focus {
    box-shadow: none !important;
    border: 1px solid rgb(166 125 38) !important;
    background: rgba(255, 191, 70, 0.2) !important;
    color: #ffbf46 !important;
}

.ls-table-action .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
}

.ls-chart-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(9, 13, 18, 0.95);
  border: 1px solid rgba(125, 198, 255, 0.35);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  color: #f1fff7;
  display: grid;
  gap: 4px;
  min-width: 160px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.ls-chart-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(9, 13, 18, 0.95) transparent transparent transparent;
}

.ls-chart-column:focus-visible .ls-chart-tooltip {
  opacity: 1;
  transform: translate(-50%, -4px);
}

.ls-chart-column:focus .ls-chart-tooltip {
  opacity: 1;
  transform: translate(-50%, -4px);
}

.ls-client-chart-bar:focus-visible .ls-chart-tooltip {
  opacity: 1;
  transform: translate(-50%, -4px);
}

.ls-client-chart-bar:focus .ls-chart-tooltip {
  opacity: 1;
  transform: translate(-50%, -4px);
}

@media (hover: hover) {
  .ls-chart-column:hover .ls-chart-tooltip {
    opacity: 1;
    transform: translate(-50%, -4px);
  }

  .ls-client-chart-bar:hover .ls-chart-tooltip {
    opacity: 1;
    transform: translate(-50%, -4px);
  }
}

.ls-chart-tooltip--compact {
  min-width: auto;
  padding: 8px 10px;
  text-align: center;
}

.ls-chart-tooltip-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fb7aa;
}

.ls-chart-tooltip-value {
  font-weight: 600;
}

@media (max-width: 640px) {
  .ls-progress-body {
    display: block;
  }

  .ls-progress-summary {
    margin-top: 15px;
  }

  .ls-client-chart-bar:first-child .ls-chart-tooltip {
    left: 0;
    transform: translate(0, -4px);
  }

  .ls-client-chart-bar:last-child .ls-chart-tooltip {
    left: auto;
    right: 0;
    transform: translate(0, -4px);
  }

  .ls-client-chart-bar:first-child .ls-chart-tooltip::after {
    left: 14px;
    transform: translateX(0);
  }

  .ls-client-chart-bar:last-child .ls-chart-tooltip::after {
    left: auto;
    right: 14px;
    transform: translateX(0);
  }
}

@media (max-width: 1024px) {
  .ls-dashboard-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ls-dashboard-hero {
    flex-direction: column;
  }

  .ls-dashboard-controls {
    align-items: flex-start;
  }

  .ls-dashboard-hero h1 {
    font-size: 24px;
  }

  .ls-dashboard-table th,
  .ls-dashboard-table td {
    padding: 10px 8px;
  }
  .ls-progress-header {
    align-items: flex-start;
    display: flex;
    flex-direction: column-reverse;
  }
  .ls-progress-header {
    gap: 0px;
  }
}

body.loyalty-stamps_page_loyalty-stamps-wallets #wpbody-content,
body.loyalty-stamps_page_loyalty-stamps-wallets #wpbody-content .wrap,
body.loyalty-stamps_page_loyalty-stamps-wallets,
body.loyalty-stamps_page_loyalty-stamps-whatsapp #wpbody-content,
body.loyalty-stamps_page_loyalty-stamps-whatsapp #wpbody-content .wrap,
body.loyalty-stamps_page_loyalty-stamps-whatsapp,
body.loyalty-stamps_page_loyalty-stamps-push #wpbody-content,
body.loyalty-stamps_page_loyalty-stamps-push #wpbody-content .wrap,
body.loyalty-stamps_page_loyalty-stamps-push {
  background: #0f1316;
}

.ls-module-page h1 {
  color: #97ffad !important;
  font-family: "Poppins", sans-serif !important;
}

.ls-module-page .ls-admin-description {
  color: #d7efe2 !important;
  font-family: "Poppins", sans-serif !important;
}

.ls-module-page .ls-admin-card {
  background: linear-gradient(160deg, #111820 0%, #0f1419 60%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4f7ec;
  font-family: "Poppins", sans-serif !important;
}

.ls-module-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.ls-module-card .ls-button {
  margin-top: 8px;
}

.ls-module-toggle {
  margin-top: 0 !important;
}
