/* Omni-HT Portal Styles — responsive base v7 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100vh;
}

body.scroll-layout {
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}
body.scroll-layout::-webkit-scrollbar { display: none; }

.portal-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  display: block;
}

/* Overlay sits between bg image and card — dim/tint layer */
.portal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.centered-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 80px;
}

.portal-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.scroll-end-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 100vh 15px 20px;
}

.scroll-sticky-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-top: 100vh;
}

.sticky-block {
  position: sticky;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  z-index: 10;
}

.portal-footer-detached {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  max-width: 90%;
  white-space: nowrap;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
  cursor: pointer;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 10px;
}
.btn:hover { opacity: 0.9; }
.btn-primary { background: #007bff; color: #fff; }

/* Logo image safety net */
.portal-logo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
