body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #162d3a;
}

.page {
  min-height: 100vh;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.card {
  width: 100%;
  max-width: 850px;
  background: white;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

h1 {
  margin-top: 0;
  font-size: clamp(30px, 5vw, 46px);
}

.subtext {
  color: #555;
  margin-bottom: 25px;
}

.menu-button {
  display: block;
  padding: 18px 20px;
  margin: 14px 0;
  border-radius: 12px;
  background: #162d3a;
  color: white;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: 0.2s ease;
}

.menu-button:hover {
  background: #23495e;
  transform: translateY(-2px);
}

.super-admin-box {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid #ddd;
}

input, select {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 8px;
}

button {
  padding: 13px 18px;
  border: none;
  border-radius: 10px;
  background: #162d3a;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.result {
  margin-top: 15px;
  padding: 12px;
  border-radius: 10px;
  background: #dcfce7;
  color: #166534;
  display: none;
  word-break: break-all;
}

.toast {
  position: fixed;
  top: 18px;
  right: 18px;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  z-index: 99999;
  opacity: 0;
  transform: translateY(-12px);
  transition: all 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background: #16a34a;
}

.toast.error {
  background: #dc2626;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.admin-table th {
  background: #f1f5f9;
}

.small-btn {
  padding: 8px 10px;
  font-size: 12px;
  margin: 2px;
}

.url-cell {
  max-width: 220px;
  word-break: break-all;
  font-size: 12px;
}

.qrl-footer {
  margin-top: 30px;
  padding: 12px 20px;
  border-top: 1px solid #dbe2ea;
  text-align: center;
  background: #ffffff;
}

.qrl-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.qrl-footer-link:hover {
  color: #2563eb;
}

.qrl-footer-logo {
  height: 18px;
  width: auto;
}