.exam-prep-calculator {
  font-family: Arial, sans-serif;
  max-width: 500px;
  margin: auto;
  background: linear-gradient(135deg, #1976d2, #42a5f5);
  padding: 20px;
  border-radius: 15px;
  color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.exam-prep-calculator h2 {
  text-align: center;
}

.epc-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 15px;
}

.epc-tab {
  background: rgba(255,255,255,0.2);
  border: none;
  padding: 8px 12px;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.epc-tab.active {
  background: rgba(255,255,255,0.4);
}

.epc-tab:hover {
  background: rgba(255,255,255,0.3);
}

.epc-content {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.epc-content.active {
  display: block;
}

label {
  display: block;
  margin-top: 8px;
}

input {
  width: 100%;
  padding: 6px;
  border-radius: 5px;
  border: none;
  margin-top: 3px;
}

button {
  margin-top: 10px;
  background: #ffeb3b;
  color: black;
  border: none;
  padding: 8px;
  width: 100%;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}

button:hover {
  background: #fdd835;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
