@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap");

/* ===== LAYOUT ===== */

.myaccount-page-wrapper {
  padding: 10px 0 40px;
}

/* ===== SIDEBAR ===== */

.myaccount-tab-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 100px;
}

.nav-account {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.myaccount-tab-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #555;
  text-decoration: none;
  background-color: transparent;
  border: none;
  transition: background 0.15s, color 0.15s;
}

.myaccount-tab-menu a:hover {
  background-color: #f5f5f5;
  color: #111;
  border-radius: 10px;
}

.myaccount-tab-menu a.active {
  background-color: white;
  color: #ef4136;
  font-weight: 600;
  border-radius: 10px;
}

/* ===== TAB CONTENT WRAPPER ===== */

.tab-content {
  width: 100%;
}

.tab-pane {
  display: none;
}

.tab-pane.show.active {
  display: block;
}

/* ===== FORM CARD (animate-on-scroll wrapper) ===== */

.animate-on-scroll {
  background: #fff;
  border: 0.5px solid #e8e8e8;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
}

/* ===== FORM BOX ===== */

.form-box-div {
  width: 100%;
  background-color: #fff;
  padding: 28px 28px 24px;
}

.form-box-div h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #111;
  margin-bottom: 28px;
  position: relative;
}

.form-box-div h2::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background-color: #ef4136;
}

.form-group label,
.form-group > label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #888;
  margin-bottom: 6px;
  line-height: 1.4;
}

.form-box-div input[type="text"],
.form-box-div input[type="email"],
.form-box-div input[type="password"],
.form-box-div input[type="number"] {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 14px;
  border: 0.5px solid #e5e5e5;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  background-color: #f8f8f8;
  color: #111;
  height: 46px;
  transition: border 0.15s, background 0.15s;
  outline: none;
}

.form-box-div input[type="text"]:focus,
.form-box-div input[type="email"]:focus,
.form-box-div input[type="password"]:focus,
.form-box-div input[type="number"]:focus {
  border: 0.5px solid #ef4136;
  background-color: #fff;
  outline: none;
}

.form-box-div input[type="text"]:disabled,
.form-box-div input[type="email"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.form-box-div input::placeholder {
  font-size: 13px;
  color: #bbb;
  line-height: normal;
}

.text-info {
  font-size: 11px;
  color: #aaa !important;
  display: block;
  margin-top: -10px;
  margin-bottom: 14px;
}

/* Submit button */
.btn.btn-dark,
input.btn.btn-dark {
  background-color: #ef4136;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  height: auto;
  line-height: 1.4;
}

.btn.btn-dark:hover,
input.btn.btn-dark:hover {
  background-color: #7fe448;
  color: #fff;
}

.text-end {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

/* ===== ORDER / PAYMENT CARD ===== */

.card-header {
  font-size: 11px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 20px 20px 14px;
  background: transparent;
  border: none;
}

.card-divider {
  height: 0.5px;
  background: #f0f0f0;
  margin: 0;
}

.card-table {
  padding: 4px 0 8px;
}

/* ===== TABLE ===== */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
}

.table thead th {
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: transparent;
  border-bottom: 0.5px solid #f0f0f0;
  border-color: #f0f0f0;
}

.table tbody td {
  padding: 13px 14px;
  vertical-align: middle;
  border-bottom: 0.5px solid #f5f5f5;
  color: #222;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody td a {
  text-decoration: none !important;
  color: #ef4136;
  font-size: 12px;
  font-weight: 500;
}

.table tbody td a:hover {
  text-decoration: underline !important;
}

/* Favorite table image */
.table tbody td img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Status badges */
.text-warning { color: #b07d00 !important; font-weight: 600; }
.text-success  { color: #1a7a36 !important; font-weight: 600; }
.text-danger   { color: #c0392b !important; font-weight: 600; }
.text-primary  { color: #1a5cb0 !important; font-weight: 600; }
.text-dark     { color: #333    !important; font-weight: 600; }
.text-gray     { color: #888    !important; font-weight: 600; }

/* Order/payment card outer wrapper — add white card look */
.tab-pane > div:not(.myaccount-content) {
  background: #fff;
  border: 0.5px solid #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
}

/* ===== MYACCOUNT CONTENT (profile/password inner) ===== */

.myaccount-content {
  padding: 0;
}

/* ===== FORM CHECKBOX ===== */

.form-box-div .form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.form-checkbox label {
  font-size: 13px;
  font-weight: 400;
  color: #555;
}

/* ===== FORM LINKS ===== */

.form-box-div .form-links {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
}

.form-box-div .form-links a {
  font-size: 14px;
  font-weight: 600;
  color: #ef4136 !important;
  text-decoration: underline !important;
}

.form-box-div .form-links a:hover {
  color: #7fe448 !important;
}

/* ===== LOGIN SUBMIT ===== */

.loginSubmit {
  background-color: #ef4136;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  height: 46px;
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
  width: 100%;
  font-family: 'Poppins', sans-serif;
}

.loginSubmit:hover {
  background-color: #7fe448;
}

/* ===== MISC ===== */

.d-none { display: none; }
.mb-30  { margin-bottom: 30px; }
.pb-75  { padding-bottom: 75px; }
.pt-75  { padding-top: 75px; }

.betweenItemsform {
  display: flex;
  justify-content: space-between;
}

.form-forget a {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.agreement_rules {
  font-size: 13px;
  font-weight: 400;
  color: #555;
}

.agreement_rules a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  color: #333;
}

.product-checkbox_baskettt {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  user-select: none;
  background-color: #e0e0e0;
}

.product-checkbox_baskettt:checked::before {
  content: "✔";
  color: #111;
  font-size: 11px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ===== ACCOUNT DETAILS FORM (address tab) ===== */

.account-info input {
  background-color: #f8f8f8;
  border: 0.5px solid #e5e5e5;
  height: 46px;
  color: #333;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  transition: border 0.15s;
  outline: none;
}

.account-info input:focus {
  border-color: #ef4136;
}

.myaccount-content .account-details-form .account-info label {
  font-size: 12px;
  font-weight: 500;
  color: #888;
  margin: 0 0 5px;
  display: block;
}

.myaccount-content .account-details-form .account-info-btn button {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background-color: #ef4136;
  border-radius: 10px;
  padding: 10px 28px;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s;
}

.myaccount-content .account-details-form .account-info-btn button:hover {
  background-color: #7fe448;
}

.myaccount-content .account-details-form fieldset {
  padding: 1.25em 1.5em 2em;
  border: 0.5px solid #e8e8e8;
  border-radius: 10px;
  margin: 24px 0 28px;
}

.myaccount-content .account-details-form fieldset legend {
  font-size: 14px;
  font-weight: 600;
  width: auto;
  float: none;
  padding: 0 6px;
  color: #555;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .myaccount-tab-menu {
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
    gap: 6px;
  }

  .myaccount-tab-menu a {
    font-size: 12px;
    padding: 8px 12px;
  }

  .form-box-div {
    padding: 20px 16px;
  }
}