html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #1D7B51;
    outline-color: #1D7B51 !important;
    --bs-focus-ring-color: #1D7B51 !important;
}

body {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    padding-top: 70px; /* Adjust this value based on your header height */
}

.btn-primary {
    background-color: #1D7B51;
    border-color: #1D7B51;
    border-radius: .25rem;
    color: white;
    --bs-focus-ring-color: #1D7B51 !important;
}

    .btn-primary:hover {
        background-color: #185c3e;
        border-color: #185c3e;
    }

.btn-sq {
    width: 3rem !important;
    max-width: 100% !important;
    max-height: 100% !important;
    height: 3rem !important;
    align-content: center;
    padding: 0px;
    font-size: 10px;
}

html, body {
    height: 100%;
    margin: 0;
}

.container {
    flex: 1;
}

footer {
    background-color: white;
    color: white;
    padding: 1em;
}

.row {
    display: flex;
}

.column {
    flex: 50%;
}

select:disabled, input:disabled {
    background-color: #ccc;
    color: #666;
}

select {
    cursor: pointer;
}

form .likert {
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0 0 35px;
    display: block;
    border-bottom: 2px solid #efefef;
}

    form .likert:last-of-type {
        border-bottom: 0;
    }

    form .likert:before {
        content: '';
        position: relative;
        top: 8.5px;
        left: 9.5%;
        display: block;
        background-color: #efefef;
        height: 4px;
        width: 78%;
    }

    form .likert li {
        display: inline-block;
        width: 8%;
        text-align: center;
        vertical-align: top;
    }

        form .likert li input[type=radio] {
            display: block;
            position: relative;
            top: 0;
            left: 125%;
            margin-left: -6px;
        }

        form .likert li label {
            width: 100%;
            margin-left: 75%
        }

form .likert-questionnaire-readiness {
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0 0 35px;
    display: block;
    border-bottom: 2px solid #efefef;
}

    form .likert-questionnaire-readiness:last-of-type {
        border-bottom: 0;
    }

    form .likert-questionnaire-readiness:before {
        content: '';
        position: relative;
        top: 8.5px;
        left: 9.5%;
        display: block;
        background-color: #efefef;
        height: 4px;
        width: 86%;
    }

    form .likert-questionnaire-readiness li {
        display: inline-block;
        width: 8%;
        text-align: center;
        vertical-align: top;
    }

        form .likert-questionnaire-readiness li input[type=radio] {
            display: block;
            position: relative;
            top: 0;
            left: 125%;
            margin-left: -6px;
        }

        form .likert-questionnaire-readiness li label {
            width: 100%;
            margin-left: 75%
        }

form .likert-questionnaire-mental {
    list-style: none;
    width: 200%;
    margin: 0;
    padding: 0 0 35px;
    display: block;
    border-bottom: 2px solid #efefef;
}

    form .likert-questionnaire-mental:last-of-type {
        border-bottom: 0;
    }

    form .likert-questionnaire-mental:before {
        content: '';
        position: relative;
        top: 8.5px;
        left: 9.5%;
        display: block;
        background-color: #efefef;
        height: 4px;
        width: 33.5%;
    }

    form .likert-questionnaire-mental li {
        display: inline-block;
        width: 8%;
        text-align: center;
        vertical-align: top;
    }

        form .likert-questionnaire-mental li input[type=radio] {
            display: block;
            position: relative;
            top: 0;
            left: 125%;
            margin-left: -6px;
        }

        form .likert-questionnaire-mental li label {
            width: 100%;
            margin-left: 75%
        }

form .likert-questionnaire-gppaq {
    list-style: none;
    width: 200%;
    margin: 0;
    padding: 0 0 35px;
    display: block;
    border-bottom: 2px solid #efefef;
}

    form .likert-questionnaire-gppaq:last-of-type {
        border-bottom: 0;
    }

    form .likert-questionnaire-gppaq:before {
        content: '';
        position: relative;
        top: 8.5px;
        left: 9.8%;
        display: block;
        background-color: #efefef;
        height: 4px;
        width: 25%;
    }

    form .likert-questionnaire-gppaq li {
        display: inline-block;
        width: 8%;
        text-align: center;
        vertical-align: top;
    }

        form .likert-questionnaire-gppaq li input[type=radio] {
            display: block;
            position: relative;
            top: 0;
            left: 125%;
            margin-left: -6px;
        }

        form .likert-questionnaire-gppaq li label {
            width: 100%;
            margin-left: 75%
        }

