/* ============================================================
   Bodholdt Access Portal — cyberpunk dark theme
   Mirrors src/theme/colors.ts so app and web feel identical.
   ============================================================ */

.bst-portal {
  /* Force the portal onto its own stacking context so the template
     theme's existing styles can't bleed in. */
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #0a0a0a;
  color: #e0e0e0;
  font-family: "Roboto Mono", Consolas, Menlo, monospace;
  box-sizing: border-box;
}
.bst-portal *,
.bst-portal *::before,
.bst-portal *::after {
  box-sizing: border-box;
}

.bst-portal__card {
  width: 100%;
  max-width: 420px;
  background: #111111;
  border: 1px solid rgba(0, 188, 242, 0.3);
  border-radius: 10px;
  padding: 28px 22px 22px 22px;
}

@media (max-width: 360px) {
  .bst-portal__card {
    padding: 22px 16px 18px 16px;
  }
}

.bst-portal__header {
  text-align: center;
  margin-bottom: 18px;
}

.bst-portal__brand {
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 7px;
  color: #00bcf2;
}
@media (max-width: 360px) {
  .bst-portal__brand {
    font-size: 22px;
    letter-spacing: 5px;
  }
}

.bst-portal__subtitle {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  color: #888888;
  margin-top: 4px;
}

.bst-portal__divider {
  width: 56px;
  height: 2px;
  background: #00bcf2;
  margin: 14px auto 8px auto;
}

.bst-portal__tagline {
  font-size: 10px;
  letter-spacing: 3px;
  /* #8a8a8a on #111 = 5.36:1 (AA); #555 was 2.53:1. */
  color: #8a8a8a;
}

.bst-portal__body {
  margin-top: 6px;
}

/* --- fields --------------------------------------------------- */

.bst-portal__label {
  display: block;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2px;
  color: #888888;
  margin-top: 14px;
  margin-bottom: 6px;
}

.bst-portal__input {
  display: block;
  width: 100%;
  background: #1a1a1a;
  color: #e0e0e0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 12px;
  box-sizing: border-box;
  min-height: 44px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.bst-portal__input:focus {
  border-color: rgba(0, 188, 242, 0.55);
  background: #1d1d1d;
}
.bst-portal__input[disabled],
.bst-portal__input.is-readonly {
  opacity: 0.55;
}

.bst-portal__hint {
  font-size: 10px;
  line-height: 14px;
  color: #8a8a8a;
  margin-top: 8px;
}

/* --- primary button ------------------------------------------- */

.bst-portal__button {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 13px 14px;
  background: #00bcf2;
  color: #0a0a0a;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
}
.bst-portal__button:hover,
.bst-portal__button:focus {
  opacity: 0.92;
  outline: none;
}
.bst-portal__button:active {
  transform: translateY(1px);
}
.bst-portal__button[disabled] {
  opacity: 0.55;
  cursor: wait;
}

/* --- inline links --------------------------------------------- */

.bst-portal__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  background: none;
  border: 0;
  padding: 12px 6px;
  min-height: 44px;
  font-family: inherit;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  color: #00bcf2;
  cursor: pointer;
  text-decoration: none;
}
.bst-portal__link:hover,
.bst-portal__link:focus {
  text-decoration: underline;
  outline: none;
}

.bst-portal__secondary {
  text-align: center;
  margin-top: 14px;
}

/* --- status boxes --------------------------------------------- */

.bst-portal__error {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(232, 17, 35, 0.35);
  background: rgba(232, 17, 35, 0.12);
  color: #ff8080;
  font-size: 12px;
  text-align: center;
  border-radius: 6px;
  line-height: 1.4;
}

.bst-portal__success {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(0, 188, 242, 0.35);
  background: rgba(0, 188, 242, 0.08);
  color: #e0e0e0;
  font-size: 12px;
  text-align: center;
  border-radius: 6px;
  line-height: 1.5;
}

/* --- loading placeholder -------------------------------------- */
.bst-portal__loading {
  color: #888888;
  text-align: center;
  font-size: 12px;
  padding: 16px 0;
}
