﻿:root {
    --bg-color: #dbdaf1;
    --box-bg: #ffffff;
    --accent-color: #776ee3;
    --text-color: #212529;
    --link-color: #4283bd;
}

*, ::after, ::before {
    box-sizing: border-box
}

html {
    font-family: IRANSans;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    direction: rtl;
}

body {
    margin: 0;
    padding: 0;
    font-family: IRANSans;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    color: var(--text-color);
    align-items: center;
    min-height: 100vh;
    font-size: 0.8rem;
    font-weight: 400;
}

a {
    display: block;
    margin-top: 15px;
    line-height: 1em;
    font-weight: normal;
    text-decoration: none;
    transition: color .5s ease-in-out;
    color: var(--link-color) !important;
}

.login-box {
    display: flex;
    width: 800px;
    max-width: 95%;
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--box-bg);
    box-shadow: 0 4px 12px #000000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.login-left {
    width: 40%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .login-left img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

.login-right {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

    .login-right img {
        width: 100px;
        margin-bottom: 20px;
    }

@media (max-width: 768px) {
    .login-left {
        display: none;
    }

    .login-right {
        width: 100%;
    }
}
