body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper {
  width: 80%;
  max-width: 900px;
  margin: auto 2rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid #37dd37;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

h1, h2 {
  color: #444;
  text-align: center;
}

.form-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap; 
}

input {
  flex: 2;
  min-width: 200px;
  padding: .75rem 1rem;
  font-size: 1rem;
  border: 1px solid #c8e6c9;
  border-radius: 8px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

input:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46,125,50,.15);
}

select {
  flex: 1; 
  min-width: 150px;
  padding: .75rem 1rem;
  font-size: 1rem;
  border: 1px solid #c8e6c9;
  border-radius: 8px;
  outline: none;
}

.button-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

button {
  width: 50%;
  padding: .75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: #2e7d32;
  color: #fff;
  transition: transform .12s ease, background .25s ease;
}
button:hover { transform: translateY(-1px); background: #1b5e20; }
button:active { transform: scale(0.98); }


#result {
  margin-top: 1rem;
  padding: 1rem;
  background: #f7faf7;
  border: 1px solid #e0f2e0;
  border-radius: 10px;
  line-height: 1.6;
  font-size: 1rem;
  word-break: break-word;
  font-weight: bold;
  color: #1b5e20;
}

#result { 
    font-weight: bold; 
    color: #1b5e20; }
