




/* styles.css */

/*variable*/
:root {
    --primary-btn-color: #DE6E4B;
    --primary-btn-color-hover: #e09f3e;
    --secondary-btn-color: #063e6c;
    --secondary-btn-color-hover: #15436C;
    --standard-border-color: #d2d2d2;
    --standard-title-color: #042d4e;
    --error-color: #f56c6c;
}

.location-disabled {
    pointer-events: none;
    opacity: 0.5;
    filter: grayscale(100%);
}

@font-face {
    font-family: 'Geomanist-Regular';
    src: url("../fonts/geomanist-regular-webfont.woff") format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Geomanist-Bold';
    src: url("../fonts/Geomanist-Bold.woff2") format('woff');
    /*font-weight: ;*/
    font-style: normal;
}

@font-face {
    font-family: 'Geomanist-Medium';
    src: url("../fonts/geomanist-medium.woff2") format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Geomanist-Book';
    src: url("../fonts/Geomanist-Book.otf") format('opentype');
    font-weight: normal;
    font-style: normal;
}



body {
    height: 100%;
    width: 100%;
    margin: 0;
    font-family: Geomanist-Regular, serif;
}

html {
    height: 100%;
    width: 100%;
}

#footer {
    position: absolute;
    top: 100%;
    width: 100%;
    background-color: white;
    color: white;
    text-align: center;
    padding: 1rem;
    z-index: -9;
}


h2 {
    font-family: Geomanist-Regular, serif;
}


*::placeholder {
    font-family: Geomanist-Regular, Serif;
}

.container {
    max-width: 90vw;
    margin: auto;
    text-align: center;
}

.step-wrapper {
    width: 100%;
    max-width: 600px;
    padding-bottom: 2rem;
}

.step-indicator {
    display: flex;
    justify-content: center;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
    gap: 25px;
}

.step > span:first-child {
    transition: background-color .2s ease-in-out;
    cursor: pointer;
}

.step:not(.active) > span:first-child {
    cursor: not-allowed;
}

.step.active > span:first-child:hover{
    background-color: #d4ddf1;
    border-color: #d4ddf1;
}

.step.allowed-not-active > span:first-child:hover{
    cursor: pointer;
}

.step-click-disabled{
    pointer-events: none;

    &:hover{
        cursor: not-allowed;
    }
}

.form-btn-back {
    display: inline-flex; /* Use inline-flex to center text vertically and horizontally */
    flex-direction: column; /* Stack the text vertically */
    justify-content: center; /* Center text vertically */
    align-items: center; /* Center text horizontally */
    width: 150px; /* Adjusted width */
    height: 45px; /* Slightly taller to fit both lines comfortably */
    background: #ffffff;
    border-radius: 25px; /* Round the edges */
    color: var(--secondary-btn-color);
    border: 1px solid #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin: 0 auto 20px auto; /* Center horizontally and add space below */
    padding: 0 10px;
    line-height: 1.2;
    font-family: Geomanist-Regular, Serif;
}

.form-btn-back span {
    font-size: 12px; /* Small adjustment for readability */
    line-height: 1.2; /* Line height for proper spacing between lines */
}

.step {
    width: 100%;
    max-width: 75px;
    min-width: 75px;
    text-align: center;
    position: relative;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.step::after {
    content: "";
    position: absolute;
    width: 100%;
    max-width: 94%;
    height: 2px;
    background: #ffffff;
    top: 21px;
    left: -64%;
}

.step:first-child::after {
    content: none;
}

.step.active {
    color: #ffffff;
}

.step.active::after {
    background: #ffffff;
}

.step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background: transparent;
    border-radius: 50%;
    margin-bottom: 10px;
    color: #ffffff;
    border: 1px solid #ffffff;
    font-weight: bold;
    /*justify-self: center;*/
}

.step.active .step-number {
    background: #ffffff;
    /*border: 2px solid #ffffff;*/
    color: var(--secondary-btn-color);
}

.step span {
    display: block;
    margin-top: 6px;
}

.step-content {
    display: none;
    max-width: 1280px;
    margin: auto;
    padding: 2rem;

}

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

