/* ==========================================================================
   Windows 7 Aero Web Mockup - Stylesheet
   Crafted with pixel-perfect Aero Glass, gradients, shadows & authentic controls
   ========================================================================== */

:root {
  --aero-glass-bg: rgba(180, 215, 255, 0.35);
  --aero-glass-border: rgba(255, 255, 255, 0.65);
  --aero-active-glow: 0 0 15px rgba(0, 160, 255, 0.6), 0 10px 30px rgba(0, 0, 0, 0.45);
  --aero-inactive-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --win-font: 'Segoe UI', Tahoma, Arial, sans-serif;
  --taskbar-height: 40px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--win-font);
  font-size: 12px;
  color: #1e1e1e;
}

/* ==========================================================================
   Desktop Surface & Wallpapers
   ========================================================================== */

.desktop {
  position: relative;
  width: 100vw;
  height: calc(100vh - var(--taskbar-height));
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: background 0.4s ease;
}

/* Iconic Windows 7 Harmony Default Wallpaper (Programmatic High-Fidelity) */
body.theme-default .desktop {
  background: 
    radial-gradient(ellipse at 50% 65%, rgba(135, 215, 255, 0.75) 0%, rgba(68, 150, 235, 0.5) 30%, transparent 70%),
    radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.8) 0%, rgba(160, 225, 255, 0.5) 15%, transparent 45%),
    radial-gradient(ellipse at 75% 30%, rgba(100, 200, 255, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 25% 75%, rgba(15, 80, 160, 0.6) 0%, transparent 60%),
    linear-gradient(135deg, #0b4578 0%, #17609a 25%, #247bbd 50%, #155589 75%, #0d3862 100%);
}

/* Subtle Aero light rays overlay */
body.theme-default .desktop::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 45% 62%, rgba(255, 255, 255, 0.3) 0px, transparent 240px),
    radial-gradient(circle at 55% 58%, rgba(255, 255, 255, 0.25) 0px, transparent 180px);
  pointer-events: none;
}

/* Windows 7 Emblem in Center of Harmony Wallpaper */
body.theme-default .desktop::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  top: calc(50% - 85px);
  left: calc(50% - 85px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cfilter id='glow'%3E%3CfeGaussianBlur stdDeviation='3' result='glow'/%3E%3CfeComposite in='SourceGraphic' in2='glow' operator='over'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23glow)' opacity='0.35'%3E%3Cpath d='M20 48 C 30 38, 42 42, 48 38 L 48 18 C 38 22, 28 18, 20 28 Z' fill='%23eb3c24'/%3E%3Cpath d='M52 38 C 58 34, 70 38, 80 28 L 80 48 C 70 58, 58 54, 52 58 Z' fill='%234cb050'/%3E%3Cpath d='M20 54 C 28 44, 40 48, 48 44 L 48 64 C 40 68, 28 64, 20 74 Z' fill='%232980b9'/%3E%3Cpath d='M52 44 C 60 40, 72 44, 80 34 L 80 54 C 72 64, 60 60, 52 64 Z' fill='%23ffc107'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  opacity: 0.65;
}

