.elementor-404 .elementor-element.elementor-element-69425ba{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-d1a91e5 *//* ==========================================================================
   HEADER ACCOUNT DROPDOWN
   Extends the existing .ast-header-actions block
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 · WRAPPER
   -------------------------------------------------------------------------- */
.ast-account {
  position: relative;
  display: inline-flex;
}

/* --------------------------------------------------------------------------
   02 · ACCOUNT BUTTON (replaces "Log In" when logged in)
   -------------------------------------------------------------------------- */
.ast-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.ast-account-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}
.ast-account-btn[aria-expanded="true"] {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(96, 165, 250, 0.5);
}

/* Avatar inside button */
.ast-account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3B82F6 0%, #6366F1 50%, #8B5CF6 100%);
  flex-shrink: 0;
}
.ast-account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ast-account-initial {
  font-size: 0.8rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

/* Name text */
.ast-account-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #FFFFFF;
}

/* Caret */
.ast-account-caret {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.55);
  transition: transform .2s ease;
}
.ast-account-btn[aria-expanded="true"] .ast-account-caret {
  transform: rotate(180deg);
  color: #60A5FA;
}

/* --------------------------------------------------------------------------
   03 · DROPDOWN MENU
   -------------------------------------------------------------------------- */
.ast-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #0F1626;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow:
    0 24px 48px -14px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  z-index: 1000;

  /* Animation */
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transition: opacity .18s ease, transform .18s ease;
}
.ast-account-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --------------------------------------------------------------------------
   04 · DROPDOWN HEADER (user info)
   -------------------------------------------------------------------------- */
.ast-account-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.03) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ast-account-avatar-lg {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.1rem;
}
.ast-account-head-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ast-account-head-text strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ast-account-head-text span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   05 · MENU ITEMS
   -------------------------------------------------------------------------- */
.ast-account-nav {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 70vh;
  overflow-y: auto;
}
.ast-account-nav::-webkit-scrollbar { width: 6px; }
.ast-account-nav::-webkit-scrollbar-thumb {
  background: rgba(96, 165, 250, 0.35);
  border-radius: 3px;
}

.ast-account-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background .15s ease;
}
.ast-account-item:hover,
.ast-account-item:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

/* Compact items (settings, logout) */
.ast-account-item-sm {
  padding: 9px 10px;
}

/* Icon tile */
.ast-account-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
  transition: transform .15s ease;
}
.ast-account-item:hover .ast-account-ico {
  transform: scale(1.05);
}
.ico-blue   { background: rgba(59, 130, 246, 0.15);  color: #60A5FA; }
.ico-purple { background: rgba(139, 92, 246, 0.15);  color: #A78BFA; }
.ico-orange { background: rgba(245, 158, 11, 0.15);  color: #FBBF24; }
.ico-green  { background: rgba(16, 185, 129, 0.15);  color: #34D399; }
.ico-gray   { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.6); }
.ico-red    { background: rgba(239, 68, 68, 0.15);   color: #F87171; }

/* Text block */
.ast-account-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.ast-account-body strong {
  font-size: 0.84rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.ast-account-body em {
  font-style: normal;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.3;
}

/* Trailing arrow */
.ast-account-arrow {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.66rem;
  flex-shrink: 0;
  transition: transform .15s ease, color .15s ease;
}
.ast-account-item:hover .ast-account-arrow {
  transform: translateX(3px);
  color: rgba(255, 255, 255, 0.6);
}

/* Logout row hover */
.ast-account-logout:hover {
  background: rgba(239, 68, 68, 0.1);
}
.ast-account-logout:hover .ast-account-body strong {
  color: #F87171;
}

/* Separator */
.ast-account-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 4px;
}

/* --------------------------------------------------------------------------
   06 · RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Hide the display name on mobile — avatar only */
  .ast-account-name { display: none; }
  .ast-account-btn {
    padding: 4px;
    gap: 0;
  }
  .ast-account-caret {
    margin-left: 2px;
    margin-right: 6px;
  }

  /* Dropdown slides in from top-right, full width on tiny screens */
  .ast-account-menu {
    width: 300px;
  }
}

@media (max-width: 400px) {
  .ast-account-menu {
    right: -8px;
    width: calc(100vw - 24px);
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   07 · ACCESSIBILITY
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .ast-account-menu,
  .ast-account-caret,
  .ast-account-ico,
  .ast-account-arrow {
    transition: none !important;
  }
  .ast-account-menu.is-open {
    transform: none;
  }
}

.ast-account-btn:focus-visible {
  outline: 2px solid #60A5FA;
  outline-offset: 3px;
  border-radius: 999px;
}/* End custom CSS */