/* Firefox-on-XP era style overrides — 2005-2008
   Works on top of xp.css + style.css + style-xp.css.
   Window frame uses OS .window/.title-bar/.status-bar classes.
   Only Firefox-specific chrome (tabs, toolbar, addressbar) uses mozilla- prefix. */

/* Layout constraint for the Firefox window */
.mozilla-window {
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
}

/* Firefox tab bar */
.mozilla-tabbar {
  background: #d4d0c8;
  padding: 4px 8px 0;
  display: flex;
  gap: 2px;
  border-bottom: 1px solid #808080;
}

.mozilla-tab {
  background: linear-gradient(to bottom, #ece9d8, #d4d0c8);
  border: 1px solid #808080;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  padding: 3px 10px;
  font-size: 11px;
  color: #000;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mozilla-tab.active {
  background: #fff;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}

/* Firefox navigation toolbar */
.mozilla-toolbar {
  background: #ece9d8;
  border-bottom: 1px solid #aca899;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mozilla-toolbar button {
  font-size: 11px;
  padding: 2px 6px;
}

/* Firefox address bar */
.mozilla-addressbar {
  background: #ece9d8;
  padding: 2px 8px 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid #aca899;
}

.mozilla-addressbar input {
  flex: 1;
  font-size: 12px;
  padding: 2px 4px;
  border: 1px solid #7f9db9;
  background: #fff;
}

/* Content viewport */
.mozilla-viewport {
  background: #fff;
  padding: 1.5em 2em;
  min-height: 400px;
}
