/* =========================================================
   payment-core.css
   Исправленный стиль формы оплаты Steam (v7)
   ========================================================= */

/* Общие параметры */
.form2 {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin: 0 auto;
  font-family: "Inter", sans-serif;
}
#transnumber {
color: #fff;
}

/* ===== Верхний блок ===== */
.form2-top {
  background: linear-gradient(135deg, #3b00ff 0%, #6a22ff 100%);
  padding: 30px;
  color: #fff;
	border-radius: 16px;
}

/* ===== Нижний блок ===== */
.form2-bottom {
  background: #9ce08d;
  padding: 25px 30px;
  text-align: center;
	border-radius: 16px;
	margin-top: 2em;
}

/* ===== Метки ===== */
.form2 label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
}

/* ===== Поля ввода ===== */
.form2 input[type="text"],
.form2 input[type="email"] {
  width: 100%;
  padding: 10px 4px;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  margin-bottom: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form2 input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form2 input[type="text"]:focus,
.form2 input[type="email"]:focus {
  border-bottom-color: #f6ff00;
  outline: none;
  background: transparent;
}

/* ===== Блок выбора суммы ===== */
.amount-buttons {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}

.amount-btn {
  flex: 1;
  background: #ffffff;
  color: #3b00ff;
  border: 2px solid #ffffff;
  border-radius: 8px;
  padding: 12px 0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.amount-btn:hover {
  background: #efeefe;
}
.amount-btn.active {
  background: #3b00ff;
  color: #fff;
  border-color: #3b00ff;
}

/* ===== Баланс / сообщение ===== */
#amount-pay {
  color: #222;
  font-weight: 600;
  margin-top: 10px;
}

/* ===== Кнопки оплаты ===== */
.payment-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 15px;
}

.pay-icon-btn {
  flex: 1;
  height: 60px;
  border: 1px solid #3b00ff!important;
  border-radius: 10px!important;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
	padding: 0px!important;
	
}

.pay-icon-btn:hover {
  background: #3b00ff;
  border-color: #3b00ff;
  transform: translateY(-2px);
}

.pay-icon-btn img {
  height: 28px;
  transition: filter 0.3s ease;
}

.pay-icon-btn:hover img {
  filter: brightness(0) invert(1);
}

/* ===== Баланс и статусы ===== */
#account-pay {
  font-size: 14px;
  margin-top: 6px;
  color: #f6ff00;
}

/* ===== Мобильная адаптация ===== */
@media (max-width: 640px) {
  .form2-top,
  .form2-bottom {
    padding: 20px;
  }

  .amount-btn {
    font-size: 14px;
  }

  .pay-icon-btn {
    height: 50px;
  }
}
