body {
  font-family: 'Vazir', 'Tahoma', sans-serif;
  direction: rtl;
  background: linear-gradient(to bottom right, #f0f4f8, #e0ecf5);
  padding: 40px;
  color: #2c3e50;
}

h1, h2 {
  text-align: center;
  color: #34495e;
  margin-bottom: 25px;
}

form {
  max-width: 650px;
  margin: auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

label {
  display: block;
  margin-top: 20px;
  font-weight: bold;
  color: #1106e9;
  font-size: 1rem;
}

input, select, textarea {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  margin-top: 8px;
  border: 1px solid #18f105;
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
  background-color: #fdfdfd;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: #0498fa;
  box-shadow: 0 0 5px rgba(52,152,219,0.3);
  outline: none;
}

textarea {
  height: 100px;
  resize: vertical;
}

button {
  width: 100%;
  height: 50px;
  background-color: #3498db;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  margin-top: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #2980b9;
}

#loginMessage,
#formMessage,
#deleteMessage {
  text-align: center;
  font-weight: bold;
  margin-top: 15px;
  font-size: 1rem;
}

#previewImages {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

#previewImages img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
