/****************************************
Table of Contents
/****************************************
- General
- Header
- Footer
- Dashboard Home
-- LT and PC Dates
-- Family Tip Modal
- Membership Page
- Membership Upgrade Page
- Members List Page
- Payment Methods Page
- Membership Cancel Page
- Documents Page
- Booking Calendar
- Lab Test Instructions Modal
- Documents Instructions Modal
- Treatment Plan
- Progress Charts
- Dashboard Consent Banner
****************************************/
/***************************************************************************************
New Forms Page
***************************************************************************************/

#form-table-wrapper {
    overflow-x: auto;
}

#test-instructions-table-wrapper {
    margin-right: 20px;
    overflow: hidden;
}

.form-btn-locked {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #888;
    color: #fff;
    cursor: not-allowed;
    border-radius: 4px;
    /* match your .form-btn */
    padding: 6px 10px;
    /* match your .form-btn */
    /* font-size: 14px; */
    pointer-events: none;
}

.form-lock-icon {
    color: #888;
    font-size: 18px;
}

#test-instructions-table {
    margin-left: 20px;
    background-color: #fff;
    margin-bottom: 15px;
    width: 99%;
}

#test-instructions-table td {
    padding: 10px;
}

.ti-table-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ti-table-cell-green {
    background-color: seagreen;
}


.form-instructions-wrapper {
    display: inline-flex;
    flex-direction: column;
}

.form-btn-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-complete-icon {
    color: #2e7d32;
    font-size: 1.2rem;
}

.form-incomplete-icon {
    color: #c62828;
    font-size: 1.2rem;
}


.form-instruction-row {
    display: inline-block;
    background-color: seagreen;
    color: #fff;
    padding: 10px 20px;
    margin: 0px 20px;
    margin-bottom: 10px;
}

.form-instruction-row-2 {
    display: inline-block;
    background-color: #384974;
    color: #fff;
    padding: 10px 20px;
    margin: 0px 20px;
    margin-bottom: 10px;
}

/***************************************************************************************
Intake Form Preparation
***************************************************************************************/

.preparation-num {
    background-color: #384974;
    color: #fff;
    height: 27px;
    width: 27px;
    border-radius: 27px;
    text-align: center;
    line-height: 27px;
    font-size: 15px;
    font-weight: bold;
}

.test-button {
    background-color: #384974;
    font-size: 15px;
    color: #fff;
    padding: 3px 10px;
    border-radius: 5px;
    margin-left: 7px;
    white-space: nowrap;
}

/***************************************************************************************
Intake Form Verification
***************************************************************************************/


#verification-row {
    margin: 0px 20px;
}

.form-item .checkbox-item {
    margin: 10px 0;
    display: flex;
    align-items: flex-start;
    background-color: #d4eddf;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 15px;
}

.form-item .checkbox-item:first-of-type {
    margin-top: 0;
}

.form-item .checkbox-item:last-child {
    margin-bottom: 0;
}

.form-item .checkbox-item input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    width: 17px;
    height: 17px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-item .checkbox-item label {
    cursor: pointer;
    line-height: 1.6;
    color: #000;
    font-size: 15.5px;
    font-weight: bold;
}

.form-item .checkbox-item a {
    color: #2563eb;
    text-decoration: underline;
}



