.survey {
    border-radius: 4px;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    width: 100%;
    position: relative;
    height: 100%;
}

.survey-inner {
    padding: 50px 60px;
    text-align: center;
}

.main-heading {
    font-size: 35px;
    color: var(--text-color);
    font-weight: bold;
    text-transform: uppercase;
}

.question {
    margin-top: 50px;
    margin-bottom: 40px;
}

.question h2 {
    font-size: 28px;
    color: var(--text-color);
}

.question p {
    font-size: 20px;
    color: rgb(156, 156, 156);
    width: 55%;
    margin: 0 auto;
}

.radio-field {
    position: relative;
    height: 100px;
    width: 100%;
    margin-bottom: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    margin-right: auto;
    transition: 0.4s;
    opacity: 0;
}

.radio-field::before {
    content: "";
    position: absolute;
    right: 0;
    top: 2px;
    width: 100%;
    border-radius: 6px;
    display: grid;
    height: calc(100% - 4px);
    background-color: var(--primary-color);
    transition: 0.4s;
    z-index: -1;
}

.radio-field::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-size: 14px;
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    top: 39px;
    right: 2%;
    background-color: var(--field-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    line-height: 20px;
    text-align: center;
    z-index: -1;
}

.active::after {
    z-index: 6;
}

.radio-field input {
    appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--field-color);
    border: solid 2px rgb(232, 237, 254);
    border-radius: 6px;
    cursor: pointer;
    transition: 0.4s;
    left: 0;
    margin-left: auto;
    z-index: 7;
}

.radio-field label,
.radio-field i {
    position: relative;
    z-index: 10;
    pointer-events: none;
    transition: 0.4s;
}

.radio-field input:hover {
    border-color: var(--primary-color);
}

.radio-field input:checked {
    width: 92%;
    border-color: #6eccd7 !important;
    color: #fff !important;
}

.active::before {
    width: 100%;
    z-index: 1;
}

.radio-field i {
    border-radius: 50%;
    background-color: rgb(233, 238, 255);
    min-width: 54px;
    display: grid;
    align-content: center;
    justify-content: center;
    height: 54px;
    font-size: 22px;
    color: var(--primary-color);
    margin-right: -16px;
}

.radio-field label {
    font-size: 20px;
    color: var(--text-color);
    font-weight: bold;
    margin-right: 20px;
    text-align: right;
}

.radio-field input:checked~label {
    color: var(--primary-color);
}

.next-prev {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    width: auto;
    position: relative;
    flex-wrap: wrap;
}

.next-prev button i {
    margin-right: 10px;
    position: absolute;
    top: 20px;
    left: 20px;
    transition: 0.4s;
}

.next-prev .prev i {
    transform: translateX(-100px);
}

.next-prev .prev:hover i {
    transform: translateX(0px);
}

.next-prev .next i {
    transform: translateX(-100px);
}

.next-prev .next:hover i {
    transform: translateX(0px);
}

.next-prev button {
    border-radius: 6px;
    background-color: var(--primary-color);
    padding: 0 50px;
    height: 60px;
    font-size: 20px;
    border: solid 2px transparent;
    color: rgb(255, 255, 255);
    font-weight: bold;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.next-prev .prev {
    color: var(--text-color);
    border-color: var(--text-color);
    background-color: transparent;
}

.step-bar {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
}

.step-bar .bar {
    background-color: rgb(224, 236, 254);
    width: 95px;
    height: 6px;
    border-radius: 50px;
    margin-right: 10px;
}

.bar .fill {
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    border-radius: inherit;
    transition: 0.4s;
}

.cancel {
    border-radius: 50%;
    background-color: rgb(233, 238, 255);
    height: 69px;
    width: 69px;
    display: grid;
    place-content: center;
    position: absolute;
    top: 50px;
    right: 0;
    cursor: pointer;
}

.cancel i {
    font-size: 18px;
    color: var(--text-color);
}

#sub img {
    width: 60px;
}

.highlight {
    border-top: solid 3px var(--primary-color) !important;
    border-bottom: solid 3px var(--primary-color) !important;
}

#error {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 20;
}

.invalid {
    border: solid 2px #ff4444 !important;
    position: relative;
}