@font-face {
    font-family: IRANSans;
    src: url('../fonts/IRANSans.ttf');
}
@font-face {
    font-family: IRANSans-Medium;
    src: url('../fonts/IRANSans_Medium.ttf');
}
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
    box-sizing: border-box;
    direction: rtl;
    outline: none;
}
html , body {
    font-family: IRANSans;
    overflow-x: hidden;
}
body {
    background-color: #121212;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.content {
    background-color: #252526;
    border-radius: 20px;
    padding: 40px;
    width: 450px;
    margin: 100px 0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.content label:not(.error) {
    color: #fe3100;
    font-size: 12px;
    margin-bottom: 10px;
    display: flex;
    font-weight: bold;
    flex-direction: column;
}
label.error {
    position: absolute;
    bottom: 8px;
    color: red;
    top: auto;
    right: auto;
    left: 10px;
    font-size: 10px;
    padding: 0;
    height: auto;
    transform: none!important;
}
.content h1 {
    color: #fe3100;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    text-align: center;
    padding: 15px 0;
    border-radius: 10px;
    font-weight: bolder;
    position: relative;
}
.content h1::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fe3100;
}
.content input {
    display: flex;
    width: 100%;
    border: 2px solid #fe3100;
    height: 40px;
    border-radius: 10px;
    background-color: #1e1e1e;
    margin-top: 5px;
    color: white;
    padding: 0 15px;
}
.content input:focus {
    background-color: #121212;
    color: white;
    border-color: #fe3100;
    box-shadow: 0 0 0 .25rem rgba(254, 49, 0,.25);
}
.form-floating {
    margin-bottom: 15px;
}
.content button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: transparent;
    font-weight: bolder;
    border: 2px solid #fe3100;
    border-radius: 10px;
    padding: 15px 0;
    color: #fe3100;
    transition: all ease .2s;
}
.content button:hover {
    background-color: #fe3100;
    color: white;
}
hr {
    display: block;
    height: 5px;
    border: 0;
    background-color: #fe3100;
    margin: 2em 0;
    padding: 0;
}
@media screen AND (max-width: 567px) {
    .content {
        margin: 0;
        border-radius: 0;
    }
}


.plans {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 970px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 20px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    flex-direction: column;
}

.plans .plan input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.plans .plan {
    cursor: pointer;
    width: 100%;
    margin-bottom: 15px!important;
}

.plans .plan .plan-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 2px solid #fe3100;
    border-radius: 10px;
    -webkit-transition: -webkit-box-shadow 0.4s;
    transition: -webkit-box-shadow 0.4s;
    -o-transition: box-shadow 0.4s;
    transition: box-shadow 0.4s;
    transition: box-shadow 0.4s, -webkit-box-shadow 0.4s;
    position: relative;
}

.plans .plan .plan-content img {
    margin-right: 30px;
    height: 72px;
}

.plans .plan .plan-details span {
    margin-bottom: 10px;
    display: block;
    font-size: 16px;
    line-height: 24px;
    color: #fe3100;
}

.container .title {
    font-size: 20px;
    font-weight: 500;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    color: #252f42;
    margin-bottom: 20px;
}

.plans .plan .plan-details p {
    color: #fe3100;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 0;
}
.plans .plan .plan-details {
    width: 100% !important;
}


.plans .plan input[type="radio"]:checked + .plan-content:after {
    content: "";
    position: absolute;
    height: 8px;
    width: 8px;
    background: #fe3100;
    right: 20px;
    top: 20px;
    border-radius: 100%;
    border: 3px solid #fe3100;
    -webkit-box-shadow: 0px 0px 0px 2px #fe3100;
    box-shadow: 0px 0px 0px 2px #fe3100;
    opacity: 0;
}

.plans .plan input[type="radio"]:checked + .plan-content {
    border: 2px solid #fe3100;
    background: #fe3100;
    -webkit-transition: ease-in 0.3s;
    -o-transition: ease-in 0.3s;
    transition: ease-in 0.3s;
}
.plans .plan input[type="radio"]:checked + .plan-content span {
    color: white;
}
.plans .plan input[type="radio"]:checked + .plan-content p {
    color: white;
}

@media screen and (max-width: 991px) {
    .plans {
        margin: 0;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        padding: 0px;
    }

    .plans .plan {
        width: 100%;
    }

    .plans .plan .plan-content .plan-details {
        width: 100%;
        display: inline-block;
    }

    .plans .plan input[type="radio"]:checked + .plan-content:after {
        top: 45%;
        -webkit-transform: translate(-50%);
        -ms-transform: translate(-50%);
        transform: translate(-50%);
    }
}

@media screen and (max-width: 767px) {
    .plans .plan .plan-content .plan-details {
        width: 100%;
        display: inline-block;
    }
}

@media screen and (max-width: 540px) {

    .plans .plan input[type="radio"]:checked + .plan-content:after {
        top: 20px;
        right: 10px;
    }

    .plans .plan .plan-content .plan-details {
        width: 100%;
    }

    .plans .plan .plan-content {
        padding: 20px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: baseline;
        -ms-flex-align: baseline;
        align-items: baseline;
    }
}