/**
 * Checkout payment fields — presentation only.
 * Does not change Hosted Fields IDs, names, or JS behavior.
 */

/* White card around payment inputs (inside existing blue checkout border) */
.payment-section-div .credit-card-details {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  padding: 25px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.payment-section-div .credit-card-details .payment-method-second-text {
  margin-top: 0;
  margin-bottom: 20px;
  text-align: left;
  font-weight: 700;
  color: #374151;
}

/* Monster Hosted Fields layout */
.monster-hosted-fields {
  width: 100%;
}

.monster-hosted-fields .form-group {
  margin-bottom: 20px;
}

.monster-hosted-fields .form-group:last-child {
  margin-bottom: 0;
}

.monster-hosted-fields label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #4b5563;
  line-height: 1.3;
}

.monster-hosted-fields .payment-field.form-control,
.monster-hosted-fields .payment-field {
  display: block;
  width: 100%;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #ffffff;
  font-size: 15px;
  line-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
}

.monster-hosted-fields .payment-field.form-control:focus,
.monster-hosted-fields .payment-field:focus,
.monster-hosted-fields .payment-field.form-control:focus-within,
.monster-hosted-fields .payment-field:focus-within,
.monster-hosted-fields .hf-field-focus,
.monster-hosted-fields .payment-field.hf-focused {
  border-color: #2b7bc7;
  box-shadow: 0 0 0 3px rgba(43, 123, 199, 0.18);
  outline: none;
}

.monster-hosted-fields .error_msg {
  margin-top: 6px;
  font-size: 13px;
}

.monster-hosted-fields .row {
  margin-left: -8px;
  margin-right: -8px;
}

.monster-hosted-fields .row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.monster-hosted-fields .row + .row {
  margin-top: 0;
}

.monster-hosted-fields .mt-3 {
  margin-top: 0 !important;
}

/* Stripe Elements path (same visual language; IDs unchanged) */
.payment-section-div .credit-card-details .form-input-div,
.payment-section-div .credit-card-details .last-input-div {
  margin-bottom: 20px;
}

.payment-section-div .credit-card-details .cardHolderName,
.payment-section-div .credit-card-details input.cardHolderName,
.payment-section-div .credit-card-details .form-control.cardHolderName {
  height: 48px;
  min-height: 48px;
  box-sizing: border-box;
  width: 100%;
  padding: 0 14px;
  margin-bottom: 0;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #ffffff;
  font-size: 15px;
  line-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-section-div .credit-card-details .cardHolderName:focus,
.payment-section-div .credit-card-details input.cardHolderName:focus,
.payment-section-div .credit-card-details .form-control.cardHolderName:focus,
.payment-section-div .credit-card-details .form-control.cardHolderName.StripeElement--focus {
  border-color: #2b7bc7;
  box-shadow: 0 0 0 3px rgba(43, 123, 199, 0.18);
  outline: none;
}

.payment-section-div .credit-card-details .expiration-cvv {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
}

.payment-section-div .credit-card-details .expiration-cvv > div {
  flex: 1;
  min-width: 0;
}

/* CTA button — yellow, taller, rounded, hover */
.payment-section-div .payment-section-button,
.payment-section-form .payment-section-button {
  display: block;
  width: 100%;
  max-width: 420px;
  min-height: 54px;
  margin: 8px auto 0;
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  background-color: #ffc107;
  color: #1f2937;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.payment-section-div .payment-section-button:hover,
.payment-section-form .payment-section-button:hover {
  background-color: #e0a800;
  box-shadow: 0 4px 12px rgba(224, 168, 0, 0.35);
  transform: translateY(-1px);
}

.payment-section-div .payment-section-button:active,
.payment-section-form .payment-section-button:active {
  transform: translateY(0);
  box-shadow: none;
}

.payment-section-div .payment-section-button:disabled,
.payment-section-form .payment-section-button:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 767.98px) {
  .payment-section-div .credit-card-details {
    padding: 20px;
  }

  .payment-section-div .payment-section-button,
  .payment-section-form .payment-section-button {
    max-width: 100%;
  }
}
