/* Step Type Visual Indicators for ProcessManageCalculators */
.uk-badge-success {
  background-color: #10b981;
}

.uk-badge-primary {
  background-color: #1e87f0;
}

/* Step Type Modal Card Styles */
.step-type-card {
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.step-type-card:hover {
  border-color: #1e87f0;
  box-shadow: 0 14px 25px rgba(0,0,0,0.16);
  transform: translateY(-2px);
}

/* ==========================================================================
   Help Documentation Drawer System
   ========================================================================== */

/* Backdrop overlay */
.gcs-help-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 24, 39, 0.5);
  z-index: 1040;
}

/* Drawer panel */
.gcs-help-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  width: 100%;
  max-width: 28rem;
  background-color: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

/* Header */
.gcs-help-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background-color: var(--color-brand-primary);
  border-bottom: 1px solid #e5e7eb;
}

.gcs-help-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.gcs-help-close {
  padding: 0.25rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  border-radius: 0.375rem;
  transition: color 0.15s ease;
}

.gcs-help-close:hover {
  color: #fff;
}

.gcs-help-close-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Body / Content area */
.gcs-help-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

/* Help button */
.gcs-help-button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.gcs-help-button-icon {
  width: 1rem;
  height: 1rem;
  vertical-align: -2px;
}

/* ==========================================================================
   Help Content Typography
   ========================================================================== */

.gcs-help-content {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #374151;
}

.gcs-help-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 1.5rem 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.gcs-help-content h2:first-child {
  margin-top: 0;
}

.gcs-help-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 1.25rem 0 0.5rem 0;
}

.gcs-help-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin: 1rem 0 0.5rem 0;
}

.gcs-help-content p {
  margin-bottom: 0.75rem;
}

.gcs-help-content ul,
.gcs-help-content ol {
  margin: 0 0 0.75rem 1.5rem;
  padding: 0;
}

.gcs-help-content li {
  margin-bottom: 0.375rem;
}

.gcs-help-content dl {
  margin: 0 0 1rem 0;
}

.gcs-help-content dt {
  font-weight: 600;
  color: #1f2937;
  margin-top: 0.75rem;
}

.gcs-help-content dd {
  margin: 0.25rem 0 0 1rem;
  color: #6b7280;
}

.gcs-help-content code {
  background-color: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.gcs-help-content pre {
  background-color: #1f2937;
  color: #e5e7eb;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 0.75rem 0;
}

.gcs-help-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.gcs-help-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
  font-size: 0.875rem;
}

.gcs-help-content th,
.gcs-help-content td {
  padding: 0.5rem 0.75rem;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.gcs-help-content th {
  background-color: #f9fafb;
  font-weight: 600;
}

.gcs-help-content blockquote {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid #4f46e5;
  background-color: #f5f3ff;
  color: #4338ca;
}

.gcs-help-content strong {
  font-weight: 600;
  color: #111827;
}

.gcs-help-content a {
  color: #4f46e5;
  text-decoration: underline;
}

.gcs-help-content a:hover {
  color: #4338ca;
}

/* Tip/Note callouts */
.gcs-help-content .tip,
.gcs-help-content .note {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin: 0.75rem 0;
}

.gcs-help-content .tip {
  background-color: #ecfdf5;
  border-left: 4px solid #10b981;
  color: #065f46;
}

.gcs-help-content .note {
  background-color: #eff6ff;
  border-left: 4px solid #3b82f6;
  color: #1e40af;
}

/* Warning callout */
.gcs-help-content .warning {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin: 0.75rem 0;
  background-color: #fffbeb;
  border-left: 4px solid #f59e0b;
  color: #92400e;
}