/***************************************************************************************
Test Instructions
***************************************************************************************/
.test-intsructions-btn {
    background-color: seagreen;
    color: #fff;
    padding: 7px 15px;
    border-radius: 5px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.shipping-instructions-btn {
    background-color: crimson;
    color: #fff;
    padding: 7px 15px;
    border-radius: 5px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.instructions-row {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 7px 10px;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.instructions-row>div {
    flex: 1;
    /* Makes all children equal width */
}

.instructions-row>div:first-child {
    font-weight: bold;
    font-size: 18px;
}

.instructions-row>div:nth-child(3) {
    /* font-weight: bold; */
    font-size: 16px;
}

.instructions-divider {
    background-color: #56C5D8;
    color: #000;
    height: 40px;
    padding-left: 10px;
    line-height: 40px;
    font-weight: bold;
}

.instructions-divider-2 {
    background-color: #56C5D8;
    color: #000;
    height: 40px;
    padding-left: 10px;
    line-height: 40px;
    font-weight: bold;
    margin-top: 20px;
}

.test-substance {
    background-color: #ddd;
    padding: 5px 15px;
    border-radius: 20px;
    /* display: inline-flex;
    align-items: center; */
}

.test-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.test-number {
    background-color: #384974;
    color: #fff;
    font-weight: normal;
    font-size: 16px;
    height: 30px;
    width: 30px;
    border-radius: 30px;
    display: block;
    text-align: center;
    line-height: 30px;
}

.test-icons-1 {
    color: #384974;
    font-size: 30px !important;
}

.test-icons-2 {
    color: #384974;
}


/***************************************************************************************
Recipes
***************************************************************************************/
.recipes a {
    font-weight: bold;
    color: #c94b3f;
}

.recipes li {
    line-height: 40px;
    border-bottom: 1px solid #ccc;
    list-style: none;
}

.recipes li:last-child {
    border-bottom: none;
}

.recipes ul {
    margin: 0;
    padding: 0;
}

/***************************************************************************************
General
***************************************************************************************/
#dashboard-body {
    margin: 0px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #eee;
}

main {
    flex: 1;
}

/***************************************************************************************
Header
***************************************************************************************/
.dashboard-nav {
    width: 70%;
}

.dashboard-menu {
    display: flex;
    align-items: center;
    font-weight: bold;
    gap: 1rem;
    padding: 0;
    margin: 0;
    font-size: 17px;
    list-style: none;
    white-space: nowrap;
    margin-left: 10px;
}

.dashboard-menu-item a {
    text-decoration: none;
    transition: 0.3s;
}

.dashboard-menu-item a:hover {
    color: #EF662F;
    transition: 0.3s;
}

.black-text {
    color: #111;
}

.orange-text {
    color: #EF662F;
}

/* More dropdown */
.menu-more {
    position: relative;
}

.more-btn {
    border: 1px solid #ddd;
    background: #EF662F;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.more-menu {
    position: absolute;
    right: 0;
    top: 32;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 6px 0;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    z-index: 1000;
}

.more-menu li {
    list-style: none;
}

.more-menu a {
    display: block;
    padding: 10px 12px;
}

.more-menu a:hover,
.more-menu a:focus {
    background: #f2f2f2;
}

/* Show dropdown on hover for pointer devices */
@media (hover: hover) and (pointer: fine) {
    .menu-more:hover .more-menu {
        display: block;
    }
}

/* Show dropdown when JS toggles .open */
.menu-more.open .more-menu {
    display: block;
}

/* Optional: tighten spacing under 1000px so a couple more items fit */
@media (max-width: 1200px) {
    .dashboard-menu {
        gap: .75rem;
    }

    .dashboard-menu-item a {
        font-size: 17px;
    }
}

#dashboard-menu-settings {
    margin-left: auto;
    display: flex;
    align-items: center;
}

#patient-name {
    font-weight: bold;
    font-size: 18px;
    white-space: nowrap;

}

#patient-switcher {
    margin-bottom: 0px;
}

#patient-select {
    background-color: steelblue;
    color: #fff !important;
}

.material-icons.profile-icon {
    font-size: 33px;
    color: #777;
    margin-left: 10px;
    margin-right: 50px;
}

.profile-container {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 40px;
    top: 40px;
    background-color: #fff;
    min-width: 200px;
    border: 1px solid #bbb;
    padding: 10px;
    z-index: 1;
    border-radius: 5px;
}

.dropdown-menu a {
    display: block;
    padding: 8px;
    color: #333;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: #f2f2f2;
}

