/**
 * Numberland checkout sheet — from-scratch operate UI
 * Scoped: .nl-cm-shell / .nl-sheet only · Font: numberlandfont (Dana)
 * Tokens: #009cd7 #17a1d6 #32b976 #ffb03b #2c3e50 #e4ebf2 #8fa1bb
 */

.popupform_foralert.nl-cm-shell,
.popupform_foralert.nl-cm-shell * {
  box-sizing: border-box;
}

@keyframes nl-sheet-enter {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 14px)) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes nl-sheet-exit {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 10px)) scale(0.97);
  }
}

@keyframes nl-sheet-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Shell: viewport-centered fixed panel —— */
.popupform_foralert.nl-cm-shell {
  display: flex !important;
  flex-direction: column !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  width: min(392px, calc(100vw - 24px)) !important;
  max-width: 392px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: min(84vh, 680px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow:
    0 0 0 1px rgba(15, 103, 159, 0.06),
    0 18px 50px rgba(15, 60, 100, 0.18) !important;
  text-align: right !important;
  direction: rtl;
  overflow: hidden !important;
  font-family: numberlandfont, Tahoma, sans-serif;
  color: #2c3e50;
  /* Kill global .popupform_foralert 1s transition that fights close */
  transition: none !important;
  animation: none;
  isolation: isolate;
  z-index: 99999999 !important;
  will-change: transform, opacity;
}

/* Enter only while open — do NOT put enter on base shell (removing .popupformshow would re-fire it) */
.popupform_foralert.nl-cm-shell.popupformshow {
  transform: translate(-50%, -50%) !important;
  opacity: 1 !important;
  animation: nl-sheet-enter 0.34s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.popupform_foralert.nl-cm-shell.nl-cm-leaving {
  animation: nl-sheet-exit 0.26s cubic-bezier(0.4, 0, 1, 1) both !important;
  pointer-events: none !important;
}

.popupform_foralert.nl-cm-shell .swal2-icon,
.popupform_foralert.nl-cm-shell .showalert_div_a_btn_div,
.popupform_foralert.nl-cm-shell .showalert_div_a_title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.popupform_foralert.nl-cm-shell .showalert_div_a_html {
  margin: 0 !important;
  padding: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Close */
.popupform_foralert.nl-cm-shell .nl-cm__close {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  z-index: 8;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #5a6d82;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.popupform_foralert.nl-cm-shell .nl-cm__close:hover,
.popupform_foralert.nl-cm-shell .nl-cm__close:focus-visible {
  outline: none;
  background: #ffe8e8;
  color: #c0392b;
  transform: rotate(90deg);
}

.popupform_foralert.nl-cm-shell .closearea,
.popupform_foralert.nl-cm-shell .close {
  display: none !important;
}

/* —— Sheet layout —— */
.nl-sheet {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: min(84vh, 680px);
  width: 100%;
  direction: rtl;
  text-align: right;
  font-family: numberlandfont, Tahoma, sans-serif;
}

.nl-sheet__head {
  flex: 0 0 auto;
  padding: 20px 48px 12px 20px;
  background:
    linear-gradient(180deg, rgba(0, 156, 215, 0.07) 0%, rgba(255, 255, 255, 0) 100%);
  position: relative;
}

/* —— Credential modal: product-first, no stacked boxes —— */
.nl-sheet--cred .nl-sheet__head {
  padding: 22px 48px 14px 20px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(0, 156, 215, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, #f4fbfe 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(228, 235, 242, 0.85);
}

.nl-sheet__brand {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.nl-sheet__brand-glow {
  position: absolute;
  top: -30px;
  left: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 59, 0.22) 0%, transparent 70%);
}

.nl-sheet--cred .nl-sheet__title {
  font-size: 18px;
  letter-spacing: -0.02em;
  max-width: 100%;
}

.nl-sheet--cred .nl-sheet__subtitle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 156, 215, 0.08);
  color: #0f679f;
  font-size: 11.5px;
  font-weight: 700;
}

.nl-sheet__help {
  margin: 0 0 2px;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  color: #5a6d82;
  text-align: justify;
}

/* Activation guide — before fields; explains how to fill */
.nl-sheet__guide {
  margin: 4px 0 2px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f5fafd;
  border: 1px solid #d3e7f3;
}

.nl-sheet__guide-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #0d5f94;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.nl-sheet__guide-body {
  font-size: 12.5px;
  line-height: 1.75;
  color: #4a6074;
  text-align: justify;
}

.nl-sheet__guide-body a {
  color: #009cd7;
}

.nl-sheet__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.nl-sheet__field-label {
  font-size: 12px;
  font-weight: 700;
  color: #5a6d82;
  padding-right: 2px;
}

.nl-sheet--cred .nl-sheet__fields {
  gap: 12px;
  margin-top: 4px;
}

.nl-sheet--cred .nl-sheet__field input {
  background: #fff !important;
  border-color: #d5e2ee !important;
  min-height: 46px;
  font-size: 14px !important;
}

.nl-sheet--cred .nl-sheet__field input:focus {
  border-color: #009cd7 !important;
  box-shadow: 0 0 0 4px rgba(0, 156, 215, 0.12);
}

.nl-sheet__fold {
  margin: 2px 0 0;
  border-radius: 12px;
  background: transparent;
  border: 0;
}

.nl-sheet__fold > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: #009cd7;
  user-select: none;
}

