/* Pixel3DLab central routes — shared styles for forum, account, orders, forms */
:root {
  --pxh-page-glass: rgba(255,255,255,.72);
  --pxh-page-line: rgba(100,116,139,.18);
}
[data-theme="dark"] {
  --pxh-page-glass: rgba(15,23,42,.72);
  --pxh-page-line: rgba(148,163,184,.17);
}
.pxh-inner-page .card,
.pxh-inner-page .alert,
.pxh-inner-page .pxh-forum-intro {
  background: var(--pxh-page-glass, var(--card-bg));
  border-color: var(--pxh-page-line, var(--border-color));
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}
.pxh-inner-page .card {
  border-radius: 16px;
  box-shadow: var(--shadow-md, 0 18px 48px rgba(15,23,42,.08));
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.pxh-inner-page .card:hover {
  border-color: rgba(62,160,255,.26);
}
.pxh-inner-page a:not(.pxh-button):not(.nav-btn):not(.dropdown-item) {
  text-underline-offset: 3px;
}
.pxh-inner-page .forum-list-item {
  background: transparent;
  color: var(--text-main);
  text-decoration: none;
  transition: background .2s ease;
}
.pxh-inner-page .forum-list-item:hover {
  background: rgba(62,160,255,.065);
}
.pxh-inner-page .forum-icon-box {
  background: rgba(62,160,255,.09);
  border: 1px solid rgba(62,160,255,.14);
}
.pxh-inner-page .forum-post {
  border-color: var(--pxh-page-line, var(--border-color));
}
.pxh-inner-page .forum-user-col {
  border-color: var(--pxh-page-line, var(--border-color));
}
.pxh-inner-page .forum-signature {
  border-color: var(--pxh-page-line, var(--border-color));
}
.pxh-inner-page .btn,
.pxh-inner-page button.btn {
  text-decoration: none;
}
.pxh-inner-page .pxh-footer {
  background: transparent;
}
.pxh-inner-page .pxh-footer-bottom {
  gap: 14px;
}
.pxh-inner-page .alert.error {
  color: #b42318;
  background: rgba(254,242,242,.88);
  border-left-color: #e74c3c;
}
.pxh-inner-page .alert.success {
  color: #166534;
  background: rgba(240,253,244,.88);
  border-left-color: #2ecc71;
}
.pxh-inner-page .alert.info {
  color: #075985;
  background: rgba(240,249,255,.88);
  border-left-color: #3498db;
}
[data-theme="dark"] .pxh-inner-page .alert.error { color: #fecaca; background: rgba(127,29,29,.24); }
[data-theme="dark"] .pxh-inner-page .alert.success { color: #bbf7d0; background: rgba(20,83,45,.24); }
[data-theme="dark"] .pxh-inner-page .alert.info { color: #bae6fd; background: rgba(7,89,133,.24); }
@media (max-width: 650px) {
  .pxh-inner-page .forum-list-item { gap: 12px; }
  .pxh-inner-page .forum-list-item > div[style*="flex:1"] { min-width: 0 !important; }
  .pxh-inner-page .f-stats { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pxh-inner-page .card,
  .pxh-inner-page .forum-list-item { transition: none !important; }
}
body.a11y-no-animations .pxh-inner-page .card,
body.a11y-no-animations .pxh-inner-page .forum-list-item { transition: none !important; }
