.form-wrapper {
    width: 100%;
}

.a8-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.a8-form .input-group {
    width: 100%;
    padding: 20rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40rem;
    border-bottom: 1px dashed #bbb;
}

.a8-form .input-wrapper {
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.a8-form .input-wrapper .input-title {
    width: 100rem;
    min-width: 100rem;
}

.a8-form .input-wrapper .input-title h5 {
    color: #555;
    font-size: 17rem;
    font-weight: 600;
    display: flex;
    gap: 7rem;
}

.a8-form .input-wrapper .input-title h5 span {
    color: var(--main-color);
    font-size: 5rem;
}

.a8-form .inputbox {
    color: #222;
    width: 100%;
    height: 55rem;
    padding: 0 20rem;
    font-size: 17rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    -webkit-border-radius: 0;
    border-radius: 0;
    border: none;
    outline: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.a8-form textarea {
    color: #222;
    width: 100%;
    height: 140rem;
    padding: 20rem;
    font-size: 17rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    -webkit-border-radius: 0;
    border-radius: 0;
    border: none;
    outline: none;
    background-color: #fff;
    border: 1px solid #ddd;
    resize: none;
}

.a8-form .inputbox::placeholder {
    color: #bbb;
    font-weight: 400;
}

.a8-form textarea::placeholder {
    color: #bbb;
    font-weight: 400;
}

.a8-form .inputbox:focus,
.a8-form textarea:focus {
    border: 1px solid var(--main-color);
}

.a8-form .inputbox:disabled,
.a8-form textarea:disabled {
    cursor: not-allowed;
    background-color: #ddd;
}

.a8-form .radio-wrapper {
    width: 100%;
    display: flex;
    gap: 5rem;
}

.a8-form .radio-wrapper input[type="radio"] {
    display: none;
}

.a8-form .radio-wrapper label {
    flex: 1;
    color: #333;
    height: 55rem;
    font-size: 18rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    background-color: #fff;
    text-align: center;
    user-select: none;
    cursor: pointer;
}

.a8-form .radio-wrapper label:hover {
    background-color: #f8f8f8;
}

.a8-form .radio-wrapper input[type="radio"]:checked+label {
    color: #fff;
    font-weight: 700;
    border: 1px solid var(--main-color);
    background-color: var(--main-color);
}

.a8-form .a8-submit {
    color: #fff;
    width: 100%;
    height: 60rem;
    font-size: 19rem;
    font-weight: 700;
    border: none;
    outline: none;
    background-color: var(--main-color);
    cursor: pointer;
    margin-top: 30rem;
}

.a8-form .a8-submit:disabled {
    color: #aaa;
    cursor: not-allowed;
    background-color: #ddd;
}

.a8-personal {
    width: 100%;
    padding: 20rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 10rem;
}

.a8-personal-no {
    border: 1px solid var(--main-color);
}

.a8-personal-text input {
    display: none;
}

.a8-personal-text label {
    display: flex;
    align-items: center;
    gap: 7rem;
}

.a8-personal-text label em {
    position: relative;
    width: 18rem;
    min-width: 18rem;
    height: 18rem;
    min-height: 18rem;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
}

.a8-personal-text label em::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 10rem;
    height: 10rem;
    background-color: var(--main-color);
    display: none;
}

.a8-personal-text label p {
    color: #444;
    font-size: 16rem;
    font-weight: 500;
    user-select: none;
    cursor: pointer;
}

#cb:checked ~ label em::after {
    display: block;
}

.a8-personalBtn {
    color: #fff;
    font-size: 14rem;
    font-weight: 600;
    padding: 5rem 10rem;
    background-color: #aaa;
    cursor: pointer;
}



/*==================================================*/
@media (max-width: 768px) {
    .a8-form .input-wrapper .input-title h5 span {
        width: 3px;
        height: 3px;
    }
}