.smartcv-confirm[hidden] {
  display: none;
}

.smartcv-confirm {
  position: fixed;
  inset: 0;
  z-index: 2147483100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.smartcv-confirm-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(2px);
  cursor: default;
}

.smartcv-confirm-panel {
  position: relative;
  width: min(448px, calc(100vw - 24px));
  border-radius: 18px;
  border: 1px solid rgba(44, 221, 180, 0.42);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18), 0 0 0 4px rgba(44, 221, 180, 0.06);
  padding: 24px 20px 18px;
}

.smartcv-confirm-title {
  margin: 0;
  color: #132238;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
}

.smartcv-confirm-message {
  margin: 10px 0 0;
  color: #526076;
  font-size: 0.9rem;
  line-height: 1.6;
}

.smartcv-confirm-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.smartcv-confirm-btn {
  min-width: 86px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.smartcv-confirm-btn-cancel {
  border-color: rgba(44, 221, 180, 0.65);
  background: #ffffff;
  color: #178b80;
}

.smartcv-confirm-btn-cancel:hover {
  border-color: #2cddb4;
  background: rgba(44, 221, 180, 0.1);
  color: #147c73;
  transform: translateY(-1px);
}

.smartcv-confirm-btn-confirm.is-primary {
  background: var(--sw-accent);
  color: #ffffff;
}

.smartcv-confirm-btn-confirm.is-primary:hover {
  background: #20b2aa;
}

.smartcv-confirm-btn-confirm.is-danger {
  border-color: #2cddb4;
  background: #2cddb4;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(44, 221, 180, 0.22);
}

.smartcv-confirm-btn-confirm.is-danger:hover {
  border-color: #20b2aa;
  background: #20b2aa;
  box-shadow: 0 10px 22px rgba(32, 178, 170, 0.28);
  transform: translateY(-1px);
}

.smartcv-confirm-btn:focus-visible {
  outline: 3px solid rgba(44, 221, 180, 0.28);
  outline-offset: 2px;
}

.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%;
  }
}
