.sc-inline-dialog-root {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
  z-index: 999999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.sc-inline-dialog-root[hidden] {
  display: none;
}

.sc-inline-dialog-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
  max-width: 420px;
  width: 100%;
  padding: 24px;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sc-inline-dialog-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.sc-inline-dialog-message {
  font-size: 15px;
  line-height: 1.4;
  color: #1e293b;
}

.sc-inline-dialog-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc-inline-dialog-input input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #cbd5f5;
  padding: 10px 12px;
  font-size: 15px;
}

.sc-inline-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.sc-inline-dialog-actions button {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.sc-inline-dialog-actions .sc-inline-dialog-cancel {
  background: #e2e8f0;
  color: #0f172a;
}

.sc-inline-dialog-actions .sc-inline-dialog-confirm {
  background: #2563eb;
  color: #fff;
}

.sc-inline-dialog-actions button:focus-visible {
  outline: 2px solid #94a3b8;
  outline-offset: 2px;
}

@media (max-width: 540px) {
  .sc-inline-dialog-panel {
    max-width: 100%;
  }
}
