

h2 {
    margin-bottom: 25px;
}

/* Steps */
.process-steps {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
}

.stepp {
    color: #777;
    font-weight: 500;
}

.stepp span {
    background: #ddd;
    color: #333;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 6px;
}

.stepp.active {
    color: #1e73be;
}

.stepp.active span {
    background: #1e73be;
    color: #fff;
}

/* Layout */
.row {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.row.four input,
.row.four select {
    flex: 1;
}

.field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.field.full {
    width: 100%;
    margin-bottom: 18px;
}

label {
    font-size: 14px;
    margin-bottom: 6px;
}

label span {
    color: red;
}

input, select {
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

/* Button */
.actions {
    text-align: right;
    margin-top: 30px;
}

.button {
    padding: 10px 22px;
    border: none;
    background: #1e73be;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    opacity: .9;
}

/* Responsive */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
}

h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 25px 0 15px;
}

.multi-form button{
    color: white !important;
    border:1px solid black;
}

.multi-form button:hover{
    color: black !important;;
    background-color: white;
    border:1px solid black;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 60px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px 60px;
}

/* Checkbox item */
.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

/* checkbox size */
.check-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

/* Other field */
.other {
    display: flex;
    align-items: center;
    gap: 10px;
}

.other-input {
    width: 180px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button */
.next-btn {
    margin-top: 35px;
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 26px;
    border-radius: 4px;
    cursor: pointer;
}

.next-btn:hover {
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/*  */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.steps {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stepp {
    opacity: .4;
}

.stepp.active {
    opacity: 1;
    font-weight: 600;
}

/*  */

/* Headings */
h2 {
    margin-bottom: 10px;
}

.desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

h4 {
    margin-bottom: 15px;
    font-size: 15px;
}

/* Checkbox grid */
.conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 60px;
    margin-bottom: 30px;
}

.conditions-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

input[type="checkbox"],
input[type="radio"] {
    width: 16px;
    height: 16px;
}

/* Groups */
.field-group {
    margin-bottom: 22px;
}

.group-title {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.radio-row {
    display: flex;
    gap: 20px;
}

/* Inputs */
input[type="text"],
select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Button */
.next-btn {
    margin-top: 20px;
    background: #000;
    color: white;
    padding: 10px 26px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.next-btn:hover {
    opacity: .85;
}

/* Responsive */
@media (max-width: 768px) {
    .conditions-grid {
        grid-template-columns: 1fr;
    }
}

/* signature */
.signature-field {
    flex: 2;
}

.signature-box {
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fafafa;
    position: relative;
    padding: 15px;
}

/* draw area */
.signature-area {
    height: 160px;
    border-bottom: 1px solid #ccc;
    background: #fff;
}

/* clear button */
.clear-btn {
    position: absolute;
    left: 8px;
    bottom: 50px;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

/* draw/type links */
.signature-actions {
    text-align: right;
    font-size: 13px;
    margin-top: 8px;
}

.signature-actions a {
    text-decoration: none;
    color: #777;
    margin-left: 6px;
}

.signature-actions a.active {
    color: #1e73be;
    border-bottom: 2px solid #1e73be;
}

.signature-box {
  position: relative;
  border: 1px solid #ccc;
  width: 500px;
  height: 180px;
}

#signature-pad {
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

#typed-signature {
  width: 100%;
  height: 100%;
  border: none;
  font-size: 28px;
  padding: 40px 20px;
  font-family: cursive;
}

.clear-signature {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.signature-actions a {
  margin-right: 10px;
  cursor: pointer;
  text-decoration: underline;
}

.signature-actions a.active {
  font-weight: bold;
}

/* date input */
input[type="date"] {
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* responsive */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
}

.error{
    background-color:rgb(186, 138, 138);
    color:red;
}

.referance-value{
    display:none;
}

/* wrapper when field has error */
.field-error {
    background: #f7e3e3;   /* light red background */
    padding: 12px;
    border-radius: 4px;
}

/* red input border */
.field-error input,
.field-error select,
.field-error textarea {
    border: 1px solid #d93025;
    outline: none;
}

/* red message bar */
.error-message {
    margin-top: 8px;
    background: #d93025;
    color: #fff;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 2px;
    display: none;
}

.sunscreen_spf, .medication-list, .smoke-per-day,.treatment-specify, .vitamin-specify, .accutane-specify, .peel-specify, .laser-specify, .endo-specify, .tanning-specify, .pregnant-specify{
    display:none;
}

.repeat-group, .repeat-past-illness{
    display:flex;
}

.medications .header-row{
    display:flex;
}

a.sig-mode {
    color:black;
    border-bottom: 2px solid black;
    text-decoration:none;
}

a.sig-mode:hover{
    color:black;
}

.signature-box button {
    padding: 0px !important;
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
}

/*7-2-26*/


.multi-form form#multiStepForm .form-step .field label + br {
    display: none;
}


.multi-form form#multiStepForm .form-step .field input:not([type="radio"], [type="checkbox"]) {
    border-radius: 0 !important;
    padding: 8px 10px !important;
    min-height: 40px;
    font-size: 14px;
}

.multi-form form#multiStepForm .form-step .field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-top: 0;
}

.multi-form form#multiStepForm .form-step .field .radio-group {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

.multi-form form#multiStepForm .form-step .field label + p {
    display: none;
}

.multi-form form#multiStepForm .form-step .field .radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
}

.multi-form form#multiStepForm .form-step .row.four {
    display: flex;
    column-gap: 14px;
    flex-wrap: wrap;
}


.multi-form form#multiStepForm .form-step .row.four div {
    flex: 1;
    width: 100%;
}

.multi-form form#multiStepForm .form-step .row.four div input[type="text"], .multi-form form#multiStepForm .form-step .row.four div select {
    border-radius: 0 !important;
    padding: 8px 10px !important;
    min-height: 40px;
    line-height: 1;
    font-size: 14px;
}


.multi-form form#multiStepForm .form-step .row.four div + p {
    display: none;
}

.multi-form form#multiStepForm .form-step .row .field + p {
    display: none;
}

.multi-form form#multiStepForm .form-step .grid-2 .referance-value + p {
    display: none;
}

.grid-wrap .grid-2 {
    row-gap: 10px;
}

.grid-wrap .grid-2 .check-item.other br {
    display: none;
}

.grid-wrap .grid-2 input.other-input {
    border-radius: 0;
}


.conditions-grid p label + br {
    display: none;
}

.conditions-grid p {
    margin: 0;
}


.form-step .conditions-grid {
    gap: 0px 16px;
}


.form-step .conditions-grid label {
    margin-bottom: 14px;
}


.drug-allergies p >br , .repeat-past-illness p >br, .repeat-past-illness > br{
    display: none;
}


.drug-allergies .repeat-group, .repeat-past-illness {
    gap: 10px;
    margin-bottom: 14px;
}


.b-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.b-wrap button.next-btn.test {
    margin: 0;
}

.sig-box canvas#signature-pad {
    border: 1px solid #ddd;
}

.row.sign_row > p:first-child {
    display: none;
}

.row.sign_row .signature-date-wrapper {
    flex-grow: 1;
}

.row.sign_row .signature-date-wrapper input {
    border-radius: 0 !important;
    padding: 8px 10px !important;
    min-height: 40px;
    line-height: 1;
    font-size: 14px;
}

.multi-form button:focus, .multi-form button:hover {
    color: #8e5039 !important;
}