/* My Desktop - Main Styles */
:root {
  --os-bg: #0078d4;
  --os-bg-dark: #106ebe;
  --os-accent: #0078d4;
  --os-accent-light: #40a9ff;
  --os-accent-dark: #005a9e;
  --os-text: #323130;
  --os-text-secondary: #605e5c;
  --os-text-light: #ffffff;
  --os-border: #e1dfdd;
  --os-border-light: #f3f2f1;
  --os-shadow: rgba(0, 0, 0, 0.1);
  --os-shadow-dark: rgba(0, 0, 0, 0.2);
  --taskbar-height: 40px;
  --taskbar-bg: rgba(0, 0, 0, 0.8);
  --taskbar-bg-hover: rgba(255, 255, 255, 0.1);
  --taskbar-bg-active: rgba(255, 255, 255, 0.2);
  --start-menu-width: 320px;
  --start-menu-height: 500px;
  --start-menu-bg: rgba(0, 0, 0, 0.9);
  --start-menu-item-hover: rgba(255, 255, 255, 0.1);
  --window-border-radius: 6px;
  --window-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --window-titlebar-height: 32px;
  --desktop-icon-size: 80px;
  --desktop-icon-spacing: 20px;
  --z-desktop: 1;
  --z-desktop-icons: 5;
  --z-windows: 10;
  --z-taskbar: 100;
  --z-start-menu: 200;
  --z-context-menu: 300;
  --z-modal: 400;
  --scrollbar-width: 12px;
  --scrollbar-track-color: #f0f0f0;
  --scrollbar-thumb-color: #b0b0b0;
  --scrollbar-thumb-hover-color: #888;
  --scrollbar-thumb-radius: 8px;
  --link-color: var(--os-accent);
  --link-hover-color: var(--os-accent-light);
  --link-active-color: var(--os-accent-dark);
  --link-visited-color: #6c63ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: var(--os-text);
  background: var(--os-bg);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.desktop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: cover;
  background-position: center;
  z-index: var(--z-desktop);
  overflow: hidden;
}

.desktop-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-desktop-icons);
  pointer-events: none;
}

