/* ==========================================
   Windows 8 Metro Flat Theme Stylesheet
   ========================================== */
.theme-win8 {
  --desktop-bg: #008a00;
  --window-bg: #ffffff;
  --window-border: #005000;
  --text-main: #000000;
  /* The accent, the surfaces, the bar and the second text of this look, which the desk's parts and a game in a window read; without them the first look's showed through. */
  --accent: #008a00;
  --window-active-border: #008a00;
  --surface: #ededed;
  --surface-hover: #dddddd;
  --taskbar-bg: #111111;
  --text-secondary: #555555;
}

.theme-win8 #desktop {
  background: #008a00;
}

/* --- Windows --- */
.theme-win8 .window {
  border: 2px solid #008a00;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  background: #ffffff;
  color: #000000;
}

.theme-win8 .window.active {
  border-color: #008a00;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.theme-win8 .window .titlebar {
  background: #008a00;
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 13px;
  border-radius: 0;
  border-bottom: none;
  height: 30px;
}

.theme-win8 .window .window-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 400;
}

.theme-win8 .window .window-controls button {
  width: 24px;
  height: 24px;
  border-radius: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 12px;
}

.theme-win8 .window .window-controls button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.theme-win8 .window .window-controls .btn-close:hover {
  background: #e81123;
  color: #ffffff;
}

.theme-win8 .code-toolbar {
  background: #f0f0f0;
  border-top: 2px solid #008a00;
}

.theme-win8 .code-tab {
  background: #e0e0e0;
  color: #000000;
  border-radius: 0;
  font-family: 'Segoe UI', sans-serif;
}

.theme-win8 .code-tab.active {
  background: #008a00;
  color: #ffffff;
  box-shadow: none;
}

.theme-win8 .code-save-btn {
  background: #008a00 !important;
  border-radius: 0 !important;
}

/* --- Taskbar --- */
.theme-win8 #taskbar {
  background: #111111;
  border-top: none;
  color: #ffffff;
}

.theme-win8 .start-btn {
  background: #008a00;
  border: none;
  border-radius: 0;
  color: #ffffff;
  font-weight: bold;
  font-family: 'Segoe UI', sans-serif;
}

.theme-win8 .taskbar-windows button {
  background: #2b2b2b;
  border: none;
  border-radius: 0;
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
}

.theme-win8 .taskbar-windows button.active {
  background: #008a00;
}

.theme-win8 .guide-btn,
.theme-win8 .tray-item,
.theme-win8 #clock {
  color: #ffffff !important;
  font-family: 'Segoe UI', sans-serif;
  text-shadow: none !important;
}

/* --- Context Menu & Start Menu --- */
.theme-win8 .context-menu {
  background: #2b2b2b;
  border: 1px solid #404040;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  color: #ffffff;
}

.theme-win8 .context-menu-item {
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
  border-radius: 0;
}

.theme-win8 .context-menu-item:hover {
  background: #008a00;
  color: #ffffff;
}

.theme-win8 .start-menu {
  background: #008a00;
  border: none;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.theme-win8 .start-menu-header {
  background: #006000;
  border-radius: 0;
}

.theme-win8 .start-menu-item {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 2px;
}

.theme-win8 .start-menu-item:hover {
  background: #ffffff;
  color: #008a00;
}

.theme-win8 .start-menu-footer {
  background: #005000;
}
