body {
  font-family: Arial, sans-serif;
  background: #f8f6f7;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 20px 40px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 20px;
  font-size: 14px; /* small like Shopee */
  color: #777;
}

/* BACK BUTTON */
.back-btn {
  font-size: 18px; /* 👈 bigger like you want */
  cursor: pointer;
  color: #ff2e63;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: 0.2s;
}

.back-btn:hover {
  opacity: 0.7;
}

/* CURRENT PAGE */
.current {
  font-size: 14px;
  color: #333;
}

.divider {
  color: #aaa;
}

.save-btn {
  background: #d81b60;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}

.save-btn:hover {
  opacity: 0.9;
}

.save-btn {
  background: #ff2e63; /* pink */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}

/* GRAY when saved */
.save-btn.saved {
  background: #ccc;
  color: #333;
}

.section {
  margin-bottom: 30px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 20px;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; 
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none; /
}

#placeholder {
  position: absolute;
  font-size: 14px;
  color: #555;
}

.upload p {
  color: rgb(137, 137, 137);
}

.row input,
.row select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  width: 250px;
}

.row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.row input {
  flex: 0;
}

.password-container {
  display: flex;
  align-items: center;
  width: 250px;
}

.password-container i:hover {
  color: #ff2e63;
}

.info .row {
  border-bottom: 1px solid pink;
  padding: 10px 0;
}

.info span {
  display: inline-block;
  width: 150px;
  color: gray;
}

.tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #d8b7c3;
  padding: 18px 40px;
  font-size: 16px;
  margin-left: 5px;
  width: 1120px;
  margin-top: 90px;
}

/* Each tab */
.tab {
  cursor: pointer;
  position: relative;
}

.orders .tab {
  color: #000;
}

/* ACTIVE TAB */
.tab.active {
  color: #e41572;
  font-weight: 500;
}

.tab.active::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ff2e8c;
}

.order-card {
  border: 1px solid #ff6b9c;
  padding: 20px;
  margin-top: 20px;
}

/* HEADER */
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;

}

.orders {
  width: 100%;
  max-width: 1200px; 
  margin: 20px auto;
  padding: 0 10px; 
  color: #737272;
}

.tag {
  background: #f3dbe2;
  padding: 8px 15px;
  font-size: 14px;
}

.status {
  font-weight: 500;
}

.pending {
  color: #ff2e63;
}

.completed {
  color: rgb(131, 131, 131);
}

/* PRODUCT ROW */
.product-row {
  display: grid;
  grid-template-columns: 60px 1fr 50px 80px;
  align-items: center;
  margin-bottom: 10px;
}

.img {
  width: 50px;
  height: 50px;
  background: #ccc;
}

.details p {
  color: #000; 
  font-weight: 500;
}

.details small {
  color: #666; 
}

/* ALIGN RIGHT */
.qty {
  text-align: center;
}

.price {
  text-align: right;
}

.price-box{
display:flex;
gap:8px;
align-items:center;
}

.old-price{
text-decoration:line-through;
color:#999;
}

.sale-price{
color:#ee4d2d;
font-weight:bold;
font-size:20px;
}


.total-row {
  display: flex;
  align-items: center;
  margin-top: 15px;
  font-size: 18px;
  margin-left: 1010px;
}

.total-row,
.total-row span {
  color: #000 !important;
}

.action-container {
  text-align: right;
  margin-top: 10px;
}

/* REVIEW BUTTON (active) */
.review-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, #ff2e63, #ff6b9c);
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
  box-shadow: 0 3px 8px rgba(255, 46, 99, 0.3);
}

.review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 46, 99, 0.4);
}

/* DONE BUTTON (gray state) */
.reviewed-btn {
  padding: 10px 18px;
  background: #e0e0e0;
  color: #777;
  border: none;
  border-radius: 20px;
  cursor: not-allowed;
  font-weight: 500;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

/* BUTTON CONTAINER */
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 15px;
}

/* BASE BUTTON STYLE */
.modal-actions button {
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
  border: none;
}

/* SUBMIT BUTTON (PRIMARY) */
.modal-actions button:first-child {
  background: linear-gradient(135deg, #ff2e63, #ff6b9c);
  color: white;
  box-shadow: 0 4px 10px rgba(255, 46, 99, 0.3);
}

.modal-actions button:first-child:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 46, 99, 0.4);
}

/* CANCEL BUTTON (SECONDARY) */
.modal-actions button:last-child {
  background: #f1f1f1;
  color: #555;
}

.modal-actions button:last-child:hover {
  background: #e0e0e0;
}

.modal-content {
  background: #fff;
  padding: 20px;
  width: 500px;
  border-radius: 10px;
}

