
        /* --- متغیرها --- */
        :root {
            --primary: #0f172a;
            --accent: #10b981; /* رنگ سبز */
            --bg-gray: #f1f5f9;
            --sidebar-bg: #ffffff;
            --text-main: #334155;
            --text-light: #64748b;
            --border-color: #e2e8f0;
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; outline: none; font-family: 'Vazirmatn', sans-serif; text-decoration: none; }

        body { background-color: var(--bg-gray); 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); font-size: 20px; cursor: pointer; align-items: center; justify-content: center; }
        .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: 1002; }
        .overlay.active { display: block; }

        /* --- Sidebar --- */
        .sidebar { width: 260px; background-color: var(--sidebar-bg); border-left: 1px solid var(--border-color); display: flex; flex-direction: column; padding: 20px; z-index: 1003; transition: transform 0.3s; flex-shrink: 0; height: 100vh; }
        .sidebar.active { transform: translateX(0); }
        .brand-logo { font-size: 22px; font-weight: 800; color: var(--accent); 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; cursor: pointer; }
        .nav-item:hover { background-color: #ecfdf5; color: var(--accent); transform: translateX(-5px); }
        .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: #d1fae5; color: var(--accent); 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; }

        .page-header { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
        .back-btn { width: 40px; height: 40px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; color: var(--text-main); box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: 0.2s; cursor: pointer; flex-shrink: 0; }
        .back-btn:hover { background-color: var(--accent); color: white; transform: translateX(3px); }
        .header-title { font-size: 24px; font-weight: 800; color: var(--primary); }

        /* --- Search --- */
        .search-container { position: relative; width: 100%; max-width: 600px; margin: 0 auto; display: flex; gap: 10px; }
        .input-wrapper { flex: 1; position: relative; }
        .search-input { width: 100%; padding: 15px 45px 15px 20px; border: 2px solid #e2e8f0; border-radius: 16px; font-size: 16px; transition: 0.3s; background: white; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
        .search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
        .search-icon-inside { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--text-light); font-size: 20px; }
        
        .search-btn-action { background: var(--accent); color: white; border: none; padding: 0 25px; border-radius: 16px; font-weight: bold; cursor: pointer; transition: 0.2s; white-space: nowrap; }
        .search-btn-action:hover { background: #059669; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); }

        /* --- Grid --- */
        .docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; }

        .standard-card {
            background: white;
            border-radius: 16px;
            padding: 20px;
            border: 1px solid var(--border-color);
            border-top: 5px solid var(--accent);
            display: flex;
            flex-direction: column;
            gap: 15px;
            transition: var(--transition);
            position: relative;
            animation: fadeIn 0.4s ease-out;
        }
        .standard-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px -5px rgba(16, 185, 129, 0.15); }
        
        .card-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed #f1f5f9; padding-bottom: 10px; }
        .std-badge { font-size: 13px; color: var(--text-light); background: #ecfdf5; padding: 4px 10px; border-radius: 8px; font-weight: 600; color: #047857; }
        .std-date { font-size: 12px; color: #94a3b8; font-family: 'Segoe UI', sans-serif; display: flex; align-items: center; gap: 5px; }

        .std-title { font-size: 15px; font-weight: 700; color: var(--text-main); line-height: 1.7; min-height: 60px; }
        
        .card-footer { margin-top: auto; padding-top: 15px; display: flex; flex-direction: column; gap: 10px; }
        
        .download-btn { 
            background: #f8fafc; color: var(--text-main); border: 1px solid #e2e8f0;
            padding: 10px; border-radius: 10px; 
            font-size: 13px; font-weight: 500; 
            display: flex; align-items: center; justify-content: center; gap: 8px; 
            transition: 0.2s; text-decoration: none; 
            width: 100%;
        }
        .download-btn:hover { background: var(--accent); color: white; border-color: var(--accent); }
        .download-btn i { font-size: 14px; }

        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        /* --- 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%); z-index: 1003; }
            .main-content { padding: 80px 20px 20px 20px; height: auto; }
            .docs-grid { grid-template-columns: 1fr; }
            .search-container { flex-direction: column; }
            .search-btn-action { height: 50px; }
        }
