@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', sans-serif;
    background-image: url('assets/background.jpg'); /* بک‌گراند دلخواه */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    direction: rtl; /* برای فارسی، در انگلیسی و عربی override می‌شه */
}

.container {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
    color: white;
    max-width: 400px;
    width: 90%;
    animation: fadeIn 1.5s ease-in-out;
}

h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    direction: ltr;
}

button {
    background: linear-gradient(to right, #2196f3, #21cbf3);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.language-switcher {
    margin-top: 15px;
    text-align: center;
}

.language-switcher a {
    font-size: 1.5rem;
    margin: 0 12px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.language-switcher a:hover {
    color: #ffd700;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
    .menu {
    position: relative;
    z-index: 10;
}

}
