 
 


        @font-face {
            font-family: 'Iranian Sans';
            font-style: normal;
            font-weight: 400;
            src: local('Iranian Sans'), url('fonts/IRANSansWeb.ttf') format('woff');
        }
        @font-face {
            font-family: 'Iranian Sans';
            font-style: normal;
            font-weight: 800;
            src: local('Iranian Sans'), url('fonts/IRANSansWeb_Bold.ttf') format('woff');
        }

* {
    margin: 0;
     font-family: 'Iranian Sans', Tahoma, sans-serif;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Iranian Sans', Tahoma, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    direction: rtl;
}

/* استایل مخصوص اپ موبایل */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

/* کارت‌های مات مانند موبایل */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

/* دکمه‌های بزرگ برای موبایل */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: 'IranSans', sans-serif;
    font-size: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

/* گرید واکنش‌گرا */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* هدر ثابت در بالا (مثل اپ) */
.header {
    background: white;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* فوتر با ناوبری (مثل اپ) */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
        justify-content: space-around;
    }
    
    .container {
        padding: 10px;
        margin-bottom: 70px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .card {
        padding: 15px;
        border-radius: 15px;
    }
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* استایل ورودی‌ها */
input, select, textarea {
    font-family: 'Iranian Sans', sans-serif;
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
}

input:focus, select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}