@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;0,900&display=swap");
.rg-fe {
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2b2b2b;
  -webkit-font-smoothing: antialiased;
  max-width: 1190px;
  margin: 20px auto;
  padding: 15px 16px;
  background: #fff;
}
@media (max-width: 1199px) {
  .rg-fe {
    max-width: 970px;
  }
}
@media (max-width: 991px) {
  .rg-fe {
    max-width: 750px;
  }
}
@media (max-width: 767px) {
  .rg-fe {
    max-width: 100%;
  }
}
.rg-fe * {
  box-sizing: border-box;
}
@keyframes rgFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.rg-fe .rg-anim {
  animation: rgFade 0.25s ease;
}
.rg-fe .rg-inner {
  max-width: 980px;
  margin: 0 auto;
}
.rg-fe .rg-narrow {
  max-width: 620px;
  margin: 0 auto;
}
.rg-fe .rg-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.rg-fe .rg-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #222;
  margin: 0 0 14px;
}
.rg-fe .rg-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: #6b6b6b;
  margin: 0;
}
.rg-fe .rg-stepper {
  max-width: 480px;
  margin: 34px auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.rg-fe .rg-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: none;
  width: 80px;
}
.rg-fe .rg-step__circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  flex: none;
  background: #ececec;
  color: #aaa;
}
.rg-fe .rg-step__label {
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #b0b0b0;
}
.rg-fe .rg-step__bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  margin-top: 15.5px;
  background: #e2e2e2;
}
.rg-fe .rg-step.is-active .rg-step__circle {
  background: #3a3a3a;
  color: #fff;
}
.rg-fe .rg-step.is-active .rg-step__label {
  color: #2b2b2b;
}
.rg-fe .rg-step.is-done .rg-step__circle {
  background: #57a30a;
  color: #fff;
}
.rg-fe .rg-step.is-done .rg-step__label {
  color: #2b2b2b;
}
.rg-fe .rg-step__bar.is-done {
  background: #57a30a;
}
.rg-fe .rg-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 28px;
}
.rg-fe .rg-card__head {
  background: #eef0f1;
  border-bottom: 1px solid #e2e5e7;
  padding: 15px 24px;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.rg-fe .rg-card__head-sub {
  text-align: right;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}
.rg-fe .rg-card__head-sub b {
  font-size: 16px;
  font-weight: 900;
  color: #222;
  display: block;
}
.rg-fe .rg-card__head-sub span {
  font-size: 13.5px;
  font-weight: 600;
  color: #888;
}
.rg-fe .rg-card__body {
  padding: 24px;
}
.rg-fe label.rg-lbl {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin: 0 0 7px;
}
.rg-fe .rg-field {
  width: 100%;
  height: 46px;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  background: #fff;
  padding: 0 14px;
  font-size: 15px;
  color: #333;
  outline: none;
}
.rg-fe .rg-field:focus {
  border-color: #57a30a;
}
.rg-fe .rg-field::placeholder {
  color: #999;
  opacity: 1;
}
.rg-fe input::placeholder, .rg-fe textarea::placeholder {
  color: #999;
  opacity: 1;
}
.rg-fe textarea.rg-field {
  height: 90px;
  padding: 12px 14px;
  resize: vertical;
}
.rg-fe .rg-row2 {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.rg-fe .rg-row2 > div {
  flex: 1;
  min-width: 240px;
}
.rg-fe .rg-hint {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: #8a8a8a;
  line-height: 1.5;
  text-align: center;
}
.rg-fe .rg-error {
  margin: 6px 0 0;
  font-size: 13px;
  color: #cc2222;
  font-weight: 600;
}
.rg-fe .rg-entry {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-top: 40px;
  flex-wrap: wrap;
}
.rg-fe .rg-guide {
  flex: 1;
  min-width: 320px;
  background: #f4f4f4;
  border-radius: 6px;
  padding: 36px;
}
.rg-fe .rg-guide h2 {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 18px;
  color: #222;
}
.rg-fe .rg-guide p {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #444;
}
.rg-fe .rg-guide p:last-child {
  margin-bottom: 0;
}
.rg-fe .rg-entry__form {
  flex: none;
  width: 400px;
  max-width: 100%;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.rg-fe .rg-items__head,
.rg-fe .rg-item {
  display: grid;
  grid-template-columns: 54px 1fr 150px 96px 196px;
  gap: 14px;
  align-items: center;
}
.rg-fe .rg-items__head {
  padding: 14px 0;
  border-bottom: 2px solid #eee;
}
.rg-fe .rg-items__head > div {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #999;
}
.rg-fe .rg-item {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.rg-fe .rg-item.is-selected {
  background: #f7f7f7;
}
.rg-fe .rg-item__check {
  display: flex;
  justify-content: center;
}
.rg-fe .rg-item__prod {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.rg-fe .rg-item__img {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background: #f1f1ec;
  border: 1px solid #e6e1cf;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  object-fit: cover;
}
.rg-fe .rg-item__name {
  font-size: 14.5px;
  font-weight: 700;
  color: #2b2b2b;
  line-height: 1.3;
}
.rg-fe .rg-item__code {
  font-size: 12.5px;
  color: #999;
  margin-top: 2px;
}
.rg-fe .rg-item__qty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rg-fe .rg-item__qty input {
  width: 56px;
  height: 40px;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  padding: 0 8px;
  font-size: 15px;
  text-align: center;
  outline: none;
}
.rg-fe .rg-item__qty .sep {
  color: #bbb;
}
.rg-fe .rg-item__qty .max {
  font-size: 14px;
  color: #888;
  font-weight: 600;
}
.rg-fe .rg-item__price {
  font-size: 14.5px;
  font-weight: 800;
  color: #2b2b2b;
}
.rg-fe .rg-item__reason select,
.rg-fe select.rg-field-sm {
  width: 100%;
  height: 40px;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  background: #fff;
  padding: 0 10px;
  font-size: 13.5px;
  outline: none;
  color: #333;
}
.rg-fe .rg-item__excluded {
  font-size: 12px;
  color: #a00;
}
.rg-fe input[type=checkbox].rg-check {
  width: 20px;
  height: 20px;
  accent-color: #57a30a;
  cursor: pointer;
}
.rg-fe .rg-lead {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #555;
}
.rg-fe .rg-subhead {
  font-size: 15px;
  font-weight: 800;
  color: #222;
  margin: 0 0 14px;
}
.rg-fe .rg-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  font-size: 13.5px;
  color: #444;
  line-height: 1.5;
}
.rg-fe .rg-gdpr input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
  accent-color: #57a30a;
}
.rg-fe .rg-gdpr a {
  color: #57a30a;
  font-weight: 700;
}
.rg-fe .rg-btn {
  border: none;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  cursor: pointer;
  background: #57a30a;
  transition: filter 0.15s;
  height: 48px;
  padding: 0 32px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.rg-fe .rg-btn:hover {
  filter: brightness(0.93);
}
.rg-fe .rg-btn--block {
  width: 100%;
  height: 50px;
  margin-top: 18px;
  font-size: 16px;
}
.rg-fe .rg-btn--ghost {
  background: #fff;
  border: 1px solid #cfcfcf;
  color: #555;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}
.rg-fe .rg-btn--ghost:hover {
  filter: none;
  background: #f6f6f6;
}
.rg-fe .rg-btn--danger {
  background: #fff;
  border: 1px solid #e0b4b4;
  color: #c0392b;
  height: 46px;
  padding: 0 24px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  font-size: 14.5px;
}
.rg-fe .rg-btn--danger:hover {
  filter: none;
  background: #fdf4f4;
}
.rg-fe .rg-actions-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 12px;
}
.rg-fe .rg-done {
  max-width: 620px;
  margin: 50px auto 0;
  text-align: center;
}
.rg-fe .rg-done__circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #57a30a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.rg-fe .rg-done__circle span {
  color: #fff;
  font-size: 44px;
  line-height: 1;
}
.rg-fe .rg-done h2 {
  font-size: 26px;
  font-weight: 900;
  color: #222;
  margin: 0 0 14px;
}
.rg-fe .rg-done p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 8px;
}
.rg-fe .rg-ref {
  display: inline-block;
  background: #f4f4f4;
  border: 1px dashed #d0d0d0;
  border-radius: 6px;
  padding: 14px 26px;
  margin: 18px 0 28px;
}
.rg-fe .rg-ref span.k {
  font-size: 13px;
  color: #888;
}
.rg-fe .rg-ref span.v {
  font-size: 18px;
  font-weight: 900;
  color: #1d2a78;
  letter-spacing: 0.5px;
}
.rg-fe .rg-note-box {
  background: #fff8e0;
  border: 1px solid #f0e3a8;
  border-radius: 6px;
  padding: 18px 22px;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.6;
  color: #5c4d10;
  margin: 0 0 28px;
}
.rg-fe .rg-done__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.rg-fe .rg-status-head {
  text-align: center;
  margin: 0 0 32px;
  font-size: 15px;
  color: #777;
}
.rg-fe .rg-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 800;
  background: #eef0f1;
  color: #333;
}
.rg-fe .rg-badge.is-cancelled {
  background: #fdeaea;
  color: #c0392b;
}
.rg-fe .rg-badge.is-done {
  background: #e7f4d8;
  color: #3c7a0a;
}
.rg-fe .rg-timeline {
  max-width: 680px;
  margin: 0 auto 42px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.rg-fe .rg-timeline .rg-step {
  width: 110px;
}
.rg-fe .rg-status-items {
  display: grid;
  grid-template-columns: 1fr 120px 130px;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.rg-fe .rg-status-items.head {
  padding: 14px 0;
  border-bottom: 2px solid #eee;
}
.rg-fe .rg-status-items.head > div {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #999;
}
.rg-fe .rg-2col {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.rg-fe .rg-2col > .rg-card {
  flex: 1;
  min-width: 320px;
  margin-bottom: 0;
}
.rg-fe .rg-detrow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #f3f3f3;
}
.rg-fe .rg-detrow .k {
  font-size: 13.5px;
  color: #888;
  flex: none;
}
.rg-fe .rg-detrow .v {
  font-size: 13.5px;
  font-weight: 700;
  color: #333;
  text-align: right;
}
.rg-fe .rg-next {
  background: #f7f8f9;
  border: 1px solid #e6e9ec;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 28px;
}
.rg-fe .rg-next .t {
  font-size: 15px;
  font-weight: 800;
  color: #222;
  margin: 0 0 8px;
}
.rg-fe .rg-next p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #555;
}
.rg-fe .rg-hist-row {
  display: flex;
  gap: 14px;
  padding: 6px 0;
  align-items: flex-start;
}
.rg-fe .rg-hist-row .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #bbb;
  flex: none;
  margin-top: 5px;
}
.rg-fe .rg-hist-row .text {
  font-size: 13.5px;
  font-weight: 700;
  color: #333;
}
.rg-fe .rg-hist-row .time {
  font-size: 13px;
  color: #999;
}
.rg-fe .rg-status-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
  flex-wrap: wrap;
  gap: 14px;
}
.rg-fe .rg-richtext {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}
@media (max-width: 720px) {
  .rg-fe .rg-items__head {
    display: none;
  }
  .rg-fe .rg-item {
    grid-template-columns: 40px 1fr;
    grid-auto-rows: auto;
    row-gap: 8px;
  }
  .rg-fe .rg-item__qty, .rg-fe .rg-item__price, .rg-fe .rg-item__reason {
    grid-column: 2;
    justify-content: flex-start;
  }
  .rg-fe .rg-status-items {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .rg-fe .rg-title {
    font-size: 26px;
  }
}
