* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

html {
  height: 100%;
}

body {
  min-height: 100vh;
  width: 100%;
  color: #fff;
}

.main {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8vh;
  /* moves header toward top-center */
  text-align: center;
  background-image: url('https://images7.alphacoders.com/349/thumb-1920-349998.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

}

.time {
  font-size: 6rem;
  line-height: 1;
  margin-bottom: 0.50rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.week,
.date {
  font-size: 2rem;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.lock-screen-icons {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 12px;
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.main {
  position: fixed;
  inset: 0;
  transition: transform 0.6s ease;
  will-change: transform;
}

.main.unlock {
  transform: translateY(-100%);
}




.desktop {
  position: fixed;
  inset: 0;
  background-image: url("https://images7.alphacoders.com/111/1117426.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* TASKBAR */
.taskbar {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 48px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: white;
}

.center-icons {
  display: flex;
  gap: 18px;
  font-size: 1.2rem;
  margin-left: 50%;
  transform: translateX(-50%);
}

.right-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.main {
  z-index: 2;
}


.taskbar {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 55px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: white;
  font-size: 0.9rem;
}

.taskbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
}

.taskbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
}



/* Desktop context menu styles */
.context-menu {
  position: fixed;
  background: linear-gradient(180deg, rgba(32,34,36,0.98), rgba(22,23,24,0.98));
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  min-width: 230px;
  padding: 6px 6px;
  z-index: 9999;
  display: none;
  font-size: 0.95rem;
}

.context-menu.open {
  display: block;
}

.context-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.context-menu__item i { width: 18px; text-align: center; opacity: 0.95 }

.context-menu__item:hover {
  background: rgba(255,255,255,0.03);
}

.context-menu__divider {
  height: 1px;
  background: rgba(255,255,255,0.04);
  margin: 6px 4px;
  border-radius: 2px;
}

.taskbar-center i {
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
}

.taskbar-center i:hover {
  background: rgba(255, 255, 255, 0.15);
}

.taskbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  cursor: pointer;
}

.time-box {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: right;
}

/* Ensure images in the center taskbar are sized and aligned */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.icon-btn img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

/* Search input in the center taskbar */
.taskbar-center .search-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 8px;
  background: transparent;
}

.taskbar-center .search-wrapper:hover {
  background: rgba(255, 255, 255, 0.03);
}

.taskbar-center .search-icon {
  width: 20px;
  height: 20px;
  padding: 0;
  display: block;
}

.taskbar-search {
  width: 160px;
  max-width: 220px;
  height: 34px;
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
  font-size: 0.95rem;
  padding: 0 6px;
}

.taskbar-search::placeholder {
  color: rgba(255,255,255,0.7);
}

/* Generic tooltip for elements with data-label */
[data-label] {
  position: relative;
}

[data-label]::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30,30,30,0.98);
  color: #fff;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease, transform 120ms ease;
}

[data-label]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}







