/* Extracted from index.html. Independent task duplicate-name confirmation styles. */

.independent-task-duplicate-name-confirm {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.independent-task-duplicate-name-confirm.show {
  display: flex;
  pointer-events: auto;
}

.independent-task-duplicate-name-card {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  background: var(--surface);
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

html.theme-dark .independent-task-duplicate-name-card {
  border-color: rgba(255, 255, 255, 0.08);
}

.independent-task-duplicate-name-text {
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.independent-task-duplicate-name-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.independent-task-duplicate-name-actions button {
  height: 36px;
  min-width: 100px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.independent-task-duplicate-name-copy {
  background: #fff;
  color: #3a3a3c;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.independent-task-duplicate-name-copy:hover {
  background: #f2f2f5;
  color: var(--text);
}

html.theme-dark .independent-task-duplicate-name-copy {
  background: var(--surface);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.independent-task-duplicate-name-open {
  background: var(--blue);
  color: #1d1d1f;
  border: 1px solid transparent;
}

.independent-task-duplicate-name-open:hover {
  background: #e5e3dd;
}

html.theme-dark .independent-task-duplicate-name-open,
html.theme-dark .independent-task-duplicate-name-open:hover {
  background: var(--blue);
  color: #1d1d1f;
}
