/* Plugin: edenswitch — Window switcher overlay (Alt+Shift) */

.eswitch-overlay {
  position: fixed;
  z-index: 99999;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 12, 18, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(88, 200, 255, 0.18);
  border-radius: 16px;
  padding: 18px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(88, 200, 255, 0.15);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  max-width: min(1200px, 90vw);
  max-height: min(720px, 80vh);
  overflow-y: auto;
  user-select: none;
  animation: eswitch-fade .12s ease-out;
}
@keyframes eswitch-fade { from { opacity: 0; transform: translate(-50%, -50%) scale(0.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

.eswitch-empty {
  font-size: 13px;
  color: #5a6678;
  padding: 24px 32px;
  text-align: center;
}

.eswitch-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
  min-height: 130px;
  padding: 14px 10px 12px;
  background: rgba(22, 27, 36, 0.85);
  border: 2px solid rgba(42, 49, 64, 0.6);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.12s ease;
}
.eswitch-tile:hover {
  border-color: rgba(88, 200, 255, 0.5);
  background: rgba(88, 200, 255, 0.08);
}
.eswitch-tile.selected {
  border-color: #58c8ff;
  background: rgba(88, 200, 255, 0.16);
  box-shadow:
    0 0 0 2px rgba(88, 200, 255, 0.25),
    0 8px 24px rgba(88, 200, 255, 0.20);
  transform: translateY(-2px);
}

.eswitch-icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.eswitch-meta {
  text-align: center;
  width: 100%;
  min-width: 0;
}
.eswitch-title {
  font-size: 12px;
  font-weight: 600;
  color: #e8edf3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin-bottom: 2px;
}
.eswitch-plugin {
  font-size: 10px;
  color: #8a96a8;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