/***************************************************************************************
Footer
***************************************************************************************/
#footer-dashboard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 20px;
    padding: 20px 20px;
    margin-top: 30px;
    background-color: #56C5D8;
    color: #fff;
}

#footer-dashboard a {
    color: #fff;
}

/* #footer-left {
} */

#footer-right {
    display: flex;
    gap: 20px;
    color: #fff;
    font-size: 16px;
    align-items: center;
}

#footer-right img {
    height: 30px;
}

#footer-button {
    background-color: #fff;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
}

#footer-button-rewards {
    background-color: green;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
}

/***************************************************************************************
Dashboard Home
***************************************************************************************/
.subscription-start-wrapper {

    background: #fff;
    margin: 5px 20px 20px 20px;
    padding: 10px 20px;
    border: 1px solid #888;
    border-radius: 5px;
}

.subscription-card-wrapper {
    width: 600px;
}

.home-section-new {
    background: #fff;
    margin: 5px 20px 20px 20px;
    /* padding: 5px 20px; */
    padding-bottom: 10px;
    border: 1px solid #888;
    border-radius: 5px;
}

.home-section-title-new {
    background: #56C5D8;
    padding: 10px 10px;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
    /* margin: 20px 20px; */
}

.section-row-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
    margin: 0px 20px;
    border-bottom: 1px solid #bbb;
}

.intake-section-row-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 10px 0px; */
    margin: 0px 20px;
    /* border-bottom: 1px solid #bbb; */
}

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

.testing-section-row-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
    margin: 0px 20px;
}

#shipping-instructions-btn-new {
    background-color: indianred;
    color: #fff;
    font-weight: normal;
    font-size: 16px;
    padding: 5px 10px;
    /* margin-left: 20px; */
    border-radius: 5px;
    cursor: pointer;
}

.dash-home-text-new {
    margin: 15px 20px;
    font-size: 17px;
    line-height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-home-text-2-new {
    margin: 15px 15px 15px 0px;
    font-size: 17px;
    line-height: 25px;
}

.progress-dates-section-new {
    background: #fff;
    margin: 10px 20px;
    border: 1px solid #bbb;
    border-radius: 5px;
}

.material-icons.calendar,
.material-icons.clock {
    color: green;
    font-size: 23px;
    vertical-align: middle;
}

#dashboard-home-title {
    font-size: 35px;
    font-weight: bold;
    margin: 0px 0px 0px 30px;
    font-family: Arial, Helvetica, sans-serif;
}

.dashboard-home-text {
    margin: 10px 20px;
    font-size: 17px;
    line-height: 25px;
}

.home-section-title {
    background: #56C5D8;
    padding: 10px 10px;
    font-weight: bold;
    font-size: 20px;
    margin: 20px 20px;
}

.home-section-verify {
    margin: 0px 20px;
    padding-right: 20px;
    border-radius: 5px;
}

.home-section {
    background: #fff;
    margin: 10px 20px;
    padding: 5px 20px;
    border: 1px solid #bbb;
    border-radius: 5px;
}

.dashboard-step {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
}

.section-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    border-bottom: 1px solid #bbb;
}

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

.dashboard-step-num {
    width: 25px;
    height: 25px;
    border-radius: 30px;
    background-color: #777;
    color: #fff;
    font-weight: bold;
    text-align: center;
    line-height: 25px;
}