.form-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 100px;
    position: relative;
    padding: 1rem 2rem 1rem 2rem;
    align-content: center;
}

.form-header a {
    position: absolute;
    left: 20px;
    color: var(--secondary-btn-color);
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    font-size: 20px;
}


.header-logo-img{
    width: 200px !important;
    align-self: center !important;
    margin:auto !important;
    cursor: pointer;

}

.form-header a:hover {
    color: var(--primary-btn-color);
}

.form-hero-1 {
    padding-top: 2rem;
    padding-bottom: 4rem;
    background-color: var(--secondary-btn-color);
    background-image: url("../img/plus-bg.svg");
    margin-bottom: -5rem;
}

.form-hero-1-b {
    background-color: #ffffff;
}

section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.form-hero-1-wrap {
    text-align: center;
    padding-bottom: 2rem;
}

.form-hero-1-title {
    color: #ffffff;
    font-family: Geomanist-Regular, serif;
    letter-spacing: 1.2px;
    font-weight: light;
}

.location-hero {
    padding-bottom: 5rem; /* Add space below the hero section */
}

.location-top-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;

}

.location-top-wrap div {
    width: 100%;
}

.location-top-circle-img {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-right: -1rem;
    margin-top: -5rem;
    margin-bottom: 2rem;
}

.location-top-circle-img img, .appointment-top-circle-img img {
    border-radius: 200px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.location-wrap {
    border-radius: 20px;
    border: 1px solid var(--standard-border-color);
    background-color: #ffffff;
    padding: 2rem;
    position: absolute;
    width: 57vw;
    min-width: 1000px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: left;

}

.location-bottom-img {
    height: 100%;
    max-width: 920px;

}

.location-bottom-wrap {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.location-bottom-img img {
    width: 100%;
}

.location-bottom-img img {
    width: 100%;
    border-radius: 20px;
    height: 490px;
    object-fit: cover;
}


.location-bottom-locations-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.location-bottom-location {
    /*border: 1px solid var(--standard-border-color);*/
    background-color: #f0f3f6;
    /*box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);*/
    border-radius: 20px;
    display: flex;
    /*width: auto;*/
    flex-direction: row;
    justify-content: space-between;
    padding: 0 1rem;
    align-items: center;
}

.location-bottom-location:hover {
    cursor: pointer;
    background-color: #F0F3F6;
}


.location-bottom-location-t-wrap {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.location-bottom-location-t-wrap h2 {
    margin: 0 40px 0 0;
    font-size: 20px;
    font-family: Geomanist-Book;
    color: #012240;
}

.location-bottom-location-icon-loca .fa-location-dot {
    color: var(--primary-btn-color-hover);
    margin-right: 0;
}

.location-bottom-location-icon-loca {
    margin-right: 40px;
    color: #696969;
    font-size: 20px;

}

button.location-btn-next {
    background-color: var(--primary-btn-color);
    border: 1px solid var(--primary-btn-color);
    border-radius: 50px;
    color: #FFFFFF;
    font-weight: bolder;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    font-size: 18px;
    font-family: Geomanist-Regular, serif;
    padding: 11px 25px 11px 25px;
    -webkit-tap-highlight-color: transparent;

}

button.location-btn-next:hover {
    background: var(--primary-btn-color-hover);
    border-color: var(--primary-btn-color-hover);
}

.appointment-wrap {
    width: 57vw;
    min-width: 1000px;
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--standard-border-color);
    padding: 2rem;
    /*margin-bottom: 100px;*/
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;

}

.appointment-top-wrap div {
    width: 100%;
}

.appointment-top-circle-img {
    display: flex;
    justify-content: flex-end;
    margin-right: -1rem;
    margin-top: -5rem;
    margin-bottom: 2rem;
}

.appointment-bottom-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.pageButton {
    border-radius: 50px; /* Circular buttons */
}

.appointment-title {
    color: var(--standard-title-color);
    width: 100%;
    max-width: 390px;
    margin: 0;
    font-size: 30px;
    text-align: center;
}

.appointment-subtitle {
    width: 100%;
    max-width: 450px;
    font-size: 18px;
    text-align: center;
    color: #696969;
}

.appointment-bottom-appointment-t-p > * {
    text-align: left;
    margin-bottom: 1rem;
}

.appointment-bottom-appointment-t-p {
    font-family: Geomanist-Regular;

}


.appointment-bottom-appointment-wrap {
    width: 100%;
    /*padding: 0rem 4rem;*/
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 2rem;
}

.appointment-bottom-appointment-img-t-wrap {
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.appointment-bottom-appointment {
    background-color: #f0f3f6;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    /*box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);*/
}

.appointment-bottom-appointment:hover {
    background-color: #F0F3F6;
    cursor: pointer;
}

img.appointment-bottom-appointment-img {
    width: 100%;
    max-width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 20px;
}

.appointment-bottom-appointment-t-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.appointment-bottom-appointment-t-h2 {
    margin: 0 30px 0 0;
    text-align: left;

}

.appointment-bottom-appointment-t-p {
    margin: 0;
    padding-top: 1rem;
    text-align: left;
}

.appointment-btn-next {
    border: 0;
    cursor: pointer;
    font-family: Geomanist-Regular, serif;
    transition: background-color 0.3s ease-in-out;
    font-size: 18px;
    font-weight: 700;

}

.appointment-btn-next:hover {
    background-color: var(--primary-btn-color-hover);
}


/*Start information form*/

/*.form-hero-wrap {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    padding: 2rem;*/
/*    background-color: #0e386b;*/
/*    border-radius: 20px;*/
/*    margin: 2rem auto;*/
/*    max-width: 1280px;*/
/*    margin-bottom: -5rem;*/
/*}*/

.form-hero-image {
    width: 50%;
    padding-right: 2rem;
}

.form-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.form-card-wrap {
    width: 50%;
    display: flex;
    justify-content: center;
}

.form-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 500px;
    width: 75vw;
    /*margin: auto*/
    margin-bottom: 4rem;
}


.form-card h1 {
    color: var(--standard-title-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column-reverse; /* Ensure the label appears below the field */
    gap: 0.5rem;
}

.form-row {
    display: flex;
    gap: 1rem; /* Adjust gap between the elements */
}

#aanhef {
    width: 100%;
}

#firstName, #lastName {
    flex-basis: 40%; /* Make these fields take equal width */
}

.form-group label {
    /*margin-bottom: 0.5rem; !* Space between input and label *!*/
    font-weight: bold;
    color: var(--standard-title-color);
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--standard-border-color);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

button.form-btn-next {
    width: 100%;
    background-color: var(--primary-btn-color);
    border: none;
    border-radius: 50px;
    padding: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    font-family: Geomanist-Regular;

    cursor: pointer;
}

button.form-btn-next:hover {
    background-color: var(--primary-btn-color-hover);
}

button.form-btn-next:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}


