.card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    width: 100vw;
    height: 100%;
    /* border-radius: 20px; */
    margin-bottom: 20px;
    background-color: #212121;
    margin: 0 auto;
    padding: 2rem 1rem;
    border: 1px solid #ffffffbd;
    padding-top: 6rem;

}

body {
    background-color: transparent;
    color: #fff;
    font-family: 'Inter', Helvetica, sans-serif;
    height: calc(100 * var(--vh));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px;
}

.question-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 1rem;
    width: 100%;

}

.header {
    text-align: left;
    font-size: 16px;
}

.question {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.rating-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.rating-slider:hover {
    opacity: 1;
}


.rating-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
}

.rating-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
}

.slider-scale {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    /* Adjust based on slider thumb size to align scale */
}

.slider-scale span {
    position: relative;
    text-align: center;
}

.next-btn {
    background-color: rgb(255, 0, 73);
    margin-top: 1rem;
    color: #fff;
    border: none;
    display: block;
    width: 60%;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    font-family: inherit;
    padding: .6rem;
    border-radius: 1rem;
}

.error {
    color: red;
    font-size: 14px;
    margin-top: 1rem;
    display: none;
}

.nameError {
    color: red;
    font-size: 14px;
    width: 80%;
    display: none;
}

.emailError {
    color: red;
    font-size: 14px;
    width: 80%;
    display: none;
}

.phoneError {
    color: red;
    font-size: 14px;
    width: 80%;
    display: none;
}

.next-err{
    color: red;
    font-size: 14px;
    width: 100%;
    text-align: left;
    display: none;
}

.privacy-message {
    font-size: 10px;
    margin-top: 1rem;

}

.privacy-message::before {
    content: "*";
    margin-right: 4px;
}

.submit-btn {
    background-color: rgb(255, 0, 73);
    margin-top: 1rem;
    color: #fff;
    border: none;
    display: block;
    width: 50%;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    font-family: inherit;
    padding: .6rem;
    border-radius: 1rem;
}

.close-btn {
    background-color: rgb(255, 0, 73);
    margin-top: 1rem;
    color: #fff;
    border: none;
    display: block;
    width: 50%;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    font-family: inherit;
    padding: .6rem;
    border-radius: 1rem;
}

input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    /* Make it round */
    vertical-align: middle;
    cursor: pointer;
    margin: 10px 15px;
}

input[type="email"] {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    padding: 10px;
    width: 80%;
    margin: 10px auto;
    display: block;
}

textarea {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    padding: 10px;
    width: 90%;
    margin: 10px auto;
    display: block;
}

.none-btn {
    background-color: rgb(255, 0, 73);
    margin-top: 1rem;
    color: #fff;
    border: none;
    display: block;
    width: 60%;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    font-family: inherit;
    padding: .6rem;
    border-radius: 1rem;
}


.radio-option {
    display: flex;
    align-items: start;
    /* Aligns items to the start of the flex container */
    margin-bottom: 10px;
    /* Adds some space between each radio option */
}

.radio-option input[type="radio"] {
    margin-top: 0.2em;
    /* Adjusts the position of the radio button to align with the first line of text */
    margin-right: 10px;
    /* Adds some space between the radio button and the label */
}

.radio-option label {
    flex-grow: 1;
    /* Allows the label to take up the remaining space */
    margin-top: 2px;
    /* Adjusts vertical alignment if needed */
}

.slider-container {
    position: relative;
}

.rating-slider {
    width: 100%;
    /* Ensure the slider stretches to fill the container */
}

.slider-scale {
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
    /* Adjust padding to align with the slider's ends */
}

.slider-scale span {
    display: block;
    text-align: center;
    padding-left: 8px;
}

/* Optional: Style to visually distinguish the scale */
.slider-scale span::after {
    content: '';
    display: block;
    margin: auto;
    height: 2px;
    width: 2px;
    background-color: black;
}

input[type="text"] {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    padding: 10px;
    width: 80%;
    margin: 10px auto;
    display: block;
}

input[type="number"] {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    padding: 10px;
    width: 80%;
    margin: 10px auto;
    display: block;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    /* Aligns items to the start of the flex container */
    margin-bottom: 10px;
    /* Adds some space below each option */
}

.radio-option input[type="checkbox"] {
    margin-top: 0.5em;
    /* Adjusts the checkbox to align with the first line of text */
    margin-right: 10px;
    /* Adds space between the checkbox and the label */
}

.radio-option label {
    flex: 1;
    /* Allows the label to fill the available space */
}


.rating-slider::-webkit-slider-thumb {
    visibility: var(--thumb-visibility, hidden); /* Default to hidden */
}

@media(min-width :720px) {
    body {
        width: 480px;
        margin: 0 auto;
    }

    .card {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
        width: 40;
        min-height: 100%;
        margin-bottom: 20px;
        background-color: #212121;
        margin: 0 auto;
        border: 1px solid #ffffffbd;
    }
}