/*
 * Inner pages adapter for index.panel-7919 design system (styles-new.accent-paper-bde7)
 * 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(.progress_a5ee) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.surface-in-f3bc.overlay_simple_b256 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.widget_out_05df {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.widget_out_05df > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.notification_under_5bb5 {
  flex: 0 0 100%;
  max-width: 100%;
}

.fluid-29a8 {
  flex: 0 0 100%;
  max-width: 100%;
}

.pattern-bright-f9e6 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .pattern-bright-f9e6 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .fluid-29a8 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.progress-up-963c { display: flex; }
.carousel-397e { justify-content: space-between; }
.layout-8772 { align-items: center; }
.overlay_simple_b256 { text-align: center; }

.texture-glass-07e5 { margin-right: 0.5rem; }
.motion-0e9f { margin-right: 1rem; }
.red-651a { margin-top: 1rem; }
.selected-feb5 { margin-top: 1.5rem; }
.wide_9f29 { margin-bottom: 1rem; }
.middle_d8e3 { margin-bottom: 1.5rem; }
.under_052c { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.solid_543a { margin-top: 1rem; margin-bottom: 1rem; }
.solid_cf90 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.iron-e330 { max-width: 100%; height: auto; }

/* Links used in old footer */
.border-south-52b7 { color: var(--text-primary); }
.tertiary_prev_3ac9 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.overlay-advanced-8512 {
  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 */
.texture-5c39 { /* 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);
}

.texture-5c39:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.title-2a5b {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.title-2a5b:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.over_531f {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.icon_rough_49fc {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.icon_rough_49fc::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;
}

.module_up_4b23 {
  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);
}

.module_up_4b23 h1 {
  margin-bottom: var(--spacing-sm);
}

.module_up_4b23 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.tag-stone-edb1 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.dynamic-acde {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.aside_0402 {
  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);
}

.secondary-complex-b5b3 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.texture_a17c h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.texture_a17c p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.thick-1011 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.pagination_gas_fcb4 {
  padding-bottom: var(--spacing-2xl);
}

.border_bb64 {
  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;
}

.hovered_4ae4 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.primary-active-968a a {
  color: var(--primary-color);
}

.primary-active-968a.fn-active-5faf {
  color: var(--text-secondary);
}

.primary-active-968a:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.static-351a {
  padding: var(--spacing-xl) 0;
}

.background_defe {
  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);
}

.background_defe h2 {
  margin-bottom: var(--spacing-sm);
}

.background_defe p {
  color: var(--text-secondary);
}

.popup-7b42 {
  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;
}

.popup-7b42 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.popup-7b42 h4 {
  margin-top: var(--spacing-sm);
}

.popup-7b42 p {
  color: var(--text-secondary);
}

.mask-gas-08b7 {
  padding: var(--spacing-xl) 0;
}

.gallery_0e51 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.texture-886b {
  list-style: none;
  margin: 0;
  padding: 0;
}

.texture-886b a {
  color: var(--text-secondary);
}

.texture-886b a:hover {
  color: var(--primary-color);
}

.list_warm_fe3a {
  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);
}

.detail-in-6060 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.hover_up_7abb {
  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_up_7abb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.tabs-d6c5 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.steel_eead { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: fe83 */
.ghost-box-q2 {
  padding: 0.2rem;
  font-size: 12px;
  line-height: 1.0;
}
