.kpass-apply-update-btn {
  font-weight: 600;
  background: #2e7d32;
  border-color: #2e7d32;
  color: #fff;
}

.kpass-apply-update-btn:hover:not(:disabled) {
  background: #1b5e20;
  border-color: #1b5e20;
}

.kpass-apply-update-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.kpass-update-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.kpass-update-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.kpass-update-overlay-card {
  width: min(100%, 420px);
  padding: 1.75rem 1.5rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
  text-align: center;
}

.kpass-update-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 1rem;
  border: 3px solid #e3f2fd;
  border-top-color: #1565c0;
  border-radius: 50%;
  animation: kpass-update-spin 0.9s linear infinite;
}

.kpass-update-overlay-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d47a1;
}

.kpass-update-overlay-msg {
  margin: 0;
  color: #5a6578;
  line-height: 1.5;
}

@keyframes kpass-update-spin {
  to {
    transform: rotate(360deg);
  }
}
