.dtp-paste-widget,
.dtp-paste-view {
  position: relative;
  z-index: 1;
}

.dtp-paste-widget {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(8px);
  color: #e2e8f0;
}

.dtp-paste-title {
  font-size: 28px;
  margin-bottom: 8px;
  color: #f8fafc;
}

.dtp-paste-description {
  margin-bottom: 20px;
  color: #cbd5e1;
}

.dtp-paste-form .dtp-field {
  margin-bottom: 16px;
}

.dtp-paste-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #e2e8f0;
}

.dtp-paste-form input[type="text"],
.dtp-paste-form select,
.dtp-paste-form textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  color: #e2e8f0;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dtp-paste-form input[type="text"]:focus,
.dtp-paste-form select:focus,
.dtp-paste-form textarea:focus {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.dtp-paste-form select option {
  background: #0b1220;
  color: #e2e8f0;
}

.dtp-paste-form textarea {
  min-height: 220px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  line-height: 1.4;
}

.dtp-inline {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.dtp-inline-help {
  color: #94a3b8;
  font-size: 14px;
}

.dtp-actions {
  display: flex;
  justify-content: flex-end;
}

.dtp-button {
  background: linear-gradient(120deg, #3b82f6, #a855f7);
  border: none;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dtp-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  opacity: 0.95;
}

.dtp-button--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
}

.dtp-feedback {
  margin-top: 12px;
  font-weight: 600;
}

.dtp-feedback--error {
  color: #fca5a5;
}

.dtp-feedback--success {
  color: #a5f3fc;
}

.dtp-paste-view {
  padding: 120px 20px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.dtp-paste-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.dtp-paste-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dtp-paste-card__header h1 {
  margin-top: 6px;
  margin-bottom: 8px;
  color: #f8fafc;
}

.dtp-paste-meta {
  color: #94a3b8;
}

.dtp-separator {
  margin: 0 8px;
  color: #475569;
}

.dtp-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.dtp-paste-card__body {
  padding: 0 24px 24px;
}

.dtp-paste-content {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  color: #e2e8f0;
  overflow-x: auto;
  line-height: 1.55;
}

.dtp-paste-content code {
  display: block;
  white-space: pre;
}

.dtp-paste-content--rich {
  line-height: 1.7;
}

.dtp-paste-content--rich p {
  margin-bottom: 12px;
}

.dtp-paste-content--rich a {
  color: #93c5fd;
}

@media (max-width: 768px) {
  .dtp-paste-card__header {
    flex-direction: column;
  }

  .dtp-actions {
    justify-content: stretch;
  }

  .dtp-button {
    width: 100%;
    justify-content: center;
  }
}

