body {
	padding: 2rem;
	font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
	 font-family: 'Vazir', Tahoma, sans-serif;
            background-color: #f5f7fa;
            padding: 20px;
            line-height: 1.6;
}

h1 {
	font-size: 16px;
	margin-top: 0;
}

p {
	color: rgb(107, 114, 128);
	font-size: 15px;
	margin-bottom: 10px;
	margin-top: 5px;
}

.card {
	max-width: 620px;
	margin: 0 auto;
	padding: 16px;
	border: 1px solid lightgray;
	border-radius: 16px;
}

.card p:last-child {
	margin-bottom: 0;
}
  font-family: Tahoma, sans-serif;
    direction: rtl;
    background: #f9f9f9;
    margin: 20px;
  }
  .dropdown {
    position: relative;
    display: inline-block;
  }
  .dropbtn {
    background-color: #007bff;
    color: white;
    padding: 10px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .dropbtn img {
    width: 20px;
    height: 14px;
    vertical-align: middle;
  }
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
    border-radius: 4px;
    margin-top: 4px;
  }
  .dropdown-content a {
    color: black;
    padding: 10px 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .dropdown-content a img {
    width: 24px;
    height: 16px;
  }
  .dropdown-content a:hover {
    background-color: #e9ecef;
  }
  .dropdown:hover .dropdown-content {
    display: block;
  }
  .dropdown:hover .dropbtn {
    background-color: #0056b3;
  }
   .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }
        h1, h2, h3 {
            color: #1a3a6c;
        }
        .problem-solution {
            display: flex;
            gap: 30px;
            margin-top: 30px;
        }
        .problem, .solution {
            flex: 1;
            padding: 20px;
            border-radius: 8px;
        }
        .problem {
            background-color: #ffe6e6;
            border: 1px solid #ffcccc;
        }
        .solution {
            background-color: #e6ffe6;
            border: 1px solid #ccffcc;
        }
        pre {
            background: #2c3e50;
            color: white;
            padding: 15px;
            border-radius: 5px;
            overflow-x: auto;
            direction: ltr;
        }
        code {
            font-family: monospace;
        }
        
        /* استایل های جدید برای منوی زبان */
        .language-dropdown {
            position: relative;
            display: inline-block;
            z-index: 1000;
        }
        .language-btn {
            background-color: #1a3a6c;
            color: white;
            padding: 10px 16px;
            font-size: 16px;
            border: none;
            cursor: pointer;
            border-radius: 4px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background-color 0.3s;
        }
        .language-btn:hover {
            background-color: #0f2a52;
        }
        .language-btn img {
            width: 20px;
            height: 14px;
            vertical-align: middle;
        }
        .language-menu {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 160px;
            box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
            z-index: 1001;
            right: 0;
            border-radius: 4px;
            margin-top: 5px;
            animation: fadeIn 0.3s;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .language-menu a {
            color: black;
            padding: 10px 12px;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: background-color 0.2s;
        }
        .language-menu a img {
            width: 24px;
            height: 16px;
        }
        .language-menu a:hover {
            background-color: #e9ecef;
        }
        .language-dropdown:hover .language-menu {
            display: block;
        }
        
        /* Utility Bar */
        .utility-bar {
            background-color: #1a3a6c;
            color: white;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 5px;
            margin-bottom: 20px;
        }