﻿/* فونت */
@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Regular.woff2') format('woff2');
}

body {
    margin: 0;
    padding: 0;
    background: #f3f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'YekanBakh', sans-serif;
}

/* تصویر سمت چپ */
section img {
    width: 450px;
    max-width: 100%;
}

/* کانتینر فرم */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* فرم لاگین */
.inner {
    background: #ffffff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    width: 350px;
    text-align: center;
}

.lblstyle {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
    text-align: right;
}

.txtstyle {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-size: 14px;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: #4d8bff;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

/* ------------------------------
   موبایل: تک‌ستونه
--------------------------------*/
@media (max-width: 600px) {

    body {
        flex-direction: column;
        padding: 20px;
        height: auto;
    }

    section img {
        width: 70%;
        margin-bottom: 20px;
    }

    .inner {
        width: 100%;
        max-width: 350px;
        padding: 25px;
    }
}

/* ------------------------------
   تبلت: دو بخشی اما وسط‌چین
--------------------------------*/
@media (min-width: 601px) and (max-width: 1024px) {

    body {
        flex-direction: column;
        height: auto;
        padding-top: 40px;
    }

    section img {
        width: 350px;
        margin-bottom: 20px;
    }

    .inner {
        width: 400px;
    }
}