/* start overzicht*/
.review-summary-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 800px; /* Adjust width as needed */
}

.review-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 500px;
}

.card h1 {
    color: var(--standard-title-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.card p {
    font-size: 16px;
    color: var(--standard-title-color);
    margin-bottom: 0.75rem;
}

.card span {
    font-weight: bold;
}

/*.card button {*/
/*    display: block;*/
/*    width: 100%;*/
/*    background-color: #aec9e1;*/
/*    border: none;*/
/*    border-radius: 50px;*/
/*    padding: 0.75rem;*/
/*    color: #ffffff;*/
/*    font-weight: 600;*/
/*    font-size: 16px;*/
/*    cursor: pointer;*/
/*    margin-top: 2rem;*/
/*    transition: background-color 0.3s ease-in-out;*/
/*}*/

.card button:hover {
    background-color: var(--primary-btn-color);
}

/* Spinner Overlay - only covers the date-picker-card */
/*.spinner-overlay {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: rgba(0, 0, 0, 0.5); !* semi-transparent background *!*/
/*    display: flex; !* Flexbox to center the spinner *!*/
/*    justify-content: center; !* Horizontally center the spinner *!*/
/*    align-items: center; !* Vertically center the spinner *!*/
/*    z-index: 999; !* Ensure it appears above datePicker content *!*/
/*    border-radius: 25px; !* Optional: Match date picker’s styling *!*/
/*}*/



/* Keyframe animation for spinner rotation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*appointment summary*/
/*.!* General container styling *!*/
.summary-card {
    width: 90%; /* Responsive width for desktop and mobile */
    max-width: 700px;
    padding: 2rem;
    border: 1px solid var(--standard-border-color);
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Slightly darker shadow for visibility */
    margin: 2rem auto; /* Center and space it on the page */
    font-family: Arial, sans-serif;
    display: none;
    flex-direction: column;
    /*align-items: center;*/
}

.summary-card h2 {
    text-align: center;
    color: var(--standard-title-color);
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.summary-card p {
    margin-bottom: 3rem;
}

/* Tile container for desktop */
.tile-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
}


/* Individual tile styling */
.summary-tile {
    background-color: #F2F3F7;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    width: calc(50% - 1rem); /* Two columns on desktop */
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /*height: fit-content;*/
    /*min-height: 150px;*/
    align-items: flex-start;
}




/* Responsive adjustments for mobile */
@media (max-width: 600px) {
    /* Keep the tile container within the card */
    .tile-container {
        flex-direction: column; /* Stacks items vertically */
        gap: 0.5rem;
        width: 100%;
        padding: 0; /* Ensure no extra padding on mobile */
    }

    /* Full-width tiles on mobile */
    .summary-tile {
        width: 100%; /* Full width on mobile */
    }

    .info-card {
        max-height: 90svh;
        width: 100svw;
        overflow-y: scroll;
        top: 50% !important;
        /*background-color: #ffe0e0;*/
    }

}


/*.summary-tile strong {*/
/*    color: var(--standard-title-color);*/
/*    display: block;*/
/*    margin-bottom: 100rem;*/
/*    font-weight: 600;*/
/*    font-size: 1rem;*/
/*}*/


/*appointment confirmation*/
.confirmation-card {
    width: 640px;
    padding: 1rem 3rem 3rem 3rem;
    border: 2px solid var(--standard-border-color);
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: -3rem auto 3rem;
}

.confirmation-card h2 {
    text-align: center;
    color: var(--standard-title-color);
    margin-bottom: 20px;
}

.confirmation-card h3 {
    text-align: center;
    color: var(--standard-title-color);
    font-weight: lighter;
    margin-bottom: 20px;
}

.confirmation-card p {
    color: #555;
    margin-bottom: 20px;
}

.confirmation-card button {
    display: block;
    width: 100%;
    background-color: var(--secondary-btn-color);
    border: none;
    border-radius: 50px;
    padding: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.confirmation-card button:hover {
    background-color: var(--primary-btn-color);
}

input.error, select.error {
    border: 1px solid var(--error-color);
}

.phoneNumberCard {
    position: absolute;
    width: auto;
    left: 0;
    right: 0;
    margin: auto;
}

.phoneNumberCard h2 {
    text-align: center;
    color: #003366;
    margin-bottom: 20px;
}

.phoneNumberCard a {
    text-decoration: none;
    color: #15436C;
    font-weight: bold;
}

#dateOfBirth {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #d2d2d2;
    /*border-radius: 10px;*/
    background-color: #fff;
    color: #000;
    box-shadow: none;
    transition: border 0.3s ease-in-out;
}

#dateOfBirth:focus {
    border-color: #000;
    outline: none;
}

#dateOfBirth::placeholder {
    font-family: Geomanist-Regular, serif;

}

