/* ==========================================
   KDE Plasma Theme Stylesheet
   ========================================== */
.theme-kde {
  --desktop-bg: linear-gradient(135deg, #1d242a 0%, #0d1114 100%);
  --window-bg: #232629;
  --window-border: #3daee9;
  --text-main: #fcfcfc;
  /* 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: #3daee9;
  --window-active-border: #3daee9;
  --surface: #31363b;
  --surface-hover: #3b4045;
  --taskbar-bg: #1b242b;
  --text-secondary: #bdc3c7;
}

.theme-kde #desktop {
  background: linear-gradient(135deg, #1d242a 0%, #0d1114 100%);
}

/* --- Windows --- */
.theme-kde .window {
  border: 1px solid #3daee9;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  background: #232629;
  color: #fcfcfc;
}

.theme-kde .window.active {
  box-shadow: 0 12px 32px rgba(61, 174, 233, 0.4);
}

.theme-kde .window .titlebar {
  background: linear-gradient(to right, #2c3238, #1d242a);
  color: #fcfcfc;
  font-family: 'Noto Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  border-bottom: 1px solid #31363b;
  height: 28px;
  padding: 0 8px;
}

.theme-kde .window .window-title {
  color: #fcfcfc;
  font-weight: 500;
}

.theme-kde .window .window-controls button {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fcfcfc;
  font-size: 10px;
}

.theme-kde .window .window-controls .btn-close:hover {
  background: #da4453;
}

.theme-kde .code-toolbar {
  background: #1b1e20;
  border-top: 1px solid #31363b;
}

.theme-kde .code-tab {
  background: #232629;
  color: #a1a8b0;
  border: 1px solid #31363b;
  border-radius: 3px;
}

.theme-kde .code-tab.active {
  background: #3daee9;
  color: #ffffff;
  border-color: #3daee9;
}

/* --- Taskbar --- */
.theme-kde #taskbar {
  background: #1b242b;
  border-top: 2px solid #3daee9;
  color: #fcfcfc;
}

.theme-kde .start-btn {
  background: linear-gradient(135deg, #3daee9, #1d99f3);
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-family: 'Noto Sans', sans-serif;
  font-weight: bold;
}

.theme-kde .taskbar-windows button {
  background: #232629;
  border: 1px solid #31363b;
  border-radius: 3px;
  color: #fcfcfc;
  font-family: 'Noto Sans', sans-serif;
}

.theme-kde .taskbar-windows button.active {
  border-bottom: 2px solid #3daee9;
  background: #2c3238;
}

.theme-kde .guide-btn,
.theme-kde .tray-item,
.theme-kde #clock {
  color: #3daee9 !important;
  font-weight: bold;
  font-family: 'Noto Sans', sans-serif;
  text-shadow: none !important;
}

/* --- Context Menu & Start Menu --- */
.theme-kde .context-menu {
  background: #232629;
  border: 1px solid #31363b;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  color: #fcfcfc;
}

.theme-kde .context-menu-item {
  color: #fcfcfc;
  font-family: 'Noto Sans', sans-serif;
  border-radius: 2px;
}

.theme-kde .context-menu-item:hover {
  background: #3daee9;
  color: #ffffff;
}

.theme-kde .start-menu {
  background: #232629;
  border: 1px solid #3daee9;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  color: #fcfcfc;
}

.theme-kde .start-menu-header {
  /* Breeze's blue, deep enough for white text to read on it */
  background: linear-gradient(135deg, #17639e, #124f82);
  color: #ffffff;
}

.theme-kde .start-menu-item { color: #fcfcfc; border-radius: 3px; }
.theme-kde .start-menu-status { color: rgba(255, 255, 255, 0.85); }
.theme-kde .start-menu-item:hover { background: #3daee9; color: #ffffff; }
.theme-kde .start-menu-footer { background: #1b1e20; border-top: 1px solid #31363b; }
