
/* HotelWai Android/PWA styles. Scoped to installed standalone mode only. */
html.hw-app-show-splash, html.hw-app-show-splash body { background: #031329 !important; }
#hw-app-splash {
  position: fixed; inset: 0; z-index: 2147483000; display: flex;
  align-items: stretch; justify-content: center; overflow: hidden;
  background: #031329; color: #fff; opacity: 0; visibility: hidden;
  pointer-events: none; transition: opacity .38s ease, visibility .38s ease;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html.hw-app-show-splash #hw-app-splash { opacity: 1; visibility: visible; pointer-events: auto; }
#hw-app-splash.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.hw-splash-brand { position: absolute; top: 25.5%; left: 50%; width: min(82vw, 390px); transform: translateX(-50%); text-align: center; }
.hw-splash-icon { display: block; width: clamp(112px, 30vw, 164px); height: auto; margin: 0 auto 20px; filter: drop-shadow(0 8px 22px rgba(0, 117, 255, .18)); }
.hw-splash-wordmark { color: #fff; font-size: clamp(42px, 11vw, 62px); font-weight: 800; line-height: 1; letter-spacing: -2.4px; }
.hw-splash-wordmark span { color: #fff; }
.hw-splash-wordmark strong { color: #087ff5; font-weight: 850; }
.hw-splash-subtitle { margin: 12px 0 0; color: #d5e3f5; font-size: clamp(14px, 3.8vw, 19px); font-weight: 400; letter-spacing: -.2px; }
.hw-splash-loader { position: absolute; left: 50%; bottom: 11.5%; width: min(90vw, 560px); transform: translateX(-50%); text-align: center; }
.hw-splash-arc { display: block; width: 100%; height: auto; overflow: visible; }
.hw-splash-arc-path { fill: none; stroke: #087dff; stroke-width: 2.1; opacity: .82; filter: drop-shadow(0 0 5px #078cff); }
.hw-splash-arc-glow { fill: none; stroke: #00aaff; stroke-width: 8; opacity: .18; filter: blur(5px); }
.hw-splash-dot { fill: #e6f8ff; filter: drop-shadow(0 0 4px #00aaff) drop-shadow(0 0 11px #008cff); }
.hw-splash-loading { margin: -1px 0 0; color: #d2deee; font-size: 15px; letter-spacing: .2px; }

/* Login redesign only inside the installed Android/PWA experience. */
html.hw-app-standalone body.hw-app-mode { background: #031329 !important; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-page { min-height: 100svh; height: auto !important; padding: 22px 14px 30px; background: radial-gradient(ellipse at 50% 0%, rgba(16, 105, 219, .28), transparent 52%), linear-gradient(145deg, #061b3e 0%, #031329 62%, #061b30 100%); }
html.hw-app-standalone body.hw-app-mode .hw-app-login-page .login-background { min-height: calc(100svh - 52px); height: auto; align-items: center; margin: 0; background: transparent !important; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-page #login-responsive { flex: 0 0 100%; width: 100%; max-width: 540px; padding: 0; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-page #login-responsive > .row { margin: 0; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-page #login-responsive .col-lg-7 { flex: 0 0 100%; max-width: 100%; padding: 0; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-page .card-body { padding: 0 !important; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-page #login-background { display: none !important; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-brand { text-align: center; margin: 0 auto 24px; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-brand img { display: block; width: min(68vw, 245px); height: auto; margin: 0 auto 8px; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-brand p { color: #c8d8ec; font-size: 13px; margin: 0; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-form { padding: clamp(22px, 5vw, 34px); border: 1px solid rgba(125, 177, 239, .2); border-radius: 22px; background: linear-gradient(155deg, rgba(13, 39, 78, .97), rgba(5, 23, 49, .97)); box-shadow: 0 22px 65px rgba(0, 0, 0, .28); }
html.hw-app-standalone body.hw-app-mode .hw-app-login-title { color: #fff !important; font-size: clamp(22px, 6vw, 28px); font-weight: 750; text-align: center; margin: 0 0 7px !important; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-intro { color: #c5d6eb; text-align: center; font-size: 14px; margin: 0 0 24px; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-form label,
html.hw-app-standalone body.hw-app-mode .hw-app-login-form .custom-switch-description,
html.hw-app-standalone body.hw-app-mode .hw-app-login-form .text-muted { color: #d6e3f4 !important; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-form .form-control { min-height: 50px; border-radius: 12px; border: 1px solid rgba(153, 190, 234, .28); background: rgba(255, 255, 255, .07); color: #fff; padding: 12px 15px; box-shadow: none; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-form .form-control::placeholder { color: #aabbd1; opacity: 1; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-form .form-control:focus { border-color: #168bff; box-shadow: 0 0 0 3px rgba(22, 139, 255, .16); }
html.hw-app-standalone body.hw-app-mode .hw-app-login-form .input-box { margin-bottom: 18px; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-form .login-main-button { width: 100%; min-height: 52px; border: 0; border-radius: 12px; background: linear-gradient(100deg, #0877ef, #075bd8); box-shadow: 0 8px 24px rgba(0, 103, 255, .22); font-size: 16px; font-weight: 700; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-form .text-info a,
html.hw-app-standalone body.hw-app-mode .hw-app-login-form a.text-info,
html.hw-app-standalone body.hw-app-mode .hw-app-login-form .special-action-sign { color: #63b1ff !important; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-form .divider { color: #b9cce3; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-form .social-login-button { border: 1px solid rgba(153,190,234,.25); border-radius: 10px; color: #eaf3ff; background: rgba(255,255,255,.06); }
html.hw-app-standalone body.hw-app-mode .hw-app-login-form .alert { border-radius: 10px; }
html.hw-app-standalone body.hw-app-mode .hw-app-login-form .form-group { margin-top: 16px; }

/* Camera QR scanner modal */
.hw-qr-modal[hidden] { display: none !important; }
.hw-qr-modal { position: fixed; inset: 0; z-index: 2147482000; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(1, 10, 25, .88); }
.hw-qr-dialog { width: min(100%, 520px); padding: 18px; border-radius: 18px; color: #fff; background: #071b38; border: 1px solid rgba(116, 177, 246, .25); box-shadow: 0 20px 70px rgba(0,0,0,.45); }
.hw-qr-dialog h2 { margin: 0 0 6px; font-size: 20px; color: #fff; }
.hw-qr-dialog p { color: #c6d7ec; font-size: 13px; }
.hw-qr-video-wrap { overflow: hidden; border-radius: 14px; background: #000; aspect-ratio: 4 / 3; }
.hw-qr-video-wrap video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hw-qr-actions { display: flex; gap: 10px; margin-top: 14px; }
.hw-qr-actions button { flex: 1; min-height: 44px; border: 0; border-radius: 10px; font-weight: 650; }
.hw-qr-close { background: #18375f; color: #fff; }
.hw-qr-copy { background: #0877ef; color: #fff; }
.hw-qr-result { overflow-wrap: anywhere; padding: 10px; border-radius: 8px; background: rgba(255,255,255,.07); color: #fff; }
.hw-app-header-action { display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: inherit; cursor: pointer; min-width: 38px; }
@media (max-width: 420px) {
  html.hw-app-standalone body.hw-app-mode .hw-app-login-page { padding: 18px 12px 24px; }
  html.hw-app-standalone body.hw-app-mode .hw-app-login-brand { margin-bottom: 18px; }
  html.hw-app-standalone body.hw-app-mode .hw-app-login-form { padding: 21px 17px; }
  .hw-splash-brand { top: 27%; }
  .hw-splash-loader { bottom: 12%; }
}
@media (prefers-reduced-motion: reduce) {
  #hw-app-splash, #hw-app-splash * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
