:root {
  --green-dark: #1B5E20;
  --green-darker: #154d1a;
  --text-white: #ffffff;
  --text-dark: #212529;
}

/* RESET & BASIC */
body {
  background-color: #ffffff; /* putih bersih */
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* HEADER */
.header-nav,
.app-header {
  background-color: var(--green-dark);
  color: var(--text-white);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.logo-unu {
  height: 50px;
  width: auto;
}

.app-header .logo-unu {
  height: 40px;
}

/* NAVIGATION */
.nav-link {
  color: var(--text-white) !important;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.nav-link:hover {
  background-color: var(--green-darker);
  border-radius: 4px;
}

/* BUTTONS */
.btn-outline-light {
  border: none;
  color: var(--text-white);
  font-weight: 500;
  border-radius: 8px;
}

.btn-outline-light:hover {
  background-color: var(--green-darker);
}

/* TABLE */
.table thead {
  background-color: var(--green-dark);
  color: var(--text-white);
}

.table th, .table td {
  text-align: center;
  vertical-align: middle;
  padding: 8px;
}

.time-cell {
  background-color: var(--green-dark);
  color: var(--text-white);
  font-weight: bold;
  white-space: nowrap;
}

/* CARD */
.card {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-header.bg-success {
  background-color: var(--green-dark) !important;
  color: var(--text-white);
}

/* FOOTER */
footer {
  background-color: var(--green-dark);
  color: var(--text-white);
  text-align: center;
  padding: 20px 0;
}

.social-icons a {
  color: var(--text-white);
  font-size: 1.5rem;
  margin: 0 10px;
  text-decoration: none;
}

.social-icons a:hover {
  color: var(--green-darker);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-nav .container,
  .app-header .container {
    flex-direction: column;
    text-align: center;
  }

  .nav {
    flex-direction: column !important;
    gap: 5px;
  }

  .logo-unu {
    margin-bottom: 10px;
  }

  .table-responsive {
    overflow-x: auto;
  }

  .table {
    font-size: 0.875rem;
  }

  .btn {
    width: 100%;
    margin-top: 8px;
  }
}
