/* ==========================================
   Windows XP Luna Theme Stylesheet
   ========================================== */
.theme-winxp {
  --desktop-bg: #5a7edc;
  --window-bg: #ece9d8;
  --window-border: #0055ea;
  --text-main: #000000;
  --text-secondary: #404040;
  /* 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: #245edb;
  --window-active-border: #0058ee;
  --surface: #ffffff;
  --surface-hover: #e6eefb;
  --taskbar-bg: #1941a5;
}

.theme-winxp #desktop {
  background: #5a7edc;
}

/* --- Windows --- */
.theme-winxp .window {
  border: 3px solid #0055ea;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 8px 24px rgba(0, 40, 120, 0.4);
  background: #ece9d8;
  color: #000000;
}

.theme-winxp .window.active {
  border-color: #0055ea;
  box-shadow: 0 10px 30px rgba(0, 40, 160, 0.6);
}

.theme-winxp .window .titlebar {
  background: linear-gradient(to bottom, #0058ee 0%, #3593ff 4%, #288eff 6%, #0055e5 100%);
  color: #ffffff;
  font-family: 'Tahoma', 'Trebuchet MS', sans-serif;
  font-weight: bold;
  font-size: 12px;
  border-radius: 5px 5px 0 0;
  border-bottom: 1px solid #0036a6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  height: 28px;
  padding: 0 8px;
}

.theme-winxp .window .window-title {
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
}

.theme-winxp .window .window-controls button {
  width: 21px;
  height: 21px;
  min-width: 21px;
  min-height: 21px;
  border-radius: 3px;
  border: 1px solid #ffffff;
  font-size: 11px;
  font-weight: bold;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
  color: #ffffff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-winxp .window .window-controls .btn-close {
  background: linear-gradient(to bottom, #f39579 0%, #cc3300 50%, #990000 100%);
}

.theme-winxp .window .window-controls .btn-minimize,
.theme-winxp .window .window-controls .btn-maximize {
  background: linear-gradient(to bottom, #7ca0d6 0%, #2f69c9 50%, #15459b 100%);
}

.theme-winxp .window .window-controls .btn-code {
  background: linear-gradient(to bottom, #86d286 0%, #388e3c 50%, #1b5e20 100%);
}

.theme-winxp .code-toolbar {
  background: #d4d0c8;
  border-top: 1px solid #0055ea;
}

.theme-winxp .code-tab {
  background: #ece9d8;
  border: 1px solid #716f64;
  color: #000000;
  font-family: 'Tahoma', sans-serif;
}

.theme-winxp .code-tab.active {
  background: #0058ee;
  color: #ffffff;
  border-color: #0036a6;
}

/* --- Taskbar --- */
.theme-winxp #taskbar {
  background: linear-gradient(to bottom, #245edb 0%, #1941a5 10%, #1941a5 90%, #102a6b 100%);
  border-top: 2px solid #3c81f3;
  color: #ffffff;
}

.theme-winxp .start-btn {
  background: linear-gradient(to bottom, #388e3c 0%, #4caf50 20%, #2e7d32 100%);
  border: 1px solid #ffffff;
  border-radius: 0 12px 12px 0;
  color: #ffffff;
  font-family: 'Tahoma', sans-serif;
  font-style: italic;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(56, 142, 60, 0.6);
}

.theme-winxp .taskbar-windows button {
  background: linear-gradient(to bottom, #3a7be0, #1846b0);
  border: 1px solid #103080;
  border-radius: 4px;
  color: #ffffff;
  font-family: 'Tahoma', sans-serif;
}

.theme-winxp .taskbar-windows button.active {
  background: linear-gradient(to bottom, #1e4bb0, #0c2670);
  border-color: #ffffff;
}

.theme-winxp .taskbar-tray {
  padding-right: 10px;  /* the tray has a border here; keep the clock off it */
  background: #0f3899;
  border: 1px solid #082060;
  border-radius: 4px;
}

.theme-winxp .guide-btn,
.theme-winxp .tray-item,
.theme-winxp #clock {
  color: #ffffff !important;
  font-weight: bold;
  font-family: 'Tahoma', sans-serif;
  text-shadow: 1px 1px 2px #000;
}

/* --- Context Menu & Start Menu --- */
.theme-winxp .context-menu {
  background: #ffffff;
  border: 1px solid #716f64;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.4);
  color: #000000;
}

.theme-winxp .context-menu-item {
  color: #000000;
  font-family: 'Tahoma', sans-serif;
}

.theme-winxp .context-menu-item:hover {
  background: #316ac5;
  color: #ffffff;
}

.theme-winxp .start-menu {
  background: #245edb;
  border: 2px solid #0055ea;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 12px 36px rgba(0, 30, 100, 0.6);
  color: #ffffff;
}

.theme-winxp .start-menu-header {
  background: linear-gradient(to bottom, #0058ee, #0042c0);
  border-bottom: 2px solid #f39579;
}

.theme-winxp .start-menu-username { color: #ffffff; font-family: 'Tahoma', sans-serif; }
.theme-winxp .start-menu-status { color: #d0e0ff; }
.theme-winxp .start-menu-section { background: #ffffff; color: #000000; }
.theme-winxp .start-menu-section-title { color: #0042c0; font-family: 'Tahoma', sans-serif; }
.theme-winxp .start-menu-item { color: #000000; }
.theme-winxp .start-menu-item:hover { background: #316ac5; color: #ffffff; }
.theme-winxp .start-menu-footer { background: linear-gradient(to bottom, #4088ee, #1052c0); }