.desktop-icon {
  position: absolute;
  width: var(--desktop-icon-size);
  height: var(--desktop-icon-size);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.desktop-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.desktop-icon:active {
  background: rgba(255, 255, 255, 0.2);
}

.desktop-icon.dragging {
  opacity: 0.8;
  transform: scale(1.05);
  z-index: 9999;
  pointer-events: none;
}

.desktop-icon.drag-over {
  background: rgba(255, 255, 255, 0.15);
  border: 2px dashed rgba(255, 255, 255, 0.5);
}

.icon-image {
  font-size: 32px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.icon-label {
  font-size: 12px;
  color: white;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  max-width: 100%;
  word-wrap: break-word;
  line-height: 1.2;
}

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

.windows-container > * {
  pointer-events: auto;
}

.context-menu {
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 200px;
  z-index: var(--z-context-menu);
  display: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.context-item {
  padding: 8px 16px;
  color: white;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

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

.context-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 4px 0;
}

/* Submenu Styles */
.context-submenu {
  position: relative;
}

.submenu-arrow {
  font-size: 12px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.context-submenu:hover .submenu-arrow {
  transform: rotate(90deg);
}

.context-submenu-content {
  position: absolute;
  left: 100%;
  top: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 160px;
  z-index: var(--z-context-menu);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: none;
}

.context-submenu-item {
  padding: 8px 16px;
  color: white;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.context-submenu-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.theme-name {
  flex: 1;
}

.theme-check {
  color: #4CAF50;
  font-weight: bold;
  margin-left: 10px;
}

.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--taskbar-height);
  background: var(--taskbar-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  z-index: var(--z-taskbar);
  padding: 0 8px;
}

.start-button {
  width: 48px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  margin-right: 8px;
}

.start-button:hover {
  background: var(--taskbar-bg-hover);
}

.start-button:active {
  background: var(--taskbar-bg-active);
}

.start-icon {
  font-size: 16px;
  color: white;
  font-weight: bold;
}

.taskbar-items {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow: hidden;
}

.taskbar-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  max-width: 200px;
  height: 40px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  margin: 0 2px;
  padding: 0 8px;
  flex-direction: column;
  gap: 2px;
}

.taskbar-item:hover {
  background: var(--taskbar-bg-hover);
}

.taskbar-item.active {
  background: var(--taskbar-bg-active);
}

.taskbar-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--os-accent-light);
  border-radius: 1px;
}

.taskbar-icon {
  font-size: 16px;
  color: white;
  line-height: 1;
}

.taskbar-title {
  font-size: 10px;
  color: white;
  text-align: center;
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.9;
}

.window-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #0078d4;
  color: white;
  font-size: 10px;
  font-weight: bold;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

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

.tray-item {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.tray-item:hover {
  background: var(--taskbar-bg-hover);
}

.tray-icon {
  font-size: 14px;
  color: white;
}

.start-menu {
  position: fixed;
  bottom: var(--taskbar-height);
  left: 0;
  width: var(--start-menu-width);
  height: var(--start-menu-height);
  background: var(--start-menu-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px 8px 0 0;
  z-index: var(--z-start-menu);
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.start-menu-header {
  padding: 20px 20px 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.start-menu-search {
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 8px;
}

#startMenuSearch {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  background: rgba(255,255,255,0.12);
  color: white;
  outline: none;
  transition: background 0.2s;
}
#startMenuSearch:focus {
  background: rgba(255,255,255,0.18);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: var(--os-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.user-name {
  color: white;
  font-weight: 500;
}

.start-menu-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.app-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  padding-bottom: 6px;
}

.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 2px 8px 2px;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  transition: background 0.16s, transform 0.16s, box-shadow 0.16s;
  min-height: 56px;
  min-width: 54px;
  text-align: center;
  user-select: none;
  font-weight: 500;
  border: 2px solid transparent;
}
.app-item:hover, .app-item:focus {
  background: var(--os-accent-light, #40a9ff);
  color: white;
  transform: scale(1.07);
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  border: 2px solid var(--os-accent, #0078d4);
}

.app-icon {
  font-size: 22px;
  min-height: 22px;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.18s, box-shadow 0.18s;
}
.app-item:hover .app-icon, .app-item:focus .app-icon {
  background: var(--os-accent, #0078d4);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}

.app-name {
  font-size: 13px;
  color: white;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.start-menu-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.power-button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.power-button:hover {
  background: var(--start-menu-item-hover);
}

.power-icon {
  font-size: 20px;
  color: white;
}

.window {
  position: absolute;
  background: white;
  border-radius: var(--window-border-radius);
  box-shadow: var(--window-shadow);
  min-width: 300px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  overflow: visible;
  resize: both;
  transition: box-shadow 0.2s ease;
  height: auto;
}

.window.active {
  box-shadow: 0 0 0 2px var(--os-accent), var(--window-shadow);
  z-index: 1000;
}

.window:not(.active) {
  box-shadow: var(--window-shadow);
}

.window-titlebar {
  height: var(--window-titlebar-height);
  background: var(--os-accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  cursor: var(--window-titlebar-cursor, move);
  user-select: none;
}

.window-title {
  color: white;
  font-weight: 500;
  font-size: 13px;
  flex: 1;
  margin-right: 8px;
  cursor: var(--window-titlebar-cursor, move);
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 2px;
}

.window-control {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 12px;
  transition: background 0.2s ease;
  position: relative;
  z-index: 10;
}

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

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

.window-content {
  flex: 1;
  padding: 16px;
  overflow: auto;
  max-height: calc(100% - var(--window-titlebar-height));
  min-height: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--os-bg-dark);
}

.window-resize-handle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 15px;
  height: 15px;
  cursor: se-resize;
  background: linear-gradient(-45deg, transparent 30%, #ccc 30%, #ccc 40%, transparent 40%);
  z-index: 1000;
  border-radius: 0 0 6px 0;
}

.window-resize-handle:hover {
  background: linear-gradient(-45deg, transparent 30%, #999 30%, #999 40%, transparent 40%);
}

@media (max-width: 768px) {
  :root {
    --taskbar-height: 36px;
    --start-menu-width: 280px;
    --start-menu-height: 400px;
    --desktop-icon-size: 60px;
    --desktop-icon-spacing: 15px;
  }

  .app-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .app-item {
    min-height: 70px;
    padding: 10px;
    gap: 6px;
  }

  .app-icon {
    font-size: 20px;
    min-height: 20px;
  }

  .app-name {
    font-size: 11px;
  }

  .desktop-icons {
    top: 15px;
    left: 15px;
  }

  .desktop-icon {
    width: var(--desktop-icon-size);
    height: var(--desktop-icon-size);
  }

  .icon-image {
    font-size: 28px;
  }

  .icon-label {
    font-size: 11px;
  }

  .taskbar-item {
    min-width: 36px;
    max-width: 150px;
    height: 36px;
    padding: 0 6px;
  }

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

  .taskbar-title {
    font-size: 9px;
  }
}

/* About Me App Styles */
.about-me-content {
  padding: 20px;
  max-width: 100%;
  height: 100%;
  overflow-y: auto;
  background: white;
  color: var(--os-text);
}

.about-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--os-border);
}

.about-avatar {
  width: 80px;
  height: 80px;
  margin-right: 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--os-accent);
}

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

.about-info h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--os-text);
  margin-bottom: 8px;
}

.about-info .title {
  font-size: 16px;
  color: var(--os-accent);
  margin-bottom: 8px;
  font-weight: 500;
}

.about-info p {
  color: var(--os-text-secondary);
  line-height: 1.5;
}

.about-details h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--os-text);
  margin: 25px 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--os-accent);
}

.about-details p {
  color: var(--os-text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.skills-list,
.projects-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-list li,
.projects-list li {
  padding: 8px 0;
  color: var(--os-text-secondary);
  position: relative;
  padding-left: 20px;
}

.skills-list li::before,
.projects-list li::before {
  content: "•";
  color: var(--os-accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.contact-info p {
  margin-bottom: 10px;
  color: var(--os-text-secondary);
}

.contact-info a {
  color: var(--os-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: var(--os-accent-dark);
  text-decoration: underline;
}

.about-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--os-border);
  text-align: center;
  color: var(--os-text-secondary);
  font-size: 12px;
}

/* Responsive design for About Me */
@media (max-width: 768px) {
  .about-header {
    flex-direction: column;
    text-align: center;
  }
  
  .about-avatar {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .about-info h2 {
    font-size: 20px;
  }
  
  .about-info .title {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .start-menu {
    width: 100vw !important;
    left: 0 !important;
    border-radius: 0 !important;
    min-width: 0 !important;
  }
  .app-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .app-item {
    min-width: 0;
    padding: 7px 1px 6px 1px;
    min-height: 38px;
    border-radius: 7px;
  }
  .app-icon {
    font-size: 16px;
    min-height: 16px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .app-name {
    font-size: 11px;
  }
}

.dock {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 30, 40, 0.85);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 1.5px 8px rgba(0,0,0,0.10);
  padding: 10px 18px;
  z-index: var(--z-taskbar);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  min-width: 120px;
  min-height: 64px;
  gap: 8px;
}
.dock-bottom {
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  flex-direction: row;
}
.dock-top {
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  flex-direction: row;
}
.dock-left {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  min-width: 64px;
  min-height: 120px;
  padding: 18px 10px;
}
.dock-right {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  min-width: 64px;
  min-height: 120px;
  padding: 18px 10px;
}

.dock-items {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-direction: inherit;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 48px;
  min-height: 48px;
  cursor: pointer;
  border-radius: 14px;
  transition: transform 0.18s cubic-bezier(0.4,0,0.2,1), box-shadow 0.18s, background 0.18s;
  position: relative;
  padding: 4px 4px 0 4px;
  background: transparent;
}
.dock-item:hover, .dock-item:focus {
  background: rgba(255,255,255,0.10);
  transform: scale(1.18) translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 2;
}
.dock-item:active {
  transform: scale(0.95) translateY(-2px);
}
.dock-icon {
  font-size: 32px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.13);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  margin-bottom: 4px;
  transition: background 0.18s, box-shadow 0.18s;
}
.dock-item:hover .dock-icon, .dock-item:focus .dock-icon {
  background: var(--os-accent, #0078d4);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}
.dock-label {
  font-size: 11px;
  color: #fff;
  opacity: 0.85;
  margin-top: 2px;
  text-align: center;
  max-width: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  display: none;
}
.dock-item.active .dock-icon {
  border: 2.5px solid var(--os-accent-light, #40a9ff);
  background: var(--os-accent, #0078d4);
  color: #fff;
}

.dock-settings-btn {
  background: rgba(255,255,255,0.13);
  border: none;
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.dock-settings-btn:hover {
  background: var(--os-accent, #0078d4);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.16);
}

@media (max-width: 600px) {
  .dock, .dock-bottom, .dock-top, .dock-left, .dock-right {
    min-width: 0;
    min-height: 0;
    padding: 6px 6px;
    border-radius: 14px;
    gap: 4px;
  }
  .dock-items {
    gap: 8px;
  }
  .dock-item {
    min-width: 32px;
    min-height: 32px;
    padding: 2px 2px 0 2px;
    border-radius: 7px;
  }
  .dock-icon {
    font-size: 20px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    margin-bottom: 2px;
  }
  .dock-label {
    font-size: 9px;
    max-width: 32px;
  }
  .dock-settings-btn {
    width: 28px;
    height: 28px;
    font-size: 13px;
    margin-left: 4px;
  }
}

/* Dock Settings Modal Styles */
.dock-settings-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dock-settings-content {
    background: #23232b;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    padding: 28px 32px 24px 32px;
    min-width: 340px;
    max-width: 95vw;
    min-height: 220px;
    position: relative;
}
.dock-settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.dock-settings-header h2 {
    margin: 0;
    font-size: 1.4em;
}
.dock-settings-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6em;
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
}
.dock-settings-section {
    margin-bottom: 18px;
}
.dock-position-options label {
    margin-right: 18px;
    font-weight: 500;
    cursor: pointer;
}
.dock-apps-list {
    margin-top: 8px;
}
.dock-app-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.dock-app-row label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.dock-app-icon {
    margin: 0 8px 0 0;
    font-size: 1.2em;
}
.dock-app-name {
    font-size: 1em;
}
.dock-item.dock-pinned {
    opacity: 1;
    border-bottom: 2px solid #f9d923;
}

/* Modern, themeable scrollbar styles */
/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: var(--scrollbar-width);
  height: var(--scrollbar-width);
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-track-color);
  border-radius: var(--scrollbar-thumb-radius);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-color);
  border-radius: var(--scrollbar-thumb-radius);
  transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover-color);
}
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
}

/* Hide scrollbar arrows (buttons) for Webkit browsers */
::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

/* Global link styles */
a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s, box-shadow 0.2s, background 0.2s;
  border-radius: 4px;
  padding: 2px 4px;
  outline: none;
  position: relative;
}

a:hover, a:focus {
  color: var(--link-hover-color);
  background: rgba(0,0,0,0.04);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
}

a:active {
  color: var(--link-active-color);
  background: rgba(0,0,0,0.08);
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

a:visited {
  color: var(--link-visited-color);
}

a:focus-visible {
  outline: 2px solid var(--link-hover-color);
  outline-offset: 2px;
}

a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--link-hover-color);
  transform: scaleX(0);
  transition: transform 0.2s;
  border-radius: 2px;
  pointer-events: none;
}

a:hover::after, a:focus::after {
  transform: scaleX(1);
}

/* Welcome Message */
.welcome-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: -1;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 400px;
  animation: fadeInUp 1s ease-out;
}

.welcome-message h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.welcome-message p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
  margin: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -30%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Hide welcome message after a few seconds */
.welcome-message.fade-out {
  animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translate(-50%, -70%);
  }
}

/* Dashboard Widget */
.dashboard-widget {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  color: white;
  z-index: 10;
  min-width: 250px;
  animation: slideInRight 0.8s ease-out;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
}

.widget-time {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--os-accent-light);
}

.widget-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.widget-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.widget-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.widget-value {
  font-size: 0.9rem;
  font-weight: 500;
}

.widget-value.available {
  color: #4ecdc4;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard-widget {
    top: 10px;
    right: 10px;
    left: 10px;
    min-width: auto;
  }
  
  .welcome-message {
    max-width: 90%;
    padding: 1.5rem;
  }
  
  .welcome-message h1 {
    font-size: 2rem;
  }
} 