.dashboard-left-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.dashboard-right-group {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.dashboard-right-group a {
    text-decoration: none;
}

.dashboard-left-group-horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-consultation-title {
    margin-right: 10px;
}

.recommended-date-icon {
    margin-left: 30px;
}

.booking-relative {
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    font-size: 16px;
    color: #fff;
}

.recommended-booking-relative {
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    font-size: 16px;
    color: #fff;
    margin-top: 5px;
    margin-left: 20px;
}

.material-icons.lock-icon {
    color: #888;
    font-size: 23px;
    margin-right: 30px;
    font-weight: bold;
}

.dashboard-verification-status {
    background-color: #f59e0b;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
}

.dashboard-button {
    width: 160px;
    height: 20px;
    text-align: center;
    color: #fff;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 15px;
    line-height: 22px;
}

.dashboard-button a {
    text-decoration: none;
    color: #fff;
    width: 100%;
    height: 100%;
}

.grey-button {
    background-color: #888;
}

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

.purple-button {
    background-color: #923A8E;
}

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

.disabled-link {
    pointer-events: none;
    cursor: not-allowed;
}

.booking-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.material-icons.check-icon {
    color: green;
    margin-left: 10px;
    font-size: 23px;
}

#invoice-paid-note {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-status-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.dashboard-status-text {
    padding: 8px 15px;
    border-radius: 4px;
    color: #000;
}

.recommended-date {
    margin-left: 10px;
}

.booking-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.booking-buttons .join-zoom {
    order: 1;
}

.booking-buttons .cancel-booking {
    order: 2;
}

.cancel-booking {
    background-color: red;
    color: #fff;
    border-radius: 20px;
    padding: 5px 15px;
    cursor: pointer;
}

.join-zoom {
    background-color: #0e72ed;
    color: #fff;
    border-radius: 20px;
    padding: 5px 15px;
}


/*******************************************
LT and PC Dates
********************************************/
.progress-dates-section {
    background: #fff;
    margin: 10px 20px;
    border: 1px solid #bbb;
    border-radius: 5px;
}

#lab-test-phase-table {
    width: 100%;
}

#lab-test-phase-table th {
    padding: 10px 10px;
    /* background-color: darkseagreen; */
    background-color: #ccc;
}

#lab-test-phase-table td {
    padding: 15px 10px;
    font-weight: bold;
}

#lab-test-phase-table td:nth-child(1),
#lab-test-phase-table td:nth-child(2),
#lab-test-phase-table td:nth-child(3),
#lab-test-phase-table td:nth-child(4) {
    border-right: 1px solid #ccc;
}

#progress-consultation-dates-table {
    width: 100%;
}

#progress-consultation-dates-table th {
    padding: 10px 10px;
    /* background-color: darkseagreen; */
    background-color: #ccc;

}

#progress-consultation-dates-table td {
    padding: 15px 10px;
    font-weight: bold;
}

#progress-consultation-dates-table td:nth-child(1),
#progress-consultation-dates-table td:nth-child(2),
#progress-consultation-dates-table td:nth-child(3),
#progress-consultation-dates-table td:nth-child(4),
#progress-consultation-dates-table td:nth-child(5) {
    border-right: 1px solid #ccc;
}

/*******************************************
Family Tip Modal
********************************************/
.fam-modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 9999
}

.fam-modal {
    position: absolute;
    top: 10px;
    right: 260px;
    background: #fff;
    max-width: 360px;
    width: 92%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    overflow: visible;
}

.fam-modal::after {
    content: "";
    position: absolute;
    top: 16px;
    right: -5px;
    width: 18px;
    height: 15px;
    background: #fff;
    transform: rotate(45deg);
    border-radius: 2px;
}

.fam-modal header {
    padding: 20px 20px 10px 20px;
    font-weight: 700;
    font-size: 18px
}

.fam-modal .body {
    padding: 10px 20px;
    line-height: 22px;
}

.modal .body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 8px 0 12px
}

.fam-modal footer {
    padding: 10px 20px 20px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 8px
}

.fam-btn {
    border: 0;
    border-radius: 5px;
    padding: 7px 10px;
    cursor: pointer
}

.fam-btn-primary {
    background: steelblue;
    color: #fff
}

/***************************************************************************************
Membership Page
***************************************************************************************/
.pm-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pm-card {
    width: 35px;
    border-radius: 3px;
}

