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

body {
  height: 100vh;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Wallpaper */
#wallpaper {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Top bar */
.topbar {
  position: absolute;
  top: 0;
  width: 100%;
  height: 32px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 12px;

  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.08);

  color: white;
  font-size: 14px;
}

/* Dock */
.dock {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 18px;
  padding: 10px 18px;

  border-radius: 18px;

  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);

  transition: all 0.3s ease;

  color: white; /* controls icon color */
}

/* Dock items */
.dock-item {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  transition: transform 0.2s ease, background 0.2s ease;
}

/* SVG FIX */
.dock-item svg {
  width: 26px;
  height: 26px;

  stroke: currentColor;
  stroke-width: 2.2;

  stroke-linecap: round;
  stroke-linejoin: round;

  fill: none;

  vector-effect: non-scaling-stroke;

  filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}

/* Hover */
.dock-item:hover {
  transform: translateY(-8px) scale(1.15);
  background: rgba(255,255,255,0.12);
}

/* WEATHER WIDGET */
.weather-widget {
  position: absolute;

  left: 40px;
  top: 55%;
  transform: translateY(-50%);

  width: 360px;
  padding: 26px;

  border-radius: 24px;

  backdrop-filter: blur(30px);

  background: rgba(255,255,255,0.08);
  color: white;

  box-shadow: 0 20px 60px rgba(0,0,0,0.35);

  display: flex;
  flex-direction: column;
  gap: 14px;
}

.weather-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.temp {
  font-size: 64px;
  font-weight: 600;
}

.icon {
  font-size: 40px;
}

.condition {
  font-size: 18px;
  opacity: 0.85;
}

.weather-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  opacity: 0.8;
}

/* WINDOW */
.window {
  position: absolute;
  top: 120px;
  left: 200px;

  width: 420px;
  border-radius: 18px;

  backdrop-filter: blur(30px);
  background: rgba(255,255,255,0.1);

  box-shadow: 0 20px 60px rgba(0,0,0,0.4);

  overflow: hidden;
  z-index: 1000;
}

.hidden {
  display: none;
}

/* HEADER */
.window-header {
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 12px;
  cursor: grab;

  background: rgba(255,255,255,0.08);
  font-size: 14px;
}

.window-header:active {
  cursor: grabbing;
}

.window-header button {
  background: none;
  border: none;
  color: inherit;
  font-size: 16px;
  cursor: pointer;
}

/* BODY */
.window-body {
  padding: 16px;
}

.bg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.bg-grid img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.bg-grid img:hover {
  transform: scale(1.05);
}
.window,
.window * {
  user-select: none;
  -webkit-user-select: none;
}