.flatpickr-calendar .flatpickr-day.selected {
    background: var(--secondary-btn-color) !important;
    color: #fff !important;
}

#dateOfBirth.error {
    border: 1px solid var(--error-color)
}


.extraInformationButton {
    background-color: #ffffff;
    border: 1px solid #012240;
    border-radius: 50px;
    height: 55px;
    padding: 0rem 2rem;
    color: #012240;
    /*font-weight: 600;*/
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    font-family: Geomanist-Regular;
    font-weight: 700;
    font-size: 18px;
    width: 192px;
    -webkit-tap-highlight-color: transparent;
}

.extraInformationButton:hover {
    border-color: #15436C;
    color: #15436C;
}

/* Overlay styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Grey overlay with transparency */
    z-index: 1000;
    /*blur*/
    backdrop-filter: blur(2px);
}

/* Info card styles */
.info-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2rem;
    background-color: white;
    border-radius: 20px;
    z-index: 1001;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add some shadow for better visuals */
    font-family: Geomanist-Regular;
    font-size: 20px;
    width: 620px; /* Adjust the width as needed */
    max-width: 90%;
}

.info-card-body {
    color: #696969;
    padding-bottom: 0.5rem;
}



/* Close button styles (you can style the existing 'form-btn-next' class here) */
.form-btn-next {
    margin-top: 20px; /* Add some spacing at the top */
    padding: 10px 20px;
    background-color: #f26363; /* Example button color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    /*font-size: 18px;*/
    /*    disable mobile click highlight*/
    -webkit-tap-highlight-color: transparent;

}