.pm-exp {
    color: #555;
    font-size: 16px;
}

#membership-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;

}

#membership-actions a {
    text-decoration: none;
}

.upgrade-membership-button {
    background-color: seagreen;
    width: 200px;
    color: #fff;
    text-align: center;
    padding: 7px 10px;
    border-radius: 5px;
}

.cancel-membership-button {
    border: 1px solid #000;
    width: 200px;
    color: firebrick;
    text-align: center;
    padding: 7px 10px;
    border-radius: 5px;
}

/***************************************************************************************
Membership Upgrade Page
***************************************************************************************/

.membership-upgrade-success-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: green;
    border-radius: 5px;
    color: #fff;
    padding: 10px 15px;
}

.add-new-member-btn {
    background-color: #fff;
    color: #000;
    padding: 7px 10px;
    border-radius: 5px;
}

.upgrade-membership-patient {
    padding: 5px 15px;
    border-radius: 3px;
    color: #fff;
    background-color: seagreen;
}

.add-membership-patient {
    padding: 7px 15px;
    border-radius: 3px;
    color: #fff;
}

.upgrade-wrap {
    max-width: 800px;
}

.upgrade-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 10px 0;
}

.upgrade-col {
    flex: 1;
}

.plan-list {
    display: grid;
    gap: 8px;
}

.upgrade-pill {
    display: inline-flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    padding: 15px 20px 15px 10px;
    border: 1px solid #aaa;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.upgrade-pill input[type="radio"] {
    margin-right: 8px;
}

.upgrade-pill .plan-name {
    flex: 1 1 auto;
}

.upgrade-pill .plan-price {
    margin-left: auto;
    white-space: nowrap;
}

.upgrade-danger {
    color: #b91c1c;
}

.upgrade-success {
    color: green;
}

.upgrade-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.upgrade-btn {
    padding: 7px 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: seagreen;
    color: #fff;
    cursor: pointer;
}

.back-btn {
    padding: 7px 10px;
    border-radius: 5px;
    border: 1px solid #000;
    color: #000;
    cursor: pointer;
}

.upgrade-btn.secondary {
    background: #fff;
    color: #111;
}

.summary {
    background: #eee;
    padding: 12px;
    border-radius: 5px;
}

.upgrade-title-text {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 18px;
}

.upgrade-membership-info {
    padding: 5px 0px;
}

.membership-plan-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px dashed #bbb;
    border-radius: 5px;
}

.membership-plan-status-title {
    font-weight: bold;
}

.membership-plan-status.is-neutral {
    color: #000;
}

.membership-plan-status.is-error {
    color: #b91c1c;
}

.membership-plan-status.is-success {
    color: green;
}

/***************************************************************************************
Members List Page
***************************************************************************************/
#program-members-add-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 10px 0px; */
    margin-bottom: 20px;
}

#program-add-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.add-patient-type {
    padding: 7px 15px;
    border-radius: 3px;
    color: #fff;
}

#remaining-members {
    margin-left: 10px;
    font-weight: bold;
}

#program-members-table table {
    width: 100%;
}

#program-members-table th {
    background-color: #ccc;
    padding: 10px 10px;
    width: 30%;
}

#program-members-table td {
    padding: 20px 10px;
    width: 30%;
}

#program-members-table td a {
    color: #000;
    font-weight: bold;
}


#program-members-table tbody tr {
    border-bottom: 1px solid #ccc;
}

#program-members-table tbody tr:last-child {
    border-bottom: none;
}

.add-membership-patient[disabled],
.add-membership-patient.is-disabled {
    opacity: .45;
    cursor: not-allowed;
    background-color: grey;
}

.plan-summary {
    padding: 10px 12px;
    border: 1px dashed #bbb;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

#plan-summary-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-summary .label {
    font-weight: 600;
}

/***************************************************************************************
Payment Methods Page
***************************************************************************************/
.pm-wrap {
    max-width: 760px;
}

