/****************************************
Table of Contents
/****************************************
- Sign In Forms
- Order Forms (General)
- Intake Forms
- Food and Stool Form
- Symptom Tracking
- Free Consultation Form
- New Patient Start Page
- New Patient Form
- Set Password Page
- Reset Password Pages
- Smart Password Form

****************************************/

#form-page-body {
    background: #fff;
    margin: 0px 20px 10px 20px;
    padding: 0px 20px 20px 20px;
}

#form-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    padding: 20px 0px 10px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-save-button {
    background-color: green;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
}

.form-submitted-message {
    color: #000;
    font-size: 17px;
    padding: 0px 10px;
    border-radius: 5px;
    text-align: center;

    /* fade after 5s */
    opacity: 1;
    animation: fadeOut 0.6s ease-in forwards;
    animation-delay: 3s;
    pointer-events: auto;
}

.form-save-button.is-disabled {
    opacity: 0.6;
    pointer-events: none;
}

#captcha-wrapper {
    margin-top: 20px;
}

@media (max-width: 900px) {

    #sign-in-languages {
        right: unset !important;
    }

    #sign-in-logo {
        margin-top: 70px !important;
    }


    .sign-in-container {
        display: none;
    }

    #sign-in-title {
        display: none;
    }

    .mobi-message-container {
        display: block !important;
    }

}

#promo-code-wrapper {
    display: flex;
    align-items: center;
}

/***************************************************************************************
Sign In Forms
***************************************************************************************/
#sign-in-logo {
    text-align: center;
    margin: 50px 0px 20px 0px;
}

#sign-in-logo img {
    height: 70px;
}

#sign-in-title {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 30px;
}

#sign-in-body {
    display: flex;
    justify-content: center;
}

.sign-in-container {
    border-radius: 5px;
    padding: 20px;
    width: 400px;
}

.mobi-message-container {
    border-radius: 5px;
    padding: 20px 40px;
    font-size: 18px;
    width: 400px;
    line-height: 23px;
    text-align: center;
    display: none;
}

.mobi-message-container div {
    margin-bottom: 20px;
}

.sign-in-container input[type=text],
.sign-in-container input[type=email],
.sign-in-container input[type=password] {
    width: 100%;
    background-color: #eee;

}

.sign-in-email {
    margin-bottom: 16px;
}

.sign-in-submit {
    margin-top: 16px;
}

.sign-in-button {
    background-color: #EF662F;
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

#forgot-password {
    text-align: center;
}

#forgot-password a {
    color: #EF662F;
}

#sign-in-languages {
    position: absolute;
    top: 15px;
    right: 50px;
    display: flex;
    gap: 15px;
    width: auto;
}

.lang-btn img {
    width: 30px;
    display: block;
    border: 2px solid #ccc;
    border-radius: 30px;
    opacity: 0.5;
}

.lang-btn.active-lang img {
    opacity: 1;
}

/***************************************************************************************
Order Forms (General)
***************************************************************************************/
button {
    border: none;
    font-size: 16px;
    cursor: pointer;
}

a {
    text-decoration: none;
}

#white-form-body {
    background-color: #fff;
    margin: 0;
}

#form-logo {
    text-align: center;
    margin: 30px 0px 20px 0px;
}

#form-logo img {
    height: 70px;
}

.iti {
    display: block !important;
}

select {
    color: black !important;
}


.form-submit {
    margin-top: 25px;
    background-color: #EF662F;
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}


.new-patient-submit {
    margin-top: 25px;
    background-color: #EF662F;
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.lab-test-payment-submit {
    background-color: #EF662F;
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.free-consultation-submit {
    margin-top: 10px;
    background-color: #EF662F;
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

/***************************************************************************************
Intake Forms
***************************************************************************************/
/* #form-field-number {
    display: none;
} */

#intake-form-options {
    display: flex;
    gap: 20px;
    align-items: center;
    float: right;
}

#pdf-download {
    background-color: green;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 20px;
}

.pdf-export-scale {
    transform: scale(0.50);
    transform-origin: top left;
    width: 133.33%;
}

#intake-form th,
#intake-form td {
    padding: 10px 10px;
}

#intake-form th {
    font-weight: normal;
}

#intake-form label {
    font-weight: normal;
}

#intake-form td,
#intake-form textarea {
    page-break-inside: avoid;
    break-inside: avoid;
}

.radio-spacing {
    margin-top: 10px;
}

#text-area-spacing {
    margin-top: 10px;
}

.input-text-l {
    width: 500px;
}

.input-text-m {
    width: 350px;
}

.input-text-s {
    width: 80px;
}

#form-field-number {
    color: #aaa;
    width: 30px;
    display: none;
}

#form-title {
    font-size: 20px;
    font-weight: bold;
}

/* class */
.form-section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0px;
    padding: 10px;
    background-color: #56C5D8;
}

/* id */
#form-section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0px;
    padding: 10px;
    background-color: #56C5D8;
}

#form-section-title-2 {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0px;
    padding: 10px;
    background-color: #ddd;
}

