/*
 * Inner pages adapter for index.upper_691f design system (styles-new.active-smooth-f055)
 * 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(.small_ed51) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.middle-9162.label_paper_cd46 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.article-df3e {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.article-df3e > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.element_4d33 {
  flex: 0 0 100%;
  max-width: 100%;
}

.label-4e19 {
  flex: 0 0 100%;
  max-width: 100%;
}

.button-15db {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .button-15db {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .label-4e19 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.text-9b82 { display: flex; }
.static_e477 { justify-content: space-between; }
.logo_6970 { align-items: center; }
.label_paper_cd46 { text-align: center; }

.caption_6f3c { margin-right: 0.5rem; }
.outline-large-3814 { margin-right: 1rem; }
.modal_967b { margin-top: 1rem; }
.advanced-9018 { margin-top: 1.5rem; }
.form_steel_4c7c { margin-bottom: 1rem; }
.action_cacf { margin-bottom: 1.5rem; }
.clean_371b { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.iron_148f { margin-top: 1rem; margin-bottom: 1rem; }
.button_pressed_ae59 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.table-fast-dfd3 { max-width: 100%; height: auto; }

/* Links used in old footer */
.steel-f0ec { color: var(--text-primary); }
.popup_green_3d5b { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.caption_4dc8 {
  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 */
.list-5dc1 { /* 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);
}

.list-5dc1:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.highlight_up_cbdb {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.highlight_up_cbdb:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.module-pressed-2b66 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.aside_green_3ebe {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.aside_green_3ebe::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;
}

.image-5b9c {
  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);
}

.image-5b9c h1 {
  margin-bottom: var(--spacing-sm);
}

.image-5b9c p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.progress_121c {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.alert_in_8b40 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.surface-gas-0504 {
  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);
}

.pattern_9c78 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.fluid-9a58 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.fluid-9a58 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.label_east_409a img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.accent-focused-b468 {
  padding-bottom: var(--spacing-2xl);
}

.fast_6648 {
  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;
}

.disabled-c1c7 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.smooth_efcd a {
  color: var(--primary-color);
}

.smooth_efcd.fn-active-67c7 {
  color: var(--text-secondary);
}

.smooth_efcd:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.search-hard-bfb4 {
  padding: var(--spacing-xl) 0;
}

.complex_65b1 {
  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);
}

.complex_65b1 h2 {
  margin-bottom: var(--spacing-sm);
}

.complex_65b1 p {
  color: var(--text-secondary);
}

.solid_0a25 {
  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;
}

.solid_0a25 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.solid_0a25 h4 {
  margin-top: var(--spacing-sm);
}

.solid_0a25 p {
  color: var(--text-secondary);
}

.notification_complex_3e8f {
  padding: var(--spacing-xl) 0;
}

.container_gas_6ba9 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.basic-7f49 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.basic-7f49 a {
  color: var(--text-secondary);
}

.basic-7f49 a:hover {
  color: var(--primary-color);
}

.cold_f6ef {
  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);
}

.rough_67c0 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.shadow_advanced_0e29 {
  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);
}

.shadow_advanced_0e29:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.hovered-ff4e { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.middle-4cca { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 77a9 */
.widget-item-s3 {
  padding: 0.3rem;
  font-size: 12px;
  line-height: 1.2;
}
