﻿/* ✅ فونت فارسی (Yekan) */
@font-face {
    font-family: 'Yekan';
    src: url('/fonts/Yekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ✅ بدنه */
body {
    background: linear-gradient(to right, #f0f8ff, #e6f2ff);
    font-family: 'Yekan', 'Tahoma', sans-serif;
    margin: 0;
    padding: 0;
}

/* ✅ کانتینر اصلی لاگین */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* ✅ کارت لاگین */
.login-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    animation: fadeInUp 0.6s ease-in-out;
}

    /* ✅ عنوان */
    .login-card h3 {
        color: #007bff;
        margin-bottom: 15px;
        font-weight: bold;
    }

/* ✅ فیلدهای ورودی */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

    .input-group input {
        border-radius: 30px;
        text-align: center;
        padding-right: 40px;
        height: 45px;
    }

    .input-group .icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #007bff;
        font-size: 18px;
    }

/* ✅ دکمه */
.btn-custom {
    border-radius: 30px;
    padding: 12px;
    font-weight: bold;
    background: #007bff;
    color: #fff;
    transition: all 0.3s ease;
}

    .btn-custom:hover {
        background: #0056b3;
        transform: translateY(-2px);
        box-shadow: 0px 5px 15px rgba(0,123,255,0.4);
    }

/* ✅ لینک‌ها */
.links {
    margin-top: 20px;
}

    .links a {
        margin: 0 10px;
        font-size: 14px;
        text-decoration: none;
        color: #007bff;
        transition: color 0.3s;
    }

        .links a:hover {
            color: #0056b3;
        }

/* ✅ انیمیشن */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
