@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(120deg, #0a0f1a, #0e1622, #0c111a, #10141d);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e0e0e0;
  overflow: hidden;
}

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

.container, .dashboard {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  width: 90%;
  max-width: 420px;
  animation: fadeInSlide 0.8s ease-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  color: #e0e0e0;
}

.hidden {
  display: none;
}

.form-box input, textarea, #searchInput {
  width: 90%;
  max-width: 300px;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 10px;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
  font-size: 14px;
}

button {
  background: linear-gradient(135deg, #1b2735, #111b28);
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 24px;
  margin: 10px 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

button:hover {
  background: linear-gradient(135deg, #222f3e, #161e29);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 20, 20, 0.5);
}

.logout {
  background: linear-gradient(135deg, #d64545, #992d2d);
}

.scroll-box {
  max-height: 350px;
  overflow-y: auto;
  margin-top: 10px;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #555 #0a0f1a;
  scroll-behavior: smooth;
}

.scroll-box::-webkit-scrollbar {
  width: 6px;
}

.scroll-box::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 10px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: rgba(255, 255, 255, 0.05);
  margin: 10px 0;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.3s;
}

ul li:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.pagination button {
  background: #1b2735;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.pagination button.active {
  background: #d64545;
}
