body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow-x: hidden;
}

.container {
  padding: 20px;
  max-width: 1200px;
  width: 100%;
  animation: fadeInPage 1s ease-out;
  
}

h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  color: #00f7ff;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}
.grid-container {
      display: grid;
      grid-template-columns: repeat(10, 1fr); /* 10 cards per row */
      grid-template-rows: repeat(5, 1fr);     /* 5 rows */
      height: 100vh;
      width: 100vw;
      gap: 10px;
      padding: 10px;
    }


.staff-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  text-align: center;
  padding: 20px;
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInCard 0.8s ease-out forwards;
}

.staff-card:nth-child(1) { animation-delay: 0.2s; }
.staff-card:nth-child(2) { animation-delay: 0.4s; }
.staff-card:nth-child(3) { animation-delay: 0.6s; }
.staff-card:nth-child(4) { animation-delay: 0.8s; }
/* Tambah lagi nth-child jika perlu */

.staff-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px 0 rgba(0, 255, 255, 0.4);
}

.staff-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 1px solid #fff;
}

.staff-card h2 {
  font-size: 1.2rem;
  margin: 10px 0 5px;
}

.staff-card p {
  font-size: 0.95rem;
  color: #b0e0e6;
}



/* Animations */
@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}
.status-badge {
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.85rem;
  display: inline-block;
  font-weight: bold;
}

/* Warna status */
.on-time {
  background-color: #00ff7f;
  color: #fff;
}

.late {
  background-color: #ff4c4c;
  color: #330000;
}

.no-punch {
  background-color: #ffcc00;
  color: #663300;
}

.off-duty {
  background-color: red;
  color: #fCfCfC;
}
.staff-card.blur {
  
  filter: grayscale(30%) brightness(0.7);
  border: 3px solid red;
  opacity: 1.0;
  position: relative;
}

.staff-card .icon-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
}
.staff-card.mc {
  background-color: #ffe6e6; /* Light red for MC */
}

.staff-card.cuti {
  background-color: #e6f7ff; /* Light blue for Cuti */
}

.staff-card.none {
  background-color: #f2f2f2; /* Grey for 'Belum Ketik Masuk' */
}


