/* ESX branding overlay for the Engram Cloud dashboard (dark theme, Rose Pine based). */
:root {
  --esx-gold: #d4a017;
  --esx-gold-soft: rgba(212, 160, 23, 0.45);
}

/* Logo base: transparent PNG, keep aspect ratio (480x128). */
.esx-logo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Header: logo first, then the Engram brand; user info pushed to the right. */
.esx-logo--header {
  height: 30px;
  align-self: center;
  flex: 0 0 auto;
  padding-right: 1rem;
  border-right: 1px solid var(--esx-gold-soft);
}

.shell-header:has(> .esx-logo--header) {
  justify-content: flex-start;
}

.shell-header:has(> .esx-logo--header) > .user-info {
  margin-left: auto;
}

/* Login: logo above the form. */
.esx-logo--login {
  height: 64px;
  align-self: flex-start;
  margin-bottom: 0.5rem;
}

/* Subtle gold accent: thin top border on the main frames. */
.app-shell,
.login-shell {
  border-top: 2px solid var(--esx-gold);
}

@media (max-width: 720px) {
  .esx-logo--header {
    align-self: flex-start;
    padding-right: 0;
    border-right: 0;
    height: 26px;
  }

  .shell-header:has(> .esx-logo--header) > .user-info {
    margin-left: 0;
  }
}
