/* TASK-PAYMENT-FLOW-001 + TASK-UX-004 (INPUT_RULES) */
.checkout-shell {
  min-height: 100vh;
  background: #0e0e13;
  color: #ededed;
}
.checkout-card-btn {
  width: 100%;
  min-height: 52px;
  border-radius: 0.75rem;
  border: 1px solid #272729;
  background: #151519;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.checkout-card-btn:hover,
.checkout-card-btn:focus-visible {
  border-color: hsl(25 85% 65%);
  outline: none;
  box-shadow: 0 0 0 1px hsl(25 85% 65% / 0.35);
}
.checkout-price {
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 800;
  color: hsl(25 85% 65%);
}
@media (min-width: 768px) {
  .checkout-price {
    font-size: 2.25rem;
  }
}
/* INPUT_RULES: поля крипто-формы */
.co-field {
  position: relative;
  margin-bottom: 1rem;
}
.co-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative; /* для абс. позиции .co-input-ico */
  width: 100%;
}
.co-input {
  width: 100%;
  min-height: 3rem;
  border-radius: 0.75rem;
  border: 1px solid #272729;
  background: #0e0e13;
  padding: 0 0.75rem 0 0.75rem;
  color: #ededed;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.co-input::placeholder {
  color: #6b7280;
  font-size: 0.875rem;
}
.co-input:focus {
  outline: none;
  border-color: hsl(25 85% 65%);
  box-shadow: 0 0 0 1px hsl(25 85% 65% / 0.35);
}
.co-input--ok {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.3);
}
.co-input--err {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.25);
}
.co-input-ico {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  text-align: center;
  line-height: 1.25rem;
  font-size: 0.9rem;
  flex-shrink: 0;
  pointer-events: none;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}
.co-input-ico--ok {
  color: #22c55e;
  font-size: 1.1rem;
  background: #0E0E13;
}
.co-input-ico--err {
  color: #ef4444;
  background: #0E0E13;
}
/* Паддинг для поля под иконку  */
.co-input--has-ico {
  padding-right: 1.8rem;
}
.co-field-err,
.co-email-suggest,
.co-optional-hint,
.co-hint,
.co-suggest-hint,
.co-typo {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  line-height: 1.3;
  margin-top: 4px;
  color: #9d9da8;
}
.co-field-err[role="alert"] {
  color: #ef4444;
  margin-top: 4px;
  font-size: 12px;
  display: block;
  font-style: normal;
  font-weight: 400;
}
.co-suggest-hint a,
.co-typo button {
  color: hsl(25 85% 65%);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  padding: 0;
}
.shake-err {
  animation: co-shake 0.35s ease;
}
@keyframes co-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-4px);
  }
  40% {
    transform: translateX(4px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(3px);
  }
}
.co-asterisk {
  color: hsl(25 85% 65%);
  margin-left: 0.1em;
  cursor: help;
}