/* Add hover effects or other styles for buttons */
.form-btn-next:hover {
    background-color: #e05252;
}


/* Location */
@media only screen and (max-width: 768px) {


    .location-top-wrap {
        flex-direction: column; /* Stack the image above the options */
        align-items: center; /* Center align the content */
    }

    .location-top-circle-img {
        margin-right: 0;
        margin-top: 0;
        margin-bottom: 1rem; /* Adjust spacing for mobile view */
        display: flex;
        justify-content: center;
    }

    .location-bottom-wrap {
        flex-direction: column; /* Stack locations vertically */
        gap: 15px; /* Adjust gap between the elements */
    }

    .location-bottom-img img {

        height: auto; /* Make sure the image height is responsive */
        max-height: 300px; /* Limit the image height */

    }

    .location-bottom-img > img {
        border-radius: 20px;
    }

    .location-top-circle-img {
        display: none;
    }

    .location-bottom-locations-wrap {
        max-width: 87vw
    }


    .form-card {
        width: 95vw;
    }


}

@media only screen and (max-width: 1200px) {
    .location-wrap,
    .appointment-wrap {
        width: 95%;
        min-width: unset;
        padding: 1rem;
        text-align: left;
    }

    .appointment-btn-wrap {
        flex-direction: column;

    }

    .appointment-btn-next {
        width: 100%;
    }

    .location-top-wrap {
        flex-direction: column; /* Stack the image above the options */
        align-items: center; /* Center align the content */
    }

    .location-top-circle-img {
        margin-right: 0;
        margin-top: 0;
        margin-bottom: 1rem; /* Adjust spacing for mobile view */
        justify-content: center;
    }

    .location-bottom-wrap {
        flex-direction: column; /* Stack locations vertically */
        gap: 15px; /* Adjust gap between the elements */
    }

    .location-bottom-img img {
        height: auto; /* Make sure the image height is responsive */
        max-height: 300px; /* Limit the image height */
        border-radius: 20px;
    }

    .location-bottom-locations-wrap {
        /*width: 1000px;*/
    }

    .location-bottom-location {
        width: 100%;
    }

    .extraInformationButton {
        height: 50px;
        width: 100%;
    }

    .location-top-circle-img, .appointment-top-circle-img {
        display: none; /* Hide the circle image on smaller screens */
    }

    .step-indicator {
        /*    scale down the step-indicator based on the screen size*/
        transform: scale(0.9);
    }

    .appointment-title {
        font-size: 24px;
        margin-top: 10px;
        margin-bottom: -10px;
    }

    .appointment-bottom-appointment-t-p {
        text-align: left;
        margin-bottom: 1rem;
    }

    .summary-card {
        width: 90vw;
    }

    .confirmation-card {
        width: 90vw;
    }
}


