body {
  font-family: Arial, sans-serif;
  background: #F7F9FB;  /* رنگ روشن پس‌زمینه */
  color: #033A74;        /* متن آبی تیره */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  text-align: center;
  background: #F2F5F8;  /* کارت روشن */
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(3, 58, 116, 0.2); /* سایه ملایم آبی */
}

button {
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background: #033A74;     /* رنگ اصلی دکمه */
  color: #F7F9FB;          /* متن روشن دکمه */
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.05);
  background: #0553A1;     /* تغییر رنگ ملایم هنگام هاور */
}

.hidden {
  display: none;
}

#loader {
  border: 6px solid #F2F5F8;
  border-top: 6px solid #033A74;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin: 20px auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.link-card {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.link-card button {
  background: #033A74;
  color: #F7F9FB;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.link-card button:hover {
  transform: scale(1.05);
  background: #0553A1;
}

#result {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#result.show {
  opacity: 1;
}

#error {
  margin-top: 20px;
  color: red;
  font-weight: bold;
}
