@font-face {
    font-family: 'IranSans';
    src: url('iransans.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'IranSans', 'Poppins', sans-serif; /* Ø§ÙˆÙ„ÙˆÛŒØª Ø¨Ø§ Ø§ÛŒØ±Ø§Ù† Ø³Ù†Ø³ */
    background: linear-gradient(151deg, #7f7f7f, #000000); /* Ú¯Ø±Ø§Ø¯ÛŒØ§Ù†Øª ØªÛŒØ±Ù‡â€ŒØªØ± */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e0e0e0; /* Ø±Ù†Ú¯ Ù…ØªÙ† Ø±ÙˆØ´Ù†â€ŒØªØ± */
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: rgba(255, 255, 255, 0.05); /* Ø´ÙØ§ÙÛŒØª Ø¨ÛŒØ´ØªØ± */
    backdrop-filter: blur(12px);
    border-radius: 20px; /* Ú¯ÙˆØ´Ù‡â€ŒÙ‡Ø§ÛŒ Ú¯Ø±Ø¯ØªØ± */
    padding: 45px;
    width: 340px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.35); /* Ø³Ø§ÛŒÙ‡ Ø¹Ù…ÛŒÙ‚â€ŒØªØ± */
    animation: fadeInUp 0.8s ease-out forwards; /* Ø§Ù†ÛŒÙ…ÛŒØ´Ù† Ú©Ù…ÛŒ Ù…ØªÙØ§ÙˆØª */
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

h2 {
    color: #f0f0f0; /* Ø±Ù†Ú¯ Ø¹Ù†ÙˆØ§Ù† Ú©Ù…ÛŒ Ø±ÙˆØ´Ù†â€ŒØªØ± */
    margin-bottom: 30px;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: none;
    border-radius: 10px; /* Ú¯ÙˆØ´Ù‡â€ŒÙ‡Ø§ÛŒ Ú¯Ø±Ø¯ØªØ± Ø¨Ø±Ø§ÛŒ ÙˆØ±ÙˆØ¯ÛŒâ€ŒÙ‡Ø§ */
    background-color: rgba(255, 255, 255, 0.1); /* Ù¾Ø³â€ŒØ²Ù…ÛŒÙ†Ù‡ ÙˆØ±ÙˆØ¯ÛŒâ€ŒÙ‡Ø§ */
    color: #fff;
    transition: background-color 0.3s, box-shadow 0.3s;
    font-size: 16px;
}

input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    outline: none;
    box-shadow: 0 0 0 3px rgba(77, 91, 249, 0.3); /* Ù‡Ø§ÛŒÙ„Ø§ÛŒØª Ø¢Ø¨ÛŒ Ù…Ù„Ø§ÛŒÙ… */
}

input::placeholder {
    color: #bbb; /* Ø±Ù†Ú¯ Ù…ØªÙ†Ø§Ø³Ø¨ Ø¨Ø§ Ù¾Ø³â€ŒØ²Ù…ÛŒÙ†Ù‡ */
}

button {
    font-size: 17px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(104deg, #3c3535, #090909); /* Ú¯Ø±Ø§Ø¯ÛŒØ§Ù†Øª Ø¨Ø±Ø§ÛŒ Ø¯Ú©Ù…Ù‡ */
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(50, 51, 53, 0.4); /* Ø³Ø§ÛŒÙ‡ Ø¨Ø±Ø§ÛŒ Ø¯Ú©Ù…Ù‡ */
}

button:hover {
    background: linear-gradient(45deg, #424245, #212127); /* Ú¯Ø±Ø§Ø¯ÛŒØ§Ù†Øª Ú©Ù…ÛŒ ØªÛŒØ±Ù‡â€ŒØªØ± Ùˆ Ø¬Ø°Ø§Ø¨â€ŒØªØ± */
    box-shadow: 0 6px 20px rgba(210, 212, 227, 0.6);
    transform: translateY(-2px); /* Ø­Ø±Ú©Øª Ú©ÙˆÚ†Ú© Ø¨Ù‡ Ø¨Ø§Ù„Ø§ */
}

.error {
    color: #741515; /* Ø±Ù†Ú¯ Ø®Ø·Ø§ Ù…Ù„Ø§ÛŒÙ…â€ŒØªØ± */
    font-size: 14px;
    margin-top: 8px;
    font-weight: 400;
}

.signup {
    color: #ccc;
    margin-top: 20px;
    font-size: 15px;
}

.signup a {
    color: #8aa7ff; /* Ø±Ù†Ú¯ Ù„ÛŒÙ†Ú© Ø¬Ø°Ø§Ø¨â€ŒØªØ± */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.signup a:hover {
    color: #5892ff;
    text-decoration: underline;
}

.lang {
    width: 75px;
    height: 40px;
    font-size: 16px;
    margin-left: auto; /* Ø¨Ø±Ø§ÛŒ Ù‚Ø±Ø§Ø± Ú¯Ø±ÙØªÙ† Ø¯Ø± Ø³Ù…Øª Ø±Ø§Ø³Øª */
    margin-top: 15px; /* ÙØ§ØµÙ„Ù‡ Ø¨ÛŒØ´ØªØ± Ø§Ø² Ø¨Ø§Ù„Ø§ */
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #e0e0e0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.lang:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Ø§Ø³ØªØ§ÛŒÙ„â€ŒÙ‡Ø§ÛŒ Ø§Ø¶Ø§ÙÛŒ Ø¨Ø±Ø§ÛŒ Ø­Ø³ Ø¨Ù‡ØªØ± */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(6, 6, 105, 0.1) 0%, rgba(17, 17, 92, 0.3) 100%);
    z-index: -1;
}

/* Ø¨Ø±Ø§ÛŒ Ø§Ù†ÛŒÙ…ÛŒØ´Ù† fadeUp */
.login-box {
    opacity: 0; /* Ø§Ø¨ØªØ¯Ø§ Ù…Ø®ÙÛŒ */
}

/* Ø§Ú¯Ø± Ù…Ø±ÙˆØ±Ú¯Ø± Ø§Ø² keyframes Ù¾Ø´ØªÛŒØ¨Ø§Ù†ÛŒ Ù†Ú©Ù†Ø¯ */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Ø¨Ø±Ø§ÛŒ Ø§Ø³ØªØ§ÛŒÙ„ ÙÙˆÙ†Øª */
input, button, .signup a, .lang, h2, .error {
    font-family: 'IranSans', sans-serif;
    border: none;
}
.img {
    position: absolute; /* Use absolute positioning to take it out of the normal flow */
    top: 10px;          /* Position from the top */
    left: 10px;         /* Position from the right */
    z-index: 10;        /* Ensure it's above other content if necessary */
}

.img img {
    max-width: 150px;  /* Optional: Adjust the size of the image */
    height: auto;
}
