.nguontot-delivery-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  padding: 24px;
  margin: 30px 0;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}

.nguontot-delivery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.nguontot-delivery-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.delivery-icon {
  font-size: 28px;
  line-height: 1;
}

.nguontot-delivery-title h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.delivery-subtitle {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.nguontot-action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nguontot-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nguontot-btn-copy {
  background-color: #2563eb;
  color: #ffffff;
}

.nguontot-btn-copy:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.nguontot-btn-copy.copied {
  background-color: #16a34a !important;
}

.nguontot-btn-download {
  background-color: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.nguontot-btn-download:hover {
  background-color: #e2e8f0;
  color: #0f172a;
  transform: translateY(-1px);
}

.nguontot-textarea-wrapper {
  position: relative;
  margin: 12px 0;
}

.nguontot-monospace-area {
  width: 100%;
  box-sizing: border-box;
  font-family:
    'Consolas', 'Monaco', 'SF Mono', 'Courier New', Courier, monospace !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #1e293b;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 14px;
  resize: vertical;
  white-space: pre;
  overflow-x: auto;
  word-break: normal;
}

.nguontot-monospace-area:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.nguontot-delivery-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.security-badge {
  font-size: 12px;
  color: #01b720;
  font-style: italic;
}

@media (max-width: 640px) {
  .nguontot-delivery-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nguontot-action-buttons {
    width: 100%;
  }

  .nguontot-btn {
    flex: 1;
    justify-content: center;
  }
}
