@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

:root {
  --primary-color: #fab36d;
  --secondary-color: #465C88;
  --background: #f0f5fa;
  --text: #154c80;
  --text-hover: #153a5e;
  --button-color: #f7af68;
  --button-hover-bg: #465C88;
  --button-hover-text: #f7af68;
  --fixed-info-bg: #ffe0c0;
  --fixed-info-text: #10375C;
}

body {
  font-family: 'Vazir', sans-serif;
  direction: rtl;
  background-color: #fff8f1;
  color: var(--text);
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  min-height: 80vh;
  margin-top: 80px;
  box-sizing: border-box;
}

form {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  color: #fff;
  width: 400px;
  box-sizing: border-box;
}

form h2 {
  text-align: center;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: bold;
}

input {
  font-family: 'Vazir', sans-serif;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
  box-sizing: border-box;
}

button {
  font-family: 'Vazir', sans-serif;
  width: 100%;
  padding: 10px;
  background-color: var(--button-color);
  color: var(--text);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  font-size: 16px;
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.2s ease;
}

button:hover {
  background-color: var(--button-hover-bg);
  color: var(--button-hover-text);
  transform: scale(1.03);
}

.fixed-info {
  background-color: var(--fixed-info-bg);
  color: var(--fixed-info-text);
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  font-weight: bold;
}

header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  height: 60px;
  width: 100%;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  text-decoration: none;
  font-weight: bold;
  font-size: 1.6em;
  color: var(--text);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul a {
  color: var(--text);
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
}

nav ul a:hover {
  color: var(--text-hover);
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    height: auto;
    gap: 10px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
  }
}