﻿@font-face {
    font-family: 'Vazirmatn-FD';
    src: url('../../fonts/vazir/ttf/Vazirmatn-FD-Medium.ttf') format('truetype');
    src: url('../../fonts/vazir/webfonts/Vazirmatn-FD-Medium.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
* {
    font-family: 'Vazirmatn-FD';
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-4px {
    margin-left: 4px !important;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../login/img/BackGround.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center right;
    clip-path: polygon(0 0, 65% 0, 50% 100%, 0% 100%);
}


.login-container {
    display: flex;
    width: 1200px;
    max-width: 1200px;
    height: 90vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border-style: solid;
    border-width: 20px;
    border-color: #ffff;
    background: url('../login/img/BackGround.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center right;
}


.font-weight-bold {
    white-space: pre;
    margin-bottom: 2em;
}



.right-side {
    flex: 1;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    direction: rtl;
}

.form-control input {
    height: 50px;
}

.forget-password {
    color: #565E64;
}

.form-box {
    width: 100%;
    height:80%;
/*    margin-top:auto;
    margin-bottom:auto;*/
    max-width: 500px;
}



    .form-box form {
        max-width: 350px;
    }

        .form-box form input {
            height: 50px;
        }

        .form-box form button {
            height: 50px;
        }



.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .input-icon i {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #888;
    }


input {
    width: 100%;
    padding: 15px;
    border: none;
    border-bottom: 4px;
    font-size: 14px;
    outline: none;
    border-bottom: 2px solid #a5a5a5;
}

.input-icon input {
    padding-right: 30px;
}

.under-form {
    display: flex;
    justify-content: space-between;
    color: black;
    margin-top: 30px;
}

    .under-form .remember {
        display: flex;
        justify-content: center;
        align-items: center;
    }

form .under-form input {
    height: 18px;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
}

.checkmark {
    background-color: #6ba8d1 !important;
}

    .checkmark::after {
        content: "✓";
        color: white;
        font-size: 10px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-weight: bold;
    }




form .btn-login {
    width: 100%;
    background-color: #4F8FAA;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    form .btn-login:hover {
        border-width: 2px;
        border-color: #a5a5a5;
    }





.left-side {
    flex: 1;
    border-radius: 40px;
    background-size: cover;
    position: relative;
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}


    .left-side h3 {
        font-size: 1.3rem;
        margin-top:50px !important;
        font-weight: 700;
    }

.footer-text {
    font-size: 12px;
    color: #ffff;
    direction: rtl;
    line-height: 1;
    text-align: center;
    font-weight: 600;
}


/* Resposive */


@media (max-width:768px) {
    .background {
        clip-path: none;
        background-image: none;
        background: linear-gradient(to bottom, #4F8FAA, #ade8f4);
    }

    .login-container {
        width: 350px;
        flex-direction: column;
        height: auto;
        border: none;
        background-image: none;
        background: none;
    }

    .left-side {
        display: none;
    }
    .title{
        font-size:1.2rem;
    }

    .right-side {
        width: 100%;
        clip-path: none;
        border: none;
        background-color: rgba(211, 211, 211, 0.7);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    form {
        margin-right: auto;
        margin-left: auto;
    }

    h3 {
        text-align: center;
    }

    .input-icon input {
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
        background-color: transparent;
        border-width: 3px;
    }

    .under-form {
        font-size: 14px;
        margin-top: 20px;
    }

    form input::placeholder {
        font-size: 14px;
    }

    form .btn-login:hover {
        background-color: #ffff;
    }
}

@media (min-width:768px) and (max-width:992px) {
    .background {
        clip-path: none;
        background-image: none;
        background: linear-gradient(to bottom, #4F8FAA, #ade8f4);
    }

    .login-container {
        width: 450px;
        flex-direction: column;
        height: auto;
        border: none;
        background-image: none;
        background: none;
    }

    .left-side {
        display: none;
    }


    .right-side {
        width: auto;
        clip-path: none;
        border: none;
        background-color: rgba(211, 211, 211, 0.7);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    form {
        margin-right: auto;
        margin-left: auto;
    }

    h3 {
        text-align: center;
    }

    .input-icon input {
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
        background-color: transparent;
        border-width: 3px;
    }

    .under-form {
        font-size: 14px;
        margin-top: 20px;
    }

    form input::placeholder {
        font-size: 16px;
    }

    form .btn-login {
        font-size: 16px;
    }

        form .btn-login:hover {
            background-color: #ffff;
        }

    .under-form {
        font-size: 16px;
    }
}

@media (min-width:992px) and (max-width:1200px) {
    .title {
        font-size: 1.3rem;
    }
    .login-container {
        width:900px;
    }

        .left-side h3 {
        white-space: nowrap;
        margin-top: 20px;
        font-size: 22px;
    }

    .mb-3 {
        width: 280px;
    }

    .under-form {
        display: block;
    }

        .under-form .remember {
            display: block;
        }

    form .btn-login {
        width: 280px;
        font-size: 16px;
    }
}

@media (min-width:1200px) and (max-width:1400px) {
    .login-container {
        width: 1000px;
    }
    .left-side h3 {
        margin-top: 50px !important;
        font-size: 22px;
    }
    .title {
        font-size: 1.5rem;
    }

}

@media (min-width: 1400px) {
    .left-side h3 {
        margin-top: 60px !important;
        font-size: 22px;
    }
    .form-box {
        width: 100%;
        max-width: 500px;
    }
}

#DNTCaptchaInputText::placeholder {
    text-align: right !important;
}