/*
 * Inner pages adapter for index.button_b9ed design system (styles-new.active_a31a)
 * 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-a412) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.surface-over-946d.row-down-332f {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.input_silver_9b06 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.input_silver_9b06 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.secondary-pressed-7573 {
  flex: 0 0 100%;
  max-width: 100%;
}

.accent-large-6ae8 {
  flex: 0 0 100%;
  max-width: 100%;
}

.new-1d15 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .new-1d15 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .accent-large-6ae8 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.dropdown-0691 { display: flex; }
.filter_ceee { justify-content: space-between; }
.bottom_4fc3 { align-items: center; }
.row-down-332f { text-align: center; }

.badge-46ef { margin-right: 0.5rem; }
.paper_b548 { margin-right: 1rem; }
.under_f47a { margin-top: 1rem; }
.popup_steel_d1c6 { margin-top: 1.5rem; }
.dirty-470d { margin-bottom: 1rem; }
.outline_1ddc { margin-bottom: 1.5rem; }
.rough-cf7e { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.preview_5251 { margin-top: 1rem; margin-bottom: 1rem; }
.menu-dynamic-8fa0 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.search-light-47ed { max-width: 100%; height: auto; }

/* Links used in old footer */
.notice_401d { color: var(--text-primary); }
.breadcrumb-outer-f04b { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.frame_19aa {
  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 */
.out-0d4b { /* 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);
}

.out-0d4b:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.mask_stale_e687 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.mask_stale_e687:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.text_2962 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.outer_4c7c {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.outer_4c7c::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;
}

.picture_pink_70a1 {
  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);
}

.picture_pink_70a1 h1 {
  margin-bottom: var(--spacing-sm);
}

.picture_pink_70a1 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.notice-liquid-c587 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.title-silver-362e {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.next-e046 {
  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);
}

.tertiary_bc83 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.orange-e284 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.orange-e284 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.gas-9c35 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.row-e7a6 {
  padding-bottom: var(--spacing-2xl);
}

.under-7513 {
  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;
}

.accent-36e9 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.yellow_1f95 a {
  color: var(--primary-color);
}

.yellow_1f95.fn-active-580e {
  color: var(--text-secondary);
}

.yellow_1f95:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.glass-5129 {
  padding: var(--spacing-xl) 0;
}

.alert-ee36 {
  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);
}

.alert-ee36 h2 {
  margin-bottom: var(--spacing-sm);
}

.alert-ee36 p {
  color: var(--text-secondary);
}

.form_outer_7847 {
  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;
}

.form_outer_7847 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.form_outer_7847 h4 {
  margin-top: var(--spacing-sm);
}

.form_outer_7847 p {
  color: var(--text-secondary);
}

.dropdown_medium_f648 {
  padding: var(--spacing-xl) 0;
}

.grid_09c0 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.image_lower_3e8f {
  list-style: none;
  margin: 0;
  padding: 0;
}

.image_lower_3e8f a {
  color: var(--text-secondary);
}

.image_lower_3e8f a:hover {
  color: var(--primary-color);
}

.complex_67b9 {
  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);
}

.filter_b07b {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.disabled_medium_ef27 {
  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);
}

.disabled_medium_ef27:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.highlight_hard_dba7 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.glass_d3a3 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 5d59 */
.shadow-element-i2 {
  padding: 0.3rem;
  font-size: 11px;
  line-height: 1.2;
}