/* Nature Wallpaper Theme */
body.theme-nature .desktop {
  background: 
    radial-gradient(circle at 30% 40%, rgba(200, 245, 170, 0.4) 0%, transparent 60%),
    linear-gradient(145deg, #1b4d24 0%, #2f7535 35%, #44923e 65%, #184419 100%);
}

/* Architecture Wallpaper Theme */
body.theme-architecture .desktop {
  background: 
    radial-gradient(circle at 70% 30%, rgba(220, 230, 255, 0.5) 0%, transparent 50%),
    linear-gradient(135deg, #1d2b3a 0%, #304860 40%, #51718f 70%, #1f2d3d 100%);
}

/* Aero Dark Wallpaper Theme */
body.theme-dark .desktop {
  background: 
    radial-gradient(circle at 50% 50%, rgba(45, 80, 130, 0.5) 0%, transparent 60%),
    linear-gradient(135deg, #09131d 0%, #112338 50%, #080f18 100%);
}

/* ==========================================================================
   Desktop Icons
   ========================================================================== */

.desktop-icons {
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 12px;
  z-index: 10;
}

.desktop-icon {
  width: 74px;
  padding: 6px 4px 4px 4px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.desktop-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.4);
}

.desktop-icon.selected {
  background: rgba(180, 215, 255, 0.38);
  border-color: rgba(120, 180, 240, 0.85);
  box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.7);
}

.desktop-icon-img {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.desktop-icon-img svg {
  width: 100%;
  height: 100%;
}

.desktop-icon-label {
  font-size: 11px;
  color: #ffffff;
  text-align: center;
  word-break: break-word;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.75);
  padding: 1px 3px;
  border-radius: 2px;
}

.desktop-icon.selected .desktop-icon-label {
  background: rgba(20, 90, 180, 0.6);
}

/* Rubberband Selection Box */
.selection-box {
  position: absolute;
  display: none;
  background: rgba(51, 153, 255, 0.22);
  border: 1px solid rgba(0, 102, 204, 0.85);
  z-index: 100;
  pointer-events: none;
}

/* ==========================================================================
   Desktop Gadgets (Clock & CPU Meter)
   ========================================================================== */

.gadgets-container {
  position: absolute;
  top: 20px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 15;
}

.gadget {
  position: relative;
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  cursor: grab;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gadget:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.gadget-close {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: none;
}

.gadget:hover .gadget-close {
  display: block;
}

.gadget-close:hover {
  color: #ff5555;
}

.gadget-title {
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  margin-top: 5px;
}

/* Clock Gadget Face */
.clock-face {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, #f9f9f9 65%, #c8d3dd 95%, #8899a6 100%);
  border: 4px solid #334455;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.4), 0 4px 10px rgba(0,0,0,0.3);
}

.clock-center {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #222;
  top: calc(50% - 4px);
  left: calc(50% - 4px);
  z-index: 5;
}

.clock-hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 2px;
}

.hour-hand {
  width: 4px;
  height: 28px;
  background: #222;
  margin-left: -2px;
  z-index: 3;
}

.minute-hand {
  width: 2.5px;
  height: 38px;
  background: #333;
  margin-left: -1.25px;
  z-index: 4;
}

.second-hand {
  width: 1.5px;
  height: 42px;
  background: #d62222;
  margin-left: -0.75px;
  z-index: 5;
}

.clock-dial span {
  position: absolute;
  font-size: 9px;
  font-weight: bold;
  color: #555;
}

.clock-dial span:nth-child(1) { top: 3px; left: 45px; }
.clock-dial span:nth-child(2) { top: 43px; right: 4px; }
.clock-dial span:nth-child(3) { bottom: 3px; left: 46px; }
.clock-dial span:nth-child(4) { top: 43px; left: 4px; }

/* CPU Gadget */
.meter-gauges {
  display: flex;
  gap: 8px;
}

.gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-dial {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #252e38 60%, #161c22 100%);
  border: 2px solid #556677;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
  overflow: hidden;
}

.gauge-needle {
  position: absolute;
  width: 2px;
  height: 20px;
  background: #00d2ff;
  bottom: 24px;
  left: 23px;
  transform-origin: bottom center;
  transform: rotate(-60deg);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 4px #00d2ff;
}

.gauge-label {
  font-size: 9px;
  color: #fff;
  text-shadow: 0 1px 2px #000;
  margin-top: 3px;
}

/* ==========================================================================
   Aero Glass Window Architecture
   ========================================================================== */

.windows-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.aero-window {
  position: absolute;
  border-radius: 8px 8px 4px 4px;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  z-index: 20;
  box-shadow: var(--aero-inactive-shadow);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(220, 235, 250, 0.35);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  transition: box-shadow 0.15s ease, opacity 0.15s ease;
  min-width: 240px;
  min-height: 160px;
}

/* Active Window Glow & Aero Depth */
.aero-window.active-window {
  box-shadow: var(--aero-active-glow);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(200, 230, 255, 0.45);
}

.aero-window.maximized {
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: calc(100vh - var(--taskbar-height)) !important;
  border-radius: 0 !important;
  border: none !important;
}

.aero-window.minimized {
  display: none !important;
}

/* Inner Glass Highlight Line */
.window-border-highlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.9) 30%, rgba(255,255,255,0.9) 70%, rgba(255,255,255,0.2) 100%);
  pointer-events: none;
  border-radius: 8px 8px 0 0;
}

/* Window Titlebar */
.window-titlebar {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 8px;
  cursor: default;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(0, 0, 0, 0.05) 51%, rgba(255, 255, 255, 0.15) 100%);
  border-radius: 7px 7px 0 0;
}

.titlebar-left {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.window-title {
  font-size: 12px;
  font-weight: 500;
  color: #0b1f33;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 6px rgba(255, 255, 255, 0.9), 0 1px 1px #fff;
  letter-spacing: 0.15px;
}

/* Caption Control Buttons (Min, Max, Close) */
.titlebar-controls {
  display: flex;
  height: 21px;
  margin-top: -1px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 0 0 4px 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.win-btn {
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(240,245,250,0.4) 48%, rgba(200,215,230,0.5) 52%, rgba(220,235,250,0.8) 100%);
  border: none;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  width: 29px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #333;
  cursor: pointer;
  transition: all 0.1s;
}

.win-btn:last-child {
  border-right: none;
}

.win-btn:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(220,240,255,0.7) 48%, rgba(180,215,255,0.8) 52%, rgba(210,235,255,0.95) 100%);
  color: #000;
}

