/* ============================================================
   taskbar.css — Luna taskbar, Start button, tray, clock
   ============================================================ */

#taskbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--taskbar-h);
  display: flex;
  align-items: stretch;
  z-index: var(--z-taskbar);
  background: linear-gradient(#1f6fdd 0%, #2b8df0 8%, #1d67d4 42%, #205fce 92%, #1a4fb5 100%);
  border-top: 1px solid #0a3aa8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

/* Start button */
#start-button {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 22px 3px 10px;
  border: none;
  cursor: default;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  font-style: italic;
  font-weight: bold;
  font-size: 16px;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0,40,0,.6);
  border-radius: 0 10px 10px 0;
  background: radial-gradient(120% 140% at 30% 20%, #7bd75a 0%, #4aa72e 45%, #2f8016 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset -2px 0 4px rgba(0,0,0,.25);
}
#start-button:hover { background: radial-gradient(120% 140% at 30% 20%, #8ee66b 0%, #55b636 45%, #368c1a 100%); }
#start-button.active { background: radial-gradient(120% 140% at 30% 80%, #3f8f22 0%, #2f8016 45%, #256a10 100%); box-shadow: inset 1px 1px 4px rgba(0,0,0,.4); }
#start-button .flag {
  width: 20px; height: 18px; flex: 0 0 auto;
  background:
    linear-gradient(#f24d4d,#f24d4d) 0 0/9px 8px no-repeat,
    linear-gradient(#4caf50,#4caf50) 11px 0/9px 8px no-repeat,
    linear-gradient(#2196f3,#2196f3) 0 10px/9px 8px no-repeat,
    linear-gradient(#ffc107,#ffc107) 11px 10px/9px 8px no-repeat;
  border-radius: 3px;
  transform: perspective(30px) rotateY(-14deg);
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,.4));
}

/* Quick launch */
#quicklaunch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 6px;
  border-right: 1px solid rgba(0,0,0,.25);
  box-shadow: inset -1px 0 0 rgba(255,255,255,.2);
}
#quicklaunch .ql {
  width: 22px; height: 22px; padding: 2px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
}
#quicklaunch .ql:hover { background: rgba(255,255,255,.25); }
#quicklaunch .ql img { width: 16px; height: 16px; }

/* Task buttons */
#task-buttons {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 4px;
  overflow: hidden;
}
.task-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 120px;
  max-width: 160px;
  height: 100%;
  padding: 0 8px;
  border: 1px solid #1c53b8;
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  cursor: default;
  background: linear-gradient(#4a95ec, #2e73d8 50%, #2668cf);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.task-btn img { width: 16px; height: 16px; flex: 0 0 auto; }
.task-btn .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-btn:hover { background: linear-gradient(#5aa0f2, #3a80e2 50%, #3573d8); }
.task-btn.active {
  background: linear-gradient(#1d5bc0, #2568cf 60%, #3273d6);
  box-shadow: inset 1px 1px 3px rgba(0,0,0,.4);
}

/* System tray */
#systray {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 12px;
  background: linear-gradient(#1290e8, #14a1e8 8%, #0e78d6 90%);
  border-left: 1px solid #0a3aa8;
  box-shadow: inset 1px 0 0 rgba(255,255,255,.35);
}
#tray-icons { display: flex; align-items: center; gap: 6px; }
#tray-icons img { width: 14px; height: 14px; }
#clock {
  color: #fff;
  font-size: 11px;
  text-shadow: 1px 1px 1px rgba(0,0,0,.4);
  min-width: 48px;
  text-align: center;
}
