@font-face {
  font-family: 'Vazir';
  src: url('/assets/font/yekan/ttf/iranyekanwebblackfanum.ttf') format('woff2');
  font-weight: normal;
  font-style: normal;
  
}
/* 🔁 Background Animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 🌍 Page Body */
body {
  font-family: 'Vazir', sans-serif;
  background: linear-gradient(135deg, #1d1b16, #3a2e1f, #6c5d3d, #bfa641);
  background-size: 300% 300%;
  animation: gradientShift 20s ease infinite;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  direction: rtl;
  color: #fff;
}
h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.form-container {
  background: rgba(255, 255, 255, 0.07);
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 420px;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

h2 {
  color: #333;
  margin-bottom: 1.5rem;
}
input {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  color: #fff; /* ✅ Makes input text white */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 4px rgba(255, 215, 0, 0.1);
  transition: all 0.4s ease;
}

input::placeholder {
  color: rgb(255, 255, 255); /* ✅ White-ish placeholder */
}

input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid #ffe97f;
  box-shadow: 0 0 10px 2px rgba(255, 222, 89, 0.45),
              0 0 4px rgba(255, 215, 0, 0.3) inset;
  color: #fff;
}

button {
  width: 100%;
  padding: 0.8rem;
  background: #f6ff98;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #93a24b;
}

.error {
  color: #e74c3c;
  margin: 0.5rem 0;
}

p {
  margin: 1rem 0;
}

a {
  color: #e8ea66;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 500px) {
  .form-container {
    margin: 1rem;
    padding: 1.5rem;
  }
}