.cemeh-configurator {
  font-family: inherit;
  border: 1px solid #e0e0e0;
  padding: 16px;
  background: #fff;
}

.cemeh-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.cemeh-agent {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 8px;
  background: #f7f7f7;
  border: 1px solid #eee;
}

.cemeh-stepper {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cemeh-step {
  padding: 8px 10px;
  border: 1px solid #ccc;
  background: #fafafa;
  cursor: pointer;
}

.cemeh-step.is-active {
  background: #222;
  color: #fff;
  border-color: #222;
}

.cemeh-content {
  min-height: 200px;
}

.cemeh-footer {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.cemeh-btn {
  padding: 10px 14px;
  border: 1px solid #444;
  background: #fff;
  cursor: pointer;
}

.cemeh-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.cemeh-btn-primary {
  background: #222;
  color: #fff;
}

.cemeh-link {
  color: inherit;
  text-decoration: underline;
}

.cemeh-link-btn {
  background: transparent;
  border: none;
  text-decoration: underline;
  cursor: pointer;
}

.cemeh-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.cemeh-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cemeh-label {
  font-weight: 600;
}

.cemeh-help {
  font-size: 0.9em;
  opacity: 0.8;
}

.cemeh-input, .cemeh-select, .cemeh-textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  width: 100%;
  max-width: 520px;
}

.cemeh-input-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cemeh-checkbox-label,
.cemeh-radio-label {
  display: block;
  margin: 6px 0;
}

.cemeh-card {
  border: 1px solid #ddd;
  padding: 12px;
  margin: 10px 0;
  background: #fff;
}

.cemeh-card.is-selected {
  border-color: #222;
}

.cemeh-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.cemeh-card-title {
  font-weight: 700;
}

.cemeh-card-desc {
  margin-top: 8px;
}

.cemeh-card-price {
  margin-top: 8px;
  font-weight: 600;
}

.cemeh-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  align-items: center;
}

.cemeh-reasons {
  margin-top: 8px;
}

.cemeh-totals {
  margin-top: 16px;
  padding: 12px;
  border: 1px dashed #ccc;
  background: #fafafa;
}

.cemeh-total-row {
  margin: 4px 0;
}

.cemeh-error, .cemeh-error-inline {
  color: #b00020;
  font-size: 0.9em;
}

.cemeh-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 10px 14px;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 99999;
}

.cemeh-toast[data-visible="1"] {
  opacity: 1;
}

.cemeh-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  z-index: 99998;
}

.cemeh-modal {
  background: #fff;
  border: 1px solid #ddd;
  max-width: 520px;
  width: 100%;
  padding: 16px;
}

.cemeh-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.cemeh-resume-summary {
  border: 1px solid #eee;
  background: #fafafa;
  padding: 10px;
  margin-top: 10px;
}

.cemeh-resume-row {
  margin: 4px 0;
}
