* {
  font-family: 'Inter', sans-serif;

}

.bg-lighter {
  background-color: #e9e9e96e;
}

.modern-profile-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.modern-profile-card {
  background-color: #ffffff;
  color: #000;
  border-radius: 12px;
  padding: 30px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111;
}

.profile-joined {
  font-size: 0.9rem;
  color: #555;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-group {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.label {
  font-weight: 600;
  color: #555;
}

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

.status-active {
  color: #16a34a; /* green */
}

.status-inactive {
  color: #dc2626; /* red */
}

.back-button {
  display: inline-block;
  margin-top: 25px;
  color: #2563eb;
  text-decoration: none;
  font-weight: bold;
}

.back-button:hover {
  text-decoration: underline;
}


.fixed-product-image {
    width: 580px;
    height: 420px;
    object-fit: cover;
}

.product-card-img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-radius: 4px;
}

/* ----------------------------
   SECTION: BUYER CART PAGE
----------------------------- */

.cart-table-wrapper {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.cart-table th,
.cart-table td {
  vertical-align: middle;
  border: none;
}

.cart-table th:first-child,
.cart-table td:first-child {
  width: 60px;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
  vertical-align: middle;
}

.cart-table td img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cart-table .product-name {
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}

.cart-table .product-meta {
  font-size: 0.75rem;
  color: #555;
}

.cart-table .qty-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.cart-table .qty-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background-color: #f3f4f6;
  border: none;
  font-weight: bold;
  color: #111;
  cursor: pointer;
}

.cart-table .qty-btn:hover {
  background-color: #d1fae5;
  color: #065f46;
}

.cart-table .quantity-input {
  width: 50px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  appearance: textfield;
  -moz-appearance: textfield;
}

.cart-table .quantity-input::-webkit-outer-spin-button,
.cart-table .quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-table .btn-remove {
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  background-color: #fff0f0;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  transition: 0.2s ease-in-out;
}

.cart-table .btn-remove:hover {
  background-color: #fecaca;
  color: #7f1d1d;
  border-color: #ef4444;
}

.cart-table tbody tr {
  transition: background 0.2s ease-in-out;
}

.cart-table tbody tr:hover {
  background-color: #f6fdf9;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding: 16px 20px;
  background-color: #f9fafb;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cart-summary h5 {
  margin: 0;
  font-weight: 600;
  color: #333;
}

.cart-summary .btn-primary {
  padding: 10px 30px;
  font-weight: 600;
  border-radius: 6px;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .cart-table td img {
    width: 45px;
    height: 45px;
  }

  .cart-summary {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .cart-summary .btn {
    align-self: flex-end;
  }
}

/* ----------------------------------------
   SECTION: Disabled Field Styling
---------------------------------------- */
input[disabled],
select[disabled],
textarea[disabled] {
  background-color: #f1f3f5 !important;
  color: #6c757d;
  cursor: not-allowed;
}
