/* launchpad.css — Full-screen Launchpad overlay */

/* ── Overlay ── */
#launchpad-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#launchpad-overlay.visible {
  display: flex;
  opacity: 1;
}

/* ── Search bar ── */
.launchpad-search {
  width: 360px;
  max-width: 80vw;
  padding: 0 16px;
  height: 36px;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  transition: border-color 0.2s, background 0.2s;
}

.launchpad-search:focus-within {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.launchpad-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  outline: none;
  width: 100%;
}

.launchpad-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* ── App grid ── */
.launchpad-grid {
  display: grid;
  grid-template-columns: repeat(4, 80px);
  gap: 24px;
  justify-items: center;
  justify-content: center;
  max-width: 440px;
}

/* ── Individual app item ── */
.launchpad-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.18s ease;
}

.launchpad-item:hover {
  transform: scale(1.1);
}

/* ── Icon container ── */
.launchpad-item-icon {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.launchpad-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Label under icon ── */
.launchpad-item-label {
  color: #fff;
  font-size: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  text-align: center;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Close hint at bottom ── */
.launchpad-close-hint {
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  padding: 0;
}
