﻿
:root {
    --card-line-height: 1.2em;
    --card-padding: 1em;
    --card-radius: 0.5em;
    --color-green: #558309;
    --color-gray: #e2ebf6;
    --color-dark-gray: #c4d1e1;
    --radio-border-width: 2px;
    --radio-size: 1.5em;
}

@font-face {
    font-family: 'iransansweb';
    font-style: normal;
    font-weight: normal;
    src: url("fonts/IRANSans.eot");
    src: url("fonts/IRANSans.eot?#iefix") format("embedded-opentype"), url("fonts/IRANSans.woff2") format("woff2"), url("fonts/IRANSans.woff") format("woff"), url("fonts/IRANSans.ttf") format("truetype"), url("fonts/IRANSans.svg#fontawesome") format("svg");
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    font-family: "iransansweb", sans-serif;
    height: 100vh;
    direction: rtl;
}
.hero {
    position: absolute;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1 !important;
}
    .hero:after {
        background: url(../img/bg.jpg) center center no-repeat !important;
        background-size: cover !important;
        content: "";
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        filter: blur(5px);
        
    }

.box {
    position: relative;
    width: 100%;
    height: 50px;
    background-color: #edf3f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .box::after {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        transition: all 0.3s ease;
    }

    .box::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        transition: all 0.3s ease;
    }

.box-animation::before {
    animation: animateInputBorder 4s linear infinite;
    animation-delay: -2s;
    background-image: conic-gradient( transparent, transparent, transparent, #00ccff );
}

.box-animation::after {
    animation: animateInputBorder 4s linear infinite;
    background-image: conic-gradient( transparent, transparent, transparent, #d400d4 );
}

@keyframes animateInputBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.box span {
    position: absolute;
    inset: 3px;
    background-color: #edf3f9;
    border-radius: 10px;
    z-index: 2;
}

    .box span input {
        width: 100%;
        height: 100%;
        border: none;
        background-color: transparent;
        color: black;
        font-size: 20px;
        padding: 16px;
        position: relative;
    }

        .box span input:focus {
            outline: none;
            box-shadow: none;
        }


.main-form-container {
    min-width: 500px;
    display: block;
    background-color: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: relative;
    min-height: 300px;
    max-width: 300px;
}

.main-form-container .form-title {
    margin-bottom: 30px;
    text-align: center;
    position: absolute;
    font-size: 20px !important;
    top: -50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    right: 0;
    left: 0;
    margin: 0 auto;
    background-color: #fcf2f2;
    color: #454545;
    /*border-top-left-radius: 10px;
        border-top-right-radius: 10px;*/
}

#step1, #step2 {
    width: 100%;
    background-color: #fff;
}

#step1 {
    display: flex;
    flex-direction: column;
}
#step2 {
    display: none;
    padding: 10px 20px;
}
.show-step {
    display: flex;
}
#step1 .form-container {
    padding: 20px 10px;
    background-color: #ffffff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
    z-index: 1;
}

.login-form, #DivPersonelSelection {
    width: 80%;
    margin: 0 auto;

}
.form-wraper .input-group:not(:last-child) {
    margin-bottom: 30px;
}







     .custom-button {
        border-radius: 10px;
        font-family: "iransansweb";
        font-size: 15px;
        padding: 0.5rem 3rem;
        color: black;
        box-shadow: 0 0 6px 0 rgba(48, 14, 234, 0.5);
        border: solid 3px transparent;
        background-image: linear-gradient( rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) ), linear-gradient(101deg, #000eff, #242ba7);
        background-origin: border-box;
        background-clip: content-box, border-box;
        box-shadow: none;
        color: #edf3f9;
        padding: 10px 30px;
        margin: 30px 0;
        transition: all 0.3s ease;
        margin: 10px auto !important;
        display: flex;
        height: 40px;
        align-items: center;
        justify-content: center;
         min-width: 50%;
    }

         button:hover {
            color: rgb(20, 20, 20);
            box-shadow: 2px 1000px 1px #edf3f9 inset;
            text-align: center;
        }




.bg-btn-container {
    width: 100%;
    height: 100%;
    z-index: 0;
}







/*Personel Selection*/
.img-logo {
    width: 40px;
    height: auto;
}

.img-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: solid 1px #c4d1e1
}

.grid {
    display: grid;
    grid-gap: var(--card-padding);
    margin: 10px auto;
    width: 100%;
}

