body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e9 100%);
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  transition: background 0.5s;
}

.container {
  max-width: 500px;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  padding: 32px 30px 30px 30px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(56, 142, 60, 0.13);
  border: 2.5px solid #64b5f6;
  transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
  box-sizing: border-box;
}

.container:hover {
  box-shadow: 0 16px 40px rgba(56, 142, 60, 0.18);
  transform: translateY(-6px) scale(1.025);
  border-color: #388e3c;
}

h2 {
  text-align: center;
  color: #2e7d32;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 12px rgba(56, 142, 60, 0.10);
  font-weight: bold;
}

form label {
  display: block;
  margin-top: 15px;
  color: #388e3c;
  font-weight: bold;
  transition: color 0.3s;
}

form label:hover {
  color: #43a047;
}

input,
select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1.5px solid #90caf9; /* soft blue border */
  border-radius: 8px;
  font-size: 15px;
  background: linear-gradient(90deg, #e3f2fd 60%, #e8f5e9 100%); /* green to blue gradient */
  color: #1565c0;
  transition: border 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
}

input:focus,
select:focus {
  border: 2px solid #43a047; /* vibrant green */
  box-shadow: 0 0 10px #b2dfdb;
  background: linear-gradient(90deg, #e8f5e9 0%, #e3f2fd 100%);
  color: #388e3c;
  outline: none;
}

input:hover,
select:hover {
  border: 1.5px solid #64b5f6; /* accent orange */
  background: linear-gradient(90deg, #fffde7 0%, #e3f2fd 100%);
  color: #1976d2;
}

button {
  margin-top: 22px;
  background: linear-gradient(90deg, #43a047 0%, #64b5f6 100%);
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(56, 142, 60, 0.10);
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

button:hover {
  background: linear-gradient(90deg, #388e3c 0%, #1976d2 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 18px rgba(56, 142, 60, 0.18);
}

button:active {
  background: #1976d2;
  transform: scale(0.98);
}

#results {
  margin-top: 32px;
  animation: fadeIn 0.7s;
}

#results p {
  background: linear-gradient(90deg, #e8f5e9 0%, #b9f6ca 100%);
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  color: #2e7d32;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
  border-left: 4px solid #43a047;
}

#results p:hover {
  background: linear-gradient(90deg, #b9f6ca 0%, #e8f5e9 100%);
  color: #1b5e20;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

::-webkit-scrollbar {
  width: 8px;
  background: #e8f5e9;
}

::-webkit-scrollbar-thumb {
  background: #a5d6a7;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .container {
    max-width: 95vw;
    padding: 20px;
    background-size: auto;
    padding-top: 30px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 4vw;
  }

  .container {
    max-width: 100vw;
    padding: 18px;
    background-size: auto;
    padding-top: 18px;
    border-radius: 8vw;
  }

  h2 {
    font-size: 6vw;
  }

  input,
  select,
  button {
    font-size: 4vw;
    padding: 3vw;
  }

  #results p {
    font-size: 4vw;
    padding: 3vw;
  }
}