/*
 * Inner pages adapter for index.progress-east-7f38 design system (styles-new.dark_01c1)
 * 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(.shadow_new_8899) {
  display: none !important;
}

/* Hide legacy simple footer blocks (inner pages) */
footer.shadow-afb6.label_4747 {
  display: none !important;
}

/* -----------------------------
   Lightweight grid (Bootstrap-like)
   ----------------------------- */

.paragraph_8eeb {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.paragraph_8eeb > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  min-width: 0;
}

.gallery-5bb5 {
  flex: 0 0 100%;
  max-width: 100%;
}

.primary_right_8466 {
  flex: 0 0 100%;
  max-width: 100%;
}

.item-c23f {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .item-c23f {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .primary_right_8466 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -----------------------------
   Utilities used by legacy pages
   ----------------------------- */

.dropdown_c568 { display: flex; }
.huge-f0fa { justify-content: space-between; }
.lite-c54c { align-items: center; }
.label_4747 { text-align: center; }

.easy_a4fd { margin-right: 0.5rem; }
.breadcrumb_orange_bd16 { margin-right: 1rem; }
.outer_268b { margin-top: 1rem; }
.aside-f60a { margin-top: 1.5rem; }
.pressed-79d2 { margin-bottom: 1rem; }
.status-basic-bffd { margin-bottom: 1.5rem; }
.out-fc43 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.picture_e714 { margin-top: 1rem; margin-bottom: 1rem; }
.avatar_da2d { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.caption-2399 { max-width: 100%; height: auto; }

/* Links used in old footer */
.photo-hovered-47da { color: var(--text-primary); }
.tooltip-north-3e78 { text-decoration: none; }

/* -----------------------------
   Button compatibility
   ----------------------------- */

.hover_dirty_db99 {
  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 */
.shade-top-d727 { /* 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);
}

.shade-top-d727:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

.overlay-d89b {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.overlay-d89b:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
}

.table-68e5 {
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

/* -----------------------------
   Inner page sections
   ----------------------------- */

.hard_fd3a {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.hard_fd3a::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;
}

.frame-8b31 {
  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);
}

.frame-8b31 h1 {
  margin-bottom: var(--spacing-sm);
}

.frame-8b31 p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.heading-iron-6308 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.tiny_65a2 {
  display: grid;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.menu_ffb5 {
  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);
}

.wrapper_184b {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
}

.preview_2d42 h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.preview_2d42 p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.tooltip_fluid_5006 img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.image_a3e3 {
  padding-bottom: var(--spacing-2xl);
}

.row-9fcf {
  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;
}

.surface_motion_517e {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.avatar_8f8f a {
  color: var(--primary-color);
}

.avatar_8f8f.fn-active-3f2d {
  color: var(--text-secondary);
}

.avatar_8f8f:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.module-hard-a2eb {
  padding: var(--spacing-xl) 0;
}

.footer-hovered-d1f2 {
  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);
}

.footer-hovered-d1f2 h2 {
  margin-bottom: var(--spacing-sm);
}

.footer-hovered-d1f2 p {
  color: var(--text-secondary);
}

.copper_e99b {
  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;
}

.copper_e99b h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.copper_e99b h4 {
  margin-top: var(--spacing-sm);
}

.copper_e99b p {
  color: var(--text-secondary);
}

.background-simple-7bd0 {
  padding: var(--spacing-xl) 0;
}

.next-c479 {
  background: rgba(26, 36, 66, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  height: 100%;
}

.gold-f15a {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gold-f15a a {
  color: var(--text-secondary);
}

.gold-f15a a:hover {
  color: var(--primary-color);
}

.heading-71e1 {
  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);
}

.carousel-3620 {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.avatar-7310 {
  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);
}

.avatar-7310:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 212, 170, 0.5);
}

/* Subtle legacy animation class support (safe) */
.container_bac9 { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.shade-complex-d9ae { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}


/* css-noise: a4a5 */
.shadow-element-w8 {
  padding: 0.1rem;
  font-size: 12px;
  line-height: 1.1;
}