.nl-sheet__fold > summary::-webkit-details-marker { display: none; }

.nl-sheet__fold > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #009cd7;
  border-bottom: 1.5px solid #009cd7;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  flex: 0 0 auto;
  margin-left: 2px;
}

.nl-sheet__fold[open] > summary::after {
  transform: rotate(-135deg);
}

.nl-sheet__fold-body {
  padding: 0 2px 6px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #5a6d82;
  text-align: justify;
}

.nl-sheet--cred .nl-sheet__stack {
  gap: 14px;
}

.nl-sheet--cred .nl-sheet__foot {
  border-top: 0;
  padding-top: 8px;
  background: #fff;
}

.nl-sheet--cred .account_pay_java_inpuspics:not(:empty) {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.nl-sheet--cred .nl-sheet__field--file input[type="file"] {
  padding: 10px 12px !important;
  border: 1.5px dashed #c5d6e6 !important;
  border-radius: 12px !important;
  background: #f7fafc !important;
  font-size: 12.5px !important;
  color: #5a6d82 !important;
}

.nl-sheet--cred .nl-sheet__result:empty {
  display: none;
}

.nl-sheet__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a2b3c;
}

.nl-sheet__subtitle {
  margin: 6px 0 0;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
  color: #8fa1bb;
}

.nl-sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 20px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 156, 215, 0.3) transparent;
  animation: nl-sheet-fade 0.4s 0.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nl-sheet__body::-webkit-scrollbar { width: 5px; }
.nl-sheet__body::-webkit-scrollbar-thumb {
  background: rgba(0, 156, 215, 0.3);
  border-radius: 99px;
}

.nl-sheet__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Selected product */
.nl-sheet__chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: linear-gradient(125deg, #009cd7 0%, #0ea5d4 55%, #17a1d6 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 156, 215, 0.28);
}

.nl-sheet__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb03b;
  box-shadow: 0 0 0 3px rgba(255, 176, 59, 0.3);
  flex: 0 0 auto;
}

.nl-sheet__chip-text {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}

.nl-sheet__chip--soft {
  background: #f0f9fd;
  color: #0f679f;
  box-shadow: none;
  border: 1px solid rgba(0, 156, 215, 0.18);
}

.nl-sheet__chip--soft .nl-sheet__chip-dot {
  background: #009cd7;
  box-shadow: 0 0 0 3px rgba(0, 156, 215, 0.15);
}

/* Tip / rules */
.nl-sheet__tip {
  margin: 0;
  padding: 11px 12px;
  border-radius: 12px;
  background: #f5fafc;
  border: 1px solid #e4ebf2;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.75;
  color: #3a4d63;
  text-align: justify;
}

.nl-sheet__tip--accent {
  background: rgba(0, 156, 215, 0.06);
  border-color: rgba(0, 156, 215, 0.16);
  color: #0f679f;
  font-weight: 600;
}

.nl-sheet__tip .service_account_pay_befortext_titr {
  color: #009cd7;
  font-weight: 700;
}

/* Form */
.nl-sheet__form-label {
  margin: 2px 2px -2px;
  font-size: 11.5px;
  font-weight: 700;
  color: #8fa1bb;
}

.nl-sheet__fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nl-sheet__fields > div,
.nl-sheet .account_pay_java_inputs > div,
.nl-sheet .account_pay_java_inputs_order > div,
.nl-sheet .requiredkey_div_g > div {
  margin: 0;
}

