/* AURORA account access · Powered By The 4 Corners In 360. */
.aurora-account-bar,
.aurora-account-bar * {
  box-sizing: border-box;
}

.aurora-account-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
  width: min(1460px, calc(100% - 112px));
  min-width: 0;
  min-height: 64px;
  margin: 0 auto;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid #d6bdf12b;
  color: #eee5f6;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  isolation: isolate;
}

.aurora-account-bar .aurora-account-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: #c8bed3;
  font: inherit;
  overflow-wrap: anywhere;
}

.aurora-account-bar .aurora-account-status::before {
  content: '';
  display: block;
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a69aad;
}

.aurora-account-bar[data-state="signed-in"] .aurora-account-status::before {
  background: #bce4ca;
  box-shadow: 0 0 9px #bce4ca35;
}

.aurora-account-bar[data-state="signed-out"] .aurora-account-status::before {
  background: #c6a2ed;
}

.aurora-account-bar .aurora-account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.aurora-account-bar a.aurora-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 76px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid #8b759d;
  border-radius: 7px;
  background: linear-gradient(125deg, #fff8ff, #e6d6f4 27%, #c1a1e0 65%, #e8ddf3);
  color: #251731;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  touch-action: manipulation;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.aurora-account-bar a.aurora-account-logout {
  background: #1c1723;
  color: #eee5f6;
  font-weight: 400;
}

.aurora-account-bar a.aurora-account-link:hover {
  border-color: #f2dfff;
  box-shadow: 0 0 15px #b894de20;
}

.aurora-account-bar a.aurora-account-link:focus-visible {
  outline: 2px solid #e0b8ff;
  outline-offset: 4px;
}

.aurora-account-bar [hidden] {
  display: none !important;
}

/* Keep the native forms and their listeners intact; the new toolbar is clearer. */
html.aurora-account-enhanced .ac-account-menu,
html.aurora-account-enhanced .ab-account-menu,
html.aurora-account-enhanced .ap-account-menu {
  display: none !important;
}

@media (max-width: 768px) {
  .aurora-account-bar {
    width: calc(100% - 32px);
    gap: 6px 12px;
    min-height: 62px;
  }
}

@media (max-width: 360px) {
  .aurora-account-bar {
    justify-content: space-between;
    gap: 6px 8px;
    font-size: 12px;
  }
  .aurora-account-bar .aurora-account-status { gap: 6px; }
  .aurora-account-bar .aurora-account-actions { gap: 6px; }
  .aurora-account-bar a.aurora-account-link {
    min-width: 68px;
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-account-bar a.aurora-account-link { transition: none; }
}

@media print {
  .aurora-account-bar { display: none !important; }
}
