@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.min.css");

.form-group,
.form-body,
.form-control {
    position: relative;
}

.form-control {
    padding: 22px 16px;
}

.toggle-gen-password {
    z-index: 20;
    position: absolute;
    right: 15px;
    top: 50%;
    cursor: pointer;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #333;
    font-size: 15px;
}
.toggle-gen-password .after {
    display: none;
}
.toggle-gen-password.is-active .before {
    display: none;
}
.toggle-gen-password.is-active .after {
    display: block;
}
input:valid:not(:placeholder-shown) ~ .icon:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c";
    color: #249e2c;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
input:invalid:not(:placeholder-shown),
input.invalid-field {
    border-color: #eb172b !important;
}

.toggle-gen-password .after {
    display: none;
}
.toggle-gen-password.is-active .before {
    display: none;
}
.toggle-gen-password.is-active .after {
    display: block;
}
.form-error {
    width: 100%;
    background-color: #fdd1d6;
    text-align: center;
    padding: 15px 20px;
    display: none;
}
.form-error.show {
    display: block;
}

.hidepassword {
    display: none;
}

.iti {
    color: #000;
    width: 100%;
    font-size: 15px;
}

.iti__country-list {
    z-index: 10;
}

.fail-message {
    text-align: center;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
}

.err {
    display: block;
    background-color: rgba(255, 0, 0, 0.646);
    padding: 16px 12px;
    margin-top: 20px;
}

.api-form {
    z-index: 123;
}

.api-form .reg-btn,
.api-form input {
    width: 100%;
}

.api-form .reg-btn {
    color: #101828;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    text-transform: capitalize;
    border-radius: 8px;
    border: 2px solid #000;
    background: #fff;
    box-shadow: 0px -1px 2px 0px rgba(16, 24, 40, 0.05);
}

.api-form .reg-btn:hover {
    color: #fff;
    background: #1f2e4d;
    border-color: #1f2e4d;
}

.api-form .reg-btn:disabled {
    cursor: not-allowed;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loader {
    display: none;
    border: 10px solid #f3f3f3;
    border-radius: 50%;
    border-top: 10px solid #1f2e4d;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

.form-group {
    margin-bottom: 14px;
}

@media screen and (max-width: 479px) {
    .form-wrapper {
        padding: 42px 36px 34px;
    }
    .form-wrapper .form-group {
        margin-bottom: 14px;
    }
    .btn-submit {
        padding: 1em 1.6em;
    }
    .custom-slide {
        justify-content: flex-end;
        padding: 10% 10% 12%;
    }
    .custom-slide h5 {
        font-size: 28px;
        margin-bottom: 18px;
    }
    .custom-slide img {
        width: 60px;
    }
    .slideshow-container .next,
    .slideshow-container .prev {
        top: 65%;
    }
}

.switch {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    margin-bottom: 48px;
}

.tab {
    display: flex;
    gap: 12px;
    width: fit-content;
}

.tab:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: #2c3043;
    top: 0;
    right: 0;
    z-index: 1;
}

/* Style the buttons inside the tab */
.tab button {
    border: 2px solid #93ace3;
    background: #fff;
    color: #101828;
    border-radius: 8px;
    padding: 4px 20px;
    transition-property: all;
    font-size: 20px;
    line-height: 1.5em;
    text-decoration: none;
    transition: color 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #93ace3;
    color: #fff;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #93ace3;
    color: #fff;
}

.tabs {
    width: 100%;
}

/* Style the tab content */
.tabcontent {
    display: none;
    gap: 80px;
    color: #04060b;
}
.tabcontent.block {
    display: flex;
    flex-direction: row;
}

.tc .tab-left,
.tc .tab-right {
    width: 50%;
}

.tc .tab-right img {
    padding-left: 64px;
}

.tab-left .btn-black {
    background-color: #07acff;
    margin-left: 0;
    margin-top: 15%;
    width: 160px;
    padding: 12px;
    height: auto;
}

.tabs .tc {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 0;
}

@media screen and (max-width: 991px) {
    .tab {
        width: 100%;
        justify-content: center;
    }
    .tabs .tc {
        width: 100%;
    }
    .tabcontent {
        gap: 0;
    }
    .tabcontent,
    .tabcontent.block {
        flex-direction: column;
    }
    .tabcontent img {
        display: block;
        margin: 0 auto;
    }
}

.banner-gray-background-form {
    padding: 80px 40px;
    background-image: url(../images/form-holder.png);
    background-size: contain;
    background-repeat: no-repeat;
}

/* .banner-gray-background-form:before {
    position: absolute;
    content: "";
    background-image: url("../images/form-holder.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 376px;
    height: 476px;
    top: -40px;
    right: -20px;
    left: -20px;
    bottom: -40px;
    z-index: 0;
} */

@media (max-width: 991px) {
    .banner-gray-background-form {
        /* padding: 126px 0; */
    }
    .section.top-banner .display-flex-horizontal.large-gap-center {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .tab {
        gap: 6px;
    }
    .tab button {
        font-size: 16px;
    }
}

/* DE */

@media (max-width: 576px) {
    .de .pricing-card-wrapper {
        width: 87%;
    }
    .de .large-link-wrapper {
        font-size: 16px;
    }

    .de .check-list-wrapper-large {
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .de .display-flex-horizontal.large-gap-center,
    .de .display-flex-horizontal.medium-gap-center {
        flex-wrap: wrap-reverse;
        gap: 0;
        flex-direction: column;
    }
}