.nl-sheet input[type="text"],
.nl-sheet input[type="email"],
.nl-sheet input[type="password"],
.nl-sheet input:not([type]),
.nl-sheet textarea,
.nl-sheet select,
.nl-sheet .account_pay_java_inputs input,
.nl-sheet .account_pay_java_inputs_order input,
.nl-sheet .requiredkey_div_g input[type="text"],
.nl-sheet .service_account_pay_payment_info_inputs,
.popupform_foralert.nl-cm-shell .nl-sheet input[type="text"],
.popupform_foralert.nl-cm-shell .nl-sheet textarea,
.popupform_foralert.nl-cm-shell .nl-sheet select {
  width: 100% !important;
  margin: 0;
  padding: 12px 13px !important;
  border: 1.5px solid #dce6ef !important;
  border-radius: 12px !important;
  background: #fbfcfd !important;
  color: #2c3e50 !important;
  font-size: 13.5px !important;
  font-family: inherit !important;
  font-weight: 500;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

/* Select: custom chevron (native arrow removed by appearance:none) */
.nl-sheet select,
.nl-sheet .biuty_select,
.nl-sheet select.biuty_select,
.nl-sheet select.service_account_pay_payment_info_inputs,
.popupform_foralert.nl-cm-shell .nl-sheet select {
  cursor: pointer !important;
  padding: 12px 14px 12px 40px !important;
  background-color: #fbfcfd !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.2L7 9.2L11 5.2' stroke='%23009cd7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 14px center !important;
  background-size: 14px 14px !important;
}

.nl-sheet input::placeholder,
.nl-sheet textarea::placeholder {
  color: #8fa1bb;
  opacity: 1;
  font-weight: 400;
}

.nl-sheet input:hover,
.nl-sheet textarea:hover,
.nl-sheet select:hover {
  border-color: #b7cddd !important;
}

.nl-sheet input:focus,
.nl-sheet textarea:focus {
  border-color: #009cd7 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(0, 156, 215, 0.14);
}

.nl-sheet select:focus {
  border-color: #009cd7 !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.2L7 9.2L11 5.2' stroke='%23009cd7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 14px center !important;
  background-size: 14px 14px !important;
  box-shadow: 0 0 0 3px rgba(0, 156, 215, 0.14);
}

.nl-sheet input[type="file"],
.nl-sheet .zamimehinput1 {
  padding: 11px !important;
  border-style: dashed !important;
  border-color: #9ec7dc !important;
  background: #f7fcfe !important;
  cursor: pointer;
}

.nl-sheet .account_pay_java_inpuspics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nl-sheet .account_pay_java_inpuspics > div:nth-child(odd) {
  font-size: 12px;
  font-weight: 700;
  color: #5a6d82;
}

.nl-sheet .biuty_select,
.nl-sheet select.biuty_select {
  width: 100% !important;
  border-radius: 12px !important;
}

.nl-sheet .account_text_befor {
  margin: 0 !important;
  font-size: 12.5px;
  line-height: 1.7;
  color: #3a4d63;
}

.nl-sheet__result:empty,
.nl-sheet #savemyaccountforupdatediv:empty,
.nl-sheet #savemycardsforupdatediv:empty,
.nl-sheet #extend_account_type_more_0_save_response:empty,
.nl-sheet #resultpaysim:empty,
.nl-sheet #resultpaysim2:empty,
.nl-sheet #np_cart:empty {
  display: none;
}

.nl-sheet__result:not(:empty),
.nl-sheet #savemyaccountforupdatediv:not(:empty),
.nl-sheet #savemycardsforupdatediv:not(:empty),
.nl-sheet #extend_account_type_more_0_save_response:not(:empty) {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef8f3;
  border: 1px solid rgba(50, 185, 118, 0.22);
  font-size: 12.5px;
  line-height: 1.55;
  color: #1f6b48;
}

/* Media / gift card */
.nl-sheet__media {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #f5fafc;
  border: 1px solid #e4ebf2;
}

.nl-sheet__media img {
  width: 64px;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 6px 14px rgba(44, 62, 80, 0.12);
}

.nl-sheet__media-meta {
  flex: 1;
  min-width: 0;
}

.nl-sheet__media-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1a2b3c;
  line-height: 1.4;
}

.nl-sheet__media-price {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #009cd7;
}

.nl-sheet .pay_product_general_popup {
  display: flex !important;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  padding: 12px;
  border-radius: 14px;
  background: #f5fafc;
  border: 1px solid #e4ebf2;
}

