/* Entry alert v3 — compact leave dialog (2.07/alert/index.html) */
#alertOverlay.alert-overlay,
#alertOverlay .pl-entry-card-wrap,
#alertOverlay .pl-entry-card-wrap * {
  font-family: "Google Sans", "Roboto", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

#alertOverlay.alert-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  cursor: auto;
  background: rgba(0, 0, 0, 0.38) !important;
  padding: 68px 16px 16px;
}

#alertOverlay.pl-entry-bg-plain.alert-overlay {
  background: rgba(0, 0, 0, 0.38) !important;
}

#alertOverlay .pl-entry-dialog-layer {
  position: relative;
  z-index: 1000;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  pointer-events: auto;
}

#alertOverlay .pl-entry-card-wrap {
  position: relative;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

#alertOverlay .pl-entry-card-wrap.visible {
  opacity: 1;
  pointer-events: auto;
  animation: plEntryCardIn 0.18s cubic-bezier(0.3, 1.4, 0.6, 1) both;
}

@keyframes plEntryCardIn {
  from { opacity: 0; transform: scale(0.94) translateY(-8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

#alertOverlay .pl-entry-card {
  background: #fff !important;
  border-radius: 12px !important;
  width: 370px !important;
  max-width: 94vw !important;
  min-width: 0 !important;
  overflow: hidden;
  border: none !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.10) !important;
}

#alertOverlay .pl-entry-inner {
  padding: 22px 24px 18px;
}

#alertOverlay #alert-title.pl-alert-title {
  display: block !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #1a1a1a !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
}

#alertOverlay #alert-desc.pl-alert-body {
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #5f6368 !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
}

#alertOverlay .pl-entry-btns,
#alertOverlay .card-btns {
  display: flex !important;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent;
  border: none;
}

#alertOverlay .card-btns .btn {
  height: 36px;
  min-width: 72px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  outline: none;
  position: relative;
  overflow: hidden;
  transition: background 0.15s, box-shadow 0.15s;
  letter-spacing: 0.25px;
}

#alertOverlay .card-btns .btn:focus-visible {
  outline: 3px solid rgba(26, 115, 232, 0.45);
  outline-offset: 2px;
}

#alertOverlay .card-btns .btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: plEntryRipple 0.5s linear;
  pointer-events: none;
}

@keyframes plEntryRipple {
  to { transform: scale(4); opacity: 0; }
}

#alertOverlay .btn-cancel {
  background: transparent !important;
  color: #1a73e8 !important;
  border: none !important;
  font-weight: 500;
}

#alertOverlay .btn-cancel:hover {
  background: rgba(26, 115, 232, 0.08) !important;
}

#alertOverlay .btn-cancel:active {
  background: rgba(26, 115, 232, 0.14) !important;
}

#alertOverlay .btn-cancel .ripple {
  background: rgba(26, 115, 232, 0.22);
}

#alertOverlay .btn-ok {
  background: #1a73e8 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 1px 3px rgba(26, 115, 232, 0.30);
}

#alertOverlay .btn-ok:hover {
  background: #1765cc !important;
  box-shadow: 0 2px 6px rgba(26, 115, 232, 0.38);
}

#alertOverlay .btn-ok:active {
  background: #1558b0 !important;
  box-shadow: none;
}

#alertOverlay .btn-ok .ripple {
  background: rgba(255, 255, 255, 0.30);
}