.pm-row {
    margin: 1.25rem 0;
}

.muted {
    color: #6b7280;
}

.cards-list {
    display: grid;
    gap: .5rem;
}

.card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .75rem;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    background: #fff;
}

.card-left {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.card-details {
    display: flex;
    gap: 10px;
}

.card-meta {
    color: #555;
    font-size: 16px;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.card-actions input[type="radio"] {
    margin: 0px;
}

button.delete-card {
    background-color: #bbb;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 14px;
}

#save-card {
    background-color: seagreen;
    color: #fff;
    padding: 7px 10px;
    border-radius: 3px;
    font-size: 16px;
    margin-top: 15px;
}

.error {
    color: #b91c1c;
}

.success {
    color: #15803d;
}

#save-card[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

/***************************************************************************************
Membership Cancel Page
***************************************************************************************/

#sub-status {
    margin-bottom: 15px;
}

.cancel-page-text-1 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

.cancel-list {
    margin-bottom: 20px;
}

.cancel-list-row {
    display: flex;
    align-items: center;
    margin-top: 15px;
    font-weight: bold;
}

.cancel-check {
    color: green;
    margin-right: 10px;

}

.final-cancel-button {
    background-color: firebrick;
    color: #fff;
    width: 300px;
    text-align: center;
    border-radius: 5px;
    padding: 8px 0px;
}

.muted {
    color: #6b7280;
}

.error {
    color: #b91c1c;
}

.success {
    color: #15803d;
}

.cancel-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

button[disabled] {
    opacity: .8;
    cursor: not-allowed;
}

/***************************************************************************************
Documents Page
***************************************************************************************/
#dashboard-upload-form-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#document-form-left {
    display: flex;
    align-items: center;
    gap: 15px;
}


.dashboard-form-input-inline {
    padding: 0.4em;
    border-radius: 5px;
    border: 1px solid #ccc;
    min-width: 800px;
}


.custom-file-label {
    background-color: steelblue;
    color: #fff;
    border-radius: 5px;
    padding: 7px 12px;
    cursor: pointer;
}



/***************************************************************************************
Booking Calendar
***************************************************************************************/
.test-block {
    background-color: #3d919e;
    width: 400px;
    height: 400px;
}

.booking-header-wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1100px;
}

.booking-container {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    justify-content: center;
}

@media (max-width: 1000px) {
    .booking-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;

    }
}

.time-zone-display {
    padding: 12px;
    margin-bottom: 12px;
    text-align: center;
    border: 1px dashed #ccc;
    border-radius: 4px;
}

.calendar-panel {
    width: 300px;
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day {
    padding: 10px;
    background-color: #fff;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid transparent;
}

.day.selected {
    background-color: #f0632b;
    color: #fff;
}

.day.disabled-day {
    color: #ccc;
    background-color: #fdfdfd;
    cursor: not-allowed;
    border: 1px dashed #ccc;
}

.time-panel {
    width: 300px;
}

.times {
    display: grid;
    grid-template-columns: repeat(2, 150px);
    gap: 10px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 6px;
    background: #f8f8f8;
    font-size: 16px;
}

.time-slot:hover {
    background-color: #eee;
}

.time-slot.selected {
    border: 2px solid #f0632b;
    background-color: #fff1eb;
}

.time-slot.booked {
    color: #ccc;
    cursor: not-allowed;
    background-color: #fdfdfd;
    border-style: dashed;
}

.details-panel {
    width: 330px;
}

.details-panel h3 {
    margin-bottom: 10px;
    padding-bottom: 8px;
}

.summary {
    background-color: #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 16px;
    line-height: 25px;
}

.confirm-button {
    width: 100%;
    background-color: #f0632b;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.continue-button {
    width: 100%;
    background-color: green;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.booking-section-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
}

/***************************************************************************************
Lab Test Instructions Modal
***************************************************************************************/
#shipping-instructions-btn {
    background-color: indianred;
    color: #fff;
    font-weight: normal;
    font-size: 16px;
    padding: 5px 10px;
    margin-left: 20px;
    border-radius: 5px;
    cursor: pointer;
}

