/* =========================================================
   payment-core.css
   Общие стили для всех форм оплаты
   ========================================================= */

/* Контейнер формы */
.payment-container {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
  box-sizing: border-box;
}

/* Сообщения (аккаунт / баланс) */
#account-pay,
#amount-pay {
  display: none; /* показываем через JS */
  background: none;
  padding: 0;
  margin: 6px 0 0 0;
  width: 100%;
  text-align: left;
  font-size: 14px;
  line-height: 1.3;
}

/* Текст транзакции/статуса */
#transnumber {
  margin: 10px 0;
  font-size: 14px;
  font-weight: 600;
}
#transnumber.text-warning { color: #f57c00; }
#transnumber.text-danger  { color: #d32f2f; }

/* Общая кнопка сабмита */
#pay-common {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  background: #0073aa;
}
#pay-common:hover { background: #005f8d; }

/* Отключённое состояние */
.is-disabled, [disabled].is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* Обнуление форм CF7 */
form.wpcf7-form { margin: 0; padding: 0; }

/* Красная маленькая кнопка */
.my.button-small {
  width: 25% !important;
  margin-left: 15px;
  background-color: #FF3838 !important;
  color: #fff !important;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 640px) {
  .payment-container { padding: 12px; }
  .my.button-small {
    width: 40% !important;
    margin-left: 0;
    margin-top: 8px;
    display: inline-block;
  }
}

/* =========================================================
   FORM 2 – Steam / SBP / VISA оформление
   ========================================================= */



/* Равномерные отступы между секциями */
.form2 > * + * {
  margin-top: 18px;
}

/* Заголовки секций */
.form2 label {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.3px;
}

/* Поля ввода */
.form2 input[type="text"],
.form2 input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.9) !important;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.form2 input::placeholder {
  color: rgba(255,255,255,0.5);
}
.form2 input[type="text"]:focus,
.form2 input[type="email"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px #5a2bff, 0 0 10px rgba(90,43,255,0.6);
  background: rgba(255,255,255,0.06);
}

/* Блок выбора суммы */
.form2 .amount-buttons {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 20px;
}
.form2 .amount-btn {
  flex: 1;
  height: 55px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}
.form2 .amount-btn:hover {
  background: rgba(90,43,255,0.25);
  transform: translateY(-1px);
}
.form2 .amount-btn.active {
  background: #5a2bff;
  color: #fff;
  box-shadow: 0 0 10px rgba(90,43,255,0.6);
}

/* Баланс */
.form2 #amount-pay {
  color: #7fffa5;
  font-size: 13px;
}

/* Кнопки оплаты */
.form2 .payment-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.form2 .pay-icon-btn {
  flex: 1;
  max-width: 48%;
  height: 55px;
  background: #1E2A47;
  border: 2px solid #00bcd4;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form2 .pay-icon-btn:hover {
  background: #00bcd4;
  box-shadow: 0 0 14px rgba(0,188,212,0.7);
  transform: translateY(-1px);
}
.form2 .pay-icon-btn img {
  height: 26px;
  transition: transform 0.2s ease;
}
.form2 .pay-icon-btn:hover img {
  transform: scale(1.05);
}

/* Дополнительное пространство под последним инпутом */
.form2 input[type="email"] {
  margin-bottom: 10px;
}

