/* General container + Custom Background */
.pfg-client-form {
    max-width: 600px;
    margin: auto;
    padding: 25px;
     border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
}
/* === Partner Form Logo === */
.pfg-logo {
    text-align: center;
    margin-bottom: 10px;
}
.pfg-logo img {
    max-width: 90px;
    height: auto;
    border-radius: 8px;
}



/* Title */
.pfg-client-form h2.pfg-title {
    text-align: center;
    color: #006B3C;
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Main title */
.pfg-main-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #006B3C;
    margin-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
}

/* Partner form title */
.pfg-client-form h2.pfg-title {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 25px;
    font-family: 'Open Sans', sans-serif;
}


/* Form groups */
.pfg-form .form-group {
    margin-bottom: 35px;
}

/* Labels */
.pfg-form label, .pfg-client-form .checkbox-group label {
    font-weight: 700 !important;
    margin-bottom: 5px;
    color: #333;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
}

/* Inputs and textarea */
.pfg-form input[type="text"],
.pfg-form input[type="email"],
.pfg-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    box-sizing: border-box;
}

/* Textarea specific spacing */
.pfg-client-form .form-group textarea {
    margin-top: 10px; /* small gap below label */
    resize: vertical;
}

/* Checkbox spacing */
.pfg-form input[type="checkbox"] {
    margin-right: 8px;
    vertical-align: middle;
}
.pfg-client-form .form-group.checkbox-group {
    margin-bottom: 0px !important;
}

/* Attachment link */
.pfg-form .form-group a,
.pfg-client-form .attachment-link {
    color: #006B3C;
    text-decoration: none;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
 }

.pfg-form .form-group a:hover,
.pfg-client-form .attachment-link:hover {
    text-decoration: underline;
}

/* Flex layout for label + input/link */
.pfg-client-form .form-group.form-flex {
     align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pfg-client-form .form-group.form-flex label {
    margin: 0;
    white-space: nowrap;
}

.pfg-client-form .form-group.form-flex input,
.pfg-client-form .form-group.form-flex a {
    margin: 0;
    flex: 1;
}

/* Note text */
.pfg-note {
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
    font-weight: 200 !important;
    font-family: 'Open Sans', sans-serif;
}

/* Submit button */
.pfg-submit {
    background-color: #006B3C;
    color: #fff;
    padding: 10px 25px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.pfg-submit:hover {
    background-color: #004d29;
}

/* ✅ Signature Pad Final Styling */
#pfg-signature-pad {
  background-color: #fff !important;
  border: 2px solid #ccc !important;
  width: 100% !important;
  max-width: 420px !important;
  height: 160px !important;
  display: block !important;
  margin: 8px 0;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  cursor: crosshair;
  touch-action: none !important;
}


#clear-signature {
  background-color: #ff5252 !important;
  color: #fff !important;
  border: none !important;
  padding: 7px 14px !important;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 6px;
  font-size: 13px;
  transition: background 0.2s;
}

#clear-signature:hover {
  background-color: #e53935 !important;
}
