/* Waste360 — Desktop / tablet-landscape gate */

.device-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  isolation: isolate;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: #e8eef6;
  color: #1e293b;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  text-align: center;
  overflow: hidden;
}

.device-gate::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: 0;
  background: url('../assets/bg-main-color1.jpg?v=1') calc(50% - 50px) center / cover no-repeat;
  filter: blur(10px);
  pointer-events: none;
}

.device-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.device-gate-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 420px;
}

.device-gate-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.device-gate-mark {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  background: transparent;
  flex-shrink: 0;
  overflow: hidden;
}

.device-gate-mark .brand-logo,
.device-gate-mark .ai-lottie {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.device-gate-mark .ai-lottie svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.device-gate-name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 5px;
  line-height: 1.2;
  color: #000;
  margin-top: -30px;
}

.device-gate-logo {
  width: 56px;
  height: 56px;
}

.device-gate-inner p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: rgba(30, 41, 59, 0.78);
}

html.device-restricted,
html.device-restricted body,
body.device-restricted {
  overflow: hidden !important;
}

html.device-restricted body > :not(.device-gate),
body.device-restricted > :not(.device-gate) {
  display: none !important;
}

html.device-restricted .device-gate,
body.device-restricted .device-gate {
  display: flex;
}
