/* style.css */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f8f9fa;
  color: #2c3e50;
  direction: rtl;
  line-height: 1.6;
}

.container {
  max-width: 800px;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
    background: #ffffff;
    border: 2px solid #3a997a;
    border-radius: 8px;
}

h1, h2 {
  color: #216e55;
  font-weight: 900;
}

form {
  margin-bottom: 1rem;
}

label {
  font-weight: 700;
  margin-bottom: .5rem;
  display: block;
}

input[type="text"] {
  width: 100%;
  font-size: 1.2rem;
  padding: 0.5rem 0.7rem;
  border: 2px solid #3a997a;
  border-radius: 6px;
  outline-offset: 2px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus {
  border-color: #155233;
  outline: none;
  box-shadow: 0 0 6px rgba(33, 110, 85, 0.7);
}

.btn {
  margin-top: 0.9rem;
  padding: 0.7rem 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 8px;
  border: none;
  background-color: #3a997a;
  color: white;
  width: 100%;
  user-select: none;
  transition: background-color 0.3s ease;
}

.btn:hover,
.btn:focus {
  background-color: #2a6d57;
  outline: none;
}

#results {
  margin-top: 1.5rem;
  border: 2px solid #3a997a;
  border-radius: 8px;
  padding: 1rem 1.3rem;
  background: #e1f0e8;
  font-weight: 700;
  color: #155233;
  min-height: 8rem;
  white-space: pre-line;
}

.instructions,
.faq {
  margin-top: 2rem;
  line-height: 1.6;
  color: #333;
}

.instructions h2,
.faq h2 {
  margin-top: 0;
  font-weight: 900;
  color: #216e55;
}

.faq dl {
  margin: 0;
}

.faq dt {
  font-weight: 700;
  margin-top: 1rem;
  color: #155233;
}

.faq dd {
  margin-right: 1rem;
  margin-bottom: 1rem;
  color: #444;
}