.win-btn:active {
  background: linear-gradient(180deg, #99c0e5 0%, #b8d6f2 100%);
}

.win-btn-close {
  width: 44px;
  font-size: 13px;
}

.win-btn-close:hover {
  background: linear-gradient(180deg, #f29a90 0%, #e25848 48%, #cf2613 52%, #e54b38 100%) !important;
  color: #fff !important;
  text-shadow: 0 0 4px rgba(0,0,0,0.5);
}

.win-btn-close:active {
  background: linear-gradient(180deg, #b01b0a 0%, #d83522 100%) !important;
}

.win-btn.disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* Window Menubar */
.window-menubar {
  height: 24px;
  background: #f5f6f7;
  display: flex;
  align-items: center;
  padding: 0 4px;
  border-bottom: 1px solid #d9d9d9;
  font-size: 12px;
}

.menu-item {
  position: relative;
  padding: 2px 7px;
  cursor: pointer;
  border-radius: 2px;
}

.menu-item:hover {
  background: #e5f1fb;
  outline: 1px solid #70c0e7;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background: #f0f0f0;
  border: 1px solid #979797;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.25);
  display: none;
  flex-direction: column;
  padding: 2px;
  z-index: 1000;
}

.dropdown-menu.show {
  display: flex;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 16px 4px 22px;
  cursor: pointer;
  position: relative;
  font-size: 11px;
}

.menu-row:hover {
  background: #3399ff;
  color: #fff;
}

.menu-shortcut {
  color: #666;
  margin-left: 14px;
}

.menu-row:hover .menu-shortcut {
  color: #e0f0ff;
}

.menu-divider {
  height: 1px;
  background: #d4d4d4;
  margin: 3px 2px;
}

/* Window Content Viewport */
.window-content {
  flex: 1;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Resize Handles */
.resize-handle {
  position: absolute;
  z-index: 10;
}

.res-n { top: -3px; left: 8px; right: 8px; height: 6px; cursor: n-resize; }
.res-s { bottom: -3px; left: 8px; right: 8px; height: 6px; cursor: s-resize; }
.res-e { right: -3px; top: 8px; bottom: 8px; width: 6px; cursor: e-resize; }
.res-w { left: -3px; top: 8px; bottom: 8px; width: 6px; cursor: w-resize; }
.res-nw { top: -3px; left: -3px; width: 10px; height: 10px; cursor: nw-resize; }
.res-ne { top: -3px; right: -3px; width: 10px; height: 10px; cursor: ne-resize; }
.res-sw { bottom: -3px; left: -3px; width: 10px; height: 10px; cursor: sw-resize; }
.res-se { bottom: -3px; right: -3px; width: 10px; height: 10px; cursor: se-resize; }

/* Aero Snap Ghost Box */
.aero-snap-preview {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 4px solid rgba(255, 255, 255, 0.85);
  background: rgba(180, 220, 255, 0.35);
  backdrop-filter: blur(4px);
  z-index: 19;
  display: none;
  pointer-events: none;
  animation: snapPulse 0.4s ease infinite alternate;
}

@keyframes snapPulse {
  0% { opacity: 0.65; }
  100% { opacity: 0.9; }
}

/* ==========================================================================
   APP 1: NOTEPAD
   ========================================================================== */

.notepad-content {
  display: flex;
  flex-direction: column;
}

#notepad-textarea {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.4;
  padding: 6px 8px;
  background: #ffffff;
  color: #000;
  white-space: pre-wrap;
  user-select: text;
  -webkit-user-select: text;
}

.notepad-statusbar {
  height: 22px;
  background: #f0f0f0;
  border-top: 1px solid #d4d4d4;
  display: flex;
  align-items: center;
  padding: 0 4px;
  font-size: 11px;
}

.sb-item {
  padding: 0 10px;
  border-right: 1px solid #ccc;
  color: #444;
}

.sb-item:last-child {
  border-right: none;
  margin-left: auto;
}

/* ==========================================================================
   APP 2: CALCULATOR (Authentic Windows 7 Style)
   ========================================================================== */

.calculator-content {
  background: #eef3fa;
  padding: 8px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-display-wrap {
  background: #ffffff;
  border: 1px solid #7f9db9;
  border-radius: 2px;
  padding: 4px 8px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 52px;
}

.calc-history {
  font-size: 11px;
  color: #777;
  text-align: right;
  min-height: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calc-main-display {
  font-size: 24px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-weight: 600;
  text-align: right;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calc-keypad {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 28px;
  gap: 4px;
}

.calc-btn {
  background: linear-gradient(180deg, #f7f9fa 0%, #e2e8ed 100%);
  border: 1px solid #8e9cad;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  color: #1e395b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 #fff;
  transition: all 0.08s;
}

.calc-btn:hover {
  background: linear-gradient(180deg, #fffae8 0%, #ffe8a1 100%);
  border-color: #e5a01a;
  box-shadow: inset 0 1px 0 #fff, 0 0 3px rgba(255, 180, 0, 0.4);
}

.calc-btn:active {
  background: linear-gradient(180deg, #ffd875 0%, #ffe79c 100%);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

.calc-mem {
  font-size: 10px;
  color: #3b5a82;
}

.calc-equals {
  grid-row: span 2;
  height: 60px;
  background: linear-gradient(180deg, #ebf3fa 0%, #c4dcfa 100%);
}

.calc-zero {
  grid-column: span 2;
}

/* ==========================================================================
   APP 3: WINDOWS EXPLORER / FILE MANAGER
   ========================================================================== */

.explorer-header {
  height: 38px;
  background: #f5f6f7;
  border-bottom: 1px solid #d9d9d9;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 8px;
}

/* Back / Forward Glossy Round Buttons */
.explorer-nav-buttons {
  display: flex;
  align-items: center;
}

.exp-nav-btn {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid #7892aa;
  background: radial-gradient(circle at 35% 35%, #ebf6ff 0%, #a2c7e8 100%);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,0.15);
  font-size: 9px;
  color: #1a4266;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.exp-nav-btn:hover {
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #bfe0ff 100%);
  box-shadow: 0 0 5px rgba(60, 150, 240, 0.6);
}

.exp-nav-btn:disabled, .exp-nav-btn.disabled {
  opacity: 0.4;
  cursor: default;
  box-shadow: none;
}

.exp-nav-recent {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  font-size: 7px;
  margin-left: 2px;
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
}

/* Explorer Address Bar */
.explorer-address-bar {
  flex: 1;
  height: 24px;
  background: #ffffff;
  border: 1px solid #abadb3;
  border-radius: 2px;
  display: flex;
  align-items: center;
  padding: 0 4px;
  overflow: hidden;
}

.explorer-address-bar:hover, .explorer-address-bar:focus-within {
  border-color: #569de5;
  box-shadow: 0 0 3px rgba(86, 157, 229, 0.4);
}

.address-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.address-breadcrumbs {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 11px;
}

.breadcrumb-crumb {
  display: flex;
  align-items: center;
  padding: 1px 4px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}

.breadcrumb-crumb:hover {
  background: #e5f1fb;
  color: #0066cc;
}

.breadcrumb-sep {
  color: #888;
  font-size: 9px;
  margin: 0 2px;
}

.address-dropdown-btn, .address-refresh-btn {
  background: none;
  border: none;
  color: #666;
  font-size: 11px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 2px;
}

.address-dropdown-btn:hover, .address-refresh-btn:hover {
  background: #e5f1fb;
  color: #000;
}

/* Explorer Search Box */
.explorer-search-bar {
  width: 180px;
  height: 24px;
  background: #ffffff;
  border: 1px solid #abadb3;
  border-radius: 2px;
  display: flex;
  align-items: center;
  padding: 0 6px;
}

.explorer-search-bar input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 11px;
  color: #222;
  margin-left: 4px;
}

.search-icon {
  font-size: 11px;
  color: #888;
}

/* Explorer Command Bar */
.explorer-commandbar {
  height: 30px;
  background: linear-gradient(180deg, #f7f8f9 0%, #eaedf1 100%);
  border-bottom: 1px solid #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.cmd-group {
  display: flex;
  gap: 4px;
}

.cmd-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cmd-btn:hover {
  background: linear-gradient(180deg, #fff 0%, #e2ecf5 100%);
  border-color: #a0c0e0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.cmd-views {
  display: flex;
  gap: 2px;
}

.cmd-view-btn {
  background: transparent;
  border: 1px solid transparent;
  width: 22px;
  height: 22px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.cmd-view-btn.active, .cmd-view-btn:hover {
  background: #e2ecf5;
  border-color: #a0c0e0;
}

/* Explorer Main Split Body */
.explorer-body {
  display: flex;
  flex: 1;
  position: relative;
  overflow: hidden;
}

.explorer-sidebar {
  width: 180px;
  background: #f7f9fa;
  border-right: 1px solid #d9d9d9;
  overflow-y: auto;
  padding: 6px 0;
  flex-shrink: 0;
}

.tree-section-header {
  font-size: 10px;
  font-weight: 600;
  color: #6d6d6d;
  padding: 4px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tree-item {
  display: flex;
  align-items: center;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 11px;
  color: #1e1e1e;
  gap: 6px;
  border: 1px solid transparent;
}

.tree-item:hover {
  background: #e5f1fb;
  border-color: #70c0e7;
}

.tree-item.tree-sub {
  padding-left: 24px;
}

.tree-icon {
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* File Content View */
.explorer-content-view {
  flex: 1;
  background: #ffffff;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
}

/* Mode: Icons */
.explorer-item {
  width: 82px;
  padding: 6px 4px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.1s;
}

.explorer-item:hover {
  background: rgba(229, 241, 251, 0.7);
  border-color: #b8d6fb;
}

.explorer-item.selected {
  background: #cfe4fa;
  border-color: #7da2ce;
}

.explorer-item-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.explorer-item-icon svg {
  width: 100%;
  height: 100%;
}

.explorer-item-name {
  font-size: 11px;
  text-align: center;
  word-break: break-word;
  color: #1e1e1e;
  line-height: 1.25;
}

/* Mode: Details Table */
.explorer-content-view.mode-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.details-header-row {
  display: flex;
  background: #f5f6f7;
  border-bottom: 1px solid #d9d9d9;
  font-size: 11px;
  font-weight: 500;
  color: #555;
  padding: 4px 8px;
}

.dh-col {
  padding: 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dh-name { width: 50%; }
.dh-date { width: 25%; }
.dh-type { width: 15%; }
.dh-size { width: 10%; text-align: right; }

.details-file-row {
  display: flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 11px;
  border: 1px solid transparent;
  cursor: pointer;
}

.details-file-row:hover {
  background: #e5f1fb;
  border-color: #b8d6fb;
}

.details-file-row.selected {
  background: #cfe4fa;
  border-color: #7da2ce;
}

.details-file-row .df-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.details-file-row .df-name { width: 50%; display: flex; align-items: center; }
.details-file-row .df-date { width: 25%; color: #666; }
.details-file-row .df-type { width: 15%; color: #666; }
.details-file-row .df-size { width: 10%; text-align: right; color: #666; }

/* Explorer Bottom Details Bar */
.explorer-detailsbar {
  height: 48px;
  background: linear-gradient(180deg, #f5f7f9 0%, #e1e6ec 100%);
  border-top: 1px solid #c9d2dc;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 12px;
}

.det-preview-icon {
  width: 32px;
  height: 32px;
}

.det-preview-icon svg {
  width: 100%;
  height: 100%;
}

.det-info {
  display: flex;
  flex-direction: column;
}

.det-name {
  font-size: 12px;
  font-weight: 600;
  color: #1b3d63;
}

.det-meta {
  font-size: 10px;
  color: #666;
}

.det-count {
  margin-left: auto;
  font-size: 11px;
  color: #666;
}

/* ==========================================================================
   APP 4: PERSONALIZATION & ABOUT DIALOG
   ========================================================================== */

.personalize-content {
  padding: 16px 20px;
  background: #f0f4f9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pers-heading {
  font-size: 14px;
  color: #103861;
}

.pers-sub {
  font-size: 11px;
  color: #555;
  margin-bottom: 6px;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.theme-card {
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 4px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.15s;
}

.theme-card:hover {
  border-color: #66aaff;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.theme-card.active {
  border-color: #1a75ff;
  box-shadow: 0 0 6px rgba(26, 117, 255, 0.5);
  background: #eaf3ff;
}

.theme-thumb {
  width: 100%;
  height: 60px;
  border-radius: 2px;
  margin-bottom: 6px;
}

.thumb-win7 {
  background: linear-gradient(135deg, #0b4578, #247bbd);
}

.thumb-nature {
  background: linear-gradient(135deg, #1b4d24, #44923e);
}

.thumb-architecture {
  background: linear-gradient(135deg, #1d2b3a, #51718f);
}

.thumb-dark {
  background: linear-gradient(135deg, #09131d, #112338);
}

.theme-title {
  font-size: 11px;
  text-align: center;
  font-weight: 500;
}

.pers-options {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pers-check {
  font-size: 12px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* About Window */
.about-content {
  padding: 14px 16px;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.about-logo-graphic {
  width: 44px;
  height: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20 48 C 30 38, 42 42, 48 38 L 48 18 C 38 22, 28 18, 20 28 Z' fill='%23eb3c24'/%3E%3Cpath d='M52 38 C 58 34, 70 38, 80 28 L 80 48 C 70 58, 58 54, 52 58 Z' fill='%234cb050'/%3E%3Cpath d='M20 54 C 28 44, 40 48, 48 44 L 48 64 C 40 68, 28 64, 20 74 Z' fill='%232980b9'/%3E%3Cpath d='M52 44 C 60 40, 72 44, 80 34 L 80 54 C 72 64, 60 60, 52 64 Z' fill='%23ffc107'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.about-desc {
  font-size: 11px;
  line-height: 1.45;
  color: #444;
}

.dialog-buttons {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.dialog-btn {
  min-width: 72px;
  padding: 4px 12px;
  background: linear-gradient(180deg, #fff 0%, #eaeaea 100%);
  border: 1px solid #707070;
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
}

.dialog-btn:hover {
  background: linear-gradient(180deg, #eef5fb 0%, #cce2f5 100%);
  border-color: #3c7fb1;
}

/* ==========================================================================
   AUTHENTIC CONTEXT MENUS (Right Click)
   ========================================================================== */

.win7-context-menu {
  position: absolute;
  min-width: 175px;
  background: #f2f2f2;
  border: 1px solid #979797;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.28);
  border-radius: 1px;
  padding: 2px 0;
  display: none;
  flex-direction: column;
  z-index: 9999;
}

.ctx-item {
  position: relative;
  padding: 4px 20px 4px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #000;
  cursor: pointer;
}

.ctx-item:hover {
  background: #3399ff;
  color: #fff;
}

.ctx-item.bold {
  font-weight: 600;
}

.ctx-item.disabled {
  color: #888;
  cursor: default;
  pointer-events: none;
}

.ctx-arrow {
  font-size: 10px;
  margin-left: 10px;
}

.ctx-divider {
  height: 1px;
  background: #d4d4d4;
  margin: 3px 4px;
}

/* Cascading Submenu */
.ctx-submenu {
  position: absolute;
  top: -3px;
  left: 100%;
  min-width: 160px;
  background: #f2f2f2;
  border: 1px solid #979797;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.28);
  display: none;
  flex-direction: column;
  padding: 2px 0;
}

.ctx-item.has-sub:hover .ctx-submenu {
  display: flex;
}

.ctx-icon {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  display: inline-block;
  background-size: contain;
}

/* ==========================================================================
   FLYOUT POPUPS (Volume, Calendar)
   ========================================================================== */

.flyout-popup {
  position: absolute;
  bottom: calc(var(--taskbar-height) + 5px);
  right: 10px;
  background: rgba(240, 248, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  display: none;
  z-index: 8000;
}

#volume-popup {
  width: 70px;
  height: 170px;
  padding: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

#master-volume-slider {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 8px;
  height: 90px;
  cursor: pointer;
}

.vol-title, .vol-label {
  font-size: 10px;
  font-weight: 600;
  color: #333;
}

.vol-mute-btn {
  font-size: 16px;
  cursor: pointer;
}

/* Calendar Popup */
#calendar-popup {
  width: 250px;
  padding: 12px;
  right: 2px;
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 8px;
}

.cal-arrows button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
}

.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 10px;
  color: #666;
  margin-bottom: 4px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
  font-size: 11px;
}

.cal-day {
  padding: 4px 0;
  border-radius: 2px;
  cursor: pointer;
}

.cal-day:hover {
  background: #cce8ff;
}

.cal-day.today {
  background: #3399ff;
  color: #fff;
  font-weight: 600;
}

.cal-footer {
  margin-top: 10px;
  text-align: center;
  font-size: 10px;
}

.cal-footer a {
  color: #0066cc;
  text-decoration: none;
}

/* ==========================================================================
   START MENU
   ========================================================================== */

.start-menu {
  position: absolute;
  bottom: var(--taskbar-height);
  left: 0;
  width: 410px;
  height: 480px;
  background: rgba(18, 48, 82, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 9000;
  padding: 6px;
}

.start-menu-inner {
  width: 100%;
  height: 100%;
  display: flex;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.3);
}

.start-left-pane {
  width: 250px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 6px;
}

.start-pinned-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.start-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 3px;
  cursor: pointer;
}

.start-item:hover {
  background: linear-gradient(180deg, #eaf4fd 0%, #d8ecfc 100%);
  outline: 1px solid #7da2ce;
}

.start-item-icon {
  width: 28px;
  height: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.start-item-text {
  font-size: 11px;
  line-height: 1.25;
}

.start-item-text small {
  color: #666;
  font-size: 10px;
}

.start-all-programs {
  padding: 8px 10px;
  border-top: 1px solid #e5e5e5;
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.start-all-programs:hover {
  background: #e5f1fb;
}

.start-search-box {
  height: 28px;
  border: 1px solid #abadb3;
  border-radius: 2px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  background: #fff;
}

.start-search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 11px;
  margin-left: 6px;
}

/* Right Start Menu Pane */
.start-right-pane {
  flex: 1;
  background: linear-gradient(180deg, rgba(20, 48, 80, 0.85) 0%, rgba(12, 32, 54, 0.95) 100%);
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  color: #fff;
}

.start-user-avatar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.avatar-frame {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  overflow: hidden;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.start-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.start-link {
  padding: 5px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 11px;
  color: #e0ecf8;
}

.start-link.bold {
  font-weight: 600;
  color: #ffffff;
}

.start-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.start-pane-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 6px 4px;
}

.start-shutdown-bar {
  display: flex;
  height: 26px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.shutdown-btn {
  flex: 1;
  background: linear-gradient(180deg, #3d79b2 0%, #1f4870 100%);
  border: 1px solid #143555;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}

.shutdown-btn:hover {
  background: linear-gradient(180deg, #5196d8 0%, #295d8f 100%);
}

.shutdown-flyout-btn {
  width: 22px;
  background: linear-gradient(180deg, #3d79b2 0%, #1f4870 100%);
  border: 1px solid #143555;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 10px;
  cursor: pointer;
}

/* ==========================================================================
   TASKBAR (SUPERBAR)
   ========================================================================== */

.taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--taskbar-height);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(15, 38, 64, 0.75) 12%, rgba(8, 24, 45, 0.85) 100%);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  z-index: 10000;
}

/* The Iconic Windows 7 Start Orb */
.start-orb {
  position: relative;
  width: 48px;
  height: 48px;
  margin-top: -6px;
  margin-left: 4px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  transition: transform 0.15s ease, filter 0.15s ease;
}

.orb-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.8) 0%, rgba(135, 206, 250, 0.6) 25%, rgba(24, 116, 205, 0.9) 65%, #0d3b66 100%);
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.6), 0 0 10px rgba(70, 160, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.start-orb:hover .orb-inner {
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.6), 0 0 16px rgba(100, 200, 255, 0.95);
  transform: scale(1.04);
}

.start-orb:active .orb-inner {
  transform: scale(0.97);
}

.win-logo-svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

/* Taskbar Pinned / Open Apps Container */
.taskbar-apps {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: 8px;
  gap: 3px;
  flex: 1;
}

.taskbar-tab {
  position: relative;
  width: 48px;
  height: 34px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
}

.taskbar-tab:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.3);
}

.taskbar-tab.running {
  background: rgba(180, 215, 255, 0.25);
  border-color: rgba(120, 180, 240, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.taskbar-tab.active {
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(180,220,255,0.3) 50%, rgba(120,180,240,0.5) 100%);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 10px rgba(100, 180, 255, 0.6);
}

.tab-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

/* System Tray (Notification Area) */
.system-tray {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: auto;
}

.tray-btn {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  cursor: pointer;
  color: #fff;
  border: 1px solid transparent;
  transition: background 0.15s;
}

.tray-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.tray-arrow {
  font-size: 9px;
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.7);
}

.tray-icon {
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
}

.tray-clock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  font-size: 11px;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.clock-date {
  font-size: 10px;
  color: #d8e6f3;
}

/* Far-Right Show Desktop Aero Peek Strip */
.show-desktop-btn {
  width: 14px;
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.show-desktop-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   VECTOR ICONS (Pure SVG embedded background data)
   ========================================================================== */

/* Notepad Icon */
.notepad-icon-small, .icon-text-mini {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M6 3 h16 l6 6 v20 h-22 z' fill='%23f5f8fc' stroke='%2389a9c4' stroke-width='1.5'/%3E%3Cpath d='M22 3 v6 h6' fill='%23d0e2f2' stroke='%2389a9c4' stroke-width='1.5'/%3E%3Cline x1='10' y1='12' x2='22' y2='12' stroke='%233b7ab8' stroke-width='1.5'/%3E%3Cline x1='10' y1='17' x2='22' y2='17' stroke='%237090af' stroke-width='1.5'/%3E%3Cline x1='10' y1='22' x2='18' y2='22' stroke='%237090af' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* Calculator Icon */
.calculator-icon-small {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='4' y='3' width='24' height='26' rx='3' fill='%23455a64' stroke='%23263238' stroke-width='1.5'/%3E%3Crect x='7' y='6' width='18' height='6' rx='1' fill='%23cfd8dc' stroke='%2390a4ae'/%3E%3Ccircle cx='9' cy='16' r='1.8' fill='%2390caf9'/%3E%3Ccircle cx='16' cy='16' r='1.8' fill='%2390caf9'/%3E%3Ccircle cx='23' cy='16' r='1.8' fill='%23ffab91'/%3E%3Ccircle cx='9' cy='22' r='1.8' fill='%2390caf9'/%3E%3Ccircle cx='16' cy='22' r='1.8' fill='%2390caf9'/%3E%3Ccircle cx='23' cy='22' r='1.8' fill='%23a5d6a7'/%3E%3C/svg%3E");
}

/* Explorer / Folder Icon */
.explorer-icon-small, .icon-folder-mini, .icon-documents-small {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M4 6 h8 l3 3 h13 v18 h-24 z' fill='%23f9cf58' stroke='%23d99b26' stroke-width='1.5'/%3E%3Cpath d='M4 12 h24 v15 h-24 z' fill='%23ffe082' stroke='%23d99b26' stroke-width='1'/%3E%3C/svg%3E");
}

/* Personalize / Paint Icon */
.personalize-icon-small {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 4 C 8 4, 3 9, 3 17 C 3 24, 9 28, 14 28 C 16 28, 17 26, 17 24 C 17 23, 16 22, 16 21 C 16 19, 18 18, 20 18 L 23 18 C 27 18, 29 15, 29 11 C 29 7, 23 4, 16 4 Z' fill='%23fafafa' stroke='%23607d8b' stroke-width='1.5'/%3E%3Ccircle cx='9' cy='12' r='2' fill='%23e53935'/%3E%3Ccircle cx='15' cy='9' r='2' fill='%2343a047'/%3E%3Ccircle cx='22' cy='12' r='2' fill='%231e88e5'/%3E%3Ccircle cx='20' cy='22' r='2' fill='%23fdd835'/%3E%3C/svg%3E");
}

/* Sound Icon */
.sound-icon-small {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M6 11 h5 l7 -6 v22 l-7 -6 h-5 z' fill='%2342a5f5' stroke='%231e88e5' stroke-width='1.5'/%3E%3Cpath d='M22 10 c 3 3, 3 9, 0 12' fill='none' stroke='%231e88e5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Desktop Icon */
.icon-desktop-small {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='4' y='5' width='24' height='17' rx='2' fill='%234fc3f7' stroke='%230288d1' stroke-width='1.5'/%3E%3Crect x='14' y='22' width='4' height='5' fill='%2378909c'/%3E%3Crect x='10' y='27' width='12' height='2' fill='%2378909c'/%3E%3C/svg%3E");
}

/* Downloads Icon */
.icon-downloads-small {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M5 16 v11 h22 v-11' fill='none' stroke='%230288d1' stroke-width='2'/%3E%3Cpath d='M16 4 v15 m-5 -5 l5 5 l5 -5' fill='none' stroke='%230288d1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* User / Recent Places */
.icon-recent-small {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='11' r='6' fill='%235c6bc0'/%3E%3Cpath d='M6 28 c 0 -6, 5 -10, 10 -10 s 10 4, 10 10' fill='%235c6bc0'/%3E%3C/svg%3E");
}

/* Pictures Icon */
.icon-pictures-small {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='4' y='5' width='24' height='20' rx='2' fill='%2381c784' stroke='%23388e3c' stroke-width='1.5'/%3E%3Ccircle cx='10' cy='11' r='2.5' fill='%23fff59d'/%3E%3Cpolygon points='6,23 14,14 20,21 26,16 26,23' fill='%232e7d32'/%3E%3C/svg%3E");
}

/* Music Icon */
.icon-music-small {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='11' cy='22' r='4' fill='%23ba68c8'/%3E%3Ccircle cx='23' cy='18' r='4' fill='%23ba68c8'/%3E%3Cpath d='M15 22 v-14 l12 -4 v14' fill='none' stroke='%237b1fa2' stroke-width='2.5'/%3E%3C/svg%3E");
}

/* Computer / Hard Drive Icon */
.icon-computer-small, .icon-drive-small {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='4' y='7' width='24' height='16' rx='2' fill='%23eceff1' stroke='%23546e7a' stroke-width='1.5'/%3E%3Ccircle cx='23' cy='15' r='1.5' fill='%2300e676'/%3E%3Cline x1='7' y1='15' x2='18' y2='15' stroke='%2390a4ae' stroke-width='2'/%3E%3C/svg%3E");
}

/* Network Icon */
.icon-network-small {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='4' y='4' width='10' height='8' rx='1' fill='%2364b5f6' stroke='%231976d2' stroke-width='1.2'/%3E%3Crect x='18' y='4' width='10' height='8' rx='1' fill='%2364b5f6' stroke='%231976d2' stroke-width='1.2'/%3E%3Crect x='11' y='20' width='10' height='8' rx='1' fill='%2364b5f6' stroke='%231976d2' stroke-width='1.2'/%3E%3Cpath d='M9 12 v4 h14 v-4 M16 16 v4' fill='none' stroke='%23546e7a' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* System Tray Action Center Flag */
.icon-actioncenter {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 1 v14 M2 2 h10 l-2 4 l2 4 h-10' fill='%23fff' stroke='%23ffffff' stroke-width='1.2'/%3E%3C/svg%3E");
}

/* System Tray Network Wifi/LAN */
.icon-network {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2' y='11' width='2' height='4' fill='%23ffffff'/%3E%3Crect x='5' y='8' width='2' height='7' fill='%23ffffff'/%3E%3Crect x='8' y='5' width='2' height='10' fill='%23ffffff'/%3E%3Crect x='11' y='2' width='2' height='13' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* System Tray Volume */
.icon-volume {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 5 h3 l4 -3 v10 l-4 -3 h-3 z' fill='%23ffffff'/%3E%3Cpath d='M12 4 c 2 2, 2 6, 0 8' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Responsive & Fallback Tweaks
   ========================================================================== */

@media (max-width: 768px) {
  .start-menu {
    width: 320px;
  }
  .aero-window {
    max-width: 96vw;
  }
}
