html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: sans-serif;
  background: #f6f6f6;
}
.responsive-container, form {
  background: #fff;
  border-radius: 12px;
  max-width: 500px;
  margin: 24px auto;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  padding: 22px 18px;
}
label {
  font-size: 1em;
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
input[type="text"], select {
  width: 100%;
  padding: 10px;
  font-size: 1.08em;
  border: 1px solid #bbb;
  border-radius: 8px;
  background: #fafafc;
  margin-bottom: 4px;
  box-sizing: border-box;
  transition: border 0.18s;
}
input[type="text"]:focus, select:focus {
  border: 1.5px solid #7ca8fa;
  outline: none;
}
button[type="submit"], button {
  width: 100%;
  padding: 12px 0;
  font-size: 1.08em;
  border-radius: 8px;
  border: none;
  background: #2458a0;
  color: #fff;
  font-weight: bold;
  margin: 8px 0;
  transition: background 0.16s;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(40,60,120,0.05);
}
button[type="submit"]:hover, button:hover {
  background: #18396a;
}
small {
  color: #666;
  font-size: 0.94em;
}
@media (max-width: 650px) {
  .responsive-container, form {
    max-width: 98vw;
    padding: 16px 3vw;
    border-radius: 0;
    margin: 10px 1vw;
  }
  h1 {
    font-size: 1.5em !important;
  }
  button, button[type="submit"] {
    font-size: 1em;
    padding: 13px 0;
  }
}

.generator-title {
  text-align: center;
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  font-weight: 800;
  color: #234675;
}
@media (max-width: 650px) {
  .generator-title {
    font-size: 1.2em;
    margin-top: 10px;
    margin-bottom: 8px;
  }
}