.stars i {
  font-size: 35px;
  color: #ccc;
  cursor: pointer;
  transition: 0.2s;
}

.stars i.active {
  color: #ff2e63;
}

.stars i:hover {
  transform: scale(1.2);
}
textarea {
  width: 100%;
  height: 120px;
  border: 1px solid #ff2e63;
}

.modal-actions {
  text-align: right;
  margin-top: 10px;
}

.upload-boxes {
  display: flex;
  gap: 10px;
}

.upload-slot {
  width: 100px;
  height: 100px;
  border: 2px dashed #ccc;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-slot span {
  font-size: 30px;
  color: #999;
}

.upload-slot input {
  display: none;
}

.upload-slot img.preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  z-index: 2;
}

/* ACTION BUTTON CONTAINER */
.action-container {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

/* CANCEL BUTTON (ACTIVE) */
.cancel-btn {
  background-color: #5a4a50; 
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: 0.3s ease;
}

.cancel-btn:hover {
  background-color: #c62828;
}

/* ⚫ CANCELLED (DISABLED STATE) */
.cancel-btn:disabled {
  background-color: #999;
  cursor: not-allowed;
  opacity: 0.7;
}

/* =========================
   ORDER ACTION BUTTONS
========================= */
.received-btn,
.return-btn {
  padding: 10px 18px;
  border-radius: 25px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;

  transition: all 0.25s ease;
}

/* =========================
   ORDER RECEIVED (PRIMARY)
========================= */
.received-btn {
  background: linear-gradient(135deg, #ff4d6d, #ff758f);
  color: white;

  box-shadow: 0 4px 10px rgba(255, 105, 135, 0.3);
}

.received-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 14px rgba(255, 105, 135, 0.4);
}

/* =========================
   RETURN BUTTON (SOFT)
========================= */
.return-btn {
  background: #fff0f5;
  color: #d6336c;
  border: 1px solid #fbcfe8;
}

.return-btn:hover {
  background: #ffe4ec;
  transform: scale(1.05);
}

/* =========================
   ACTIVE CLICK EFFECT
========================= */
.received-btn:active,
.return-btn:active {
  transform: scale(0.95);
}

/* REVIEW BUTTON */
.review-btn {
  background-color: #000000;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: 0.3s ease;
}

.review-btn:hover {
  background-color: #c72968;
}

/*  REVIEWED (DONE) */
.reviewed-btn {
  background-color: #bbb;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: not-allowed;
  font-size: 13px;
}

/* RETURN MODAL STYLE */
.upload-preview {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.upload-box {
  width: 80px;
  height: 80px;
  border: 2px dashed #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 25px;
  color: #555;
}

#previewContainer img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}

.submit-btn {
  background: #ff2d75;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
}

/* REVIEW MODAL */
.review-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);

  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* RETURN MODAL */
.return-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);

  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* SHARED CONTENT STYLE */
.modal-content {
  background: #fff;
  padding: 20px;
  width: 500px;
  border-radius: 10px;
}

.upload-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

#previewContainer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.preview-item {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #f9f9f9;
}

.preview-item img,
.preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.upload-box {
  width: 80px;
  height: 80px;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px;
  font-size: 24px;
}

.preview-item {
  width: 80px;
  height: 80px;
  position: relative; 
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ddd;
}

/* image/video */
.preview-item img,
.preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*  REMOVE BUTTON */
.remove-btn {
  position: absolute;
  top: 2px;
  right: 4px;
  background: red;
  color: white;
  font-size: 14px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10; 
}

.refund-message {
  margin-top: 5px;
  font-size: 14px;
  color: #333;
}

.return-box {
  display: flex;
  flex-direction: column; 
  align-items: flex-start;
  gap: 5px;
  margin-top: 10px;
}

.return-status {
  color: rgb(255, 1, 1);
  font-weight: bold;
}

.refund-message {
  font-size: 14px;
  color: #333;
}

.refund-images {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.refund-images img,
.refund-images video {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.policy-box {
  background: #fff0f5;
  padding: 20px;
  border-radius: 16px;
  width: 900px;
  max-height: 80vh;
  overflow-y: auto;
}

.policy-text h4 {
  color: #c94a7c;
  margin-top: 10px;
}

.policy-text p,
.policy-text li {
  font-size: 18px;
  color: #555;
}

.policy-btn {
  margin-top: 15px;
  width: 30%;
  padding: 10px;
  border: none;
  border-radius: 20px;
  background: #fbcfe8;
  color: #be185d;
  cursor: pointer;
  transition: 0.2s;
  margin-left: 300px;
}

.policy-btn:hover {
  background: #f9a8d4;
}

.close-btn {
  float: right;
  font-size: 20px;
  cursor: pointer;
}