@font-face {
    font-family: 'BYekan';
    src: url(/assets/fonts/YekanBakh-Regular.828224c.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    height: 100vh;
}

/* BASIC */

html {
    background-color: #56baed;
}

* {
    font-family: 'BYekan' !important;
}

a {
    color: #92badd;
    display: inline-block;
    text-decoration: none;
    font-weight: 400;
}

h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    /*margin: 40px 8px 10px 8px;*/
    line-height: 34px;
    color: #1a1919;
    font-family: system-ui;
}


/* STRUCTURE */

.wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: 20px;
}

#formContent {
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    background: #fff;
    padding: 37px;
    width: 90%;
    max-width: 600px;
    position: relative;
    -webkit-box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
    text-align: center;
}

#formFooter {
    background-color: #f6f6f6;
    border-top: 1px solid #dce8f1;
    padding: 25px;
    text-align: center;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
}


/* TABS */

h2.inactive {
    color: #cccccc;
}

h2.active {
    color: #0d0d0d;
    border-bottom: 2px solid #5fbae9;
}


/* FORM TYPOGRAPHY*/

input[type=button],
input[type=submit],
input[type=reset] {
    background-color: #E54E4E;
    cursor: pointer;
    border: none;
    color: white;
    padding: 15px 80px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 9px;
    margin: 32px 0px 34px 0px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
    background-color: #a9a8a8;
}

input[type=button]:active,
input[type=submit]:active,
input[type=reset]:active {
    -moz-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -o-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
}

input[type=text] {
    background-color: #f6f6f6;
    border: none;
    color: #0d0d0d;
    padding: 15px 50px;
    text-align: right;
    font-family: system-ui;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    /*margin: 5px;*/
    width: 100%;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 9px;
}

input[type=text]:focus {
    background-color: #fff;
    border-bottom: 2px solid #5fbae9;
}

input[type=text]::placeholder {
    color: #cccccc;
}

input[type=password] {
    background-color: #f6f6f6;
    border: none;
    color: #0d0d0d;
    padding: 15px 50px;
    text-align: right;
    font-family: system-ui;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    /*margin: 5px;*/
    width: 100%;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 9px;
}

input[type=password]:focus {
    background-color: #fff;
    border-bottom: 2px solid #5fbae9;
}

input[type=password]::placeholder {
    color: #cccccc;
}

/* ANIMATIONS */

/* Simple CSS3 Fade-in-down Animation */
.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeIn {
    opacity: 0;
    -webkit-animation: fadeIn ease-in 1;
    -moz-animation: fadeIn ease-in 1;
    animation: fadeIn ease-in 1;

    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;

    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-duration: 1s;
}

.fadeIn.first {
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.fadeIn.second {
    -webkit-animation-delay: 0.6s;
    -moz-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.fadeIn.third {
    -webkit-animation-delay: 0.8s;
    -moz-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.fadeIn.fourth {
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-delay: 1s;
}

/* Simple CSS3 Fade-in Animation */
.underlineHover:after {
    display: block;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background-color: #56baed;
    content: "";
    transition: width 0.2s;
}

.underlineHover:hover {
    color: #0d0d0d;
}

.underlineHover:hover:after {
    width: 100%;
}

h1 {
    color: #60a0ff;
}

/* OTHERS */

*:focus {
    outline: none;
}

#icon {
    width: 30%;
}

#text-google {
    margin: 0;
    font-family: system-ui;
    font-weight: bold;
    font-size: 14px;
    color: #4397F7;
}

#btn-google {
    border: 2px solid #4397F7;
    border-radius: 9px;
    padding: 15px 80px;
    margin-top: 36px;
}

#login input[placeholder] {
    direction: rtl;
}

.icon {
    padding-right: 25px;
    /* Increase padding to make space for the image + extra 5px */
    background: url('/assets/login-images/mobile.png') no-repeat right;
    background-size: 20px;
    background-position: calc(100% - 16px) center;
    /* Adjust background position */
}

.icon-email {
    padding-right: 25px;
    /* Increase padding to make space for the image + extra 5px */
    background: url('/assets/login-images/email.png') no-repeat right;
    background-size: 20px;
    background-position: calc(100% - 16px) center;
    /* Adjust background position */
}

.icon-password {
    padding-right: 25px;
    /* Increase padding to make space for the image + extra 5px */
    background: url('/assets/login-images/password.png') no-repeat right;
    background-size: 20px;
    background-position: calc(100% - 16px) center;
    /* Adjust background position */
}

.top-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 592px;
    margin-bottom: 40px;
    /* Adjust this value as needed */
}

.top-images .left-image {
    width: 28px;
}

@media (min-width: 1440px) and (max-width: 2560px) {
    .left-btn-back {
        margin-right: 27%;
    }

    .form-control {
        padding: 22px 50px !important;
    }
}

@media (min-width: 1024px) and (max-width: 1440px) {
    .left-btn-back {
        margin-right: 37%;
    }

    .form-control {
        padding: 23px 50px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .left-btn-back {
        margin-right: 52%;
    }

    .form-control {
        padding: 26px !important;
    }
}

@media (min-width: 425px) and (max-width: 768px) {
    .left-btn-back {
        margin-left: -18%;
    }
}

@media (min-width: 425px) and (max-width: 560px) {
    .left-btn-back {
        margin-left: -70%;
    }
    .top-images {
        width: 390px;
        margin-right: 28px;
    }
    .form-control {
        padding: 18px !important;
        padding-right: 25px !important;
    }
}

@media (min-width: 375px) and (max-width: 425px) {
    .left-btn-back {
        margin-left: -66%;
    }
    .top-images {
        width: 300px;
    }
    .form-control {
        padding: 14px 15px !important;
    }
}

@media (max-width: 375px) {

    .form-control {
        padding: 11px !important;
    }
}

.refresh {
    padding-right: 25px;
    /* Increase padding to make space for the image + extra 5px */
    background: url('/assets/login-images/refresh.png') no-repeat right;
    background-size: 20px;
    background-position: calc(100% - 120px) center;
    /* Adjust background position */
}

.form-control {
    font-size: 24px;
    padding: 24px 32px;
    text-align: center;
    margin: 10px;
    background: url('/assets/login-images/dash.png') no-repeat center;
    background-size: 20px;
    background-position: calc(100% - 51px) right;
    /* Adjust background position */
    font-weight: bold;
}

.input-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#swal2-title {
    text-align: right;
}

#timer {
    text-align: right;
    font-size: 15px;
    margin-top: 10px;
    margin-right: 10px;
    color: #e54e4e;
}

#btn-submit:disabled {
    opacity: 0.6;
    /* Optionally reduce opacity to visually indicate disabled state */
    cursor: not-allowed;
    /* Optionally change cursor to indicate non-interactivity */
}