/* Fonts */

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazir/webfonts/Vazir-Light-FD.eot');
    src: url('../fonts/Vazir/webfonts/Vazir-Light-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir/webfonts/Vazir-Light-FD.woff2') format('woff2'),
    url('../fonts/Vazir/webfonts/Vazir-Light-FD.woff') format('woff'),
    url('../fonts/Vazir/webfonts/Vazir-Light-FD.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazir/webfonts/Vazir-Bold-FD.eot');
    src: url('../fonts/Vazir/webfonts/Vazir-Bold-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir/webfonts/Vazir-Bold-FD.woff2') format('woff2'),
    url('../fonts/Vazir/webfonts/Vazir-Bold-FD.woff') format('woff'),
    url('../fonts/Vazir/webfonts/Vazir-Bold-FD.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazir/webfonts/Vazir-Black-FD.eot');
    src: url('../fonts/Vazir/webfonts/Vazir-Black-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir/webfonts/Vazir-Black-FD.woff2') format('woff2'),
    url('../fonts/Vazir/webfonts/Vazir-Black-FD.woff') format('woff'),
    url('../fonts/Vazir/webfonts/Vazir-Black-FD.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazir/webfonts/Vazir-Medium-FD.eot');
    src: url('../fonts/Vazir/webfonts/Vazir-Medium-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir/webfonts/Vazir-Medium-FD.woff2') format('woff2'),
    url('../fonts/Vazir/webfonts/Vazir-Medium-FD.woff') format('woff'),
    url('../fonts/Vazir/webfonts/Vazir-Medium-FD.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazir/webfonts/Vazir-Light-FD.eot');
    src: url('../fonts/Vazir/webfonts/Vazir-Light-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir/webfonts/Vazir-Light-FD.woff2') format('woff2'),
    url('../fonts/Vazir/webfonts/Vazir-Light-FD.woff') format('woff'),
    url('../fonts/Vazir/webfonts/Vazir-Light-FD.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazir/webfonts/Vazir-Thin-FD.eot');
    src: url('../fonts/Vazir/webfonts/Vazir-Thin-FD.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Vazir/webfonts/Vazir-Thin-FD.woff2') format('woff2'),
    url('../fonts/Vazir/webfonts/Vazir-Thin-FD.woff') format('woff'),
    url('../fonts/Vazir/webfonts/Vazir-Thin-FD.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

*, body {
    padding: 0;
    margin: 0;
}

body {
    background-color: var(--bg-color);
    font-family: 'Vazirmatn', sans-serif;
}

:root {
    --bg-color: #FBFBFB;
    --primary-color: #C91D13;
    --secondary-color: #FCECEA;
    --btn-hover-color: #BB1A11;
}

*, *:hover {
    transition: 0.3s !important;
    outline: none !important;
    text-decoration: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    margin: 0;
    padding: 0;
    font-family: Vazirmatn, sans-serif;
    direction: rtl;
    overflow-x: hidden;
}

input {
    border-radius: 10px;
    border: 1px solid #DADADA;
    padding: 10px;
}

input[name="email_mobile"] {
    direction: ltr;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="text"]:focus {
    border: 1px solid var(--primary-color);
}

input[type="number"]:focus {
    border: 1px solid var(--primary-color);
}

input[type="password"]:focus {
    border: 1px solid var(--primary-color);
}

input[type="email_mobile"]:focus {
    border: 1px solid var(--primary-color);
}

input[type="text"]::placeholder {
    color: #808080;
    opacity: 1;
    font-size: 14px;
}

input[type="number"]::placeholder {
    color: #808080;
    opacity: 1;
    font-size: 24px;
}

input[type="text"]:-ms-input-placeholder {
    color: #808080;
    font-size: 14px;
}

input[type="text"]::-ms-input-placeholder {
    color: #808080;
    font-size: 14px;
}

input[name="email"]::placeholder {
    color: #808080;
    opacity: 1;
    direction: rtl;
    text-align: right;
    font-size: 14px;
}

input[name="email"]:-ms-input-placeholder {
    color: #808080;
    direction: rtl;
    text-align: right;
    font-size: 14px;
}

input[name="email"]::-ms-input-placeholder {
    color: #808080;
    direction: rtl;
    text-align: right;
    font-size: 14px;
}


input[name="email_mobile"]::placeholder {
    color: #808080;
    opacity: 1;
    direction: rtl;
    text-align: right;
    font-size: 14px;
}

input[name="email_mobile"]:-ms-input-placeholder {
    color: #808080;
    direction: rtl;
    text-align: right;
    font-size: 14px;
}

input[name="email_mobile"]::-ms-input-placeholder {
    color: #808080;
    direction: rtl;
    text-align: right;
    font-size: 14px;
}

input[type="password"]::placeholder {
    color: #808080;
    opacity: 1;
    direction: rtl;
    text-align: right;
    font-size: 14px;
}

input[type="password"]:-ms-input-placeholder {
    color: #808080;
    direction: rtl;
    text-align: right;
    font-size: 14px;
}

input[type="password"]::-ms-input-placeholder {
    color: #808080;
    direction: rtl;
    text-align: right;
    font-size: 14px;
}

a:hover {
    color: #ca1c13 !important;
}

.login-section-wrapper {
    border-radius: 24px;
    box-shadow: 0 4px 2px 0 rgba(0, 0, 0, 0.04), 0 4px 32px 0 rgba(0, 0, 0, 0.08);
}

.login-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-section-left {
    background-color: var(--primary-color);
    background-image: url('../images/login-page-left-pattern.svg');
    background-repeat: no-repeat;
    background-size: auto;
    background-position: bottom left;
    width: 100%;
    min-height: 700px;
    border-radius: 24px 0 0 24px;
    display: flex;
    align-items: center;
}

/*.login-section-left img {*/
/*    max-height: 220px;*/
/*}*/

.login-section-right {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 20px;
    padding: 50px;
}

.login-section-right h1{
    font-size: 24px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.primery-btn{
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px;
}

.primery-btn:hover{
    background-color: var(--btn-hover-color);
}

.google-btn-login {
    padding: 10px;
    border: 1px solid #DADADA;
    font-size: 14px;
    text-align: center;
    border-radius: 10px;
    color: #000;
}

.google-btn-login img {
    margin-left: 5px;
}

.social-title {
    position: relative;
    margin-top: 20px;
}

.login-form-info span{
    font-size: 14px;
}

.social-title:after {
    content: "";
    position: absolute;
    top: 15px;
    left: -10px;
    width: 25%;
    height: 1px;
    background: linear-gradient(to right, transparent, red);
}

.social-title:before {
    content: "";
    position: absolute;
    top: 15px;
    right: -10px;
    width: 25%;
    height: 1px;
    background: linear-gradient(to left, transparent, red);
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 100%;
    transition: transform 0.3s ease;
    width: 45px;
    height: 45px;
}


.social-icons a:hover {
    transform: scale(1.1);
}

.login-password {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-password a{
    color: var(--primary-color);
    font-size: 12px;
    padding-right: 5px;
}

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-actions a{
    font-size: 14px;
    color: #000;
}

.auth-actions i{
    padding-right: 5px;
}

.auth-actions a i {
    transition: transform 0.3s ease;
}

.auth-actions a:hover i {
    transform: translateX(-5px);
}

.login-password-field {
    position: relative;
    display: inline-block;
    width: 100%;
}

.login-password-field input {
    padding-left: 40px;
    width: 100%;
    box-sizing: border-box;
}

.eye-icon {
    position: absolute;
    left: 10px;
    cursor: pointer;
    top: 32%;
    transform: translateY(-50%);
    font-size: 18px;
}

.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    direction: ltr;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    outline: none;
    border-radius: 12px;
    background: #EBEBEB;

}

.otp-input:focus {
    border-color: #007bff;
}

.verification-timer {
    font-size: 14px;
    text-align: center;
}

.error-text {
    color: var(--primary-color);
    font-size: 12px;
    margin-top: 10px;
    text-align: right;
    padding-right: 5px;
}

.verification-resend {
    font-size: 14px;
    color: var(--primary-color);
    
}

@media (max-width: 991px) {
    .login-section-wrapper {
        flex-direction: column;
        box-shadow: none;
    }

    .login-section-right {
        padding: 30px 20px;
    }

    .login-section-left img {
        width: 80%;
    }

    .social-icons a img {
        width: 28px;
        margin: 0 5px;
    }
}


@media (max-width: 768px) {
    .login-section-wrapper {
        flex-direction: column;
        box-shadow: none;
    }

    .login-section-left {
        display: none;
    }

    .login-section-right {
        width: 100%;
        padding: 20px;
    }

    .login-section-left img {
        max-width: 200px;
    }

    .google-btn-login {
        display: block;
        width: 100%;
    }
}
