@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
:root {
  --pos-accent: #f76a0c;
  --pos-accent-dark: #cc580a;
  --pos-muted: #6b6b6b;
  --pos-border: #e2e2e2;
  --pos-radius: 16px;
  --pos-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body.pos-login-body { height: 100%; font-family: var(--pos-font); }
body.pos-login-body {
  background: radial-gradient(circle at 30% 20%, #1a1a1a 0%, #000000 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}
.pos-login-screen { width: 100%; display: flex; justify-content: center; }
.pos-login-card {
  background: #ffffff;
  border-radius: var(--pos-radius);
  padding: 40px 36px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  text-align: center;
  animation: pos-login-in 320ms cubic-bezier(.2,.8,.2,1);
}
@keyframes pos-login-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.pos-login-logo { max-height: 56px; margin: 0 auto 18px; display: block; }
.pos-login-title { font-size: 21px; font-weight: 800; color: #111; margin-bottom: 4px; }
.pos-login-sub { font-size: 13px; color: var(--pos-muted); margin-bottom: 24px; }
.pos-login-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 18px;
  text-align: left;
}
.pos-login-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.pos-login-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--pos-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.pos-login-field input {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1.5px solid var(--pos-border);
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  transition: border-color 180ms ease;
  font-family: var(--pos-font);
}
.pos-login-field input:focus { border-color: var(--pos-accent); }
body.pos-login-body .pos-login-btn {
  margin-top: 6px;
  height: 48px;
  border-radius: 10px !important;
  border: none !important;
  outline: none !important;
  background: var(--pos-accent) !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-shadow: 0 4px 14px rgba(247,106,12,.35) !important;
  transition: background 180ms ease, opacity 180ms ease;
  font-family: var(--pos-font);
}
body.pos-login-body .pos-login-btn:hover,
body.pos-login-body .pos-login-btn:focus {
  background: #000000 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.35) !important;
}
body.pos-login-body .pos-login-btn:disabled { opacity: .85; cursor: not-allowed; }
.pos-login-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pos-login-spin .7s linear infinite;
}
.pos-login-btn.loading .pos-login-spinner { display: inline-block; }
.pos-login-btn.loading .pos-login-btn-text { opacity: .85; }
@keyframes pos-login-spin { to { transform: rotate(360deg); } }
@media (max-width: 420px) {
  .pos-login-card { padding: 32px 24px; }
}
.pos-login-footer {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-family: var(--pos-font);
}
.pos-login-credit-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}