/* Desktop Widgets */
.widgets-layer { position: absolute; top: 50px; right: 20px; z-index: 50; display: flex; flex-direction: column; gap: 16px; }
.widget {
  width: 220px; background: rgba(255,255,255,0.25); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 18px; border: 1px solid rgba(255,255,255,0.2); padding: 14px; color: white; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.widget h4 { font-size: 12px; font-weight: 600; margin-bottom: 8px; opacity: 0.9; text-transform: uppercase; }
.widget-clock { font-size: 36px; font-weight: 300; letter-spacing: -1px; }
.widget-date { font-size: 13px; margin-top: 4px; }
.widget-weather { display: flex; align-items: center; gap: 10px; }
.widget-weather .temp { font-size: 28px; font-weight: 300; }
.widget-weather .desc { font-size: 13px; }
.widget-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: 11px; text-align: center; }
.widget-cal-day { padding: 4px; border-radius: 50%; }
.widget-cal-day.today { background: var(--accent); }

/* Improved Lock Screen */
.lock-avatar {
  width: 100px; height: 100px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex; align-items: center; justify-content: center; font-size: 42px; color: white; margin: 0 auto 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.lock-user { font-size: 20px; font-weight: 500; margin-bottom: 24px; text-align: center; }
.lock-password {
  width: 220px; margin: 0 auto; padding: 10px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15); color: white; text-align: center; font-size: 14px; outline: none;
}
.lock-password::placeholder { color: rgba(255,255,255,0.6); }

/* Realistic Dock Icons */
.dock-icon-mac {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: transform 0.15s;
}
.dock-item:hover .dock-icon-mac { transform: scale(1.15); }
.icon-finder { background: linear-gradient(135deg, #e8e8e8, #b0b0b0); color: #333; }
.icon-blue { background: linear-gradient(135deg, #4facfe, #00f2fe); color: white; }
.icon-green { background: linear-gradient(135deg, #43e97b, #38f9d7); color: white; }
.icon-purple { background: linear-gradient(135deg, #a18cd1, #fbc2eb); color: white; }
.icon-orange { background: linear-gradient(135deg, #fa709a, #fee140); color: white; }
.icon-red { background: linear-gradient(135deg, #ff6b6b, #ee5a24); color: white; }
.icon-yellow { background: linear-gradient(135deg, #f9ca24, #f0932b); color: white; }
.icon-gray { background: linear-gradient(135deg, #636e72, #2d3436); color: white; }

/* Notification / Control Center */
.menu-right .control-center { display: flex; align-items: center; gap: 10px; padding: 2px 8px; border-radius: 6px; cursor: pointer; }
.menu-right .control-center:hover { background: rgba(255,255,255,0.15); }

/* macOS styled context menu */
.context-menu .context-item { display: flex; justify-content: space-between; }
.context-menu .context-item .shortcut { color: #888; font-size: 12px; }
.context-menu .context-item:hover .shortcut { color: rgba(255,255,255,0.8); }
