 :root {
            --primary-bg: #f3f4f6;
            --sidebar-bg: #ffffff;
            --text-main: #1e293b;
            --text-light: #64748b;
            --accent-teal: #0ea5e9;
            --hover-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --transition-speed: 0.3s;
        }

        .top-auth-bar{
    display:flex;
    justify-content:flex-end;
    margin-bottom:15px;
}

.auth-btn{
    background:#2563eb;
    color:#fff;
    padding:8px 16px;
    border-radius:8px;
    font-size:14px;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:6px;
}

.enamad img{
    width:90px;
    height:auto;
    cursor:pointer;
    opacity:0.9;
    transition:0.2s;
}

.enamad img:hover{
    opacity:1;
    transform:scale(1.03);
}


.auth-btn:hover{
    background:#1e40af;
}


        * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Vazirmatn', 'Segoe UI', sans-serif; text-decoration: none; -webkit-tap-highlight-color: transparent; }
        body { background-color: var(--primary-bg); color: var(--text-main); display: flex; height: 100vh; overflow: hidden; }

        /* --- Mobile Menu --- */
        .mobile-menu-btn { display: none; position: fixed; top: 20px; right: 20px; z-index: 1001; background: white; border: none; width: 45px; height: 45px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); color: var(--accent-teal); font-size: 20px; cursor: pointer; align-items: center; justify-content: center; transition: 0.2s; }
        .overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(2px); z-index: 999; opacity: 0; transition: opacity 0.3s; }
        .overlay.active { display: block; opacity: 1; }

        /* --- Sidebar --- */
        .sidebar { width: 260px; background-color: var(--sidebar-bg); border-left: 1px solid #e2e8f0; display: flex; flex-direction: column; padding: 20px; z-index: 1000; transition: transform var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; height: 100vh; }
        .brand-logo { font-size: 22px; font-weight: 800; color: var(--accent-teal); display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid #f1f5f9; }
        .nav-menu { display: flex; flex-direction: column; gap: 10px; flex: 1; overflow-y: auto; }
        .nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-radius: 12px; color: var(--text-light); font-weight: 500; font-size: 14px; transition: 0.2s; white-space: nowrap; }
        .nav-item:hover { background-color: #f1f5f9; color: var(--accent-teal); transform: translateX(-5px); }
        .nav-item.active { background-color: #e0f2fe; color: #0284c7; font-weight: 700; }
        .sidebar-footer { margin-top: auto; border-top: 1px solid #f1f5f9; padding-top: 20px; display: flex; align-items: center; gap: 10px; }
        .user-avatar { width: 40px; height: 40px; background: #e0f2fe; color: #0284c7; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }

        /* --- Main Content --- */
        .main-content { flex: 1; padding: 30px; overflow-y: auto; display: flex; flex-direction: column; gap: 30px; scroll-behavior: smooth; }

        /* --- Hero Banner (Updated Size) --- */
        .hero-banner {
            background: linear-gradient(135deg, #22d3ee, #0891b2);
            border-radius: 20px;
            padding: 25px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 4px 20px rgba(8, 145, 178, 0.25);
            gap: 25px;
            cursor: pointer;
            transition: transform 0.2s;
            overflow: hidden;
        }
        .hero-banner:hover { transform: translateY(-2px); }

        .hero-text { flex: 1; }
        .hero-text h2 { font-size: 19px; line-height: 1.7; font-weight: 700; }

        /* استایل کادر عکس - نسخه بزرگتر */
        .hero-image-box {
            width: 140px;
            height: 140px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            flex-shrink: 0;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .hero-image-box img { width: 100%; height: 100%; object-fit: cover; display: none; }
        .hero-image-box i { font-size: 40px; color: rgba(255,255,255, 0.9); }

        /* --- Grids --- */
        .top-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .feature-card { background: white; padding: 20px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; gap: 15px; border: 1px solid #e2e8f0; transition: 0.3s; color: var(--text-main); cursor: pointer; text-align: center; }
        .feature-card:hover { transform: translateY(-5px); box-shadow: var(--hover-shadow); border-color: var(--accent-teal); }
        .icon-circle { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; }
        .bg-blue-light { background: #e0f2fe; color: #0ea5e9; }
        .bg-red-light { background: #fee2e2; color: #ef4444; }
        .bg-yellow-light { background: #fef9c3; color: #eab308; }
        .card-title { font-weight: 700; font-size: 15px; }

        .section-title { font-size: 18px; font-weight: 800; margin-bottom: 20px; border-right: 4px solid var(--accent-teal); padding-right: 12px; }
        .services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 15px; }
        .service-item { background: white; border-radius: 16px; padding: 20px 10px; text-align: center; border: 1px solid transparent; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-main); transition: 0.2s; cursor: pointer; height: 100%; }
        .service-item:hover { border-color: #cbd5e1; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); }
        .service-icon i { font-size: 32px; }
        .text-icon { font-weight: 900; color: #334155; font-size: 20px; display: inline-block; line-height: 1.6; }
        .service-name { font-size: 13px; font-weight: 600; }

        /* --- Responsive --- */
        @media (max-width: 768px) {
            body { display: block; overflow: auto; }
            .mobile-menu-btn { display: flex; }
            .sidebar { position: fixed; top: 0; right: 0; height: 100vh; width: 280px; transform: translateX(100%); box-shadow: -5px 0 20px rgba(0,0,0,0.1); }
            .sidebar.active { transform: translateX(0); }
            .main-content { padding: 80px 20px 20px 20px; height: auto; overflow: visible; }
            
            /* تغییرات مهم بنر در موبایل */
            .hero-banner { flex-direction: column-reverse; padding: 15px; text-align: center; }
            .hero-image-box { width: 100%; height: 180px; margin-bottom: 10px; }
            
            .top-cards-grid { grid-template-columns: 1fr; }
            .services-grid { grid-template-columns: repeat(2, 1fr); }
        }