/* ---------- Animated Gradient Background ---------- */
body {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fbc2eb, #a18cd1);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: #fff;
}

@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

/* ---------- Headers ---------- */
h1, h2 {
  margin-top: 30px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

/* ---------- Menu Buttons ---------- */
button {
  padding: 12px 25px;
  margin: 10px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(to right, #f6d365, #fda085);
  color: white;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
  transform: scale(1.1);
  box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
}

/* ---------- Tables ---------- */
table {
  border-collapse: collapse;
  margin: 20px auto;
  width: 90%;
  background-color: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  border: 1px solid rgba(255,255,255,0.5);
  padding: 12px;
  min-width: 80px;
  transition: background-color 0.3s, transform 0.2s;
}

th {
  background-color: rgba(255,111,97,0.8);
  color: white;
  font-size: 1.1em;
}

td {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
}

td:focus {
  background-color: rgba(255,224,102,0.8);
  outline: none;
  transform: scale(1.05);
}

/* ---------- Textarea (Notes Page) ---------- */
textarea {
  width: 90%;
  max-width: 600px;
  padding: 10px;
  border-radius: 10px;
  border: none;
  resize: vertical;
  font-size: 1em;
}

/* ---------- Fade-in Animation ---------- */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
