/**
 * SplitTranslator — Page Layout Overrides
 *
 * Extracted from oversaettelse.html inline <style>.
 * Protects sidebar from robot bundle CSS bleed,
 * handles full-viewport robot container sizing.
 */

/* Protect sidebar from robot bundle CSS bleed */
.sidebar, .sidebar * {
  font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif !important;
}
.sidebar .nav-item {
  font-size: var(--font-size-base) !important;
  font-weight: 500 !important;
  color: var(--color-text-secondary) !important;
}
.sidebar .nav-item.active {
  color: var(--color-primary) !important;
}

/* Override main-content padding so the robot fills the full area */
.translate-page .main-content {
  padding: 0 !important;
  padding-top: 0 !important;
  overflow: hidden;
}

/* Robot container: fills the full viewport */
.robot-container {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* Translator root override */
.split-translator {
  height: 100vh !important;
  height: 100dvh !important;
}

/* Mobile: account for bottom nav (60px) */
@media (max-width: 767px) {
  .robot-container {
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
  }

  .split-translator {
    height: calc(100vh - 60px) !important;
    height: calc(100dvh - 60px) !important;
  }
}
