/**
 * PowerTranz Public CSS
 */

/* Wrapper styling */
#wc-powertranz-cc-form {
  margin: 10px 0;
  padding: 0;
  border: 0;
  background: transparent !important;
}

/* Form rows */
#wc-powertranz-cc-form .form-row {
  padding: 0;
  margin: 0 0 15px;
  width: 100%;
  float: none;
  clear: both;
}

/* Labels */
#wc-powertranz-cc-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.5;
  color: #333;
}

/* Inputs - Force full width and better styling */
#wc-powertranz-cc-form input[type="text"],
#wc-powertranz-cc-form input[type="password"],
#wc-powertranz-cc-form input[type="tel"] {
  width: 100% !important;
  height: 44px !important;
  padding: 0 12px !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  font-size: 15px !important;
  background-color: #fff !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease;
  margin: 0;
}

#wc-powertranz-cc-form input:focus {
  border-color: #007cba !important;
  outline: none;
  box-shadow: 0 0 0 1px #007cba !important;
}

/* Layout for Expiry and CVC - Side by Side */
#wc-powertranz-cc-form .form-row-first {
  width: 48% !important;
  float: left !important;
  margin-right: 4% !important;
  clear: none !important;
}

#wc-powertranz-cc-form .form-row-last {
  width: 48% !important;
  float: right !important;
  margin-right: 0 !important;
  clear: none !important;
}

/* Clearfix */
#wc-powertranz-cc-form .clear {
  clear: both;
  display: block;
  width: 100%;
  height: 0;
}

/* Placeholder styling */
#wc-powertranz-cc-form ::placeholder {
  color: #bbb;
  opacity: 1;
}
fieldset#wc-powertranz-cc-form .form-row {
  padding: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  #wc-powertranz-cc-form .form-row-first,
  #wc-powertranz-cc-form .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }
}