form .likert-questionnaire-fitness {
    list-style: none;
    width: 95%;
    margin: 0;
    padding: 0 0 35px;
    display: block;
    border-bottom: 2px solid #efefef;
}

    form .likert-questionnaire-fitness:last-of-type {
        border-bottom: 0;
    }

    form .likert-questionnaire-fitness:before {
        content: '';
        position: relative;
        top: 8.5px;
        left: 6.5%;
        display: block;
        background-color: #efefef;
        height: 4px;
        width: 92%;
    }

    form .likert-questionnaire-fitness li {
        display: inline-block;
        width: 7.1%;
        text-align: center;
        vertical-align: top;
    }

        form .likert-questionnaire-fitness li input[type=radio] {
            display: block;
            position: relative;
            top: 0;
            left: 87.5%;
            margin-left: -6px;
        }

        form .likert-questionnaire-fitness li label {
            width: 175%;
            margin-left: 0%;
        }

.likert-questionnaire-fitness-label {
    font-size: 13px;
}

.session-radio-styling {
    width: fit-content;
    margin: auto
}

#session-card-empty-card-text {
    display: flex;
    justify-content: center;
    align-items: center;
}

#filter-by-exercise-types {
    width: 120%;
}

#find-filter-by-exercise-types, #add-filter-by-exercise-types {
    width: 140%;
}

.create-exercise-plan-card-partial {
    height: auto;
    width: 90% !important;
}

.auto-min-height {
    min-height: auto;
}

.zero-width {
    width: 0%;
}

.forty-five-width {
    width: 45%;
}

.hundred-width {
    width: 100%;
}

.programme-modal-header {
    background: #dc3545;
}

.delete-exercise-modal-header {
    background: #dc3545;
}

.no-border {
    border: none;
}

.find-exercise-exercise-card {
    width: 21rem;
    padding-top: 200px;
    padding-bottom: 200px;
}

.eight-rem-height {
    height: 8rem;
}

.z-index-eleven {
    z-index: 11;
}

.max-height-1point5em {
    max-height: 1.5em;
}

.exercise-plan-exercise-card {
    width: 100%;
}

.selector {
    width: 28rem;
}

.selector-button-end {
    margin-left: auto;
    margin-right: 0;
}

.healthier-progress-bar {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
}

.healthier-progress-bar {
    --color: #1d7b51;
    --background: #e9ecef;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    width: 100%;
    border-radius: 10em;
    background: var(--background);
}

    .healthier-progress-bar::-webkit-progress-bar {
        border-radius: 10em;
        background: var(--background);
    }

    .healthier-progress-bar::-webkit-progress-value {
        border-radius: 10em;
        background: var(--color);
    }

    .healthier-progress-bar::-moz-progress-bar {
        border-radius: 10em;
        background: var(--color);
    }

.healthier-green {
    background: #1d7b51;
}

.bg-light-gray {
    background-color: #F9F9F9;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

/* Floating Header Styles */
.floating-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    background-color: white !important;
    transition: box-shadow 0.3s ease, border-bottom 0.3s ease !important;
    border-bottom: 1px solid transparent !important;
}

/* Header border when scrolled */
.floating-header.scrolled {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

/* Ensure the floating header has proper styling */
.floating-header .navbar {
    margin-bottom: 0 !important;
}

/* Make sure mobile offcanvas appears above the fixed header */
.offcanvas {
    z-index: 1040 !important;
}

.card-img-top {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
}

.exercise-plan-card {
    box-shadow: 1px 1px 7.5px 2px rgba(0, 0, 0, 0.1);
    border-radius: 15px !important;
    border: none !important;
    background-color: #f6f6f6 !important;
    width: 294px; 
    height: auto; 
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    gap: 10px; 
}

.exercise-view-session-card {
    box-shadow: 1px 1px 7.5px 2px rgba(0, 0, 0, 0.1);
    border-radius: 15px !important;
    border: none !important;
    background-color: #f6f6f6 !important;
    width: 294px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 15px;
    box-sizing: border-box;
    gap: 6px;
    margin: 0 auto; /* optional: center the card horizontally */
}

.exercise-plan-text {
    margin: 0;
    font-family: 'Segoe UI';
    font-weight: 600;
    line-height: 150%;
    color: #212529;
    text-align: center;
    font-size: 12px;
}

.exercise-plan-card-exercise-name {
    font-family: 'Segoe UI'; 
    font-weight: 400;          
    font-size: 14px;           
    line-height: 120%;         
    letter-spacing: 0;
    vertical-align: middle !important;     
  }

.exercise-plan-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    /* padding: 0.5rem; */
}

/* This is the reps sets etc in exercise plan card */
.exercise-plan-label {
    font-family: "Segoe UI"; 
    font-weight: 400;                  
    font-size: 14px;                    
    line-height: 1.2;                   
    letter-spacing: 0;                  
    vertical-align: middle;             
  }

.exercise-plan-card-input {
    font-size: 16px;
} 
  

.remove-card {
    background-color: transparent; /* Remove default background */
    border: none; /* Remove default border */
    outline: none; /* Remove focus outline */
    padding: 0; /* Remove extra padding */
    cursor: pointer; /* Show a pointer on hover */
}

