/* ==========================================================================
   DockDock — macOS Additional Views (Cmd+Tab Switcher & Notification Alert)
   ========================================================================== */

/* ==========================================================================
   VIEW 3: COMMAND + TAB APP SWITCHER HUD
   ========================================================================== */
#pane-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
}

.macos-switcher-hud {
  background: rgba(30, 34, 48, 0.78);
  backdrop-filter: blur(45px) saturate(210%);
  -webkit-backdrop-filter: blur(45px) saturate(210%);
  border: 0.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 16px 20px 14px 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  user-select: none;
  animation: switcherAppear 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes switcherAppear {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.switcher-icons-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.switcher-item {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.switcher-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.switcher-item.is-selected {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.45),
              0 8px 24px rgba(0, 0, 0, 0.4);
}

.switcher-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22.37%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.switcher-active-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   VIEW 4: NOTIFICATION ALERT BANNER
   ========================================================================== */
#pane-notification {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px 30px;
}

.macos-notification-banner {
  width: 350px;
  background: rgba(34, 38, 52, 0.82);
  backdrop-filter: blur(40px) saturate(190%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  border: 0.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 13px 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: flex-start;
  gap: 13px;
  position: relative;
  user-select: none;
  animation: notifSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes notifSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.notif-app-icon {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 22.37%;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

.notif-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.notif-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.notif-body {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
}

.notif-close-btn {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(30, 32, 42, 0.95);
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.macos-notification-banner:hover .notif-close-btn {
  opacity: 1;
}