.nl-sheet .pay_product_general_popup1 img {
  width: 64px !important;
  border-radius: 12px;
  display: block;
}

.nl-sheet .pay_product_general_popup2_cadr {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: right !important;
  font-weight: 700;
  font-size: 13.5px;
  color: #1a2b3c;
}

.nl-sheet .pay_product_general_popup2_price {
  padding: 4px 0 0 !important;
  text-align: right !important;
  color: #009cd7;
  font-size: 13px;
  font-weight: 700;
}

.nl-sheet .pay_product_general_text_before_pay,
.nl-sheet .acceptance_required_class {
  font-size: 12.5px;
  line-height: 1.7;
  color: #3a4d63;
}

.nl-sheet .acceptance_required_class {
  margin-top: 8px !important;
  color: #009cd7 !important;
  font-weight: 700 !important;
}

.nl-sheet .service_account_pay_payment_info_json_optionjavadivselect_box {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 !important;
}

.nl-sheet .service_account_pay_payment_info_json_optionjavadiv1 {
  flex: 1 1 40%;
  margin: 0 !important;
  padding: 11px 8px !important;
  border-radius: 11px !important;
  background: #eef3f7 !important;
  color: #5a6d82 !important;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}

.nl-sheet .service_account_pay_payment_info_json_optionjavadiv1_active {
  background: linear-gradient(135deg, #17a1d6, #009cd7) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(0, 156, 215, 0.25);
}

.nl-sheet #textareasimcodepostiaddress,
.nl-sheet textarea {
  min-height: 110px;
  resize: vertical;
}

.nl-sheet #lastaddresssim {
  font-size: 12.5px;
  font-weight: 700;
  color: #2c3e50;
}

/* Footer */
.nl-sheet__foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 20px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 28%);
  border-top: 1px solid rgba(228, 235, 242, 0.9);
}

.nl-sheet__foot--row {
  flex-direction: row;
}

.nl-sheet__foot--row .nl-sheet__btn {
  flex: 1;
}

.nl-sheet__btn,
.popupform_foralert.nl-cm-shell .nl-sheet button.nl-sheet__btn,
.popupform_foralert.nl-cm-shell .nl-sheet input.nl-sheet__btn[type="submit"],
.popupform_foralert.nl-cm-shell .nl-sheet .button.nl-sheet__btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 46px;
  margin: 0 !important;
  padding: 11px 14px !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg, #17a1d6 0%, #009cd7 48%, #0e8fbf 100%) !important;
  color: #fff !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 156, 215, 0.32);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.nl-sheet__btn:hover,
.popupform_foralert.nl-cm-shell .nl-sheet button.nl-sheet__btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 156, 215, 0.36);
}

.nl-sheet__btn:active {
  transform: translateY(0);
}