.exercise-card {
    box-shadow: 1px 1px 7.5px 2px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    background-color: #f6f6f6;
    width: 100%;
    height: 215px !important;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    box-sizing: border-box;
    gap: 6px;
}

    .exercise-card.find-exercise-exercise-card {
        padding-bottom: 150px;
        padding-top: 150px;
        height: 250px !important;
    }

    .exercise-card.library-exercise-card {
        height: 250px !important;
    }

.find-exercise-custom-exercise-card {
    padding-bottom: 29px;
    padding-top: 29px;
}

.exercise-card img {
    width: 100%;
    height: auto;
    object-fit: contain; /* or cover, depending on your desired behavior */
}

.exercise-plan-card-image {
    width: 100%;
    height: 120px;
    overflow: hidden; /* Ensures the image doesn't overflow the rounded borders */
    border-radius: 10px;
    background-color: #ffffff;
}

    .exercise-plan-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.exercise-plan-log-completed {
    margin: 0;
    padding: 0;
    line-height: 120%;
    font-size: 14px;
    font-family: 'Segoe UI';
    font-weight: 600;
    color: #212529;
    font-size: 14px;
    vertical-align: middle
}


.view-activities-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    box-shadow: none;
    margin: 0;
    text-align: center;
}

    .view-activities-container > div {
        display: flex;
        flex-direction: column;
        gap: 20px; /* vertical gap between cards */
    }

.view-activities-cards {
    width: 100%;
    background-color: #fff;
    border-radius: 15px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.view-activities-measurements-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.view-activities-measurement-card {
    flex: 0 0 190px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


    /* 3) Header typography (Segoe UI, 600, 16px, 120%) */
    .view-activities-measurement-card h6 {
        font-family: "Segoe UI";
        font-weight: 600;
        font-size: 16px;
        line-height: 1.2;
        margin: 0;
    }

    /* 4) Value row stays flex‑between */
    .view-activities-measurement-card .d-flex {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .view-activities-measurement-card .large-text {
        font-family: "Segoe UI";
        font-weight: 700;
        font-size: 24px;
        line-height: 1.2;
        letter-spacing: 0;
        margin: 0;
        vertical-align: middle;
    }




.card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
}

.exercise-card-body{
    width:100%;
}

#dt-search-0 {
    padding: 0.375rem 0.75rem;
    width: 300px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.search-bar {
    padding: 0.375rem 0.75rem;
    width: 300px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.file-upload-box {
    width: 300px;
    height: 170px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #D9D9D9;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .file-upload-box input[type="file"] {
        opacity: 0;
        width: 100%;
        height: 100%;
        position: absolute;
        cursor: pointer;
    }

.file-upload-image {
    width: 300px;
    height: 170px;
    border-radius: 8px;
}

.file-upload-video {
    width: 300px;
    height: 170px;
    border-radius: 8px;
    display: none;
}

.modal-dialog.create-exercise-modal {
    max-width: 652px !important;
}

.descriptionText {
    font-size: 12px !important;
    margin-bottom: 0 !important;
}

h1, .h1 {
    font-size: 1.25rem !important; /* 20px */
    font-weight: 600 !important;
}

h2, .h2 {
    font-size: 1rem !important; /* 16px */
    font-weight: 600 !important;
}

h3, .h3 {
    font-size: 0.75rem !important; /* 12px */
    font-weight: 600 !important;
}

.scale-label {
    display: inline-block;
    width: 16px !important;
    height: 16px !important;
    text-align: center;
    line-height: 13px;
}

input[type="radio"]:checked {
    background-color: #1D7B51;
}

@media (min-width: 820px) and (max-width: 1180px) {
    .surveybutton-group {
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }

    .surveylabel {
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }

    .col {
        flex: 0 0 auto;
        width: 33.33333333% !important;
    }

    .container {
        max-width: 1100px !important;
    }

    .session-notes-container {
        margin-left: 8px !important;
        padding-left: 0px !important;
    }

    .questionaire-container {
        width: 110% !important;
    }

    .carousel-container {
        flex-grow: 1 !important;
        width: 70% !important
    }
}

.exercise-card-title {
    font-size: 14px;
    line-height: 16.8px;
    font-weight: 600;
    max-width: 252px;
    padding-bottom: 5px;
}

.exercise-card-image {
    width: auto;
    border-radius: 10px;
    max-width: auto;
    overflow: hidden;
    height: 120px !important;
    flex-shrink: 0;
    object-fit: cover;
    flex: auto;
}


.nav-bar-button-inactive {
    background-color: 'transparent' !important;
    color: #6C757D !important;
    border: #6C757D solid 1px !important;
}

.offcanvas-width {
    width: 280px !important;
}

.filter-dropdown-menu {
    position: absolute;
    height: auto;
    z-index: 5;
}

#userTable td {
    cursor: default;
}

    #userTable td a {
        cursor: pointer;
    }

#customerTable td {
    cursor: default;
}

