* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f5f5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
}

h2 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
  font-size: 14px;
}

select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  background: white;
  color: #333;
  transition: border-color 0.2s ease;
  cursor: pointer;
}

select:focus {
  outline: none;
  border-color: #007bff;
}

select:hover {
  border-color: #b3d7ff;
}

button {
  width: 100%;
  padding: 14px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 8px;
}

button:hover {
  background: #0056b3;
}

button:active {
  background: #004085;
}

#result {
  margin-top: 24px;
  padding: 24px;
  background: white;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: none;
}

#result.show {
  display: block;
}

#result h3 {
  color: #28a745;
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 600;
  border-bottom: 2px solid #28a745;
  padding-bottom: 8px;
}

#result h4 {
  color: #495057;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
}

#result p {
  color: #495057;
  font-size: 15px;
  margin-bottom: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid #28a745;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#result p:last-child {
  margin-bottom: 0;
}

.result-label {
  font-weight: 600;
  color: #495057;
}

.result-value {
  color: #28a745;
  font-weight: 600;
  background: #d4edda;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #c3e6cb;
}

/* Error message styling */
#result p[style*="text-align: center"] {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ffccd1;
  text-align: center;
  justify-content: center;
}

#result p[style*="text-align: center"]:hover {
  background: rgba(220, 53, 69, 0.3);
  transform: none;
}

/* Responsive design */
@media (max-width: 480px) {
  .container {
    padding: 30px 20px;
    margin: 10px;
  }
  
  h2 {
    font-size: 24px;
  }
} 