* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #FFCB05;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
}

.container {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 2.5rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #333;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #444;
}

select,
input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  transition: 0.3s;
  outline: none;
}

select:focus,
input:focus {
  border-color: #5e9cff;
  box-shadow: 0 0 8px #5e9cff44;
}

button {
  padding: 12px 28px;
  background: #007BFF;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

button:hover {
  background: #005ecb;
}

#result {
  margin-top: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  min-height: 40px;
  transition: all 0.4s ease;
}

.success {
  color: #2ecc71;
}

.error {
  color: #e74c3c;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 480px) {
  .container {
    padding: 1.5rem 1.5rem;
  }

  h1 {
    font-size: 1.4rem;
  }

  button {
    font-size: 0.95rem;
  }

  #result {
    font-size: 1rem;
  }
}

/* Additions for complaint  responsiveness and spacing */
label {
  display: block;
  margin: 1rem 0 0.5rem;
  text-align: left;
  font-weight: 600;
}

input[type="text"],
input[type="date"],
select {
  width: 100%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 1rem;
}

button {
  padding: 14px 24px;
  background: #5e9cff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

button:hover {
  background: #3f76da;
}

@media (max-width: 480px) {
  .container {
    padding: 2rem;
    width: 95%;
  }

  h2 {
    font-size: 1.4rem;
  }
}