.exercise-button {
    width: 24px;
    height: 24px;
}

.exercise-button-small {
    width: 16px;
    height: 16px;
}

.exercise-button-link {
    font-size: 1.2rem;
}

.exercise-label {
    white-space: nowrap;
}

.resource-group.flat {
    display: contents;
}

    .resource-group.flat .group-body {
        display: contents;
    }
    /* and hide the heading entirely */
    .resource-group.flat .group-title {
        display: none;
    }

.hidden-by-filter {
    display: none !important;
}


.bg-purple {
    background-color: #8540F5;
}

.set-exercise-text {
    font-family: 'Segoe UI';
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0%;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.advanced-view-toggle {
    font-family: 'Segoe UI' !important;
    font-size: 14px !important;
    line-height: 150% !important;
    letter-spacing: 0% !important;
    font-weight: 400 !important;
}

.select-metrics-text {
    font-size: 14px;
    font-family: 'Segoe UI';
    line-height: 120%;
    letter-spacing: 0%;
    vertical-align: middle;
    font-weight: 400;
}

.advanced-view-toggle-text {
    font-family: 'Segoe UI';
    line-height: 150%;
    letter-spacing: 0%;
    font-size: 16px;
    font-weight: 400;
}

.exercise-plan-notes{
    font-family: 'Segoe UI';
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    vertical-align: middle;
}

.exercise-plan-notes-header{
    
    font-family: 'Segoe UI' !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    line-height: 120% !important;
    vertical-align: middle;
    letter-spacing: 0%;
    
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.exercise-plan-print-card-exercise-name {
    font-family: 'Segoe UI';
    font-weight: 400;
    font-size: 14px;
    height: 32px;
    letter-spacing: 0;
    vertical-align: middle !important;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.export-exercise-plan-card {
    border-radius: 15px;
    width: 220px;
    min-height: 126px !important;
    overflow-y: visible;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 8px !important; /* or even 6px 10px */
    box-sizing: border-box;
    gap: 10px;
}


@media print {
    .exercise-plan-card,
    .col,
    .print-section,
    .exercise-print-list {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }
    .card {
        page-break-inside: avoid !important;
        min-height: 140px !important;
    }

    .print-section h5 {
        /* No forced break */
        page-break-before: auto !important;
        break-before: auto !important;
        margin-top: 2rem;
    }
    .d-grid .print-section {
        width: fit-content !important;
    }
}

.find-exercise-card {
    min-height: 160px;
}

.text-disabled {
    color: #ADB5BD !important;
    text-decoration: none !important;
}

a.text-disabled:hover {
    text-decoration: none !important;
}

/* removes spacing between search bar and table */
.col-md-auto.ms-auto{
    margin: 0 !important;
    height: 0 !important;
}

.appointment-field {
width: 100%;
border-radius: 10px;
background-color: #f9f9f9;
padding: 5px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
}

.text-title-no-appointment {
position: relative;
background-color: rgba(255, 255, 255, 0);
width: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: left;
font-size: 16px;
color: #adb5bd;
font-family: 'Segoe UI';
}


.exercise-plan-template-card{
    margin-bottom: 20px;
    min-height: 207px;
}


.form-check-input.header-field {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0px 0px 3px 1px rgba(38, 38, 38, 0.1);
    background-color: #fff;
}

.form-check-input.header-field:focus {
    border-color: #1D7B51; 
    box-shadow: 0px 0px 3px 1px rgba(38, 38, 38, 0.1), 0 0 0 0.25rem rgba(29, 123, 81, 0.25); /* Keep original shadow + focus ring */
}

.form-check-input.header-field:checked {
    border-color: #1D7B51; /*  site's green color */
    background-color: #1D7B51; /*  site's green color */
    box-shadow: 0px 0px 3px 1px rgba(38, 38, 38, 0.1); /* Keep the same shadow when checked */
}

.resource-button-container {
    display: flex;
    justify-content: space-between;
}

.btn-resource {
    min-width: 130px
}

.success-story-img{
    max-width: 300px
}

.modal-dialog.view-success-story-modal {
    max-width: 800px !important;
}

/* Add padding to body to account for fixed header */
body {
    padding-top: 70px; /* Adjust this value based on your header height */
}

/* Terms and Conditions content styling */
.terms-content {
    max-height: 400px;
    overflow-y: auto;
    white-space: pre-wrap;
}

.carousel-button-end{
    display: flex;
    justify-content: flex-end;
}

.carousel-button-start {
    display: flex;
    justify-content: flex-start;
}

.custom-exercise-name-input {
    background: transparent;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.customer-selectable-row {
    cursor: pointer;
}
