.form-container {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

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

.form-container h1 {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #333;
}

button {
    padding: 12px 24px;
    margin: 8px;
    background-color: #51BAAD;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #3e9f92;
}

.next-button {
    display: block;
    margin: 20px auto;
    padding: 12px 30px;
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

#navigation-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
}

#back-link {
    margin-right: 20px;
}

#progress-bar-container {
    flex-grow: 1;
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
}

#progress-bar {
    width: 0;
    height: 100%;
    background-color: #0073aa;
    transition: width 0.3s ease;
}

.styled-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.input-box {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba( ```
0, 0, 0, 0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        padding: 15px;
    }

    .form-container h1 {
        font-size: 20px;
    }

    button {
        width: 100%;
        margin: 5px 0;
    }
}

.form-container {
    display: none;
}
.form-container.active {
    display: block;
}

/* General body and container styling */
body {
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}
.next-button {
padding: 13px 20px;
background-color: #51BAAD;
color: white;
border: none;
border-radius: 0px;
cursor: pointer;
font-weight: bold;
margin-top: 20px}

.next-button:hover {
    background-color: #3e9f92; /* Darker teal color */
}

#snoreeze-form {
    margin: 0px auto;
    text-align: center;
    background-color: #fff;
    padding: 0px 0px;
max-width: 700px;
}

/* Styling for headings and text */
#snoreeze-form h1 {
font-size: 21px;
line-height: 27px;
margin-bottom: 10px;
color: #1e3a8a;
text-align: left;
font-weight: 600;
margin-top: 10px;
}

#snoreeze-form p {
    font-size: 19px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 20px;
}

/* Button Styling */
button {
    display: block;
    width: 100%;
    margin: 20px auto;
    padding: 15px;
    background-color: #E9E9E9;
    color: #000000;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    font-size: 19px;
    text-align: center;
    transition: background-color 0.3s ease-in-out;
}

button:hover {
    background-color: #accbf4;
}


/* Input Fields */
input {
    width: 100%;
    padding: 10px;
    margin: 10px auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

/* Fade-in animation for screens */
.form-container {
    animation: fadeIn 0.5s;
    display: none;
    padding: 0;
}

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


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Base style for the labels */
.styled-checkboxes label.checkbox-label {
    display: block;
    width: 100%;
    margin: 10px auto;
    text-align: center;
    border: none;
    border-radius: 0px;
    background-color: #e9e9e9;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-size: 19px;
    padding: 15px;
    color: #000000;
    box-sizing: border-box;
}

/* Hide the actual checkbox */
.styled-checkboxes input[type="checkbox"] {
    display: none;
}

/* Checked state: Apply styles to the label */
.styled-checkboxes input[type="checkbox"]:checked + label {
    background-color: #accbf4; /* Blue background for selected state */
    border : none;
    color: #000000;
}

/* Hover effect */
.styled-checkboxes label.checkbox-label:hover {
    background-color: #accbf4;
}
#results-button1 {
    display: none; /* Hidden by default */
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 20px auto;
    display: block; /* Center align */
}

#results-button1:hover {
    background: #0056b3;
}

/* Navigation container with stacked layout */
#navigation-container {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align items to the left */
    padding: 10px 0;
    margin-bottom: 10px;
}

/* Style for the back arrow image */
.back-icon {
    width: 30px; /* Adjust the size as needed */
    height: auto;
    cursor: pointer; /* Pointer cursor on hover */
    margin-bottom: 20px !important; /* Space between the back icon and progress bar */
    transition: opacity 0.2s ease; /* Smooth hover effect */
}

/* Hover effect for the back arrow */
#back-link:hover .back-icon {
    opacity: 0.8; /* Slight transparency on hover */
}

/* Style for the progress bar container */
#progress-bar-container {
    width: 100%; /* Full width of the navigation container */
    height: 12px;
    background: #eaeaea;
    border-radius: 25px;
    position: relative;
}

/* Style for the progress bar */
#progress-bar {
    width: 0; /* Initial width of the bar */
    height: 100%;
    background: #1e3a8a;
    border-radius: 25px;
    transition: width 0.3s ease-in-out; /* Smooth transition for progress */
}


@media (max-width:700px) {
button {
margin: 10px auto !important;
	}}