/* Reset CSS */
body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
  direction: rtl; /* تنظیم راست چین برای تمام صفحه */
}

/* Container */
.container {
  max-width: 1200px;
  margin: 20px auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  padding: 20px;
  background-color: #42a5f5;
  color: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Navigation */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

nav ul li a:hover {
  color: #555;
}

/* Main Content */
main {
  padding: 20px;
  flex-grow: 1;
}

/* Footer */
footer {
  padding: 20px;
  background-color: #42a5f5;
  color: #fff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

footer button {
  background-color: #ff7043;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

footer button:hover {
  background-color: #ff5722;
}
