/* ===================== Modal ===================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal {
  position: relative;
  background: #1c1c1c;
  padding: 30px 20px 20px;
  border-radius: 12px;
  width: 320px;
  max-width: 90%;
  text-align: center;
  animation: popIn 0.25s ease;
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.modal-icon {
  font-size: 32px;
  color: var(--color-primary);
}

.modal-message {
  font-size: 15px;
  color: var(--color-light);
}

.modal-close,
.modal-confirm,
.modal-cancel {
  margin-top: 10px;
  width: 100%;
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
