.form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  width: 100%;
  max-width: 562px;
  height: 356px;
  margin: 0 auto;
  margin-bottom: 100px;
}

.form-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 32px;
  gap: 64px;
  background: #e6eaed;
  border-radius: 16px;
  width: 100%;
  max-width: 498px;
  height: 354px;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.form-field label {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #344054;
}

.form-field input {
  width: 100%;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 99px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #667085;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 18px;
  width: 100%;
  background-color: #01294a;
  border-radius: 99px;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  border: none;
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  width: 498px;
  height: 48px;
}

.button span {
  padding: 0 2px;
}

.form-field select {
  width: 100%;
  padding: 10px 14px;
  background-size: 20px 20px;
  border: 1px solid #d0d5dd;
  border-radius: 99px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #667085;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

body[dir="rtl"] {
  font-family: "Cairo", sans-serif;
  text-align: right;
}

@media (max-width: 768px) {
  .form-section {
    padding: 0 16px;
    gap: 32px;
    height: auto;
  }

  .form-card {
    padding: 24px 20px;
    gap: 32px;
    height: auto;
  }

  .form {
    gap: 24px;
  }

  .form-row {
    flex-direction: column;
    gap: 24px;
  }

  .button {
    width: 100%;
    max-width: 100%;
  }
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Compact phones (e.g., 360-420px) */
@media (max-width: 420px) {
  .form-section {
    padding: 0 12px;
    gap: 24px;
    margin-bottom: 64px;
  }

  .form-card {
    padding: 20px 16px;
    gap: 24px;
  }

  .form {
    gap: 20px;
  }

  .form-field label {
    font-size: 13px;
    line-height: 18px;
  }

  .form-field input,
  .form-field select {
    font-size: 15px;
    line-height: 22px;
  }

  .form-row {
    gap: 16px;
  }

  .button {
    width: 100%;
    height: 46px;
  }
}