/* Success and Error Screens */
.success-screen,
.error-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  height: 100%;
  justify-content: center;
}

.success-header,
.error-header {
  margin-bottom: 16px;
  text-align: center;
}

.success-icon {
  font-size: 24px;
  display: block;
  margin: 0 auto 8px auto;
}

.error-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.success-header h3,
.error-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.error-header h3 {
  color: #dc3545;
}

.success-subtitle {
  margin: 4px 0 0;
  color: #666;
  font-size: 13px;
}

.success-details,
.error-details {
  margin-bottom: 24px;
  max-width: 420px;
  width: calc(100% - 32px);
  margin-left: 16px;
  margin-right: 16px;
}

.success-summary {
  background-color: white;
  padding: 16px;
  border-radius: 6px;
  border: 1px solid #e1e1e1;
  text-align: left;
}

.success-summary p,
.error-details p {
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.4;
}

.success-summary .truncate {
  display: inline-block;
  max-width: 280px;
  vertical-align: bottom;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.success-actions,
.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.success-actions a {
  text-decoration: none;
}

