/* Header menus for the static Transfrexa clone (Transfer, apps, notifications, account). */

.tf-shell-menu,
.tf-shell-notify,
.tf-shell-fund {
  font-family: Kraken-Product, "IBM Plex Sans", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.tf-shell-menu {
  position: fixed;
  z-index: 4000;
  min-width: 260px;
  padding: 8px;
  border: 0;
  border-radius: 16px;
  background: #161616;
  color: #f3f3f3;
  box-shadow: 0 16px 48px rgba(16, 24, 40, 0.32);
}

.tf-shell-menu[hidden],
.tf-shell-notify[hidden],
.tf-shell-fund[hidden] {
  display: none;
}

.tf-shell-menu a,
.tf-shell-menu button {
  font: inherit;
}

.tf-shell-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #f3f3f3;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.tf-shell-item:hover,
.tf-shell-item:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.tf-shell-item svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.tf-shell-item-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.tf-shell-item-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.tf-shell-item-sub {
  font-size: 12px;
  line-height: 16px;
  color: #9a9a9a;
}

.tf-shell-account {
  width: 280px;
  padding: 12px 8px 8px;
}

.tf-shell-avatar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 12px;
}

.tf-shell-account-id {
  min-width: 0;
}

.tf-shell-account-id strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  word-break: break-word;
}

.tf-shell-account-id span {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: #9a9a9a;
  word-break: break-all;
}

.tf-shell-avatar {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #c6c6c6;
}

.tf-shell-theme {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px 10px;
}

.tf-shell-theme button {
  display: inline-flex;
  height: 36px;
  min-width: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #c6c6c6;
  cursor: pointer;
}

.tf-shell-theme button svg {
  width: 18px;
  height: 18px;
}

.tf-shell-theme button[aria-pressed="true"] {
  background: #fff;
  color: #111;
}

.tf-shell-theme button:not([aria-pressed="true"]):hover {
  background: rgba(255, 255, 255, 0.08);
}

.tf-shell-signout {
  margin-top: 6px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  justify-content: flex-start;
}

.tf-shell-notify {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 3500;
  display: flex;
  width: min(410px, 100vw);
  height: 100vh;
  flex-direction: column;
  background: #f6f5f9;
  box-shadow: -8px 0 32px rgba(16, 24, 40, 0.08);
}

.tf-shell-notify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 20px 20px 8px 28px;
}

.tf-shell-notify-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #111;
}

.tf-shell-notify-actions {
  display: flex;
  gap: 4px;
}

.tf-shell-icon-btn {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #111;
  cursor: pointer;
}

.tf-shell-icon-btn:hover,
.tf-shell-icon-btn:focus-visible {
  background: rgba(17, 17, 17, 0.06);
  outline: none;
}

.tf-shell-notify-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.tf-shell-notify-empty-icon {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 32px;
  background: #eceaf3;
  color: #6d6d6d;
}

.tf-shell-notify-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 500;
  color: #111;
}

.tf-shell-notify-empty p {
  margin: 0;
  font-size: 14px;
  color: #6d6d6d;
}

.tf-shell-fund {
  position: fixed;
  z-index: 4100;
  width: min(360px, calc(100vw - 24px));
  padding: 20px;
  border-radius: 16px;
  background: #161616;
  color: #f3f3f3;
  box-shadow: 0 16px 48px rgba(16, 24, 40, 0.32);
}

.tf-shell-fund h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
}

.tf-shell-fund p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 20px;
  color: #9a9a9a;
}

.tf-shell-fund-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.tf-shell-fund-cta:hover {
  background: #e8e8e8;
}

html.tf-shell-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .tf-shell-notify {
    width: 100vw;
  }
}