@media (min-width: 42em) {
    .grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.card {
    background-color: #fff;
    border-radius: var(--card-radius);
    position: relative;
}

    .card:hover {
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
    }

.radio {
    font-size: inherit;
    margin: 0;
    position: absolute;
    left: calc(var(--card-padding) + var(--radio-border-width));
    top: calc(var(--card-padding) + var(--radio-border-width));
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    .radio {
        -webkit-appearance: none;
        -moz-appearance: none;
        background: #fff;
        border: var(--radio-border-width) solid var(--color-gray);
        border-radius: 50%;
        cursor: pointer;
        height: var(--radio-size);
        outline: none;
        transition: background 0.2s ease-out, border-color 0.2s ease-out;
        width: var(--radio-size);
    }

        .radio::after {
            border: var(--radio-border-width) solid #fff;
            border-top: 0;
            border-left: 0;
            content: "";
            display: block;
            height: 0.75rem;
            left: 25%;
            position: absolute;
            top: 50%;
            transform: rotate(45deg) translate(-50%, -50%);
            width: 0.375rem;
        }

        .radio:checked {
            background: var(--color-green);
            border-color: var(--color-green);
        }

    .card:hover .radio {
        border-color: var(--color-dark-gray);
    }

        .card:hover .radio:checked {
            border-color: var(--color-green);
        }
}

.plan-details {
    border: var(--radio-border-width) solid var(--color-gray);
    border-radius: var(--card-radius);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    padding: var(--card-padding);
    transition: border-color 0.2s ease-out;
}

.card:hover .plan-details {
    border-color: var(--color-dark-gray);
}

.radio:checked ~ .plan-details {
    border-color: var(--color-green);
}

.radio:focus ~ .plan-details {
    box-shadow: 0 0 0 2px var(--color-dark-gray);
}

.radio:disabled ~ .plan-details {
    color: var(--color-dark-gray);
    cursor: default;
}

    .radio:disabled ~ .plan-details .plan-type {
        color: var(--color-dark-gray);
    }

.card:hover .radio:disabled ~ .plan-details {
    border-color: var(--color-gray);
    box-shadow: none;
}

.card:hover .radio:disabled {
    border-color: var(--color-gray);
}

.plan-type {
    color: var(--color-green);
    font-size: 1rem;
    font-weight: bold;
    line-height: 1em;
}

.plan-cost {
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.5rem 0;
}

.slash {
    font-weight: normal;
}

.plan-cycle {
    font-size: 1rem;
    font-variant: none;
    border-bottom: none;
    cursor: inherit;
    text-decoration: none;
}

.hidden-visually {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.error {
    width: 100%;
    padding: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    background: #EF665B;
    border-radius: 8px;
    box-shadow: 0px 0px 5px -3px #111;
    margin: 10px auto;
}

.error__icon {
    width: 20px;
    height: 20px;
    transform: translateY(-2px);
    margin-left: 8px;
}

    .error__icon path {
        fill: #fff;
    }

.error__title {
    font-weight: 500;
    font-size: 14px;
    color: #fff;
}

.error__close {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-left: auto;
}

    .error__close path {
        fill: #fff;
    }

.field-wrapper svg:not(.feather-eye):not(.signin) {
    position: absolute;
    right: 25px;
    top: 52px;
    color: #888ea8;
    fill: rgba(0, 23, 55, 0.08);
    width: 20px;
    height: 20px;
}

.field-wrapper svg.feather-eye {
    position: absolute;
    top: 52px;
    left: 40px;
    color: #888ea8;
    fill: rgba(0, 23, 55, 0.08);
    width: 17px;
    cursor: pointer;
}

.form-control {
    padding: 0 30px !important;
    height: 46px !important;
}


.field-validation-error {
    color: #d70c36;
    font-weight: bold;
    margin-right: 10px;
    font-size: 12px;
    display: block;
    margin-top: 10px;
    width: 100%;
}

.forget-password {
    display: block;
    position: relative;
    margin: 10px 0 20px 0;
    color: #0915e8 !important;
    width: 100%;
    cursor: pointer;
    font-size: 12px;
    padding: 10px;
}
.refresh {
    background-color: #e8ebef;
    width: 40px !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    display: inline-block !important;
    width: auto !important;
    border: none;

}
.previous {
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), linear-gradient(101deg, #f90028, #f6507a);
}
.signUp-form {
    height: 100%;
}
.main-form-container .logo {
    position: absolute !important;
    right: 0 !important;
    top: -170px !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 200px !important;
    height: 120px;
    margin: 0 auto;
    object-fit: contain !important;
    z-index: 1;
    padding: 0 !important;
}
    .main-form-container .logo a {
        display: block;
        height: 100%;
        padding: 0 !important;
}
i {
    margin: 0 5px;
}
.logo img {
        width: 100%;
        height: auto;
        margin: 0 !important
    }
/*Personel Selection*/
@media screen and (max-width:995px) {
    .main-form-container {
        width: 90%!important;
        min-width: auto!important;
        max-width: 90%!important
    }
}