/*
 * DheLoop Accounting & Finance
 * Phase 9 — Direct Authentication Entry
 *
 * The marketing/hero component remains in the DOM for compatibility and
 * component-integrity validation, but customers entering /accounting/
 * immediately see the secure Log In / Create Account interface.
 */

body:not(.dhe-workspace-open) #landingView,
body:not(.dhe-workspace-open) #landingFooter,
body:not(.dhe-workspace-open) #dheloopAccountingApp > .dhe-topbar {
  display: none !important;
}

body:not(.dhe-workspace-open) #dheAuthOverlay {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  align-items: center !important;
  justify-content: center !important;
  background:
    radial-gradient(circle at 12% 5%, rgba(41, 94, 255, .23), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(0, 189, 201, .20), transparent 35%),
    linear-gradient(145deg, #1b2940 0%, #405069 100%) !important;
}

body:not(.dhe-workspace-open) #dheAuthClose {
  display: none !important;
}

body:not(.dhe-workspace-open) {
  overflow: hidden !important;
}

body:not(.dhe-workspace-open) .dhe-auth-card {
  max-height: calc(100dvh - 34px) !important;
}

@media (max-width: 640px) {
  body:not(.dhe-workspace-open) #dheAuthOverlay {
    padding: 8px !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
  }

  body:not(.dhe-workspace-open) .dhe-auth-card {
    max-height: none !important;
    margin: 8px 0 !important;
  }
}
