body {
    font-family: 'San Francisco', sans-serif;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* تغییر به flex-start برای چسباندن باکس به بالای صفحه */
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    direction: rtl;
    overflow-x: hidden;
}

/* حذف شده است: header */

.container {
    width: 90%;
    max-width: 500px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.9));
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    position: relative;
    margin-top: 0; /* حذف فاصله بالای صفحه */
    animation: fadeIn 1s ease-in-out;
}

.logo {
    width: 150px;
    margin-bottom: 20px;
}

h2 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.inputs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.input-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.input-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
    background: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

input {
    width: 100%;
    padding: 10px 10px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    background: none;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
    border-color: #007BFF;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.icon {
    position: absolute;
    right: 90%;
    color: #aaa;
}

.animated-btn {
    width: 40%;
    padding: 5px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    font-family: 'Vazir', sans-serif;
    border: none;
    border-radius: 18px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    position: relative;
}

.animated-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.5);
}

/* حذف شده است: .animated-btn:active */

.animated-btn .telegram-icon {
    margin-left: 10px;
    position: absolute;
    right: 10px;
}

.note {
    font-size: 12px;
    color: #666;
    margin-top: 20px;
}

.footer {
    text-align: center;
    font-size: 12px;
    justify-content: center;
    color: #999;
    width: 100%;
    background: #ffffff;
    box-shadow: 0px -4px 8px white;
    padding: 10px 10px 10px 100px; /* اضافه کردن padding برای متن */
    box-sizing: border-box;
    margin: 0; /* حذف فاصله *//* چسباندن فوتر به پایین صفحه */
    left: 0; /* چسباندن فوتر به چپ صفحه */
    right: 0; /* چسباندن فوتر به راست صفحه */
    bottom: 0; /* چسباندن فوتر به پایین صفحه */
}
.ftext {
    margin-right: 90px;
}
