/* --- user/account_base.html ---*/
.account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff6db;
  color: #8a6d00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  border: 1px solid #f3deb0;
}

.account-nav .list-group-item {
  background: transparent;
}

.account-link {
  position: relative;
  font-weight: 500;
}

.account-link:hover {
  color: #b8860b;
  background: transparent;
}

.account-link.active {
  color: #8a6d00;
  font-weight: 700;
}

.account-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: #f4b400;
  border-radius: 999px;
}


/* --- user/account.html ---*/
.account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff6db;
  color: #8a6d00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  border: 1px solid #f3deb0;
}

.account-nav .list-group-item {
  background: transparent;
}

.account-nav .list-group-item:hover {
  color: #b8860b;
  background: transparent;
}

.account-action-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.account-action-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
  border-color: #f1cf72;
}

.account-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex: 0 0 42px;
}

.account-arrow {
  font-size: 1.4rem;
  line-height: 1;
  color: #999;
  margin-top: 2px;
}


/* --- user/orders.html --- */
.order-history-page-title {
    text-align: center;
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}
.order-history-container {
    width: 100%; 
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
}
.order-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}
@media (max-width: 992px){ .order-list{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 576px){ .order-list{ grid-template-columns: 1fr;} }
.order-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;

}
.order-header {
    font-size: 16px;
    text-align: left;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.order-items-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.order-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.06);
}
.product-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 20px;
    border: 1px solid #ccc;
}
.item-details {
    flex: 1;
    text-align: left;
}
.item-details p {
    margin: 3px 0;
}
.product-link {
    color: #FECF3F;
    text-decoration: none;
    transition: color 0.2s;
}
.product-link:hover {
    color: black;
    text-decoration: underline;
}
.no-orders {
    text-align: center;
    font-size: 18px;
    color: #777;
    padding: 60px 0;
}
/* --- user/orders.html ---end */

/* --- signin.html, signup.html, verify_otp.html ---*/
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #6c757d;
  font-size: 0.9rem;
  margin: 1rem 0;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #dee2e6;
}
.auth-divider:not(:empty)::before {
  margin-right: .75rem;
}
.auth-divider:not(:empty)::after {
  margin-left: .75rem;
}
.auth-form .form-control {
  min-height: 48px;
  border-radius: 12px;
}

.auth-form .input-group .form-control {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
/* --- signin.html, signup.html, verify_otp.html ---end*/


/* --- signin.html, signup.html, ---*/
.auth-card {
  border-radius: 18px;
}

.password-toggle {
  min-width: 52px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  border-left: 0;
  align-items: center;
  justify-content: center;
}


/* --- signin.html, signup.html, ---end*/


/* --- signup.html, verify_otp.html ---*/
.auth-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}
.auth-subtext {
  color: #6c757d;
}
/* --- signup.html, verify_otp.html ---end*/


/* --- signin.html --- */
.auth-link-muted {
  color: #6c757d;
}
.auth-link-muted:hover {
  color: #007bff;
  text-decoration: underline;
}

.auth-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 4px 0;
  color: #6c757d;
  font-weight: 500;
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: color .18s ease;
}
.auth-btn-secondary:hover,
.auth-btn-secondary:focus {
  color: #007bff;
  text-decoration: underline;
}
.auth-social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
/* --- signin.html ---end*/

/* --- addresses.html --- */
.manage-addresses-container {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.manage-addresses-container h1 {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.address-list {
    list-style-type: none;
    padding: 0;
}

.address-item {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    align-items: center;
}

.address-info {
    font-size: 16px;
    color: #555;
}

.address-info p {
    margin: 5px 0;
    text-align: left;
}

.address-delete-form {
    display: flex;
    justify-content: flex-end;
}

.add-address-btn button:active {
    background-color: #003f7f;
}
/* --- addresses.html ---end */

/* --- payments.html --- */
.manage-payments-container {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.manage-payments-container h1 {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.payment-methods-list {
    list-style-type: none;
    padding: 0;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    align-items: center;
}

.payment-info {
    font-size: 16px;
    color: #555;
}

.payment-info p {
    margin: 5px 0;
}

.add-payment-btn button:active {
    background-color: #003f7f;
}

.delete-form {
    display: flex;
    justify-content: flex-end;
}
/* --- payments.html ---end */

