@charset "UTF-8";
/**
 * SAF-372 — Styles for [dash_my_recent_orders].
 *
 * Independent from the shared assets/css/educator-dashboard.css and every
 * other component in this module — everything here is scoped under
 * .edash-mro-wrapper so it can't leak onto anything else.
 *
 * No build tool exists in this repo, so this .css and its .scss twin must
 * be kept byte-identical on every edit.
 */
.edash-mro-wrapper {
  width: 100%;
}

.edash-mro-loading,
.edash-mro-empty p,
.edash-mro-error p {
  color: #667085;
  font-size: 14px;
}

.edash-mro-error {
  display: flex;
  align-items: center;
  gap: 12px;
}

.edash-mro-retry {
  padding: 8px 16px;
  border: 1px solid #8BC251;
  border-radius: 999px;
  background: #fff;
  color: #8BC251;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.edash-mro-card {
  background: #fff;
  border: 1px solid #E4E7EC;
  border-radius: 16px;
  overflow: hidden;
}

.edash-mro-main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
}

.edash-mro-thumb {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  background: #F2F4F7;
}

.edash-mro-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.edash-mro-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edash-mro-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.edash-mro-order-number {
  color: #1D2939;
  font-size: 20px;
  font-weight: 700;
}

.edash-mro-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: #F2F4F7;
  color: #475467;
}

.edash-mro-badge[data-status="processing"] {
  background: #FFF3DC;
  color: #B7791F;
}

.edash-mro-badge[data-status="completed"],
.edash-mro-badge[data-status="delivered"] {
  background: #E6F5F1;
  color: #1E9E8B;
}

.edash-mro-badge[data-status="on-hold"],
.edash-mro-badge[data-status="pending"] {
  background: #EAF1FB;
  color: #2E5AAC;
}

.edash-mro-badge[data-status="cancelled"],
.edash-mro-badge[data-status="failed"],
.edash-mro-badge[data-status="refunded"] {
  background: #FBEAEA;
  color: #C0392B;
}

.edash-mro-items {
  color: #475467;
  font-size: 15px;
  line-height: 1.5;
}

.edash-mro-items .edash-mro-more-link {
  color: #0168A5;
  text-decoration: underline;
}

.edash-mro-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #98A2B3;
  font-size: 14px;
}

.edash-mro-meta strong {
  color: #1D2939;
  font-weight: 700;
}

.edash-mro-meta .edash-mro-sep {
  width: 1px;
  height: 14px;
  background: #E4E7EC;
}

.edash-mro-side {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.edash-mro-total-label {
  color: #475467;
  font-size: 16px;
}

.edash-mro-total {
  color: #1D2939;
  font-size: 24px;
  font-weight: 700;
}

.edash-mro-count {
  color: #98A2B3;
  font-size: 14px;
}

.edash-mro-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-top: 1px solid #E4E7EC;
}

.edash-mro-detail-link {
  color: #8BC251;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.edash-mro-detail-link:hover {
  text-decoration: underline;
}

.edash-mro-buy-again {
  padding: 13px 32px;
  border: none;
  border-radius: 999px;
  background: #8BC251;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.edash-mro-buy-again:hover {
  background: #79ab45;
}

.edash-mro-buy-again:disabled {
  opacity: 0.6;
  cursor: default;
}

.edash-mro-buy-again-result {
  padding: 0 24px 20px;
  color: #475467;
  font-size: 13px;
}

@media (max-width: 640px) {
  .edash-mro-main {
    flex-wrap: wrap;
    padding: 16px;
  }

  .edash-mro-side {
    align-items: flex-start;
    text-align: left;
    margin-left: 130px;
  }

  .edash-mro-footer {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .edash-mro-buy-again {
    width: 100%;
  }
}/*# sourceMappingURL=my-recent-orders.css.map */