body {
  font-family: 'Poppins', sans-serif;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0;
  padding: 40px 20px;
  overflow-y: auto;
}

.container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 480px;
  text-align: center;
  transition: all 0.3s ease;
}

.container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

h2 {
  color: #3a3a3a;
  margin-bottom: 20px;
  font-weight: 600;
}

input {
  display: block;
  width: 90%;
  margin: 10px auto;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  background-color: #fafafa;
  transition: 0.3s;
}

input:focus {
  border-color: #8ec5fc;
  box-shadow: 0 0 8px rgba(142, 197, 252, 0.6);
  outline: none;
}

button {
  width: 95%;
  padding: 12px;
  background: linear-gradient(135deg, #89f7fe, #66a6ff);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(102, 166, 255, 0.3);
}

button:hover {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
  transform: scale(1.03);
}

.clear-btn {
  background: linear-gradient(135deg, #ffb6b9, #fae3d9);
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(255, 182, 185, 0.4);
}

.subject-card {
  background: #ffffffb8;
  border: 1px solid #eee;
  border-radius: 15px;
  margin-top: 15px;
  padding: 15px;
  text-align: left;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.subject-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.subject-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #333;
}

.eligible {
  color: #2e7d32;
  font-weight: bold;
}

.not-eligible {
  color: #d32f2f;
  font-weight: bold;
}

.footer {
  margin-top: 25px;
  font-size: 13px;
  color: #666;
}
