﻿/* پس‌زمینه تار */
body {
    margin: 0;
    height: 100vh;
    font-family: 'IRANSansWeb', sans-serif;
    background: url('/images/login-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

    body::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.1);
        backdrop-filter: unset;
        z-index: 0;
    }

.login-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: fadeIn 1s ease-in-out;
    text-align: right;
}

    .login-card h3 {
        margin-bottom: 2rem;
        color: #333;
        text-align: center;
    }

.form-control {
    border-radius: 10px;
   
}
input::placeholder {
    text-align: right;
    color: red!important;
}
    .form-control:focus {
        border-color: #6B73FF;
        box-shadow: 0 0 0 0.2rem rgba(107,115,255,0.25);
    }

.btn-primary {
    border-radius: 10px;
    background: #6B73FF;
    border: none;
    font-weight: 600;
}

    .btn-primary:hover {
        background: #575fd6;
    }

.text-end {
    text-align: right !important;
}

.alert {
 
    direction: rtl;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .login-card {
        padding: 2rem 1.5rem;
    }
}
