/* ==========================================================
   DANCEHIRES COMPETITION ACCOUNT MENU V1
========================================================== */

.account {
  position: relative;
  cursor: pointer;
}

.account > button {
  cursor: pointer;
}

.dh-account-menu {
  position: fixed;
  z-index: 99990;
  width: 280px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      rgba(30,18,54,.98),
      rgba(14,9,27,.99)
    );
  box-shadow:
    0 24px 70px rgba(0,0,0,.42),
    0 8px 24px rgba(0,0,0,.24);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.98);
  transform-origin: bottom left;
  transition:
    opacity .16s ease,
    transform .16s ease,
    visibility .16s ease;
}

.dh-account-menu.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dh-account-menu-user {
  padding: 14px 14px 13px;
}

.dh-account-menu-user strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.3;
  color: #fff;
}

.dh-account-menu-user span {
  display: block;
  overflow: hidden;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dh-account-divider {
  height: 1px;
  margin: 2px 7px 7px;
  background: rgba(255,255,255,.10);
}

.dh-account-action {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: rgba(255,255,255,.88);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition:
    background .15s ease,
    color .15s ease;
}

.dh-account-action:hover {
  background: rgba(255,255,255,.09);
  color: #fff;
}

.dh-account-action-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  font-size: 13px;
}

.dh-account-action.logout {
  color: #ffb9c4;
}

.dh-account-action.logout:hover {
  background: rgba(255,72,103,.12);
  color: #ffd4dc;
}

.dh-account-profile-overlay {
  position: fixed;
  z-index: 99995;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6,4,12,.64);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity .18s ease,
    visibility .18s ease;
}

.dh-account-profile-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.dh-account-profile-card {
  width: min(430px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 35px 100px rgba(0,0,0,.42);
}

.dh-account-profile-head {
  padding: 26px;
  background:
    linear-gradient(
      135deg,
      #7027ff,
      #d528ff
    );
  color: #fff;
}

.dh-account-profile-head small {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .76;
}

.dh-account-profile-head h2 {
  margin: 0;
  color: #fff;
  font-size: 25px;
  line-height: 1.1;
}

.dh-account-profile-body {
  padding: 24px 26px 26px;
}

.dh-account-profile-row {
  padding: 13px 0;
  border-bottom: 1px solid #eeeaf5;
}

.dh-account-profile-row:last-of-type {
  border-bottom: 0;
}

.dh-account-profile-row span {
  display: block;
  margin-bottom: 4px;
  color: #9690a3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dh-account-profile-row strong {
  display: block;
  color: #171320;
  font-size: 14px;
}

.dh-account-close {
  width: 100%;
  margin-top: 18px;
  padding: 13px 16px;
  border: 0;
  border-radius: 12px;
  background: #171320;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 700px) {

  .dh-account-menu {
    width: 250px;
  }

}
