/* User center visual polish. Scoped to semantic classes injected into the app bundle. */
.vfx-user-center-overlay {
  padding: 20px !important;
  background: rgba(8, 9, 12, 0.72) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.vfx-user-center-shell {
  width: min(1180px, calc(100vw - 40px)) !important;
  height: min(820px, calc(100vh - 40px)) !important;
  max-width: 1180px !important;
  max-height: calc(100vh - 40px) !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  background: #1c1e23 !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48) !important;
}

.vfx-user-center-header {
  min-height: 64px !important;
  padding: 0 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #1c1e23 !important;
}

.vfx-user-center-header h2,
.vfx-user-center-header h3 {
  margin: 0 !important;
  font-size: 19px !important;
  line-height: 1.25 !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

.vfx-user-center-header button {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  color: #aeb4c0 !important;
  transition: color 150ms ease, background-color 150ms ease !important;
}

.vfx-user-center-header button:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.vfx-user-center-layout {
  height: calc(100% - 64px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.vfx-user-center-sidebar {
  width: 190px !important;
  min-width: 190px !important;
  padding: 14px 12px !important;
  overflow-y: auto !important;
  border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: #1c1e23 !important;
}

.vfx-user-center-nav-item {
  position: relative !important;
  min-height: 42px !important;
  margin: 2px 0 !important;
  padding: 0 14px !important;
  border-radius: 6px !important;
  color: #aeb4c0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  transition: color 150ms ease, background-color 150ms ease !important;
}

.vfx-user-center-nav-item:hover {
  color: #eef0f5 !important;
  background: rgba(255, 255, 255, 0.055) !important;
}

.vfx-user-center-nav-item.bg-gray-200,
.vfx-user-center-nav-item.dark\:bg-gray-700,
.vfx-user-center-nav-item[class*="text-primary"] {
  color: #c6c8ff !important;
  background: rgba(99, 102, 241, 0.14) !important;
}

.vfx-user-center-nav-item.bg-gray-200::before,
.vfx-user-center-nav-item.dark\:bg-gray-700::before,
.vfx-user-center-nav-item[class*="text-primary"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #8587ff;
}

.vfx-user-center-sidebar-footer {
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.vfx-user-center-logout {
  color: #ff7c82 !important;
}

.vfx-user-center-logout:hover {
  color: #ff989d !important;
  background: rgba(239, 68, 68, 0.1) !important;
}

.vfx-user-center-content {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin-left: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border-radius: 0 !important;
  background: #1c1e23 !important;
}

.vfx-recharge-scroll {
  height: 100% !important;
  padding: 22px 24px 34px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.vfx-recharge-panel {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html.dark #app .vfx-user-center-shell .vfx-recharge-panel,
html.dark #app .vfx-user-center-mobile-shell .vfx-recharge-panel {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background-color: #1c1e23 !important;
  background-image: none !important;
  box-shadow: none !important;
}

.vfx-package-heading {
  margin-bottom: 18px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #1c1e23 !important;
}

.vfx-package-heading h2,
.vfx-package-heading h3,
.vfx-package-heading > div:first-child {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

.vfx-package-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 16px !important;
}

.vfx-package-grid > * {
  align-self: start !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 22px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  background: #1c1e23 !important;
  box-shadow: none !important;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease !important;
}

.vfx-package-grid > *:hover {
  transform: none !important;
  border-color: rgba(139, 141, 255, 0.38) !important;
  box-shadow: none !important;
}

.vfx-package-grid h3,
.vfx-package-grid h4 {
  margin-bottom: 14px !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  color: #f4f5f7 !important;
}

.vfx-package-grid button {
  min-height: 42px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transition: background-color 150ms ease, opacity 150ms ease, transform 150ms ease !important;
}

.vfx-package-grid button:hover {
  transform: translateY(-1px);
}

.vfx-package-grid [class*="text-4xl"],
.vfx-package-grid [class*="text-3xl"] {
  font-size: 32px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.vfx-package-benefits {
  margin-top: 18px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #c0c5cf !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

.vfx-package-benefits > * + * {
  margin-top: 8px !important;
}

.vfx-user-center-mobile-overlay {
  background: rgba(8, 9, 12, 0.76) !important;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.vfx-user-center-mobile-shell {
  border-radius: 8px 8px 0 0 !important;
  background: #1c1e23 !important;
}

html.dark #app .vfx-user-center-shell,
html.dark #app .vfx-user-center-shell .vfx-user-center-header,
html.dark #app .vfx-user-center-shell .vfx-user-center-sidebar,
html.dark #app .vfx-user-center-shell .vfx-user-center-content,
html.dark #app .vfx-user-center-shell .vfx-recharge-scroll,
html.dark #app .vfx-user-center-shell .vfx-package-heading,
html.dark #app .vfx-user-center-mobile-shell,
html.dark #app .vfx-user-center-mobile-shell .vfx-user-center-mobile-header,
html.dark #app .vfx-user-center-mobile-shell .vfx-user-center-mobile-content,
html.dark #app .vfx-user-center-mobile-shell .vfx-recharge-scroll {
  background-color: #1c1e23 !important;
  background-image: none !important;
  box-shadow: none !important;
}

html.dark #app .vfx-user-center-shell .vfx-package-grid > *,
html.dark #app .vfx-user-center-mobile-shell .vfx-package-grid > * {
  background-color: #1c1e23 !important;
  background-image: none !important;
  box-shadow: none !important;
}

html.dark #app .vfx-user-center-shell .vfx-package-grid > * > *,
html.dark #app .vfx-user-center-mobile-shell .vfx-package-grid > * > * {
  background-color: transparent;
  background-image: none;
}

.vfx-user-center-mobile-header {
  min-height: 58px !important;
  padding: 0 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.vfx-user-center-mobile-content {
  min-height: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 920px) {
  .vfx-user-center-overlay {
    padding: 12px !important;
  }

  .vfx-user-center-shell {
    width: calc(100vw - 24px) !important;
    height: calc(100vh - 24px) !important;
    max-height: calc(100vh - 24px) !important;
  }

  .vfx-user-center-sidebar {
    width: 168px !important;
    min-width: 168px !important;
  }

  .vfx-recharge-scroll {
    padding: 18px !important;
  }

  .vfx-package-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .vfx-recharge-scroll {
    padding: 14px 12px 24px !important;
  }

  .vfx-package-heading {
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
  }

  .vfx-package-grid {
    gap: 12px !important;
  }

  .vfx-package-grid > * {
    padding: 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vfx-user-center-shell *,
  .vfx-user-center-mobile-shell * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