#submit-form {
    background-color: #EF662F;
    text-align: center;
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 40px;
    width: 400px;
}

/***************************************************************************************
Food and Stool Form
***************************************************************************************/

#food-stool-table th,
#food-stool-table td {
    padding: 10px 10px;
    border-bottom: 1px solid #ccc;
}

#food-stool-table textarea {
    width: 100%;
}

#food-stool-table table th {
    background-color: #ccc;
}

/* Time of Day */
#food-stool-table table th:first-child,
#food-stool-table table td:first-child {
    width: 100px;
}

/* Food */
#food-stool-table table td:nth-child(2),
#food-stool-table table th:nth-child(2) {
    width: 30%;
}

/* Mood */
#food-stool-table table td:nth-child(3),
#food-stool-table table th:nth-child(3) {
    width: 30%;
}

/* Stool Type */
#food-stool-table table td:nth-child(4),
#food-stool-table table th:nth-child(4) {
    width: 200px;
}

/* Stool Color */
#food-stool-table table td:nth-child(5),
#food-stool-table table th:nth-child(5) {
    width: 200px;
}

/* Blood Sugar */
#food-stool-table table td:nth-child(6),
#food-stool-table table th:nth-child(6) {
    width: 200px;
}

#supplements {
    display: flex;
    width: 100%;
    gap: 1rem;
    margin-top: 15px;
}

#supplements>div:first-child {
    flex: 0 0 auto;
    white-space: nowrap;
    line-height: 50px;
    font-weight: bold;
}

#supplements>div:last-child {
    flex: 1;
}

#supplements textarea {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.time-of-day {
    font-weight: bold;
}

#week-intake-form table {
    width: 100%;
    border-collapse: collapse;
}

/***************************************************************************************
Symptom Tracking
***************************************************************************************/
#symptom-tracking-form-header {
    display: flex;
    gap: 30px;
    align-items: center;
}

#symptom-tracking-phase,
#food-stool-phase {
    background-color: firebrick;
    color: #fff !important;
    padding: 8px 15px;
}

#symptom-tracking-phase-date,
#food-stool-phase-date {
    background-color: #93704f;
    color: #fff !important;
    padding: 8px 15px;
}

#form-header input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

#symptom-tracking table {
    width: 100%;
}

#symptom-tracking th {
    background-color: #ddd;
    padding: 10px 10px !important;
}

#symptom-tracking td {
    border-bottom: 1px solid #ccc;
    padding: 10px 10px !important;
    width: 20%;
}

#symptom-tracking td:first-child {
    font-weight: bold;
    min-width: 300px;
    /* width: 300px; */
}

#symptom-tracking tr:hover {
    background-color: #eee;
}

/***************************************************************************************
Free Consultation Form
***************************************************************************************/
.stepper {
    display: flex;
    justify-content: space-between;
    max-width: 500px;
    margin: 30px auto;
}

.step {
    text-align: center;
    position: relative;
    flex: 1;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15px;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    z-index: 0;
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    color: #fff;
    line-height: 30px;
    margin: 0 auto 8px;
    position: relative;
    z-index: 1;
}

.step.active .step-circle {
    background-color: steelblue;
}

.step.active .step-label {
    color: steelblue;
    font-weight: bold;
}

.step-label {
    font-size: 14px;
    color: #888;
}

.form-detail-section {
    margin-bottom: 15px;
}

.form-detail-title {
    font-weight: bold;
    width: 120px;
}

.form-detail-info {
    padding: 10px 0;
}

.grey-border {
    border-bottom: 1px solid #ddd;
}

.form-detail-info:last-child {
    border-bottom: none;
}

#free-consultation-form-title {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    margin-bottom: 30px;
}

#free-consultation-form-body {
    display: flex;
    justify-content: center;
}

#free-consultation-form-body-calendar {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

#free-consultation-form-body input[type=text],
#free-consultation-form-body input[type=tel],
#free-consultation-form-body input[type=email],
#free-consultation-form-body select,
#free-consultation-form-body textarea {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    width: 100%;
    padding: 12px;
    border: 1px solid #bbb;
    background-color: #eee;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

#free-consultation-form-body input[type=submit] {
    background-color: #EF662F;
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

#free-consultation-form-body input[type=submit]:hover {
    background-color: #45a049;
    transition: 0.3s;
}

#free-consultation-form-body textarea {
    height: 100px;
    font-size: 16px;
    line-height: 1.5;
}

#free-consultation-form-body .iti {
    display: block !important;
    margin: 5px 0px 15px 0px;
}

#free-consultation-form-body label {
    font-weight: bold;
}

.container {
    border-radius: 5px;
    padding: 20px;
    width: 700px;
}

.review-container {
    border-radius: 5px;
    padding: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.review-details {
    border: 1px solid #ccc;
    padding: 0px 10px 10px 10px;
    margin-bottom: 15px;
}

.edit-details {
    background-color: seagreen;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
    margin-top: 10px;
    cursor: pointer;
}

#form-text {
    margin: 0 auto;
    max-width: 700px;
    padding: 0 20px;
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
    line-height: 25px;
}

