.signe-co-root {
  padding: 20px 24px 40px;
  direction: rtl;
  font-family: inherit;
}

.signe-co-root h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.signe-co-sub {
  color: #666;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.signe-co-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.signe-co-step-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: #f2efe8;
  font-size: 0.82rem;
  color: #555;
}

.signe-co-step-pill.active {
  background: #1a1a1a;
  color: #fff;
}

.signe-co-step-pill.done {
  background: #d4e8d4;
  color: #1a4d1a;
}

.signe-co-card {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 16px;
}

.signe-co-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.signe-co-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.signe-co-field label {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 4px;
}

.signe-co-field input,
.signe-co-field select,
.signe-co-field textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.signe-co-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.signe-co-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.signe-co-btn.primary {
  background: #1a1a1a;
  color: #fff;
}

.signe-co-btn.secondary {
  background: #f2efe8;
  color: #333;
}

.signe-co-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.signe-co-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 8px;
}

.signe-co-list li {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.signe-co-list li:hover,
.signe-co-list li.selected {
  background: #faf8f4;
}

.signe-co-list li:last-child {
  border-bottom: none;
}

.signe-co-lines {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.signe-co-lines th,
.signe-co-lines td {
  padding: 8px;
  border-bottom: 1px solid #eee;
  text-align: right;
}

.signe-co-success {
  background: #f0faf0;
  border: 2px solid #2d6a2d;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.signe-co-tracking {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 12px 0;
  font-family: monospace;
  direction: ltr;
}

.signe-co-error {
  color: #b00020;
  font-size: 0.85rem;
  margin-top: 8px;
}

.signe-co-host-covered > *:not(.signe-co-root) {
  display: none !important;
}

#signe-create-order-sidebar-item a {
  color: inherit;
  text-decoration: none;
}

#signe-create-order-sidebar-item.active > a {
  font-weight: 700;
}
