/* start.css */

.start { padding: 18px 0 10px; }

.start-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.start-title {
  margin: 10px 0 8px;
  font-size: 30px;
  letter-spacing: -.5px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin: 14px 0;
}

.price {
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -.6px;
}

.secure {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
  font-size: 13px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,.12);
}

.pay-box { display: grid; gap: 10px; }

.creds {
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
}

.creds-title { font-weight: 950; margin-bottom: 10px; }

.creds-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.creds-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}

.creds-val {
  font-weight: 950;
  font-size: 16px;
  margin-top: 4px;
}

.creds-actions {
  display: grid;
  gap: 10px;
}

.badge{
  background: #ff4881;
  border: 1px solid #ffffff;
}

/* Стилизация чекбокса */
.geo-toggle input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;

  width: 20px;
  height: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
  outline: none;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
  margin-top: 2px;

  transition: all 0.2s ease;
}

.geo-toggle input[type="checkbox"]:hover {
  border-color: #ff467f;
}

.geo-toggle input[type="checkbox"]:checked {
  background-color: #ff467f;
  border-color: #ff447c;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.geo-toggle span {
  cursor: pointer;
  line-height: 1.4;
}

/*Video  */
.start-video{
  margin: 14px 0 12px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-2);
}

.start-video iframe{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

a {
  color: #ff4984;
  text-decoration: none;
}

#payBtn.is-locked{
  opacity: .9;
}
#payBtn.is-locked:hover{
  transform: none; /* чтобы не было "как будто можно" */
}

/* --- MEDIA QUERIES --- */
@media screen and (min-width: 680px) {
  .creds-grid { 
    grid-template-columns: 1fr 1fr !important; 
  }
}

@media (max-width: 980px){
  .start {
    padding: 11px 10px 20px 10px !important;
  }
  .muted {
    justify-content: center !important;
  }
}

@media screen and (min-width: 980px) {
  .start-grid {
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 14px !important;
  }
}

/* =======================
   Soft validation UI
   ======================= */
:root{
  --err-bg: rgba(255, 77, 138, .10);
  --err-border: rgba(255, 77, 138, .40);
  --err-glow: rgba(255, 77, 138, .14);
  --err-text: #a10f52;
}

.field.is-invalid .input{
  border-color: var(--err-border);
  background: var(--err-bg);
  box-shadow: 0 0 0 6px var(--err-glow);
}

.field-error{
  display:block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--err-text);
  line-height: 1.25;
  margin-top: 6px;
}

/* consents block highlight */
#consentsField.is-invalid {
    border: 1px solid var(--err-border);
    background: var(--err-bg);
    border-radius: 14px;
    padding: 5px 5px;
    box-shadow: 0 0 0 6px var(--err-glow);
    margin-bottom: 13px;
}
