.order-export-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  justify-content: flex-end;
  background: rgb(0 0 0 / 40%);
}
.order-export-drawer {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 406px;
  max-width: 100vw;
  height: 100%;
  background: #fff;
  color: #171718;
  box-shadow: -8px 0 20px rgb(0 0 0 / 12%);
  font:
    14px/22px TikTokFont,
    sans-serif;
  outline: 0;
}
.order-export-drawer *,
.order-export-drawer *::before,
.order-export-drawer *::after {
  box-sizing: border-box;
}
.order-export-drawer [hidden] {
  display: none !important;
}
.order-export-header {
  position: relative;
  flex: 0 0 52px;
  padding: 24px 24px 0;
}
.order-export-header h2 {
  margin: 0;
  padding-right: 32px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}
.order-export-icon-close {
  position: absolute;
  top: 26px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 4px;
  border: 0;
  border-radius: 4px;
  color: #6c6d6f;
  background: transparent;
  cursor: pointer;
}
.order-export-icon-close:hover {
  background: #f5f5f5;
}
.order-export-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 24px 0;
  overscroll-behavior: contain;
}
.order-export-form {
  margin: 0;
}
.order-export-form fieldset {
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}
.order-export-form legend {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  color: #000000eb;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.order-export-scopes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.order-export-form label {
  display: flex;
  align-items: flex-start;
  min-height: 20px;
  gap: 8px;
  color: #171718;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  cursor: pointer;
}
.order-export-form label span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.order-export-form input[type="radio"] {
  appearance: none;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  padding: 0;
  margin: 2px 0 0;
  border: 1px solid #c6c7c8;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.order-export-form input[type="radio"]:checked {
  border-color: #009995;
  background: #009995;
  box-shadow: inset 0 0 0 3px #fff;
}
.order-export-form input[type="radio"]:disabled {
  opacity: 0.5;
  cursor: wait;
}
.order-export-form .order-export-format {
  margin-top: 16px;
}
.order-export-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.order-export-generate {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.order-export-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #009995;
  color: #fff;
  font:
    500 14px/20px TikTokFont,
    sans-serif;
  cursor: pointer;
}
.order-export-submit:disabled {
  opacity: 0.5;
  cursor: wait;
}
.order-export-generate p {
  margin: 0;
  color: #0000008c;
  font-size: 12px;
  line-height: 18px;
}
.order-export-error,
.order-export-status {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}
.order-export-error {
  color: #d23851;
}
.order-export-status {
  color: #007a77;
}
.order-export-divider {
  height: 1px;
  margin-top: 24px;
  background: #e5e5e5;
}
.order-export-history {
  margin-top: 24px;
}
.order-export-history h3 {
  margin: 0;
  color: #000000eb;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}
.order-export-history-period {
  margin: 0;
  color: #00000059;
  font-size: 12px;
  line-height: 18px;
}
.order-export-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}
.order-export-empty img {
  display: block;
  width: 200px;
  height: 200px;
  max-width: 100%;
  object-fit: contain;
}
.order-export-empty p {
  margin: 8px 0 0;
  color: #0000008c;
  font-size: 14px;
  line-height: 22px;
}
.order-export-files {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.order-export-files li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid #ededed;
  font-size: 12px;
  line-height: 18px;
  color: #6c6d6f;
  overflow-wrap: anywhere;
}
.order-export-files strong {
  color: #171718;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.order-export-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 88px;
  padding: 24px;
}
.order-export-footer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 40px;
  margin-left: 8px;
  padding: 9px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #ececed;
  color: #171718;
  font:
    500 14px/20px TikTokFont,
    sans-serif;
  cursor: pointer;
}
.order-export-drawer button:focus-visible,
.order-export-drawer input:focus-visible {
  outline: 2px solid #009995;
  outline-offset: 2px;
}
@media (max-width: 406px) {
  .order-export-drawer {
    width: 100vw;
  }
}
