/* Idle-logout banner — EP style: glass dark, pink accent, Inter, slide down. */
.ep-idle-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11000;
  background: linear-gradient(180deg, rgba(20,20,20,0.96), rgba(15,15,15,0.92));
  border-bottom: 1px solid rgba(234, 143, 215, 0.30);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  animation: ep-idle-slidein 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.ep-idle-banner-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Inter', sans-serif;
}
.ep-idle-icon {
  font-size: 18px;
  line-height: 1;
  color: var(--color-brand, #EA8FD7);
  opacity: 0.9;
}
.ep-idle-text {
  flex: 1;
  font-size: 13px;
  color: #F1F5F9;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.ep-idle-count {
  display: inline-block;
  min-width: 32px;
  text-align: center;
  font-family: 'Geist Mono', 'Noto Sans Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand, #EA8FD7);
  margin: 0 4px;
  letter-spacing: 0.04em;
}
.ep-idle-stay {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  background: var(--color-brand, #EA8FD7);
  color: #000;
  border: 1px dashed transparent;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ep-idle-stay:hover {
  background: transparent;
  color: var(--color-brand, #EA8FD7);
  border-color: var(--color-brand, #EA8FD7);
}
.ep-idle-stay:active { transform: translateY(1px); }
.ep-idle-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
}
.ep-idle-bar-fill {
  height: 100%;
  background: var(--color-brand, #EA8FD7);
  width: 100%;
  transition: width 0.5s linear;
}

@keyframes ep-idle-slidein {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Light theme */
body.theme-light .ep-idle-banner {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,247,247,0.92));
  border-bottom-color: rgba(234, 143, 215, 0.45);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.10);
}
body.theme-light .ep-idle-text { color: #1A1A1A; }
body.theme-light .ep-idle-bar { background: rgba(0, 0, 0, 0.06); }

@media (max-width: 600px) {
  .ep-idle-banner-inner { padding: 10px 14px; gap: 8px; flex-wrap: wrap; }
  .ep-idle-text { font-size: 12px; flex-basis: 100%; order: 2; }
  .ep-idle-icon { order: 1; }
  .ep-idle-stay { order: 3; flex: 1; padding: 0 12px; font-size: 10px; height: 36px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ep-idle-banner { animation: none; }
  .ep-idle-bar-fill { transition: none; }
}
