body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background-color: #f4f8fb;
}

.navbar {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #eee;
}
.nav-links a {
  color: black;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #009fd4;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links .active {
  color: #009fd4;
}

.nav-links a:hover::after,
.nav-links .active::after {
  width: 100%;
}
.auth-buttons a {
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
.btn-login {
  border: 1px solid #00b8e6;
  color: #00b8e6;
}

.btn-register {
  background: #00b8e6;
  color: #fff;
  margin-left: 10px;
}

.btn-login:hover {
  background: #00b8e6;
  color: #fff;
}

.btn-register:hover {
  background: #00b8e6;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
}

.logo h1 {
  color: #00b8e6;
  font-size: 22px;
  margin: 0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav ul li a.active,
nav ul li a:hover {
  color: #00b8e6;
}

.container {
  padding: 40px 80px;
}

h2 {
  color: #00b8e6;
  text-align: center;
  margin-bottom: 25px;
}

.alert {
  background-color: #e8f6ff;
  border-left: 5px solid #00b8e6;
  padding: 10px 15px;
  margin-bottom: 20px;
  color: #333;
  border-radius: 5px;
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

th {
  background: #00b8e6;
  color: #fff;
  padding: 12px;
}

td {
  padding: 10px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
}

td img {
  width: 70px;
  border-radius: 8px;
}

form {
  display: inline-block;
  margin: 3px;
}

input[type="number"] {
  width: 60px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  color: white;
  font-weight: 600;
  transition: 0.3s;
}

.btn.tambah {
  background: #28a745;
}
.btn.kurang {
  background: #dc3545;
}
.btn.simpan {
  background: #00b8e6;
}
.btn.hapus {
  background: #555;
}

.btn:hover {
  opacity: 0.85;
}
