/*
 * Inner pages adapter for index.modal-f79c design system (styles-new.gradient_top_fc49)
 * 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(.caption_light_21c4) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.center-12a8.shade_7022 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.menu_cf53 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.menu_cf53 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.filter_outer_09f3 {
  flex: 0 0 100%;
  max-width: 100%;
}

.caption_eaef {
  flex: 0 0 100%;
  max-width: 100%;
}

.short-a153 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .short-a153 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .caption_eaef {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.info-green-e78d { display: flex; }
.brown_e049 { justify-content: space-between; }
.bright_9918 { align-items: center; }
.shade_7022 { text-align: center; }

.dropdown_d87f { margin-right: 0.5rem; }
.notification-advanced-edf0 { margin-right: 1rem; }
.tooltip-under-fe0d { margin-top: 1rem; }
.hovered-bb48 { margin-top: 1.5rem; }
.search-855c { margin-bottom: 1rem; }
.gallery_solid_1074 { margin-bottom: 1.5rem; }
.under_04a9 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.gradient_right_b14b { margin-top: 1rem; margin-bottom: 1rem; }
.dynamic_e08b { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.action-ccdb { max-width: 100%; height: auto; }

/* Links used in old footer */
.label_liquid_6817 { color: var(--text-primary); }
.title-west-b930 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.shadow_advanced_6ee5 {
  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 */
.panel_a434 { /* 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);
}

.panel_a434:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.modal_plasma_ab8e {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.modal_plasma_ab8e:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.stone_576a {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.yellow-abae {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.yellow-abae::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;
}

.steel-c028 {
  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);
}

.steel-c028 h1 {
  margin-bottom: var(--spacing-sm);
}

.steel-c028 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.item-c745 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.modal_stale_f14e {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.image-6a0f {
  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);
}

.info_steel_3480 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.next_bafc h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.next_bafc p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.outline_6c90 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.texture-full-ca9e {
  padding-bottom: var(--spacing-2xl);
}

.focus_a0cb {
  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;
}

.gas-d62d {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.form-d014 a {
  color: var(--primary-color);
}

.form-d014.fn-active-a17e {
  color: var(--text-secondary);
}

.form-d014:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.content_light_5aee {
  padding: var(--spacing-xl) 0;
}

.aside_cool_53d9 {
  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);
}

.aside_cool_53d9 h2 {
  margin-bottom: var(--spacing-sm);
}

.aside_cool_53d9 p {
  color: var(--text-secondary);
}

.avatar_4f22 {
  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;
}

.avatar_4f22 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.avatar_4f22 h4 {
  margin-top: var(--spacing-sm);
}

.avatar_4f22 p {
  color: var(--text-secondary);
}

.lite_46fd {
  padding: var(--spacing-xl) 0;
}

.input-3abe {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.content-copper-918b {
  list-style: none;
  margin: 0;
  padding: 0;
}

.content-copper-918b a {
  color: var(--text-secondary);
}

.content-copper-918b a:hover {
  color: var(--primary-color);
}

.liquid-a249 {
  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);
}

.light_6c95 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.thick-5205 {
  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);
}

.thick-5205:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.box-811f { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo_11cb { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 101e */
.shadow-element-m6 {
  padding: 0.2rem;
  font-size: 11px;
  line-height: 1.3;
}
