﻿@font-face {
    font-family: 'KoodakBold';
    src: url('../Font/B Koodak Bold_0.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'KoodakOutline';
    src: url('../Font/B Koodak Outline_0.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
    direction: <%= System.Threading.Thread.CurrentThread.CurrentUICulture.TextInfo.IsRightToLeft ? "rtl" : "ltr" %>;
    text-align: <%= System.Threading.Thread.CurrentThread.CurrentUICulture.TextInfo.IsRightToLeft ? "right" : "left" %>;
}

.login-background {
    position: relative;
    height: 100%;
    width: 100%;
}

.top-right-text {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 18px;
    font-family: 'KoodakBold', Arial, sans-serif;
    color: #fff;
    text-align: right;
}

.language-switcher {
    margin-top: 5px; /* فاصله از متن خوش‌آمدگویی */
    font-size: 16px;
    font-family: 'KoodakBold', Arial, sans-serif;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 8px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: flex-end; /* برای راست‌چین بودن در فارسی */
    gap: 10px;
}

.lang-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s ease;
}

    .lang-link:hover {
        color: #007bff;
    }

.lang-text {
    font-size: 14px;
}

.lang-flag {
    width: 30px;
    height: 20px;
    margin-top: 2px;
}

/* بقیه استایل‌ها مثل enamad-container و login-container بدون تغییر */

/* بقیه استایل‌ها بدون تغییر */

.login-background {
    background-image: url('/Image/Imalogin.png');
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.top-right-text {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 18px;
    font-family: 'KoodakBold', Arial, sans-serif;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 5px;
    text-align: right;
}

.copyright-text {
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 14px;
    font-family: 'KoodakBold', Arial, sans-serif;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    text-align: right;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
    text-align: right;
}

label {
    font-size: 14px;
    font-family: 'KoodakBold', Arial, sans-serif;
    color: #555;
    display: block;
    margin-bottom: 8px;
    text-align: right;
}

.input-field {
    width: calc(100% - 50px);
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: right;
    height: 40px; /* اضافه شده برای هم‌ترازی با آیکون */
}

    .input-field:focus {
        border-color: #007bff;
        outline: none;
    }

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'KoodakBold', Arial, sans-serif;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .login-btn:hover {
        background-color: #0056b3;
    }

.error-message {
    color: red;
    font-size: 14px;
    font-family: 'KoodakBold', Arial, sans-serif;
    display: block;
    margin-top: 10px;
    text-align: right;
}

.input-with-icon {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: flex-start;
}

.icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 20px;
    color: #555;
    margin-left: -1px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

    .icon-box:hover {
        background-color: #007bff;
        color: white;
        transform: scale(1.2);
    }

.icon {
    position: absolute;
    left: 10px;
    font-size: 20px;
    color: #aaa;
    pointer-events: none;
}

.input-with-icon .input-field:focus + .icon-box {
    background-color: #007bff;
    color: white;
    transform: scale(1.2);
    border-color: #007bff;
}

.input-with-icon .icon-box {
    transition: all 0.3s ease;
}

.enamad-container {
    position: fixed;
    bottom: 40px;
    right: 10px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.enamad-seal img {
    width: 100px;
    height: auto;
}

@media (max-width: 768px) {
    .enamad-container {
        width: 100px;
        height: 100px;
        padding: 5px;
    }

    .enamad-seal img {
        width: 80px;
    }
}
