/* ===== PAGE WRAPPER ===== */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f4f6f8;
  color: #222;
}

.payment-wrapper {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 40px;
}

/* ===== HEADER ===== */
.payment-header {
  text-align: center;
  margin-bottom: 35px;
}

.logo {
  height: 70px;
  margin-bottom: 15px;
}

.payment-header h1 {
  margin: 0;
  font-size: 28px;
}

.subtitle {
  margin-top: 6px;
  font-size: 16px;
  color: #555;
}

/* ===== FORM ===== */
.payment-form {
  width: 100%;
}

/* Grid system */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: span 2;
}

/* Labels */
label {
  font-weight: 600;
  margin-bottom: 6px;
}

/* Inputs */
.form-input,
iframe {
  height: 42px;
  padding: 8px 12px;
  font-size: 15px;
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  box-sizing: border-box;
  width: 100%;
}

iframe {
  border: 1px solid #cfd6dc;
}

/* ===== BUTTON ===== */
.pay-button {
  width: 100%;
  padding: 15px;
  font-size: 17px;
  background: #0b4dbb;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.pay-button:hover {
  background: #083c93;
}

/* ===== FOOTER NOTE ===== */
.security-note {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #555;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .payment-wrapper {
    margin: 20px;
    padding: 25px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

  .logo {
    height: 60px;
  }
}
.grecaptcha-badge {
  visibility: hidden !important;
}
/* ===============================
   PAY BUTTON – NORMAL STATE
   =============================== */
button.pay-button {
  background: #0b3ea8;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s ease;
}

/* Hover ONLY when enabled */
button.pay-button:not(:disabled):hover {
  background: #092f7a;
}

/* ===============================
   🔒 LOCKED / DISABLED STATE
   =============================== */
button.pay-button:disabled,
button.pay-button:disabled:hover,
button.pay-button:disabled:focus,
button.pay-button:disabled:active {
  background: #b8b8b8 !important;
  color: #ffffff !important;

  cursor: not-allowed !important;
  pointer-events: none !important;

  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

/* ===============================
   💀 ELEMENTOR OVERRIDE KILL
   =============================== */
.elementor button.pay-button:disabled,
.elementor button.pay-button:disabled:hover {
  background: #b8b8b8 !important;
  cursor: not-allowed !important;
}
/* ===============================
   💀 ABSOLUTELY DEAD PAY BUTTON
   =============================== */
button.pay-button[data-locked="true"],
button.pay-button[data-locked="true"]:hover,
button.pay-button[data-locked="true"]:active,
button.pay-button[data-locked="true"]:focus,
.elementor button.pay-button[data-locked="true"],
.elementor button.pay-button[data-locked="true"]:hover {
  background: #b5b5b5 !important;
  color: #ffffff !important;

  cursor: not-allowed !important;
  pointer-events: none !important;

  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

.record-requirements {
  background: #f8f9fb;
  border: 1px solid #dcdfe4;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #333;
}

.record-requirements h3 {
  margin-top: 0;
  font-size: 16px;
  color: #1f2a44;
}

.record-requirements ul {
  margin: 12px 0;
  padding-left: 18px;
}

.record-requirements li {
  margin-bottom: 6px;
}

.record-requirements .warning-text {
  color: #7a1f1f;
}

.record-requirements .note {
  font-size: 13px;
  color: #555;
}
/* ===============================
   AGREEMENT SECTION (CLEAN)
   =============================== */

.agreement-box {
  margin: 20px 0 14px;
  padding: 14px 16px;
  background: #f9fafc;
  border: 1px solid #e1e6ef;
  border-radius: 8px;
}

.agreement-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #1f2937;
}

.agreement-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  cursor: pointer;
}

.agreement-label a {
  color: #0b4dbb;
  font-weight: 600;
  text-decoration: underline;
}

.agreement-label a:hover {
  text-decoration: none;
}

/* Clarification text */
.agreement-note {
  margin: 10px 0 0 32px;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}

/* ===============================
   MOBILE POLISH
   =============================== */
@media (max-width: 480px) {
  .agreement-label {
    font-size: 16px;
  }

  .agreement-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
  }

  .agreement-note {
    margin-left: 0;
    padding-left: 32px;
  }
}
