.smartcv-confirm[hidden] {
  display: none;
}

.smartcv-confirm {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.smartcv-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.smartcv-confirm-panel {
  position: relative;
  width: min(460px, calc(100vw - 24px));
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.24);
  padding: 20px;
}

.smartcv-confirm-title {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
}

.smartcv-confirm-message {
  margin: 10px 0 0;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.6;
}

.smartcv-confirm-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.smartcv-confirm-btn {
  min-width: 104px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.smartcv-confirm-btn-cancel {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.smartcv-confirm-btn-cancel:hover {
  background: #f8fafc;
}

.smartcv-confirm-btn-confirm.is-primary {
  background: #2cddb4;
  color: #ffffff;
}

.smartcv-confirm-btn-confirm.is-primary:hover {
  background: #20b2aa;
}

.smartcv-confirm-btn-confirm.is-danger {
  border-color: #ef9a9a;
  background: #fee2e2;
  color: #b91c1c;
}

.smartcv-confirm-btn-confirm.is-danger:hover {
  background: #fecaca;
}

.smartcv-confirm-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .smartcv-confirm-panel {
    padding: 16px;
  }

  .smartcv-confirm-actions {
    flex-direction: column-reverse;
  }

  .smartcv-confirm-btn {
    width: 100%;
  }
}
