/* General Form Styles */
#pswPaymentForm {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 2px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Grid Layout */
.psw-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Full-width for single column fields */
.psw-grid .full-width {
    grid-column: span 2;
}

/* Input & Select Styling */
#pswPaymentForm input {
    width: 100%;
    border: 2px solid #686e77;
    border-radius: 0;
    font-size: 18px;
    box-sizing: border-box;
    padding: 0px 20px;
    height: 50px;
    color: #112337;
}
#pswPaymentForm select {
    width: 100%;
    border: 2px solid #686e77;
    background-color: transparent;
    border-radius: 0;
    font-size: 18px;
    box-sizing: border-box;
    padding: 0px 20px;
    height: 50px;
    color: #112337;
}
#pswPaymentForm input:focus,
#pswPaymentForm select:focus,
#ccnumber:focus {
    border-color: #204ce5;
    outline: none;
}

/* Form field labels */
#pswPaymentForm label {
    display: none;
}

/* hCaptcha Style */
.h-captcha {
    line-height: 0;
}

/* Button Styling */
#dpayButton {
  width: 100% !important;
  padding: 12px !important;
  background: #204ce5;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700;
  text-transform: uppercase;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition-duration: var(--bde-transition-duration) !important;
}

#dpayButton:hover {
    background: #0E2C50 !important;
    border-color: #0E2C50 !important;
}

/* Responsive: Stack fields on smaller screens */
@media screen and (max-width: 600px) {
    .psw-grid {
        grid-template-columns: 1fr;
    }
    
    .psw-grid .full-width {
        grid-column: span 1;
    }
}