@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* LOGIN PAGE */
.login-body {
  background: linear-gradient(to bottom right, #ffb6eb, #ff61c7);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(255, 105, 180, 0.4);
  text-align: center;
  width: 350px;
}

.login-box h1 {
  font-size: 42px;
  margin: 0;
  color: #ff2fbf;
}

.login-box h2 {
  margin: 10px 0 25px;
  color: #ff79d3;
  font-weight: 500;
}

.login-box input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ffc1f3;
  border-radius: 12px;
  outline: none;
  font-size: 15px;
  transition: 0.3s;
}

.login-box input:focus {
  border-color: #ff6cd9;
  box-shadow: 0 0 8px rgba(255, 108, 217, 0.5);
}

.login-box button {
  background: linear-gradient(90deg, #ff2fbf, #ff6cd9);
  border: none;
  color: white;
  padding: 12px;
  border-radius: 12px;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.login-box button:hover {
  background: linear-gradient(90deg, #ff74d1, #ff8add);
  transform: scale(1.03);
}

.error {
  color: #ff1b6b;
  margin-top: 10px;
}

/* DASHBOARD */
.dashboard-body {
  display: flex;
  height: 100vh;
  background: #fff0f9;
}

/* Sidebar */
.sidebar {
  width: 230px;
  background: linear-gradient(180deg, #ff66b2, #e91e63);
  color: white;
  padding: 25px 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 2px 0 15px rgba(0,0,0,0.15);
}

.sidebar h2 {
  font-size: 22px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  margin: 15px 0;
}

.sidebar ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 12px;
  transition: background 0.3s, transform 0.2s;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

/* ❤️ Animasi ikon hati */
.heartbeat {
  color: #ffb6c1;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
    color: #ffb6c1;
  }
  25% {
    transform: scale(1.2);
    color: #ff69b4;
  }
  50% {
    transform: scale(0.9);
    color: #ff4da6;
  }
  75% {
    transform: scale(1.1);
    color: #ff66b2;
  }
}
