body {
    direction: rtl;
    font-family: 'yekan', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: url('../images/bg.jpg') no-repeat center center fixed; /* اضافه کردن پس‌زمینه */
    background-size: cover; /* برای پوشش کامل صفحه */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

h2 {
    font-weight: 500;
    font-style: normal;
    font-variant: normal;
    text-align: center; /* متن وسط‌چین */
}

.content {
    padding: 1rem;
    padding-bottom: 5rem; /* فاصله اضافی برای جلوگیری از همپوشانی منو با محتوا */
}

.form-container {
    background-color: rgba(255, 255, 255, 0.9); /* رنگ پس‌زمینه سفید با شفافیت برای باکس فرم */
    padding: 2rem 2rem 3rem 2rem;
    border-radius: 10px; /* گوشه‌های گرد */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* سایه نرم */
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.form-container img {
    width: 100px; /* اندازه لوگو */
    height: auto;
    position: absolute;
    top: -50px; /* نصف ارتفاع لوگو به بالا منتقل شود */
    left: 50%;
    transform: translateX(-50%);
}

.form-container input {
    width: 100%;
    font-size: 1.2rem; /* تنظیم اندازه فونت بزرگ‌تر */
    padding: 0.5rem; /* اضافه کردن فاصله داخلی برای زیبایی */
    margin-bottom: 1rem; /* فاصله بین input‌ها */
    box-sizing: border-box; /* برای محاسبه صحیح عرض input */
    border: 1px solid #ddd; /* حاشیه نرم */
    border-radius: 5px; /* گوشه‌های گرد */
}

button, .button, input[type="submit"] {
    font-family: 'yekan', sans-serif;
    font-weight: 300;
    background-color: #e87300;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1.2rem;
}

input::placeholder {
    font-family: 'yekan', sans-serif;
    font-weight: 300;
}

.error {
    color: red;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* منوی پایین صفحه */
.bottom-nav {
    display: none; /* مخفی شدن پیش‌فرض */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #e87300;
    color: white;
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.15);
    z-index: 1000; /* برای اطمینان از نمایش بالاتر از سایر عناصر */
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

.bottom-nav .nav-item i {
    font-size: 1.5rem;
}

.bottom-nav .nav-item span {
    margin-top: 0.3rem;
    font-size: 0.9rem;
}

.bottom-nav .nav-item:hover {
    background-color: #e87300;
}

/* تنظیمات واکنش‌گرا */
@media (max-width: 768px) {
    .bottom-nav {
        display: flex; /* نمایش منو در حالت موبایل و تبلت */
    }
    .popup {
    display: none; /* پیش‌فرض مخفی است */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

#close-popup {
    background-color: #e87300;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

#close-popup:hover {
    background-color: #cc6200;
}
}
