:root {
  --biru-primary: #228BE6;
  --biru-soft: #c5daf0;
  --biru-gelap: #1558b0;
  --kuning-primary: #ffc107;
  --kuning-hover: #e0a800;
  --background-soft: #121212;
  --text-dark: #f8f9fa;
  --text-light: #fff;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--background-soft);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  font-size: 1rem;
  padding-top: 50px;
}

body.login-page,
body.costum-page,
body.merchant-page {
  background-color: var(--background-soft);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  font-size: 1rem;
}

.navbar.fixed-top {
  z-index: 1050;
}

.custom-navbar {
  background-color: #121212 !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.navbar-brand span {
  color: #fff;
  transition: color 0.3s ease;
}

.navbar-brand:hover span {
  color: #ffcc00;
}

.nav-link {
  color: #f8f9fa;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffcc00;
}

.nav-link.active {
  color: #ffcc00 !important;
  font-weight: bold;
}

.dropdown-menu {
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0;
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.8);
  transition: background-color 0.2s ease, color 0.2s ease;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: #333;
  color: #ffcc00;
}

.container-login {
  width: 100%;
  padding: 0 12px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.login-box {
  max-width: 420px;
  width: 100%;
  background-color: #1e1e1e;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(255, 204, 0, 0.1);
}

.login-title {
  color: var(--kuning-primary);
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

body.bantuan-page {
  background-color: #212529;
  color: var(--text-dark);
  min-height: 100vh;
  padding: 70px 12px 40px 12px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.bantuan-box {
  background-color: #1e1e1e;
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 520px;
}

.privacy-page {
  margin: 0;
  padding: 0;
}

.privacy-page .privacy-box {
  background-color: #1b1b1b;
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: 0;
  padding: 24px;
  margin: 0;
  max-width: 100%;
  width: 100%;
  box-shadow: none;
  line-height: 1.8;
}

.privacy-box h3,
.privacy-box h5 {
  color: #ffcc00;
}

.privacy-box a {
  color: #ffcc00;
  text-decoration: underline;
}

.privacy-box p,
.privacy-box li {
  color: #e0e0e0;
}

.privacy-box ul {
  padding-left: 20px;
}

.btn-yellow {
  background-color: var(--kuning-primary);
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 0.8rem;
}

.btn-yellow:hover {
  background-color: var(--kuning-hover);
  color: #fff;
}

.btn {
  border-radius: 0.7rem;
  font-weight: bold;
  transition: all 0.25s ease-in-out;
}

.profile-container,
.profile-box {
  background-color: #2a2a2a;
  border-left: 4px solid var(--kuning-primary);
  border-right: 4px solid var(--kuning-primary);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
}

.table thead th {
  background-color: #1e1e1e;
  color: var(--kuning-primary);
  border-bottom: 2px solid var(--kuning-primary);
}

.table tbody td {
  background-color: #2a2a2a;
  color: var(--text-dark);
  vertical-align: middle;
  border-color: #444;
}

.table tbody tr:hover {
  background-color: #333;
}

.btn-merchant {
  background-color: #ffcc00;
  color: #000;
  font-weight: bold;
  border-radius: 0.7rem;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.btn-merchant:hover {
  background-color: #ffd633;
  transform: scale(1.05);
  color: #000;
}

.btn-merchant.active {
  border: 2px solid #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3);
}

#cekKodeBayarBtn.btn-merchant {
  background-color: #ffcc00;
  color: #000;
}

#cekKodeBayarBtn.btn-merchant:hover {
  background-color: #ffd633;
  transform: scale(1.05);
}

.card-merchant {
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.1);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.card-merchant p {
  margin-bottom: 12px;
  color: #f8f9fa;
}

.card-merchant.d-flex {
  margin-top: 25px;
  padding: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background-color: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.1);
}

.card-merchant.d-flex .col-md-6 {
  width: 100%;
}

.card-merchant.d-flex .form-control,
.card-merchant.d-flex .form-select {
  width: 100%;
  border-radius: 0.7rem !important;
}

.form-control,
.form-select {
  border-radius: 0.7rem !important;
}

.swal2-container.swal2-backdrop-show {
  background: rgba(0, 0, 0, 0.4) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.swal2-popup {
  border-radius: 14px;
  font-size: 15px;
  padding: 20px;
  background-color: #1e1e1e;
  color: var(--text-dark);
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.2);
}

.swal2-popup label {
  display: block;
  color: var(--kuning-primary);
  margin-bottom: 6px;
}

.swal2-title {
  color: var(--kuning-primary);
  font-weight: 600;
}

.swal2-html-container {
  color: var(--text-dark);
}

.swal2-cancel {
  background-color: transparent !important;
  color: #ccc !important;
  border: 1px solid #888 !important;
  border-radius: 6px !important;
}

.swal2-confirm {
  background-color: var(--kuning-primary) !important;
  color: #121212 !important;
  border-radius: 6px !important;
}

.swal2-confirm:hover {
  background-color: var(--kuning-hover) !important;
  color: #fff !important;
}

.swal2-deny {
  background-color: transparent !important;
  color: #dc3545 !important;
  border: 1px solid #dc3545 !important;
  border-radius: 6px !important;
}

.swal2-deny:hover {
  background-color: #dc3545 !important;
  color: #fff !important;
}

.swal2-actions {
  display: flex !important;
  gap: 12px;
  justify-content: center;
}

.swal2-actions button {
  flex: 1 1 0%;
  min-width: 120px;
  max-width: 200px;
  padding: 10px 16px !important;
  font-weight: bold;
  font-size: 15px;
}

footer {
  background-color: #2a2a2a;
  color: #aaa;
  font-size: 13px;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid var(--kuning-primary);
  border-radius: 10px;
}

@media (max-width: 576px) {
  .table-responsive {
    font-size: 0.85rem;
  }

  footer {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .privacy-page .privacy-box {
    border-radius: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
}
