body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
}

.survey-container {
    width: 90%;
    max-width: 400px;
    font-size: 20px;
}

.question-text {
    margin-bottom: 20px;
    font-size: 22px;
}

.option {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f0f0f0;
    border: 2px solid #dcdcdc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    text-align: center;
}

.option:hover {
    background-color: #e0e0e0;
}

.slider-container {
    margin: 20px 0;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    background: #ddd;
    outline: none;
    border-radius: 10px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 30px;
    background: #333;
    cursor: pointer;
    visibility: hidden; /* Hide thumb by default */
}

input[type="range"].active::-webkit-slider-thumb {
    visibility: visible; /* Only show thumb when slider has 'active' class */
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px; /* Adjust this value to increase spacing */
}

.slider-labels span {
    font-size: 16px; /* Adjust based on your design */
}

.next-button-container {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next-button {
    display: block;
    margin-top: 40px; /* Increase the top margin to create more separation */
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    visibility: visible; /* Ensure the button is visible by default */
}

.checkbox-option {
    display: block; /* Ensures each option is on its own line */
    margin-bottom: 10px; /* Adds some space between options */
    cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
    transform: scale(1.5); /* Adjusts the size; 1.5 is an example that makes the checkbox 50% larger */
    margin-right: 10px; /* Adds some space between the checkbox and its label */
    vertical-align: middle; /* Optional: Helps align the checkbox with the text vertically */
}

.text-input {
    -webkit-appearance: none;
    appearance: none; /* Standard property along with vendor-specific */
    width: 100%; /* had 90% when it was defininitely working */
    height: 150px; /* Providing a height can help in visibility */
    padding: 10px 20px;
    margin-bottom: 20px;
    border: 2px solid #dcdcdc;
    border-radius: 5px;
    font-size: 18px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensures padding doesn't affect the width */
    visibility: visible;
   /* display: block; /* Ensure it's treated as a block-level element */
}

.text-input:focus {
    border-color: #007bff;
    outline: none;
}

.text-input::placeholder {
    color: #aaa;
    font-style: italic;
}



/* Ensure that text input is visible on all devices */
@media screen and (max-width: 480px) {
/*    .text-input, .next-button { */
/*        font-size: 16px; /* Adjust font size for smaller screens */
/*        padding: 12px; /* Adjust padding for better touch interaction */
/*        height: 35px; */
    }
}


