html, body, body.c-app {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background-color: #f1f5f9 !important;
  background: #f1f5f9 !important;
  overflow-x: hidden !important;
}
#app {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
#app > .wrapper,
.wrapper {
  flex: 1 1 auto !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}
.wrapper > * {
  flex: 1 1 auto !important;
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.exa-dt-title, .exa-mb-title {
  text-transform: none !important;
  gap: 0 !important;
}
.exa-dt-brand-accent, .exa-mb-brand-accent {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #818cf8 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
  font-weight: 700 !important;
}
.exa-dt-brand-tenant, .exa-mb-brand-tenant {
  color: #0f172a !important;
  display: inline-block !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
}
.exa-dt-brand-logo {
  width: 64px !important;
  height: 64px !important;
  max-width: 68px !important;
  max-height: 68px !important;
  transform: translateY(-6px) !important;
}
.exa-mb-brand-logo {
  width: 34px !important;
  height: 34px !important;
  max-width: 36px !important;
  max-height: 36px !important;
}
/* QR Scanner Modal & Button Styles */
.exa-btn-scan-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 14px;
  margin-top: 10px;
  background: #f0fdf4;
  border: 1.5px dashed #16a34a;
  color: #15803d;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.exa-btn-scan-qr:hover {
  background: #dcfce7;
  border-color: #15803d;
  color: #166534;
}
.exa-qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exa-qr-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
}
.exa-qr-modal-card {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}
.exa-qr-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #0f172a;
  color: #ffffff;
}
.exa-qr-icon-title {
  width: 18px;
  height: 18px;
  stroke: #38bdf8;
}
.exa-qr-modal-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.exa-qr-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.exa-qr-modal-close:hover {
  color: #ffffff;
}
.exa-qr-viewport-wrap {
  position: relative;
  width: 100%;
  height: 290px;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
#exa-qr-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.exa-qr-guide-box {
  position: absolute;
  width: 190px;
  height: 190px;
  pointer-events: none;
}
.exa-qr-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #38bdf8;
  border-style: solid;
}
.exa-qr-corner.tl { top: 0; left: 0; border-width: 3px 0 0 3px; border-top-left-radius: 4px; }
.exa-qr-corner.tr { top: 0; right: 0; border-width: 3px 3px 0 0; border-top-right-radius: 4px; }
.exa-qr-corner.bl { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-bottom-left-radius: 4px; }
.exa-qr-corner.br { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-bottom-right-radius: 4px; }
.exa-qr-laser-line {
  position: absolute;
  top: 0;
  left: 5%;
  width: 90%;
  height: 2px;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8, 0 0 16px #38bdf8;
  animation: exaLaserScan 2s infinite ease-in-out;
}
@keyframes exaLaserScan {
  0%, 100% { top: 5%; }
  50% { top: 95%; }
}
.exa-qr-loading {
  position: absolute;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
}
.exa-qr-modal-footer {
  padding: 12px 16px;
  background: #f8fafc;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}
.exa-qr-hint-text {
  font-size: 11.5px;
  color: #475569;
  margin: 0 0 8px 0;
  line-height: 1.35;
}
.exa-qr-cancel-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.exa-qr-cancel-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Initial Boot Loader before Vue Mounts */
.exa-boot-loader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  z-index: 9999;
}
.exa-boot-spinner {
  width: 44px;
  height: 44px;
  border: 3.5px solid rgba(51, 31, 219, 0.14);
  border-top-color: #331fdb;
  border-radius: 50%;
  animation: exaBootSpin 0.75s linear infinite;
}
@keyframes exaBootSpin {
  to { transform: rotate(360deg); }
}
