/* FOODNATI — YOUR ORDERS PAGE */

#foodnatiYourOrdersPage {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #fff;
  color: #17243B;
  display: none;
  flex-direction: column;
  font-family: 'Poppins', Arial, sans-serif;
  overflow: hidden;
}

#foodnatiYourOrdersPage.is-open {
  display: flex;
}

#foodnatiYourOrdersPage * {
  box-sizing: border-box;
}

/* SAME TOP GAP AS SAVED ADDRESSES */
.fpo-topspace {
  height: calc(44px + env(safe-area-inset-top, 0px));
  flex-shrink: 0;
}

/* HEADER */
.fpo-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 18px;
  border-bottom: 1px solid #f0f0f2;
  flex-shrink: 0;
}

/* BACK BUTTON */
.fpo-back {
  border: 0;
  background: transparent;
  color: #17243B;
  font-size: 20px;
  width: 36px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* TITLE */
.fpo-heading {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* EMPTY CONTENT AREA */
.fpo-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}/* FOODNATI — COMPACT PAST ORDER CARDS */

.fpo-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
  background: #fff;
}

.fpo-order-card {
  background: #fff;
  border: 1px solid #e9eaf0;
  border-radius: 15px;
  margin-bottom: 12px;
  overflow: hidden;
  font-family: 'Poppins', Arial, sans-serif;
  color: #273044;
}

.fpo-restaurant {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
}

.fpo-restaurant-image {
  width: 49px;
  height: 49px;
  border-radius: 9px;
  object-fit: cover;
  background: #f4f4f5;
  flex-shrink: 0;
}

.fpo-restaurant-info {
  flex: 1;
  min-width: 0;
}

.fpo-restaurant-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.fpo-restaurant-location {
  margin-top: 3px;
  font-size: 11px;
  color: #858b98;
  line-height: 1.5;
}

.fpo-items {
  padding: 12px 14px;
  border-top: 1px solid #f0f0f2;
}

.fpo-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 4px;
}

.fpo-item:last-child {
  margin-bottom: 0;
}

.fpo-veg-icon {
  width: 13px;
  height: 13px;
  border: 1.5px solid #35ae59;
  border-radius: 3px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.fpo-veg-icon::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35ae59;
}

.fpo-veg-icon.nonveg {
  border-color: #d84c46;
}

.fpo-veg-icon.nonveg::after {
  background: #d84c46;
}

.fpo-order-summary {
  margin: 0 14px;
  padding: 11px 0 13px;
  border-top: 1px dashed #e6e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fpo-order-date {
  font-size: 10px;
  color: #858b98;
  line-height: 1.7;
}

.fpo-order-status {
  font-size: 11px;
  color: #6d7583;
  text-transform: capitalize;
}

.fpo-order-total {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.fpo-order-total i {
  color: #9aa0aa;
  font-size: 12px;
  margin-left: 5px;
}

.fpo-rating {
  border-top: 1px solid #f0f0f2;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.fpo-rate-label {
  font-size: 12px;
  font-weight: 500;
}

.fpo-stars {
  display: flex;
  gap: 12px;
}

.fpo-star {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 18px;
  color: #a0a5b1;
  cursor: pointer;
}

.fpo-star.selected {
  color: #f04489;
}

.fpo-loading,
.fpo-empty,
.fpo-error {
  padding: 35px 12px;
  text-align: center;
  font-size: 12px;
  color: #9198a4;
}

.fpo-error {
  color: #d92d45;
}