/* ===========================================================
 * 📄 File: style-confirm.css
 * 🎯 Purpose: Universal Confirmation Dialog
 * =========================================================== */

.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.confirm-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.confirm-box {
  background: #fff;
  border-radius: 10px;
  padding: 20px 25px;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 5px 25px rgba(0,0,0,0.25);
  animation: fadeInConfirm 0.25s ease;
  text-align: center;
}

.confirm-title {
  font-size: 17px;
  font-weight: 600;
  color: #0073aa;
  margin-bottom: 10px;
}

.confirm-message {
  font-size: 14px;
  color: #444;
  margin-bottom: 18px;
}

.confirm-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.confirm-btn {
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.confirm-btn.confirm {
  background: #0073aa;
  color: #fff;
}
.confirm-btn.confirm:hover {
  background: #005f8d;
}
.confirm-btn.cancel {
  background: #ccc;
  color: #333;
}
.confirm-btn.cancel:hover {
  background: #aaa;
  color: #fff;
}
.confirm-btn:active {
  transform: scale(0.96);
}

@keyframes fadeInConfirm {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
