/* Font + Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #adddc5;
  display: flex;
  justify-content: center;
  padding: 7rem 0;
}

/* Container */
form {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Titlu */
h1 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* Etichete și câmpuri */
label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: #333;
}

label::after {
  content: " *";
  color: #3d9a7e;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  background-color: #fff;
}

textarea {
  resize: vertical;
}

/* Grupare pe 2 coloane pentru nume */
.name-group {
  display: flex;
  gap: 1rem;
}

.name-group > div {
  flex: 1;
}

/* Query type (radio în casete) */
.radio-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.radio-box {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: border 0.2s;
}

.radio-box:hover {
  border-color: #3d9a7e;
}

input[type="radio"] {
  accent-color: #3d9a7e;
}

/* Checkbox */
.checkbox {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox input[type="checkbox"] {
  accent-color: #3d9a7e;
}

/* Submit Button */
button {
  width: 100%;
  background-color: #1a7c6c;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #146355;
}

.attribution {
  font-size: 0.8rem;
  color: #084d30;
  margin-top: 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-style: italic;
  font-size: 20px;
  font-weight: 100;
  line-height: 1.5;
}