/* Styles for screens up to 700px wide */
@media only screen and (max-width: 700px) {

    .form-hero-1 {
        width: 100vw;
    }


    .appointment-bottom-appointment-t-wrap,
    .appointment-bottom-appointment-img-t-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0.8rem;
    }

    .appointment-bottom-appointment-t-h2 {
        text-align: center !important;
    }

    .appointment-bottom-appointment-t-p {
        text-align: center;
    }

    .appointment-bottom-appointment {
        flex-direction: column;
        align-items: center;
    }

    .appointment-bottom-appointment-img {
        width: 100%;
        max-width: 200px;
        height: 200px;
        object-fit: cover;
        border-radius: 20px;
    }

    /* Align the buttons left and right on mobile view */
    .appointment-btn-wrap {
        display: flex;
        justify-content: space-between; /* Align buttons to the left and right */
        width: 100%; /* Full width for the container */
        padding: 0 1rem; /* Add padding to prevent the buttons from touching the edges */
        align-items: center; /* Vertically center buttons */
    }

    .extraInformationButton {
        margin-left: 0; /* Align to the left */
        /*flex: 1; !* Make the button take available space *!*/
        max-width: 100%; /* Limit the width to prevent the button from being too wide */
    }

    .appointment-btn-next {
        margin-right: 0; /* Align to the right */
        flex: 1; /* Make the button take available space */
        max-width: 100%; /* Limit the width to prevent the button from being too wide */
        text-align: right; /* Align the arrow image to the right */
        background-color: #F4594B; /* Add background color to match the SVG's background */
        color: white; /* Make text color white to contrast the background */
        padding: 0.5rem 1rem; /* Add padding to the button */
        border-radius: 50px; /* Make it rounded like the arrow SVG */
        display: flex;
        /*justify-content: space-between; !* Place the text and arrow apart *!*/
        align-items: center; /* Center the text and image vertically */
        /*font-size: 18px;*/
    }

    .appointment-btn-next img {
        margin-left: 0.5rem; /* Add space between the text and the arrow */
    }


    .appointment-bottom-appointment-t-h2 {
        text-align: left;
        /*margin-bottom: 1rem;*/


    }

    .appointment-bottom-appointment-img {
        display: none;
    }


}


/* Styles for screens up to 500px wide */
@media only screen and (max-width: 500px) {

    .appointment-bottom-appointment-t-h2 {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .step-indicator {
        transform: scale(0.8); /* Scale down the step indicator */
    }

    .appointment-title {
        font-size: 20px;
    }

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

    .form-hero-1-wrap {
        padding-bottom: 0;
    }

    .info-card {
        max-height: 90dvh;
        width: 100svw;
        overflow-y: scroll;
        top: 50% !important;
        /*background-color: #c6ffc0;*/
    }



}


/* For larger screens (above 700px) */
.appointment-btn-wrap {
    display: flex;
    justify-content: flex-start; /* Keep buttons side by side */
    gap: 1rem; /* Add space between buttons */
}


.extraInformationButton, .appointment-btn-next {
    margin-top: 0;
    margin-bottom: 0;
}

.appointment-btn-next {
    background-color: var(--primary-btn-color); /* Match background of the "next" button */
    color: white; /* Make text white */
    padding: 0.5rem 1rem; /* Add padding to the button */
    border-radius: 50px; /* Rounded button */
    display: flex;
    justify-content: center;
    align-items: center; /* Center text and arrow vertically */
    -webkit-tap-highlight-color: transparent;

}


/* General Form Group Styles */
.form-group {
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

.age-ear-section-container {
    max-width: none;
}

/* Subtitle Styling */
.age-ear-subtitle,
.age-check-subtitle,
.hearing-aid-replacement-subtitle {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #696969;
    /*color: var(--dosecondary-btn-color);*/
}



/* Options Container Styling */
.age-ear-operation-options,
.age-ear-age-group-options,
.age-check-options,
.hearing-aid-replacement-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/*make label unbold*/
.age-ear-operation-options label,
.age-ear-age-group-options label,
.age-check-options label,
.hearing-aid-replacement-options label {
    font-weight: normal !important;
    color: black
}


/*.age-check-section-container{*/
/*}*/
/* General Button Radio Styling */
.age-ear-btn-radio,
.age-check-btn-radio,
.hearing-aid-btn-radio {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 2px solid var(--standard-border-color);
    border-radius: 50px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
    width: 100%; /* Ensure the radio button label takes full width */
    box-sizing: border-box; /* Include padding and border in width calculation */
    -webkit-tap-highlight-color: transparent;

}

.age-ear-btn-radio:hover,
.age-check-btn-radio:hover,
.hearing-aid-btn-radio:hover {
    border-color: var(--secondary-btn-color);
}

/* Radio Button Input Styling */
.age-ear-btn-radio input[type="radio"],
.age-check-btn-radio input[type="radio"],
.hearing-aid-btn-radio input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--secondary-btn-color);
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-right: 15px;
    transition: all 0.3s ease;
    transform: scale(1);
}

