/*
 * Inner pages adapter for index.pro-cdcb design system (styles-new.section-e19d)
 * Purpose: keep legacy inner-page HTML (row/col/utilities) working while matching modern palette.
 */

/* Hide legacy header blocks once we inject the modern header into inner pages */
body > header:not(.secondary-0693) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.item_new_860d.slow-c8b2 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.pressed-17d9 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.pressed-17d9 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.tooltip-4d82 {
  flex: 0 0 100%;
  max-width: 100%;
}

.badge_bright_c3e9 {
  flex: 0 0 100%;
  max-width: 100%;
}

.over_9966 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .over_9966 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .badge_bright_c3e9 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.menu_6818 { display: flex; }
.mini-7fb1 { justify-content: space-between; }
.hot_ccb0 { align-items: center; }
.slow-c8b2 { text-align: center; }

.notification-25a1 { margin-right: 0.5rem; }
.stale_1599 { margin-right: 1rem; }
.aside_purple_0be1 { margin-top: 1rem; }
.secondary-c5a7 { margin-top: 1.5rem; }
.status_aa48 { margin-bottom: 1rem; }
.wood-fc2b { margin-bottom: 1.5rem; }
.slow-aafc { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.notice_9c35 { margin-top: 1rem; margin-bottom: 1rem; }
.dynamic-8709 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.texture_fresh_b3e0 { max-width: 100%; height: auto; }

/* Links used in old footer */
.purple_b118 { color: var(--text-primary); }
.column_top_140f { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.input_hard_550a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

/* Map legacy variants to modern system */
.preview_9942 { /* treat as primary */
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--bg-primary);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
}

.preview_9942:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.active_paper_e8ff {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.active_paper_e8ff:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.under_a119 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.frame_advanced_d401 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.frame_advanced_d401::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.18) 0%, transparent 70%);
  filter: blur(1px);
  pointer-events: none;
}

.gas_8e92 {
  background: rgba(26, 36, 66, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.gas_8e92 h1 {
  margin-bottom: var(--spacing-sm);
}

.gas_8e92 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.tag_bd22 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.silver_1071 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.hot-0741 {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.accordion-gold-fe6e {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.content_55fe h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.content_55fe p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.narrow-ffe4 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.fresh-1464 {
  padding-bottom: var(--spacing-2xl);
}

.table-lite-3cb6 {
  background: rgba(10, 14, 39, 0.55);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--spacing-sm) 0;
}

.link_56d7 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.content-brown-ed57 a {
  color: var(--primary-color);
}

.content-brown-ed57.fn-active-e0b7 {
  color: var(--text-secondary);
}

.content-brown-ed57:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.fresh-03c9 {
  padding: var(--spacing-xl) 0;
}

.wrapper-cool-4bae {
  background: rgba(26, 36, 66, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.wrapper-cool-4bae h2 {
  margin-bottom: var(--spacing-sm);
}

.wrapper-cool-4bae p {
  color: var(--text-secondary);
}

.frame-2698 {
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
}

.frame-2698 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.frame-2698 h4 {
  margin-top: var(--spacing-sm);
}

.frame-2698 p {
  color: var(--text-secondary);
}

.layout-copper-4724 {
  padding: var(--spacing-xl) 0;
}

.media-0dac {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.south-2cf0 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.south-2cf0 a {
  color: var(--text-secondary);
}

.south-2cf0 a:hover {
  color: var(--primary-color);
}

.prev-1729 {
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
}

.in_1cf4 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.hover_slow_5820 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.hover_slow_5820:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.cool_a392 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.table_60f0 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: b179 */
.ghost-box-g2 {
  padding: 0.5rem;
  font-size: 10px;
  line-height: 1.2;
}
