/* Windows 7 era style overrides — 2009+
   Works on top of 7.css + style.css base layout.
   Window frame uses OS .window/.title-bar/.status-bar classes from 7.css.
   Only Firefox-specific chrome (tabs, toolbar, addressbar) uses mozilla- prefix. */

body {
  background: linear-gradient(135deg, #245dab 0%, #3a7bd5 30%, #245dab 100%);
  min-height: 100vh;
}

/* Layout constraint for the Firefox window */
.mozilla-window {
  max-width: 960px;
  margin: 1em auto;
  overflow: hidden;
}

/* Firefox tab bar — Win7 Aero style */
.mozilla-tabbar {
  background: linear-gradient(to bottom, #d0d0d0, #bbb);
  padding: 4px 8px 0;
  display: flex;
  gap: 2px;
}

.mozilla-tab {
  background: linear-gradient(to bottom, #f0f0f0, #ddd);
  border: 1px solid #999;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  padding: 4px 12px;
  font-size: 11px;
  color: #333;
  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 — Win7 style */
.mozilla-toolbar {
  background: #f0f0f0;
  border-bottom: 1px solid #ccc;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mozilla-toolbar button {
  font-size: 11px;
  padding: 2px 6px;
}

/* Firefox address bar — Win7 style */
.mozilla-addressbar {
  background: #f0f0f0;
  padding: 2px 8px 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid #ccc;
}

.mozilla-addressbar input {
  flex: 1;
  font-size: 12px;
  padding: 2px 4px;
  border: 1px solid #999;
  border-radius: 2px;
  background: #fff;
}

/* Content viewport */
.mozilla-viewport {
  background: #fff;
  padding: 1.5em 2em;
  min-height: 400px;
}

/* Outlook 2010 / Win7 Aero style list */
.outlook-list {
  border: 1px solid #b8d6fb;
  border-radius: 3px;
  background: #fff;
}

.outlook-item {
  border-bottom: 1px solid #e9e9e9;
  padding: 8px 10px;
}

.outlook-item:hover {
  background: linear-gradient(to bottom, #e8f0fb, #d4e7f9);
  border-left: 3px solid #5cacee;
  padding-left: 7px;
  color: #000;
  text-decoration: none;
}

.outlook-item:hover .outlook-item-title {
  color: #1a4a7a;
}

.outlook-item:hover .outlook-item-preview {
  color: #555;
}

.outlook-item:hover .outlook-item-date {
  color: #666;
}
