/*
 * Inner pages adapter for index.fresh_bf2f design system (styles-new.tooltip-7c51)
 * 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(.new_ef00) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.item-advanced-c3d8.media-7bfa {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.narrow-c087 {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.narrow-c087 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.black-34d4 {
  flex: 0 0 100%;
  max-width: 100%;
}

.alert-caa2 {
  flex: 0 0 100%;
  max-width: 100%;
}

.heading_dim_13de {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .heading_dim_13de {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .alert-caa2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.feature_thick_e8e8 { display: flex; }
.steel-9233 { justify-content: space-between; }
.notice_363d { align-items: center; }
.media-7bfa { text-align: center; }

.surface_71aa { margin-right: 0.5rem; }
.avatar-clean-1e32 { margin-right: 1rem; }
.text_2553 { margin-top: 1rem; }
.accordion-wide-9dda { margin-top: 1.5rem; }
.solid_2f2d { margin-bottom: 1rem; }
.hot_6188 { margin-bottom: 1.5rem; }
.info-d235 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.module_thick_86f8 { margin-top: 1rem; margin-bottom: 1rem; }
.overlay_middle_87cc { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.full-9929 { max-width: 100%; height: auto; }

/* Links used in old footer */
.solid-6e12 { color: var(--text-primary); }
.component_black_dcc2 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.column_clean_d2c1 {
  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 */
.grid_cool_0600 { /* 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);
}

.grid_cool_0600:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.backdrop_3888 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.backdrop_3888:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.gradient-thick-11b0 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.modal-over-27a8 {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.modal-over-27a8::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;
}

.logo_2281 {
  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);
}

.logo_2281 h1 {
  margin-bottom: var(--spacing-sm);
}

.logo_2281 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.bronze_fa99 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.tooltip_selected_6550 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.title_up_6640 {
  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);
}

.solid_d339 {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.main_cold_b3cb h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.main_cold_b3cb p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.frame-7ca1 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.frame-fluid-57b5 {
  padding-bottom: var(--spacing-2xl);
}

.small_d58e {
  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;
}

.dark_3f94 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.status-6f1c a {
  color: var(--primary-color);
}

.status-6f1c.fn-active-7c6b {
  color: var(--text-secondary);
}

.status-6f1c:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.middle_e26e {
  padding: var(--spacing-xl) 0;
}

.mini_be6b {
  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);
}

.mini_be6b h2 {
  margin-bottom: var(--spacing-sm);
}

.mini_be6b p {
  color: var(--text-secondary);
}

.picture_df74 {
  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;
}

.picture_df74 h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.picture_df74 h4 {
  margin-top: var(--spacing-sm);
}

.picture_df74 p {
  color: var(--text-secondary);
}

.west_c56e {
  padding: var(--spacing-xl) 0;
}

.active_selected_f5ff {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.icon_8e44 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.icon_8e44 a {
  color: var(--text-secondary);
}

.icon_8e44 a:hover {
  color: var(--primary-color);
}

.plasma_9857 {
  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);
}

.logo-4ac7 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.tertiary-south-683d {
  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);
}

.tertiary-south-683d:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.component-new-43e9 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.table_1e28 { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: 05cb */
.phantom-card-k4 {
  padding: 0.1rem;
  font-size: 11px;
  line-height: 1.3;
}
