/* Copies 3-hole punch paper-change confirm overlay */

.ccf-copies-3hole-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(4px);
}

.ccf-copies-3hole-overlay.is-open {
  display: flex;
  animation: ccfCopies3holeFade 0.18s ease-out;
}

@keyframes ccfCopies3holeFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ccf-copies-3hole-dialog {
  width: min(420px, 100%);
  padding: 20px 20px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
  animation: ccfCopies3holePop 0.22s ease-out;
}

@keyframes ccfCopies3holePop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ccf-copies-3hole-kicker {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3f78b5;
}

.ccf-copies-3hole-dialog h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.ccf-copies-3hole-copy {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #334155;
}

.ccf-copies-3hole-ok {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #3f78b5;
  border-radius: 11px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(165deg, #7eb6ea 0%, #558bca 42%, #3f78b5 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 8px 20px rgba(85, 139, 202, 0.45);
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ccf-copies-3hole-ok:hover {
  background: linear-gradient(165deg, #8fc0ef 0%, #5f95d0 42%, #4a7db8 100%);
}

.ccf-copies-3hole-ok:active {
  transform: translateY(1px);
}

@media (max-width: 560px) {
  .ccf-copies-3hole-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .ccf-copies-3hole-dialog {
    width: 100%;
    border-radius: 18px 18px 0 0;
    padding: 18px 16px 14px;
  }
}
