/* Scoped to the real PHP login: no changes to dashboards or business screens. */
.orbital-access {
  --access-blue: #459bff;
  --access-amber: #e7b779;
  --access-muted: #98a8bf;
  --access-field-bg: #0a1525;
  --access-readable-font: 1.4rem;
  --access-form-font: .95rem;
  background: #050a12;
  color: #f0f4fa;
  min-height: 100svh;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}
.orbital-access::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(ellipse at 28% 48%, #0b254349, transparent 50%), radial-gradient(ellipse at 90% 20%, #17365436, transparent 45%);
}
.access-shade { position: fixed; inset: 0; background: #050a12; opacity: 0; pointer-events: none; z-index: 20; transition: opacity 360ms ease-in-out; }
.orbital-access.is-entering .access-shade { opacity: 1; }
.orbital-access.is-entering { overflow: hidden; }
.access-header { width: min(1440px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; padding: 20px 5%; }
.access-brand { display: flex; align-items: center; justify-self: start; }
.access-brand img { width: 250px; max-width: 100%; height: auto; object-fit: contain; border-radius: 0; }
.access-private { grid-column: 2; text-align: center; color: #dce8f8; font-size: var(--access-readable-font); font-weight: 500; letter-spacing: .02em; }
.access-back { grid-column: 3; justify-self: end; max-width: 100%; color: #dce8f8; font-size: 1rem; font-weight: 500; display: flex; align-items: center; justify-content: center; min-height: 48px; gap: 10px; padding: 13px 18px; border: 1px solid #6a9bd05c; border-radius: 10px; background: linear-gradient(135deg, #16345699, #0d1d3299); text-align: center; line-height: 1.5; transition: background .2s, border-color .2s; }
.access-back:hover { background: #183959; border-color: #a4c9f48c; }
.access-back > span { color: var(--access-amber); }
.access-main { width: min(1330px, 100%); margin: auto; padding: 32px 5% 46px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .85fr); align-items: start; gap: clamp(32px, 6vw, 90px); flex: 1; }
.access-universe { min-width: 0; }
.universe-heading { position: relative; top: -30px; padding-top: clamp(12px, 1.5vw, 22px); }
.access-eyebrow { color: #9aafcb; font-size: var(--access-form-font); letter-spacing: .12em; font-weight: 600; line-height: 1.5; }
.access-eyebrow > span { color: var(--access-amber); margin-right: 8px; }
.universe-heading h2 { font-size: clamp(2.2rem, 3.25vw, 3.35rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.1; margin: 0 0 18px; }
.orbital-access em { font-style: normal; color: var(--access-blue); }
.globe-stage { height: clamp(290px, 33vw, 450px); position: relative; touch-action: pan-y; cursor: grab; }
.globe-stage:active { cursor: grabbing; }
.globe-art { position: absolute; inset: 10px 24px 25px; display: grid; place-items: center; transform: perspective(900px) rotateX(var(--globe-x, 0deg)) rotateY(var(--globe-y, 0deg)); transition: transform 450ms ease-out; pointer-events: none; }
.globe-crop { position: relative; width: min(100%, 415px); max-height: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; -webkit-mask-image: radial-gradient(circle, #000 72%, transparent 91%); mask-image: radial-gradient(circle, #000 72%, transparent 91%); animation: globe-float 6s ease-in-out infinite; }
.globe-image { position: absolute; left: 50%; top: 50%; width: 185%; height: 185%; max-width: none; object-fit: cover; transform: translate(-50%, -36.7%); }
.globe-stage.is-paused .globe-crop, .is-entering .globe-crop { animation-play-state: paused; }
.globe-control[hidden] { display: none; }
@keyframes globe-float { 0%, 100% { transform: translateY(3px); } 50% { transform: translateY(-3px); } }
.globe-coordinate { position: absolute; top: 34px; left: 0; color: #6583a8; font-size: .52rem; letter-spacing: .2em; writing-mode: vertical-rl; }
.globe-control { position: absolute; right: 0; top: 22px; background: #0a1424b3; border: 1px solid #49658b40; color: #a9bcd6; border-radius: 20px; min-height: 44px; padding: 8px 12px; font-size: .65rem; cursor: pointer; }
.globe-caption { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .6rem; color: #859bbb; }
.globe-caption > span { color: var(--access-amber); margin-right: 7px; }
.universe-bottom { border-top: 1px solid #35496445; padding-top: 20px; display: flex; gap: 12px; align-items: flex-start; }
.universe-bottom > span { color: var(--access-amber); font-size: 1.25rem; line-height: 1.45; }
.universe-bottom p { font-size: clamp(1rem, 1.3vw, 1.15rem); color: #a6b4c8; line-height: 1.55; }
.access-panel { padding: clamp(28px, 3.5vw, 46px); border: 1px solid #8eaad521; border-radius: 24px; background: linear-gradient(150deg, #101d30c9, #080f1acc); box-shadow: 0 30px 90px #0005, inset 0 1px 0 #ffffff05; position: relative; top: -32px; backdrop-filter: blur(16px); }
.access-panel::before { content: ""; position: absolute; height: 1px; top: -1px; left: 15%; right: 15%; background: linear-gradient(90deg, transparent, #71a5e35c, transparent); }
.panel-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.panel-orbit { color: var(--access-amber); font-size: 1.2rem; }
.access-panel h1 { font-size: clamp(1.9rem, 2.65vw, 2.6rem); line-height: 1.2; font-weight: 450; letter-spacing: -.045em; }
.access-panel h1 em { color: #c6dbf7; }
.access-intro { font-size: var(--access-form-font); line-height: 1.8; color: var(--access-muted); margin: 16px 0 30px; }
#access-form { display: grid; gap: 18px; }
.access-field label { display: block; font-size: var(--access-form-font); font-weight: 500; color: #d3deed; margin-bottom: 9px; }
.access-input { display: flex; align-items: center; border: 1px solid #718bad33; border-radius: 10px; background: var(--access-field-bg); padding: 0 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.access-input:focus-within { border-color: #459bff; box-shadow: 0 0 0 3px #459bff15; }
.access-input > span, .access-input > svg { width: 18px; height: 18px; flex-shrink: 0; color: #7d94b3; font-size: .9rem; }
.access-input input { border: 0; background: var(--access-field-bg); color: #eaf2ff; width: 100%; min-width: 0; padding: 16px 11px; font-size: var(--access-form-font); outline: none; border-radius: 0; box-shadow: none; }
.access-input input::placeholder { color: #71839d; }
.access-input input[aria-invalid="true"] { color: #ffd7cb; }
.access-input:has([aria-invalid="true"]) { border-color: #d98070; }
.access-input input:autofill { background: var(--access-field-bg); color: #eaf2ff; border: 0; border-radius: 0; }
.access-input input:-webkit-autofill,
.access-input input:-webkit-autofill:hover,
.access-input input:-webkit-autofill:focus,
.access-input input:-webkit-autofill:active { -webkit-text-fill-color: #eaf2ff; caret-color: #eaf2ff; border: 0; border-radius: 0; -webkit-box-shadow: 0 0 0 1000px var(--access-field-bg) inset; box-shadow: 0 0 0 1000px var(--access-field-bg) inset; }
#access-password-toggle { color: #a6bbd6; background: transparent; border: none; padding: 12px 0 12px 6px; cursor: pointer; font-size: var(--access-form-font); min-height: 44px; }
.access-recovery { justify-self: end; color: #a9bdd8; font-size: var(--access-form-font); margin-top: -5px; padding: 5px 0; min-height: 44px; display: inline-flex; align-items: center; }
.access-feedback { font-size: .72rem; line-height: 1.5; color: #a2c8fa; }
.access-feedback:empty { display: none; }
.access-feedback.is-error { color: #ffb9a8; border-left: 2px solid #e98e75; padding: 9px 12px; background: #f3917710; border-radius: 0 6px 6px 0; }
.access-feedback.is-success { color: #bddfcf; }
.access-submit { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; min-height: 52px; background: linear-gradient(110deg, #237cea, #409bff); color: #fff; border: 1px solid #65aeff66; border-radius: 10px; font-size: var(--access-form-font); font-weight: 600; cursor: pointer; box-shadow: 0 5px 22px #237cea24; transition: filter .2s, box-shadow .2s; }
.access-submit:hover:not(:disabled) { filter: brightness(1.13); box-shadow: 0 6px 30px #237cea45; }
.submit-arrow { font-size: 1.3rem; font-weight: 400; }
.access-submit:disabled { cursor: wait; opacity: .75; }
.access-submit.is-loading .submit-arrow { width: 15px; height: 15px; border: 1px solid #ffffff40; border-top-color: white; border-radius: 50%; font-size: 0; animation: access-spin 1s linear infinite; }
.access-signup { margin-top: 24px; font-size: .95rem; line-height: 1.55; text-align: center; color: var(--access-muted); }
.access-signup a { color: var(--access-amber); margin-left: 5px; }
.access-notice { color: #d9c4a4; padding: 12px 14px; border: 1px solid #d1a06a40; border-radius: 8px; background: #c4986110; font-size: .72rem; line-height: 1.6; margin-bottom: 18px; }
.access-footer { width: min(1440px, 100%); margin: 0 auto; padding: 22px 5%; border-top: 1px solid #32435b40; display: flex; align-items: center; gap: 32px; color: #899bb3; font-size: .59rem; line-height: 1.7; }
.access-footer > span, .access-footer > a { flex-shrink: 0; }
.access-footer p { max-width: 670px; margin-left: auto; }
.access-footer a { color: #a9bad1; }
.orbital-access a:hover { color: #e7b779; }
.orbital-access :focus-visible { outline: 2px solid #8ec5ff; outline-offset: 5px; }
.orbital-access input:focus-visible { outline: none; }
.access-skip { position: fixed; top: 12px; left: 12px; padding: 12px 18px; background: #163965; border-radius: 8px; z-index: 30; transform: translateY(-180%); }
.access-skip:focus { transform: translateY(0); }
.is-entering .access-header, .is-entering .access-main, .is-entering .access-footer { pointer-events: none; }
.access-recovery-page { width: min(570px, calc(100% - 40px)); margin: auto; }
.access-recovery-page ol { margin: 20px 0 26px; padding-left: 20px; color: #b0c1d9; font-size: .8rem; line-height: 1.9; }
.access-recovery-page li + li { margin-top: 12px; }
@keyframes access-spin { to { transform: rotate(360deg); } }
@media (min-width: 1600px) { .access-main { padding-top: 48px; padding-bottom: 60px; } }
@media (max-width: 1000px) {
  .access-main { gap: 30px; grid-template-columns: minmax(0, 1fr) minmax(330px, 1fr); }
  .access-panel { padding: 28px; }
}
@media (max-width: 760px) {
  .orbital-access { --access-readable-font: 1.25rem; }
  .access-header { padding: 18px 6%; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; }
  .access-brand { justify-self: center; }
  .access-brand img { width: 205px; height: auto; }
  .access-private { grid-column: 1; }
  .access-back { grid-column: 1; justify-self: center; font-size: .95rem; }
  .access-main { grid-template-columns: 1fr; gap: 12px; padding: 16px 6% 32px; width: min(600px, 100%); flex: none; margin: 0 auto; }
  .universe-heading { top: -16px; padding-top: 0; text-align: center; }
  .universe-heading h2 { font-size: clamp(2rem, 7vw, 2.7rem); }
  .globe-stage { height: 265px; }
  .globe-crop { width: min(100%, 230px); max-height: none; }
  .globe-coordinate { top: 25px; }
  .universe-bottom { padding-top: 16px; }
  .universe-bottom p { font-size: 1rem; }
  .access-panel { top: 0; padding: 30px; }
  .access-panel h1 { font-size: 2rem; }
  .panel-topline { margin-bottom: 22px; }
  .access-footer { flex-wrap: wrap; gap: 10px 20px; padding: 20px 6%; }
  .access-footer p { order: 3; width: 100%; margin: 0; }
  .access-footer > a { margin-left: auto; }
  .access-input input { font-size: 16px; }
}
@media (max-width: 390px) {
  .access-header { gap: 12px; }
  .access-panel { padding: 24px; }
  .globe-stage { height: 235px; }
  .globe-crop { width: min(100%, 200px); }
  .access-panel h1 { font-size: 1.75rem; }
  .access-signup { font-size: .72rem; }
  .access-eyebrow { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .globe-crop { animation: none; }
  .orbital-access *, .orbital-access *::before, .orbital-access *::after { animation-duration: .01ms !important; transition-duration: .1s !important; }
}