/***************************************************************************************
Documents Instructions Modal
***************************************************************************************/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    font-size: 17px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    max-width: 800px;
    line-height: 25px;
    width: 90%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#modal-buttons {
    margin-top: 20px;
    text-align: right;
}

#modal-close-btn {
    background-color: seagreen;
    color: #fff;
    padding: 7px 15px;
    margin-right: 10px;
    border-radius: 20px;
    cursor: pointer;
}

#modal-close-permanently-btn {
    background-color: #fff;
    padding: 7px 15px;
    border-radius: 20px;
    border: 1px solid #999;
    cursor: pointer;
}

#reset-instructions-btn {
    background-color: firebrick;
    color: #fff;
    padding: 5px 10px;
    margin-right: 10px;
    border-radius: 5px;
    cursor: pointer;
}

#show-document-instructions {
    margin-right: 10px;
}

#documents-page-header {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/***************************************************************************************
Treatment Plan
***************************************************************************************/

#tp-page-header {
    background: #eee;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#tp-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 20px;
}

.treatment-plan-section-dashboard {
    border: 1px solid #888;
    margin-bottom: 20px;
}

.treatment-notes-dashboard {
    padding: 10px 10px;
    font-size: 17px;
    border-bottom: 1px solid #bbb;
    line-height: 23px;

}

.treatment-notes-dashboard:last-child {
    border: none;
}

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

.tp-message-instructions {
    font-style: italic;
}

.treatment-notes-dashboard textarea {
    width: 100%;
}

.treatment-notes-dashboard div {
    overflow-wrap: anywhere;
}

#dash-messaging-title {
    display: flex;
    align-items: center;
}

#dash-messaging-title span {
    margin-left: 10px;
    font-size: 28px;
}

.tp-dash-therapist-messages {
    background-color: #fff;
    padding: 7px 10px;
    min-height: 15px;
    margin-bottom: 10px;
}

.tp-dash-patient-messages {
    background-color: #fff;
    border: 1.5px solid green;
}

.tp-dash-message-row {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.tp-send-message-btn {
    cursor: not-allowed;
    opacity: 0.6;
    background: green;
    color: #fff;
    padding: 5px 12px;
    border-radius: 3px;
}

.tp-send-message-btn.is-active {
    cursor: pointer;
    opacity: 1;
    background: green;
}

/***************************************************************************************
Progress Charts
***************************************************************************************/

#progress-chart-types {
    display: flex;
    gap: 10px;
    margin-right: 20px;
}

#symptom-tracking-progress,
#core-development-progress {
    padding: 7px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.progress-button-active {
    background-color: seagreen;
    color: #fff;
}


.progress-button-inactive {
    background-color: #fff;
    color: #000;
}


.not-completed-yet {
    font-weight: normal;
    font-size: 15px;
    color: #777;
    font-style: italic;
}

/***************************************************************************************
Dashboard Consent Banner
***************************************************************************************/
#pi-portal-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 99999;
    max-width: 840px;
    margin: 0 auto;
    padding: .9rem 1rem;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
    font-size: 14px;
    line-height: 23px;
}

#pi-portal-consent p {
    margin: 0 0 .6rem;
}

#pi-portal-consent .pi-row {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    align-items: center;
}

#pi-portal-consent .pi-row .pi-spacer {
    flex: 1;
}

#pi-portal-consent a {
    color: #2563eb;
    text-decoration: none;
}

#pi-portal-consent a:hover {
    text-decoration: underline;
}

#pi-portal-consent .pi-btn {
    padding: .45rem .8rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    cursor: pointer;
    font-size: 14px;
}

#pi-portal-consent .pi-btn.primary {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}