.main-content {
  width: 100%;
  padding: 30px;
  height: auto;
}
.navbar-color {
  background: #2ce16b;
}
.edit-profile-content {
  width: 100%;
  padding: 30px;
}
.profile-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.edit-profile-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
}
.avatar-upload {
  position: relative;
  display: inline-block;
}
.avatar-edit {
  display: flex;
  justify-content: center;
}
.avatar-edit input {
  display: none;
}
.avatar-edit label {
  color: #334155;
  background: linear-gradient(135deg, #fbb804 0%, #ffd700 100%);
  box-shadow: 0 4px 6px rgba(251, 184, 4, 0.3);
  transition: all 0.3 ease;
  text-align: center;
  cursor: pointer;
  font-weight: bold;
  margin-top: 1rem;
}
.avatar-edit label:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(251, 184, 4, 0.4);
}
.btn-primary {
  background: linear-gradient(135deg, #fbb804 0%, #ffd700 100%);
  box-shadow: 0 4px 6px rgba(251, 184, 4, 0.3);
  color: #334155;
  transition: all 0.3 ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(251, 184, 4, 0.4);
}
.sidebar {
  background: white;
  min-height: 90vh;
  max-height: auto;
  left: 0;
  top: 0;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

.sidebar button {
  display: flex;
  align-items: center;
  width: 80%;
  padding: 0.5rem;
  border: none;
  background: none;
  font-size: 14px;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 8px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
}
.sidebar button:hover {
  background-color: #eaf8e7;
}
.sidebar button.active {
  background-color: #2eec71;
  color: #ffff;
  font-weight: bold;
  border-radius: 8px;
}
.address-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}
.address-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.default-badge {
  background: #eaf8e7;
  color: #2eec71;
}

.address-card.selected {
  border-color: #2eec71;
  background-color: #f0fdf4;
}
.checkout-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

.product-image {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
}

#address {
  width: 100%;
  height: 100px;
  padding: 5px;
}
#cropModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  width: 450px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  margin: auto;
  margin-top: 10%;
}

.modal-header,
.modal-footer {
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 18px;
  text-align: center;
}

.crop-area {
  width: 100%;
  height: 250px;
  background: #f4f4f4;
  border: 1px dashed #bbb;
  margin-bottom: 10px;
  border-radius: 10px;
}

.close-btn {
  cursor: pointer;
  font-size: 22px;
}

.cancel-btn,
.crop-btn {
  padding: 8px 16px;
  border: none;
  cursor: pointer;
}

.cancel-btn {
  background: #ccc;
  border-radius: 10px;
}

.crop-btn {
  background: linear-gradient(135deg, #fbb804 0%, #ffd700 100%);
  box-shadow: 0 4px 6px rgba(251, 184, 4, 0.3);
  color: #334155;
  font-weight: bold;
  border-radius: 10px;
}

#cropImage {
  margin: auto;
  max-width: 100%;
  max-height: 100%;
}

.offerBtn {
  background: linear-gradient(135deg, #0057ff 20%, #013562 100%);
  color: #fbfbfb;
  transition: background 0.6s ease-in-out; /* slow smooth hover animation */
}

.payBtn {
  border: 1px solid black;
  color: black;
}
.payBtn:hover {
  background: linear-gradient(170deg, #7d55ac 30%, #2d008e 100%);
  color: #fbfbfb;
  transition: background 0.6s ease-in-out; /* slow smooth hover animation */
  border: 1px solid white;
}
.border-black-x-sides {
  border-left: 1px solid black;
  border-right: 1px solid black;
}
#cartItemsDiv {
  overflow-y: scroll;
  &::-webkit-scrollbar {
    display: none;
  }
  border-bottom: 1px solid rgb(208, 208, 208);
  box-shadow: inset 0 -4px 6px rgba(0, 0, 0, 0.1);
}
.product-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.scroll-x-div {
  overflow-x: auto;
  width: 100%;
  display: flex;
  gap: 4;
  &::-webkit-scrollbar {
    display: none;
  }
}
.order-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}
.order-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.status-processing {
  background: #e0f2fe;
  color: #0369a1;
}
.status-shipped {
  background: #f0fdf4;
  color: #166534;
}
.status-delivered {
  background: #ecfdf5;
  color: #065f46;
}
.status-cancelled {
  background: #fee2e2;
  color: #b91c1c;
}
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background-color: #f00;
  opacity: 0;
}
.checkmark-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #eaf8e7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.tracking-step {
  position: relative;
  padding-right: 30px;
  margin-bottom: 20px;
}
.tracking-step:before {
  content: "";
  position: absolute;
  left: 5.7rem;
  top: 8px;
  height: 2px;
  width: 284px;
  background: #e5e7eb;
}
.tracking-step-cancelled {
  position: relative;
  padding-right: 30px;
  margin-bottom: 20px;
}
.tracking-step-cancelled:before {
  content: "";
  position: absolute;
  left: 5.7rem;
  top: 8px;
  height: 2px;
  width: 1100px;
  background: #e5e7eb;
}

.tracking-step-return {
  position: relative;
  padding-right: 30px;
  margin-bottom: 20px;
}
.tracking-step-return:before {
  content: "";
  position: absolute;
  left: 5.7rem;
  top: 8px;
  height: 2px;
  width: 1100px;
  background: #e5e7eb;
}

.tracking-step:last-child:before {
  display: none;
}
.tracking-step.active:before {
  background: #2eec71;
}
.tracking-step-return:last-child:before {
  display: none;
}
.tracking-step-return.active:before {
  background: #2eec71;
}
.tracking-step-cancelled:last-child:before {
  display: none;
}
.tracking-step-cancelled.cancelled:before {
  background: #ff4747;
}
.tracking-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e5e7eb;
  border: 4px solid white;
  margin-left: 5.2rem;
}

.tracking-step.active .tracking-dot {
  background: #2eec71;
}
.tracking-step-return.active .tracking-dot {
  background: #2eec71;
}
.tracking-step-cancelled.cancelled .tracking-dot {
  background: #ff4747;
}
.tracking-date {
  font-size: 12px;
  color: #6b7280;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-box {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 420px;
  max-width: 95%;
  margin: auto;
  margin-top: 10rem;
}

.modal-box h3 {
  margin-bottom: 5px;
}

.subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.modal-box label {
  font-weight: 600;
  margin-top: 10px;
  display: block;
}

.modal-box select,
.modal-box textarea {
  width: 100%;
  margin-top: 6px;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.btn-cancel {
  background: #ddd;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
}

.btn-submit {
  background: #f59e0b;
  color: rgb(55, 55, 55);
  border: none;
  padding: 8px 14px;
  cursor: pointer;
}
.wallet-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.transaction-item {
  transition: all 0.3s;
}
.transaction-item:hover {
  background: #f8f8f8;
}
.wallet-balance {
  background: linear-gradient(180deg, #2eec71 0%, #3c5445 100%);
  color: white;
}
.credit {
  color: #2eec71;
}
.debit {
  color: #ef4444;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.4s infinite both;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0;
    transform: scale(0.8);
  }

  40% {
    opacity: 1;
    transform: scale(1);
  }
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