#action-button {
    background-color: #ED6731;
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 30px;
    width: 300px;
    padding: 15px 10px;
    margin: 0 auto;
    margin-bottom: 30px;
    font-size: 18px;
    transition: 0.3s;
    margin-top: 30px;
}

#return-button a {
    text-decoration: none;
    color: #fff;
}

/***************************************************************************************
New Patient Start Page
***************************************************************************************/
#new-patient-start-header {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-bottom: 30px;
}

#new-patient-start-logo {
    margin-bottom: 30px;
}

#new-patient-start-logo img {
    height: 50px;
}

#new-patient-family-start-title {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: clamp(1.3rem, 4vw, 1.5rem);
    margin-bottom: 20px;
    line-height: 32px;
}

#new-patient-family-start-text {
    font-size: 18px;
    margin-bottom: 40px;
}

.start-patient-type {
    width: 200px;
    padding: 10px 10px;
    border-radius: 20px;
    text-align: center;
    margin-top: 10px;
    color: #fff;
    font-weight: bold;
}

#new-patient-start-button-wrapper {
    margin: 0 auto;
    margin-top: 30px;
}

#new-patient-start-button-wrapper a {
    text-decoration: none;
}

.button-blue {
    background-color: #4aabbb;
}

.button-orange {
    background-color: #EF662F;
}

.button-green {
    background-color: mediumseagreen;
}

/***************************************************************************************
New Patient Form
***************************************************************************************/
#new-patient-form-divider {
    background-color: #56C5D8;
    padding: 10px;
    margin: 10px 0px;
    font-weight: bold;
}

#new-patient-form-divider-2 {
    background-color: #ddd;
    padding: 10px;
    margin: 10px 0px;
    font-weight: bold;
}

.form-item {
    padding: 7px 0;
}

.form-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.new-patient-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
}

.new-patient-form-container input[type="text"],
.new-patient-form-container input[type="tel"],
.new-patient-form-container input[type="email"] {
    width: 100% !important;
}

#new-patient-form-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

/* #new-patient-form-header div {
    display: inline-block;
} */

#new-patient-form-logo {
    margin-right: 20px;
    padding-bottom: 5px;
}

#new-patient-form-logo img {
    height: 50px;
}

#new-patient-form-title {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
}

.dob-group {
    display: flex;
    gap: 10px;
}

.dob-group select {
    flex: 1;
}

#payment-information-section {
    margin-bottom: 20px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0px;
    /* border-bottom: 1px solid #ccc; */
}

.payment-row:last-child {
    border-bottom: none !important;
}

#promo-code-field {
    width: 100%;
}

.verify-promo-btn {
    background-color: green;
    color: #fff;
    padding: 8px 10px;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    transition: opacity .2s ease, background-color .2s ease;
}

.verify-promo-btn:disabled {
    background-color: #bdbdbd;
    cursor: not-allowed;
    opacity: .8;
}

.promo-msg {
    margin-top: 15px;
    font-size: 16px;
}

.promo-msg.error {
    color: #b00020;
}

.promo-msg.success {
    color: #0a7f2e;
}




/* #apply-consultation-promo {
    background-color: mediumseagreen;
    color: #fff;
    padding: 8px 10px;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
} */

/* #promo-message {
    margin-top: 10px;
} */

#card-element {
    font-size: 16px;
    padding: 10px;
    border: 1px solid #bbb;
    background-color: #eee;
    border-radius: 4px;
    box-sizing: border-box;
}

#payment-button {
    background-color: #EF662F;
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.confirm-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/***************************************************************************************
Set Password Page
***************************************************************************************/
.set-password {
    width: 200px;
    padding: 10px 30px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    font-weight: bold;
}

#set-password-instructions {
    line-height: 25px;
    margin-top: 10px;
}

#new-patient-password-set input {
    width: 400px !important;
    margin-top: 20px;
}

/***************************************************************************************
Reset Password Pages
***************************************************************************************/
.reset-password-container {
    border-radius: 5px;
    padding: 20px;
    width: 400px;
}

.reset-password-container input {
    width: 100%;
    margin-top: 20px;
}

#reset-password-title {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 30px;
}

#reset-text {
    text-align: center;
    font-size: 17px;
    margin-top: 30px;
}

#go-dashboard-button {
    text-align: center;
    margin-top: 50px;
}

#reset-password-button {
    text-align: center;
    margin-top: 30px;
}

/***************************************************************************************
Smart Password Form
***************************************************************************************/
.feedback {
    /* font-size: 0.9rem; */
    margin-top: 0.5rem;
    width: 400px;
    margin: 0 auto;
    text-align: center;
    line-height: 25px;
    margin-bottom: 20px;
}

.feedback span {
    display: block;
}

.valid {
    color: green;
}

.invalid {
    color: red;
}

#strengthBar {
    height: 6px;
    background: lightgray;
    margin-top: 10px;
    border-radius: 3px;
    overflow: hidden;
    width: 400px;
    margin: 0 auto;
}

#strengthLevel {
    height: 100%;
    width: 0%;
    background: red;
    transition: width 0.3s ease;
}