/* Lapisan login portal: dimuat sebelum gaya dashboard, guna awalan "pt-" supaya tidak bertembung */
.pt-overlay {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: linear-gradient(150deg, #050C6B 0%, #0C11CC 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}
.pt-overlay[hidden], .pt-form[hidden], .pt-chip[hidden], .pt-msg[hidden], .pt-btn[hidden] { display: none !important; }
.pt-card {
  width: 100%; max-width: 380px; background: #fff; border-radius: 16px;
  padding: 30px 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); color: #1a1f4d;
}
.pt-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.pt-brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #e3e6f5; }
.pt-org { font-weight: 800; font-size: 16px; letter-spacing: 0.4px; color: #050C6B; }
.pt-app { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #00B8AC; }
.pt-card h1 { font-size: 21px; margin: 0 0 4px; font-weight: 700; }
.pt-sub { color: #5a6190; font-size: 13px; margin: 0 0 6px; line-height: 1.5; }
.pt-form { display: flex; flex-direction: column; }
.pt-form label { font-size: 12.5px; font-weight: 600; margin: 13px 0 5px; }
.pt-form input {
  font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 9px;
  border: 1px solid #d5d9ee; color: #1a1f4d; background: #fff;
}
.pt-form input:focus { outline: 2px solid #0C11CC; outline-offset: 1px; border-color: #0C11CC; }
.pt-hint { color: #5a6190; font-size: 12px; margin: 6px 0 0; }
.pt-msg { margin: 12px 0 0; padding: 9px 11px; border-radius: 8px; font-size: 13px; line-height: 1.45; }
.pt-msg.err { background: #fdecea; color: #b42318; }
.pt-msg.ok { background: #e6f4ea; color: #1a7f37; }
.pt-btn {
  font: inherit; font-weight: 700; font-size: 14px; margin-top: 16px; padding: 11px;
  border: none; border-radius: 9px; cursor: pointer; background: #0C11CC; color: #fff;
}
.pt-btn:hover { background: #050C6B; }
.pt-btn:disabled { opacity: 0.6; cursor: wait; }
.pt-btn.pt-ghost { background: transparent; color: #0C11CC; border: 1px solid #d5d9ee; margin-top: 8px; }
.pt-foot { text-align: center; color: #5a6190; font-size: 12px; margin: 18px 0 0; }

/* Butang pengguna di bar atas dashboard */
.pt-chip { display: flex; align-items: center; gap: 6px; font-family: inherit; }
.pt-chip-name { color: #fff; font-size: 12px; opacity: 0.9; margin-right: 4px; white-space: nowrap; }
.pt-chip button {
  font: inherit; font-size: 11.5px; font-weight: 600; color: #fff; background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 7px; padding: 5px 10px; cursor: pointer; white-space: nowrap;
}
.pt-chip button:hover { background: rgba(255, 255, 255, 0.12); }
@media (max-width: 768px) {
  .pt-chip-name, .pt-chip .pt-chg { display: none; }
  .pt-chip button { padding: 4px 8px; }
}