.age-ear-btn-radio input[type="radio"]:hover,
.age-check-btn-radio input[type="radio"]:hover,
.hearing-aid-btn-radio input[type="radio"]:hover {
    transform: scale(1.1);
    border-color: #043156;
}

/* Checked State Styling */
.age-ear-btn-radio input[type="radio"]:checked::before,
.age-check-btn-radio input[type="radio"]:checked::before,
.hearing-aid-btn-radio input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 12px;
    height: 12px;
    background-color: var(--secondary-btn-color);
    border-radius: 50%;
    animation: pop-in 0.5s ease forwards;
}

@keyframes pop-in {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.age-ear-btn-radio input[type="radio"]:checked,
.age-check-btn-radio input[type="radio"]:checked,
.hearing-aid-btn-radio input[type="radio"]:checked {
    transform: scale(1);
    border-color: #062b47;
}

/* Deselect Animation for Unchecked State */
.age-ear-btn-radio input[type="radio"]:not(:checked)::before,
.age-check-btn-radio input[type="radio"]:not(:checked)::before,
.hearing-aid-btn-radio input[type="radio"]:not(:checked)::before {
    animation: pop-out 0.3s ease;
}

@keyframes pop-out {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

/* Focus State Styling */
.age-ear-btn-radio input[type="radio"]:focus,
.age-check-btn-radio input[type="radio"]:focus,
.hearing-aid-btn-radio input[type="radio"]:focus {
    border-color: #032744;
}

/* Additional Spacing for Age Check Card */
.age-check-card {
    margin-bottom: 8rem;
}


.summary-subtitle {
    text-align: center;
}

/*select the second summary <strong> element per summary tile*/
.summary-tile-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: Geomanist-Book, serif;
    color:#042d4e;
    font-size: 18px;
}

.summary-title-icon {
    background-color: #ffffff;
    padding: 10px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-btn-color);
}

/*smooth all button transitions*/
button {
    transition: background-color 0.2s ease-in-out;
}

#submit-button {
    background-color: #46a43b;
    height: 50px;
    font-size: 1.2rem;
}

#submit-button p {
    font-size: 180px;
    font-weight: 700;
    color: #ffffff;
}

#submit-button:hover {
    background-color: #3a8e32;
}

.card-close-btn {
    height: 30px !important;
    width: 30px !important;
    background-color: #cacaca;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
    border: none;
    border-radius: 50%;
    display: block;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1/1;
    padding: 0 !important;

    & > i{
        padding: 0;
    }
}

/*center close button text
 */
.card-close-btn span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-close-btn:hover {
    background-color: #b3b3b3;
}

.card-close-btn:focus {
    outline: none;
}

.card-close-btn:active {
    background-color: #a6a6a6;
}


.info-card h2 {
    margin-top: 2px;
    color: #012240;
}

.hearing-aid-replacement-options {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Add fade-in and fade-out animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    /*from { opacity: 1; }*/
    /*to { opacity: 0; }*/
}

.overlay {
    /*animation: fadeIn 0.3s ease-in-out;*/
}

.overlay.fade-out {
    animation: fadeOut 0.0s ease;
}

@media (max-width: 515px){
    .location-bottom-location{
        flex-direction: column;
        padding-bottom: 10px;
    }

    .location-btn-next{
        width: 100%;
        margin-top: 5px;
    }

    .location-bottom-location-t-wrap{
        width: 100%;
    }
}