/* ONLINE PRICE — NEON LAB CHECKOUT V1 */
/* Только окна оформления, без изменения JavaScript */

.checkout-backdrop {
  background: rgba(0, 8, 5, .83) !important;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.checkout-modal {
  color: #f1f8f2 !important;
  background: #080e0d !important;
  border: 1px solid #8ef000 !important;
  box-shadow: 0 0 0 1px #aaff0022,
              0 0 40px #81ff0024,
              0 25px 80px #000b !important;
}

.checkout-head {
  background: linear-gradient(110deg,#1d351b,#101b18 70%,#080e0d) !important;
  border-bottom: 1px solid #79c900 !important;
  padding: 17px 21px !important;
}

.checkout-head h2 {
  color: #f4fff0 !important;
  font-size: 21px !important;
  font-weight: 800 !important;
}

.checkout-close {
  color: #c3ff52 !important;
  font-size: 30px !important;
}

.checkout-close:hover {
  color: white !important;
}

.checkout-body {
  color: #eef7f0 !important;
  background: #080e0d !important;
}

.checkout-body h3 {
  color: #f3fff0 !important;
  font-weight: 800 !important;
}

.checkout-summary,
.checkout-payment,
.checkout-created,
.checkout-success,
.checkout-success-card {
  background: linear-gradient(140deg,#172420,#0b1412) !important;
  border: 1px solid #395c39 !important;
  border-radius: 12px !important;
  color: #edf7ef !important;
}

.checkout-summary {
  padding: 16px !important;
}

.checkout-summary h3 {
  color: #bdff35 !important;
}

.checkout-info-row {
  color: #f0f9ee !important;
  border-bottom-color: #304638 !important;
}

.checkout-info-row span {
  color: #b0c8b6 !important;
}

.checkout-info-row strong {
  color: #edffe9 !important;
}

.checkout-summary .checkout-info-row:last-child strong {
  color: #b1ff18 !important;
  font-size: 19px !important;
}

.checkout-note,
.checkout-disclaimer,
.checkout-warning,
.checkout-success-description,
.checkout-success-label {
  color: #aec4b5 !important;
}

.checkout-choices {
  gap: 9px !important;
}

.checkout-choice {
  color: #e1f3df !important;
  background: #101a18 !important;
  border: 1px solid #4a6650 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  transition: background .15s,border-color .15s;
}

.checkout-choice:hover {
  border-color: #b0ff25 !important;
  background: #1c3020 !important;
}

.checkout-choice.selected {
  color: #0b1305 !important;
  background: linear-gradient(120deg,#d1ff43,#93ed00) !important;
  border-color: #baff2b !important;
  box-shadow: 0 0 16px #a4ff0030 !important;
}

.checkout-payment {
  padding: 16px !important;
}

.checkout-address,
.checkout-payment strong {
  color: #eaffdf !important;
}

.checkout-qr {
  background: white !important;
  border: 5px solid white;
}

.checkout-copy,
.checkout-create,
.checkout-success-copy {
  border: 0 !important;
  border-radius: 10px !important;
  color: #0a1304 !important;
  background: linear-gradient(120deg,#d0ff42,#8af000) !important;
  font-weight: 800 !important;
  box-shadow: 0 3px 0 #406d08,
              0 0 15px #98ff0028 !important;
}

.checkout-copy:hover,
.checkout-create:hover:not(:disabled),
.checkout-success-copy:hover {
  filter: brightness(1.08);
}

.checkout-copy:disabled,
.checkout-create:disabled {
  opacity: .5 !important;
}

.checkout-save-area {
  border-top: 1px solid #385b35 !important;
}

.checkout-error {
  color: #ff8f8f !important;
}

.checkout-access-code {
  color: #baff3f !important;
  background: #07100a !important;
  border: 1px solid #36562c;
}

.checkout-success h3,
.checkout-success-number,
.checkout-success-code {
  color: #baff32 !important;
}

.checkout-success-icon {
  color: #142006 !important;
  background: #baff35 !important;
}

.checkout-success-copy.copied {
  background: #68cd20 !important;
}

/* Телефон */
@media (max-width:600px) {
  .checkout-backdrop {
    padding: 8px !important;
  }

  .checkout-modal {
    width: 100% !important;
    max-height: calc(100dvh - 16px) !important;
    border-radius: 14px !important;
  }

  .checkout-head {
    padding: 13px 15px !important;
  }

  .checkout-head h2 {
    font-size: 18px !important;
  }

  .checkout-body {
    padding: 13px !important;
  }

  .checkout-summary,
  .checkout-payment {
    padding: 12px !important;
  }

  .checkout-choices {
    gap: 7px !important;
  }

  .checkout-choice {
    min-height: 46px !important;
    padding: 9px 6px !important;
    font-size: 12px !important;
  }

  .checkout-save-area {
    bottom: -13px !important;
    margin: 12px -13px -13px !important;
    padding: 12px 13px calc(12px + env(safe-area-inset-bottom,0px)) !important;
    background: #0b1411 !important;
    box-shadow: 0 -7px 20px #0009 !important;
  }

  .checkout-create {
    min-height: 50px !important;
    font-size: 15px !important;
  }
}

@media (prefers-reduced-motion:reduce) {
  .checkout-choice {transition:none !important;}
}

/* ONLINE PRICE CHECKOUT COMPACT V2 */

/* Компактное окно оформления на компьютере */
@media (min-width: 769px) {
  .checkout-backdrop {
    padding: 10px !important;
    align-items: center !important;
  }

  .checkout-modal {
    max-height: calc(100dvh - 24px) !important;
    overflow-y: auto !important;
  }

  .checkout-head {
    padding: 10px 16px !important;
  }

  .checkout-head h2 {
    font-size: 18px !important;
  }

  .checkout-body {
    padding: 12px !important;
  }

  .checkout-body h3 {
    margin: 6px 0 8px !important;
    font-size: 15px !important;
  }

  .checkout-summary,
  .checkout-payment {
    padding: 10px !important;
    margin-bottom: 10px !important;
    gap: 5px !important;
  }

  .checkout-summary h3 {
    margin-bottom: 5px !important;
  }

  .checkout-info-row {
    padding: 5px 0 !important;
    font-size: 13px !important;
  }

  .checkout-choices {
    gap: 6px !important;
    margin: 6px 0 9px !important;
  }

  .checkout-choice {
    padding: 9px !important;
  }

  .checkout-copy,
  .checkout-create {
    padding: 10px !important;
  }

  .checkout-disclaimer {
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  .checkout-save-area {
    padding-top: 10px !important;
  }
}

/* Компактная мобильная версия */
@media (max-width: 768px) {
  .checkout-head {
    padding: 10px 12px !important;
  }

  .checkout-body {
    padding: 10px !important;
  }

  .checkout-summary,
  .checkout-payment {
    padding: 9px !important;
  }

  .checkout-info-row {
    padding: 4px 0 !important;
  }
}

