/* Header Nav */
.your-orders {
    display: flex;
    flex-direction: column;
    background-color: white;
    /* background: linear-gradient(to right, #ffe082, #fff8e1); */
    padding: 10px 0px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    border-bottom: 1px solid gray;
}
.your-orders h2 {
    font-size: 2.6rem;
    color: #333;
}
.your-orders p {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
}
.orders-header {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}
.rows {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #555;
    cursor: pointer;
    width: 70px;
    padding: 10px;
}
.rows i{
    font-size: 1.2rem;
}
.rows:hover {
    background-color: #ebe8e8;
    border-radius: 10px;
}
.rows.current {
    background-color: #6e6e6e;
    border-radius: 10px;
    color: white;
}
.section {
    display: none;
    text-align: center;
}
.section.current {
    display: block;
}
/* order header */ 
.header-orders {
  background-color: #fff;
  display: flex;
  justify-content: space-evenly;
  padding: 16px;

  flex-wrap: wrap;
}

.status-tab {
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #555;
  background-color: #f1f1f1;
  margin: 5px;
  user-select: none;
  border: 1px solid transparent;
}

.status-tab:hover {
  background-color: #e0e0e0;
  transform: scale(1.05);
}

.status-tab.active {
  background-color: #1565c0;
  color: white;
  border: 1px solid #1565c0;
}


/* Your Order */
.order-box {
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 10px;
    border-bottom: 1px solid #bdbdbd;
}
.order-header {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
  }
  .order-status {
    font-size: 1.4rem;
    font-weight: bold;
  }

  .delivery-info {
    background-color: #f3f4f6;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
 
  }

  .status-icon {
    width: 20px;
    height: 20px;
    background-color: #10b981;
    border-radius: 50%;
  }

  .delivery-text {
    font-size: 14px;
    color: #374151;
  }

  .product-item {
    display: flex;
    gap: 15px;

  }
  .product-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;

  }
  .field-product {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 0px 30px;
    align-items: center;
    justify-content: space-between;
  }

  .product-name {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 4px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: self-start;
  }
  .order-total {
    font-weight: bold;
    font-size: 14px;
  }
  .buynow {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
  }
  .btn-buy-again {
    display: inline-block;
    padding: 8px 16px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
  }

  .btn-buy-again:hover {
    background-color: #2563eb;
  }

  /* Cart */
  .cart-sec {
    background: #fff;
    padding: 20px 0px;
    border-bottom: 1px solid #bdbdbd;
  }
  .cart-header {
    display: flex;

    justify-content: space-between;
    padding: 30px 20px;
    align-items: center;
    gap: 1rem;
  }

  .cart-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center; 
    gap: 2rem;
    justify-content: space-around;

  }
  .butcart {
    display: flex;
    gap: .5rem;
  
  }
  .buy-now-delete {
    padding: 8px 16px;
    height: 40px;
    background-color: #f64e3b;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    text-decoration: none;
  }
  .buy-now-btn {
    padding: 8px 16px;
    height: 40px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    text-decoration: none;
  }
  .checkimg {
    display: flex;
    align-items: center;
  }
  /* Wallet */
  .wallet-sec {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 30px;
  }
  .wallet-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    max-width: 300px;
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }
  .wallet-icon {
    font-size: 2.5rem;
    color: #22c55e;
    margin-bottom: 10px;
  }
  .wallet-icon-gcash {
    color: #3b82f6;
  }
  .wallet-title {
    font-size: 1.25rem;
    font-weight: 600;
  }
  .wallet-balance {
    font-size: 2rem;
    font-weight: bold;
    color: #16a34a;
    margin: 10px 10px;
  }
  .wallet-withdraw {
    display: flex;
    align-items: center;
    margin: 10px 0;
    width: 100%;
  }
  
  .peso-sign {
    font-size: 1.2rem;
    font-weight: bold;
    color: #16a34a;
    background-color: #f3f4f6;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 0.5rem 0 0 0.5rem;
  }
  
  .wallet-withdraw input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-left: none; 
    outline: none;
    border-radius: 0 0.5rem 0.5rem 0;
    font-size: 1rem;
  }
  
  
  .wallet-button {
    background-color: #10b981;
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 10px;
    width: 100%;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
  }
  
  .wallet-button:hover {
    background-color: #059669;
  }
  
  .wallet-button-outline {
    background-color: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
  }
  .wallet-button-outline:hover {
    background-color: #eff6ff;
  }
  /* profile */
  .profile-sec {
    background-color: #fff;
    padding-top: 20px;
  }
  .profile-sec h4 {
    font-size: 1.8rem;
  }
  .profile-sec form {
    padding: 20px 40px;
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .profile-sec form button {
    width: 100%;
    max-width: 100px;
    padding: 10px;
    position: relative;
    margin-left: auto;
    cursor: pointer;
  }
  .profile-sec label {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
  }
  
  .profile-sec input,
  .profile-sec textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
  }
  
  .profile-sec input:focus,
  .profile-sec textarea:focus {
    border-color: #4A90E2;
    outline: none;
  }
  
  .profile-sec textarea {
    resize: vertical;
    height: 100px;
  }
   a {
    text-decoration: none;
    color: #333;
  }
  @media (max-width: 768px) {
    .field-product {
        flex-direction: row;
        justify-content: center;
    }
    .cart-info {
      justify-content: center;
    }
  }