* {
    margin: 0;
    padding: 0;
    outline: none;
}

.hidediv {
    visibility: hidden;
}

.container_as_main {
    font-family: 'Almarai', sans-serif;
    direction: rtl;
    margin-top: -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
    padding-top: 30px;
    overflow: hidden;
    background: -webkit-linear-gradient(bottom, #f3f3f3, #ffd96d54)
}

::selection {
    color: #fff;
    background: #ffd96d;
}

.container_as {
    width: 360px;
    background: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 25px 35px 10px 35px;
}

.container_as header {
    font-size: 35px;
    font-weight: 600;
    margin: 0 0 30px 0;
}

.container_as .form-outer {
    width: 100%;
    overflow: hidden;
}

.container_as .form-outer form {
    display: flex;
    width: 400%;
}

.form-outer form .page {
    width: 25%;
    transition: margin-right 0.3s ease-in-out;
}

.form-outer form .page .title {
    text-align: right;
    font-size: 25px;
    font-weight: 500;
}

.form-outer form .page .field {
    width: 289px;
    height: 45px;
    margin: 45px 0;
    display: flex;
    position: relative;
}

form .page .field .label {
    position: absolute;
    top: -30px;
    font-weight: 500;
}

form .page .field input {
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 5px;
    padding-right: 15px;
    font-size: 18px;
}

form .page .field select {
    height: auto;
    width: 100%;
    padding-right: 10px;
    font-size: 17px;
    font-weight: 500;
}

form .page .field button {
    width: 100%;
    height: calc(100% + 5px);
    border: none;
    background: #ffd96d;
    margin-top: -20px;
    border-radius: 5px;
    color: #000;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.5s ease;
}

form .page .field button:hover {
    background: #ffce41;
}

form .page .btns button {
    margin-top: -20px !important;
}

form .page .btns button.prev {
    margin-right: 3px;
    font-size: 17px;
}

form .page .btns button.submit {
    margin-right: 3px;
}

form .page .btns button.next {
    margin-right: 3px;
}

.container_as .am-progress-bar {
    display: flex;
    margin: 20px 0;
    user-select: none;
    direction: rtl;
}

.container_as .am-progress-bar .step {
    text-align: center;
    width: 100%;
    position: relative;
}

.container_as .am-progress-bar .step p {
    font-weight: 500;
    font-size: 18px;
    color: #878888;
    margin-bottom: 8px;
}

.am-progress-bar .step .bullet {
    height: 25px;
    width: 25px;
    border: 1.5px solid #878888;
    display: inline-block;
    border-radius: 50%;
    position: relative;
    transition: 0.2s;
    font-weight: 500;
    /*font-size: 17px;*/
    line-height: 21px;
}

.am-progress-bar .step .bullet.active {
    border-color: #ffefc1;
    background: #ffd96d;
}

.am-progress-bar .step .bullet span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.am-progress-bar .step .bullet.active span {
    display: none;
}

.am-progress-bar .step .bullet:before,
.am-progress-bar .step .bullet:after {
    position: absolute;
    content: '';
    bottom: 11px;
    right: 30px;
    height: 3px;
    width: 35px;
    background: #262626;
}

.am-progress-bar .step .bullet.active:after {
    background: #ffd96d;
    transform: scaleX(0);
    transform-origin: right;
    animation: animate 0.3s linear forwards;
}

@keyframes animate {
    100% {
        transform: scaleX(1);
    }
}

.am-progress-bar .step:last-child .bullet:before,
.am-progress-bar .step:last-child .bullet:after {
    display: none;
}

.am-progress-bar .step p.active {
    color: #d43f8d;
    transition: 0.2s linear;
}

.am-progress-bar .step .check {
    position: absolute;
    left: 50%;
    top: 41%;
    font-size: 15px;
    transform: translate(-50%, -50%);
    display: none;
}

.am-progress-bar .step .check.active {
    display: block;
    color: #fff;
}

.notice_under {
    margin-top: -25px;
    font-size: 12px;
}