/* Windows 10 Desktop Simulator Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif;
  overflow: hidden;
  user-select: none;
  cursor: default;
}

.windows-desktop {
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.retro-mode {
  background: linear-gradient(45deg, #008080, #000080) !important;
}

/* Desktop Icons */
.desktop-icons {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
}

.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.desktop-icon:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.desktop-icon .icon-image {
  font-size: 32px;
  margin-bottom: 4px;
}

.desktop-icon .icon-label {
  font-size: 11px;
  color: white;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

/* Context Menu */
.context-menu {
  position: fixed;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  min-width: 180px;
  padding: 4px 0;
}

.context-item {
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.1s;
}

.context-item:hover {
  background-color: #e5f3ff;
}

.context-separator {
  height: 1px;
  background-color: #e0e0e0;
  margin: 4px 0;
}

/* Taskbar */
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.taskbar.retro {
  background-color: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-bottom: 2px solid #808080;
}

.start-button {
  width: 48px;
  height: 40px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.start-button:hover {
  background: linear-gradient(180deg, #2a2a2a 0%, #1d1d1d 100%);
}

.taskbar.retro .start-button {
  background: #c0c0c0;
  color: black;
  border: 2px outset #c0c0c0;
}

.search-bar {
  display: flex;
  align-items: center;
  margin-left: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0 12px;
  width: 240px;
  height: 32px;
}

.search-input {
  background: none;
  border: none;
  color: white;
  font-size: 13px;
  flex: 1;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-icon {
  margin-left: 8px;
  opacity: 0.6;
}

.task-view-button {
  width: 40px;
  height: 32px;
  background: none;
  border: none;
  color: white;
  margin-left: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.task-view-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.pinned-apps {
  display: flex;
  margin-left: 8px;
  gap: 2px;
}

.pinned-app {
  width: 40px;
  height: 32px;
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.pinned-app:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.running-windows {
  display: flex;
  margin-left: 8px;
  gap: 2px;
}

.running-window {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  max-width: 160px;
}

.running-window:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.running-window.minimized {
  opacity: 0.6;
}

.window-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.system-tray {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 8px;
}

.tray-icon, .notifications-button {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.tray-icon:hover, .notifications-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.time-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 8px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.time-date:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.time {
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.date {
  font-size: 11px;
  opacity: 0.8;
  line-height: 1;
}

.berry-watermark {
  margin-left: 8px;
  font-size: 12px;
  opacity: 0.6;
}

/* Start Menu */
.start-menu {
  position: fixed;
  bottom: 40px;
  left: 0;
  width: 600px;
  height: 600px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 8px 8px 0 0;
  display: flex;
  z-index: 2000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.start-menu.retro {
  background: #c0c0c0;
  border: 2px outset #c0c0c0;
  backdrop-filter: none;
}

.start-left-panel {
  width: 200px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
  font-size: 24px;
}

.user-name {
  font-size: 14px;
  font-weight: 500;
}

.start-shortcuts {
  flex: 1;
  padding: 8px 0;
}

.start-shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
}

.start-shortcut:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.shortcut-icon {
  font-size: 16px;
  width: 20px;
}

.shortcut-text {
  font-size: 13px;
}

.start-right-panel {
  flex: 1;
  padding: 16px;
  color: white;
  overflow-y: auto;
}

.start-search {
  margin-bottom: 16px;
}

.start-search-input {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: white;
  font-size: 13px;
  outline: none;
}

.start-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.start-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.start-tile {
  border-radius: 4px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 12px;
}

.start-tile:hover {
  transform: scale(1.05);
}

.start-tile.small {
  grid-column: span 1;
  height: 60px;
}

.start-tile.medium {
  grid-column: span 2;
  height: 60px;
}

.start-tile.large {
  grid-column: span 4;
  height: 120px;
}

.tile-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.tile-name {
  font-size: 11px;
  text-align: center;
}

.all-apps {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.all-apps-header {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  color: white;
}

.apps-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.app-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.app-icon {
  font-size: 16px;
  width: 20px;
}

.app-name {
  font-size: 13px;
  color: white;
}

/* Windows */
.window {
  position: absolute;
  background: white;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  resize: both;
  min-width: 300px;
  min-height: 200px;
}

.window.active {
  z-index: 1000;
}

.window-title-bar {
  height: 32px;
  background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  cursor: move;
  border-bottom: 1px solid #d0d0d0;
}

.window.active .window-title-bar {
  background: linear-gradient(180deg, #0078d4 0%, #106ebe 100%);
  color: white;
}

.window-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-icon {
  font-size: 14px;
}

.window-title {
  font-size: 13px;
  font-weight: 400;
}

.window-controls {
  display: flex;
  gap: 1px;
}

.window-control {
  width: 45px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.2s;
}

.window-control:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.window-control.close:hover {
  background-color: #e81123;
  color: white;
}

.window-content {
  height: calc(100% - 32px);
  overflow: auto;
  background: white;
}

/* Application Styles */

/* File Explorer */
.file-explorer {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.explorer-ribbon {
  height: 32px;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 24px;
}

.ribbon-tab {
  font-size: 12px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.ribbon-tab.active {
  background: white;
  border: 1px solid #e0e0e0;
}

.ribbon-tab:hover {
  background: #f0f0f0;
}

.explorer-navigation {
  height: 40px;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.nav-button {
  width: 32px;
  height: 24px;
  background: none;
  border: 1px solid #ccc;
  border-radius: 2px;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.2s;
}

.nav-button:hover {
  background: #e0e0e0;
}

.address-bar {
  flex: 1;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 12px;
  background: white;
}

.explorer-content {
  flex: 1;
  display: flex;
}

.explorer-sidebar {
  width: 200px;
  background: #f8f8f8;
  border-right: 1px solid #e0e0e0;
  padding: 12px;
}

.sidebar-section {
  margin-bottom: 24px;
}

.sidebar-header {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #666;
}

.sidebar-item {
  font-size: 12px;
  padding: 4px 0;
  cursor: pointer;
  transition: color 0.2s;
}

.sidebar-item:hover {
  color: #0078d4;
}

.explorer-main {
  flex: 1;
  padding: 12px;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.file-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.file-item:hover {
  background: #f0f0f0;
}

.file-item.selected {
  background: #cce8ff;
}

.file-icon {
  font-size: 32px;
  margin-bottom: 4px;
}

.file-name {
  font-size: 11px;
  text-align: center;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  font-size: 10px;
  color: #666;
  margin-top: 2px;
}

/* Calculator */
.calculator {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
}

.calculator-display {
  height: 80px;
  background: white;
  border: 2px inset #f0f0f0;
  margin: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px;
  font-size: 24px;
  font-family: 'Courier New', monospace;
  overflow: hidden;
}

.calculator-buttons {
  flex: 1;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.button-row {
  display: flex;
  gap: 4px;
  flex: 1;
}

.calc-button {
  flex: 1;
  border: 2px outset #f0f0f0;
  background: #f0f0f0;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.1s;
}

.calc-button:active {
  border: 2px inset #f0f0f0;
}

.calc-button.operator {
  background: #e0e0e0;
}

.calc-button.clear {
  background: #ffcccc;
}

.calc-button.zero {
  flex: 2;
}

/* Notepad */
.notepad {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.notepad-menu {
  height: 24px;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 16px;
}

.menu-item {
  font-size: 12px;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
}

.menu-item:hover {
  background: #e0e0e0;
}

.notepad-textarea {
  flex: 1;
  border: none;
  padding: 8px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  resize: none;
  outline: none;
  background: white;
}

/* Paint */
.paint {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.paint-toolbar {
  height: 48px;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.tool-button {
  width: 36px;
  height: 36px;
  border: 2px outset #f0f0f0;
  background: #f0f0f0;
  cursor: pointer;
  border-radius: 2px;
  font-size: 16px;
  transition: all 0.1s;
}

.tool-button:active, .tool-button.active {
  border: 2px inset #f0f0f0;
}

.color-picker {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}

.paint-canvas {
  flex: 1;
  cursor: crosshair;
  background: white;
}

/* Settings */
.settings {
  height: 100%;
  display: flex;
}

.settings-sidebar {
  width: 250px;
  background: #f8f8f8;
  border-right: 1px solid #e0e0e0;
  overflow-y: auto;
}

.settings-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s;
  border-left: 3px solid transparent;
}

.settings-category:hover {
  background: #f0f0f0;
}

.settings-category.active {
  background: #e5f3ff;
  border-left-color: #0078d4;
}

.category-icon {
  font-size: 16px;
  width: 20px;
}

.category-name {
  font-size: 13px;
}

.settings-content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.settings-title {
  font-size: 20px;
  margin-bottom: 24px;
  color: #333;
}

.settings-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.setting-item {
  padding: 16px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.setting-item:hover {
  border-color: #0078d4;
  box-shadow: 0 2px 8px rgba(0, 120, 212, 0.1);
}

.setting-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.setting-description {
  font-size: 12px;
  color: #666;
}

/* Edge Browser */
.edge-browser {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.browser-tabs {
  height: 32px;
  background: #f0f0f0;
  display: flex;
  align-items: flex-end;
}

.tab {
  height: 32px;
  padding: 0 16px;
  background: #e0e0e0;
  border: 1px solid #ccc;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  max-width: 200px;
}

.tab.active {
  background: white;
  border-top-color: #0078d4;
}

.tab-title {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  transition: background 0.2s;
}

.tab-close:hover {
  background: #e0e0e0;
}

.new-tab {
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-top: 8px;
}

.browser-toolbar {
  height: 40px;
  background: white;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.nav-btn {
  width: 32px;
  height: 24px;
  background: none;
  border: 1px solid #ccc;
  border-radius: 2px;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.2s;
}

.nav-btn:hover {
  background: #f0f0f0;
}

.address-bar {
  flex: 1;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 12px;
  outline: none;
}

.browser-bookmarks {
  height: 32px;
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.bookmark {
  padding: 4px 8px;
  background: none;
  border: none;
  font-size: 11px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
}

.bookmark:hover {
  background: #e0e0e0;
}

.browser-content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  background: white;
}

.page-header {
  text-align: center;
  margin-bottom: 32px;
}

.page-title {
  font-size: 32px;
  margin-bottom: 8px;
  color: #0078d4;
}

.page-subtitle {
  font-size: 16px;
  color: #666;
}

.page-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 24px;
  background: #f8f8f8;
  border-radius: 8px;
  text-align: center;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #333;
}

.feature-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* Notifications Panel */
.notifications-panel {
  position: fixed;
  bottom: 40px;
  right: 0;
  width: 320px;
  max-height: 400px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 8px 0 0 0;
  z-index: 2000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.notifications-header h3 {
  font-size: 14px;
  font-weight: 500;
}

.clear-all {
  background: none;
  border: none;
  color: #0078d4;
  font-size: 12px;
  cursor: pointer;
}

.notifications-list {
  max-height: 300px;
  overflow-y: auto;
}

.notification-item {
  display: flex;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.2s;
}

.notification-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-size: 12px;
  font-weight: 500;
  color: white;
  margin-bottom: 2px;
}

.notification-message {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

.notification-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 8px;
}

/* Calendar Popup */
.calendar-popup {
  position: fixed;
  bottom: 40px;
  right: 100px;
  width: 280px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 8px;
  z-index: 2000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  color: white;
  padding: 16px;
}

.calendar-header {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendar-day-header {
  text-align: center;
  font-size: 11px;
  padding: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.calendar-day {
  text-align: center;
  font-size: 11px;
  padding: 6px 4px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
}

.calendar-day:hover {
  background: rgba(255, 255, 255, 0.1);
}

.calendar-day.today {
  background: #0078d4;
  color: white;
}

.calendar-day.other-month {
  opacity: 0.4;
}

/* Volume Slider */
.volume-slider {
  position: fixed;
  bottom: 40px;
  right: 160px;
  width: 180px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 8px;
  z-index: 2000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  color: white;
  padding: 16px;
}

.volume-header {
  font-size: 12px;
  margin-bottom: 12px;
  text-align: center;
}

.volume-range {
  width: 100%;
  margin-bottom: 8px;
}

.volume-value {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

/* Blue Screen of Death */
.blue-screen {
  width: 100vw;
  height: 100vh;
  background: #0078d4;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', sans-serif;
}

.bsod-content {
  text-align: left;
  max-width: 600px;
  padding: 40px;
}

.bsod-face {
  font-size: 120px;
  margin-bottom: 40px;
}

.bsod-title {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 20px;
}

.bsod-subtitle {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.bsod-progress {
  font-size: 16px;
  margin-bottom: 40px;
}

.bsod-qr {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.qr-code {
  width: 80px;
  height: 80px;
  background: white;
  color: #0078d4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.bsod-error {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  opacity: 0.8;
}

/* Shutdown Screen */
.shutdown-screen {
  width: 100vw;
  height: 100vh;
  background: #0078d4;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', sans-serif;
}

.shutdown-content {
  text-align: center;
}

.shutdown-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.shutdown-text {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 12px;
}

.shutdown-subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 40px;
}

.shutdown-footer {
  font-size: 12px;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .start-menu {
    width: 100vw;
    height: 70vh;
  }
  
  .search-bar {
    width: 120px;
  }
  
  .running-windows {
    display: none;
  }
  
  .pinned-apps {
    gap: 1px;
  }
  
  .window {
    width: 95vw !important;
    height: 80vh !important;
    left: 2.5vw !important;
    top: 10vh !important;
  }
}