* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f4f4;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 10px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #ff6b6b;
  font-size: 36px;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

label[for="age"],
label[for="message"] {
  color: #ff6b6b;
}

label[for="result"] {
  color: #4CAF50;
}

select, textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ff6b6b;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

.result {
  margin-top: 10px;
  padding: 20px;
  border: 2px solid #4CAF50;
  border-radius: 6px;
  font-size: 18px;
  text-align: center;
  color: #333;
}

button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #ff6b6b;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #ff4d4d;
}

.spinner {
  display: none;
  border: 4px solid #4CAF50;
  border-top: 4px solid #ff6b6b;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
  margin-top: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.radio-group {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-bottom: 10px;
}

.radio-group label {
  display: inline-block;
  margin-right: 10px;
  font-weight: normal;
  color: #333;
}

.radio-group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #ff6b6b;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.radio-group input[type="radio"]:checked {
  border-color: #ff6b6b;
  background-color: #ff6b6b;
}

.radio-group input[type="radio"]:focus {
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}