.nl-sheet__btn--success {
  background: linear-gradient(135deg, #3ec987 0%, #32b976 55%, #28a868 100%) !important;
  box-shadow: 0 8px 18px rgba(50, 185, 118, 0.32) !important;
}

.nl-sheet__btn--ghost,
.popupform_foralert.nl-cm-shell .nl-sheet button.nl-sheet__btn--ghost {
  background: #fff !important;
  color: #5a6d82 !important;
  border: 1.5px solid #dce6ef !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

.nl-sheet__btn--ghost:hover,
.popupform_foralert.nl-cm-shell .nl-sheet button.nl-sheet__btn--ghost:hover {
  background: #f5fafc !important;
  color: #2c3e50 !important;
  filter: none;
  box-shadow: none !important;
}

/* legacy class bridges used by older builders */
.nl-cm,
.nl-cm__hero,
.nl-cm__actions,
.nl-cm__fields,
.nl-cm__order,
.nl-cm__uploads,
.nl-cm__body,
.nl-cm__notice,
.nl-cm__confirm-text,
.nl-cm__confirm-actions {
  /* absorbed into .nl-sheet — keep harmless if old markup appears */
}

@media (max-width: 460px) {
  .popupform_foralert.nl-cm-shell {
    width: calc(100vw - 16px) !important;
    max-width: none !important;
    max-height: calc(100vh - 20px) !important;
    border-radius: 20px !important;
  }

  .nl-sheet {
    max-height: calc(100vh - 20px);
  }

  .nl-sheet__head {
    padding: 18px 44px 10px 16px;
  }

  .nl-sheet__title {
    font-size: 16px;
  }

  .nl-sheet__body {
    padding: 2px 16px 6px;
  }

  .nl-sheet__foot {
    padding: 10px 16px 16px;
  }

  .nl-sheet__foot--row {
    flex-direction: column-reverse;
  }

  .popupform_foralert.nl-cm-shell .nl-cm__close {
    top: 12px !important;
    left: 12px !important;
    width: 32px;
    height: 32px;
  }

  .nl-sheet__btn {
    min-height: 44px;
    font-size: 14px !important;
  }
}

html.nl-cm-dark .popupform_foralert.nl-cm-shell {
  background: #16213e !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45) !important;
  color: #e8eef5;
}

html.nl-cm-dark .nl-sheet__head {
  background: linear-gradient(180deg, rgba(0, 156, 215, 0.14) 0%, transparent 100%);
}

html.nl-cm-dark .nl-sheet__title { color: #e8eef5; }
html.nl-cm-dark .nl-sheet__subtitle { color: #8fa1bb; }

html.nl-cm-dark .nl-sheet__tip,
html.nl-cm-dark .nl-sheet__media,
html.nl-cm-dark .nl-sheet .pay_product_general_popup {
  background: #0f3460;
  border-color: #1a3a5c;
  color: #c4efff;
}

html.nl-cm-dark .popupform_foralert.nl-cm-shell .nl-sheet input,
html.nl-cm-dark .popupform_foralert.nl-cm-shell .nl-sheet textarea,
html.nl-cm-dark .popupform_foralert.nl-cm-shell .nl-sheet select {
  background: #0f3460 !important;
  border-color: #1a3a5c !important;
  color: #e8eef5 !important;
}

html.nl-cm-dark .popupform_foralert.nl-cm-shell .nl-sheet select,
html.nl-cm-dark .nl-sheet select,
html.nl-cm-dark .nl-sheet .biuty_select {
  background-color: #0f3460 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.2L7 9.2L11 5.2' stroke='%237fd4f5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 14px center !important;
  background-size: 14px 14px !important;
}

html.nl-cm-dark .nl-sheet select:focus {
  background-color: #0f3460 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.2L7 9.2L11 5.2' stroke='%237fd4f5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 14px center !important;
  background-size: 14px 14px !important;
}

html.nl-cm-dark .nl-sheet__foot {
  background: linear-gradient(180deg, rgba(22, 33, 62, 0) 0%, #16213e 28%);
  border-top-color: #1a3a5c;
}

html.nl-cm-dark .nl-sheet--cred .nl-sheet__head {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(0, 156, 215, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, #0f3460 0%, #16213e 100%);
  border-bottom-color: #1a3a5c;
}

html.nl-cm-dark .nl-sheet--cred .nl-sheet__subtitle {
  background: rgba(0, 156, 215, 0.16);
  color: #7fd4f5;
}

html.nl-cm-dark .nl-sheet__help,
html.nl-cm-dark .nl-sheet__fold-body,
html.nl-cm-dark .nl-sheet__guide-body,
html.nl-cm-dark .nl-sheet__field-label {
  color: #a8bfd4;
}

html.nl-cm-dark .nl-sheet__fold > summary,
html.nl-cm-dark .nl-sheet__guide-title {
  color: #7fd4f5;
}

html.nl-cm-dark .nl-sheet__guide {
  background: rgba(0, 156, 215, 0.1);
  border-color: #1a3a5c;
}

html.nl-cm-dark .nl-sheet--cred .nl-sheet__foot {
  background: #16213e;
}

html.nl-cm-dark .nl-sheet--cred .nl-sheet__field input {
  background: #0f3460 !important;
  border-color: #1a3a5c !important;
  color: #e8eef5 !important;
}

html.nl-cm-dark .nl-sheet--cred .nl-sheet__field input:focus {
  border-color: #009cd7 !important;
  box-shadow: 0 0 0 4px rgba(0, 156, 215, 0.2);
}

html.nl-cm-dark .nl-sheet--cred .nl-sheet__field--file input[type="file"] {
  background: #0f3460 !important;
  border-color: #1a3a5c !important;
  color: #a8bfd4 !important;
}

@media (prefers-reduced-motion: reduce) {
  .popupform_foralert.nl-cm-shell,
  .popupform_foralert.nl-cm-shell.popupformshow,
  .popupform_foralert.nl-cm-shell.nl-cm-leaving,
  .nl-sheet__body {
    animation: none !important;
    transition: none !important;
  }
}
