/* Amar Kashimpur — Customer Account / Login / Register (English UI) */
body.akc-customer-account {
  --akc-teal: #0A7C6E;
  --akc-teal-d: #08695E;
  --akc-amber: #F59E0B;
  --akc-bg: #F4F8F7;
  --akc-card: #FFFFFF;
  --akc-border: #DDE9E6;
  --akc-text: #17312D;
  --akc-muted: #6B7F7A;
  font-family: "Noto Sans Bengali", system-ui, -apple-system, sans-serif !important;
  background: var(--akc-bg);
  color: var(--akc-text);
}
body.akc-customer-account .site-content,
body.akc-customer-account .ast-container,
body.akc-customer-account .entry-content {
  background: transparent;
}
body.akc-customer-account .entry-header,
body.akc-customer-account .page-header,
body.akc-customer-account .woocommerce-products-header {
  display: none !important;
}

/* Auth card */
.akc-acct-auth {
  max-width: 420px;
  margin: 16px auto 32px;
  background: var(--akc-card);
  border: 1px solid var(--akc-border);
  border-radius: 20px;
  padding: 24px 18px 28px;
  box-shadow: 0 8px 28px rgba(23, 49, 45, 0.06);
}
.akc-acct-auth-brand {
  text-align: center;
  margin-bottom: 18px;
}
.akc-acct-logo {
  width: 52px; height: 52px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--akc-teal);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.akc-acct-brand-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--akc-text);
}
.akc-acct-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #E6F4F1;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 18px;
}
.akc-acct-tab {
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  color: var(--akc-muted);
  cursor: pointer;
}
.akc-acct-tab.is-active {
  background: #fff;
  color: var(--akc-teal);
  box-shadow: 0 2px 6px rgba(10,124,110,.12);
}
.akc-acct-panel { display: none; }
.akc-acct-panel.is-active { display: block; }
.akc-acct-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}
.akc-acct-sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--akc-muted);
  text-align: center;
  line-height: 1.4;
}
.akc-acct-field {
  margin: 0 0 14px;
}
.akc-acct-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--akc-text);
}
.akc-acct-field input.input-text,
.akc-acct-form input.input-text,
.akc-acct-form .woocommerce-Input {
  width: 100%;
  border: 1px solid var(--akc-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--akc-text);
  min-height: 48px;
  box-sizing: border-box;
}
.akc-acct-field input:focus {
  outline: 2px solid rgba(10,124,110,.35);
  border-color: var(--akc-teal);
}
.akc-acct-pass-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--akc-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.akc-acct-pass-wrap input {
  border: 0 !important;
  border-radius: 0 !important;
  flex: 1;
  min-width: 0;
}
.akc-acct-toggle-pass {
  border: 0;
  background: #F4F8F7;
  color: var(--akc-teal);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px;
  cursor: pointer;
  white-space: nowrap;
}
.akc-acct-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 13px;
}
.akc-acct-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--akc-text);
}
.akc-acct-link {
  color: var(--akc-teal) !important;
  font-weight: 600;
  text-decoration: none !important;
}
.akc-acct-btn,
.akc-acct-form button.button,
.akc-acct-form .woocommerce-button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--akc-teal) !important;
  color: #fff !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 14px 16px !important;
  min-height: 50px;
  cursor: pointer;
  text-align: center;
  box-shadow: none !important;
}
.akc-acct-btn:hover,
.akc-acct-form button.button:hover {
  background: var(--akc-teal-d) !important;
}
.akc-acct-hint {
  font-size: 13px;
  color: var(--akc-muted);
  margin: 0 0 14px;
}

/* Hide default WC u-column layouts when using our form */
body.akc-customer-account .u-columns.col2-set,
body.akc-customer-account #customer_login.col2-set {
  display: block;
}
body.akc-customer-account .woocommerce-form-login,
body.akc-customer-account .woocommerce-form-register {
  margin: 0;
}

/* Logged-in shell */
.akc-acct-shell {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 0 12px;
}
.akc-acct-nav ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.akc-acct-nav ul::-webkit-scrollbar { display: none; }
.akc-acct-nav li {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.akc-acct-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #E6F4F1;
  color: var(--akc-muted) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.akc-acct-nav .is-active a,
.akc-acct-nav li.is-active a {
  background: var(--akc-teal);
  color: #fff !important;
}
.akc-acct-content {
  background: transparent;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
}

/* Dashboard cards */
.akc-acct-dash { margin-top: 4px; }
.akc-acct-hello {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--akc-card);
  border: 1px solid var(--akc-border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
}
.akc-acct-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--akc-teal);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.akc-acct-hello-hi { font-weight: 700; font-size: 17px; }
.akc-acct-hello-sub { font-size: 13px; color: var(--akc-muted); }
.akc-acct-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.akc-acct-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--akc-card);
  border: 1px solid var(--akc-border);
  border-radius: 16px;
  padding: 14px 14px;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 2px 8px rgba(23,49,45,.04);
}
.akc-acct-card-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #E6F4F1;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.akc-acct-card-body { flex: 1; min-width: 0; }
.akc-acct-card-title { display: block; font-weight: 700; font-size: 15px; }
.akc-acct-card-desc { display: block; font-size: 12px; color: var(--akc-muted); margin-top: 2px; }
.akc-acct-card-chev { color: var(--akc-muted); font-size: 16px; }
.akc-acct-card-logout .akc-acct-card-title { color: #B42318; }

/* Orders table → card-like */
body.akc-customer-account .woocommerce-orders-table {
  border: 0 !important;
  background: transparent;
}
body.akc-customer-account .woocommerce-orders-table thead { display: none; }
body.akc-customer-account .woocommerce-orders-table,
body.akc-customer-account .woocommerce-orders-table tbody,
body.akc-customer-account .woocommerce-orders-table tr,
body.akc-customer-account .woocommerce-orders-table td {
  display: block;
  width: 100%;
}
body.akc-customer-account .woocommerce-orders-table tr {
  background: var(--akc-card);
  border: 1px solid var(--akc-border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(23,49,45,.04);
}
body.akc-customer-account .woocommerce-orders-table td {
  border: 0 !important;
  padding: 4px 0 !important;
  font-size: 13px;
}
body.akc-customer-account .woocommerce-orders-table .woocommerce-button {
  border-radius: 10px !important;
  background: var(--akc-teal) !important;
  color: #fff !important;
  font-size: 12px !important;
  padding: 8px 12px !important;
}

/* Messages */
body.akc-customer-account .woocommerce-error,
body.akc-customer-account .woocommerce-message,
body.akc-customer-account .woocommerce-info {
  border-radius: 12px;
  border: 0;
  padding: 12px 14px;
  font-size: 14px;
}

/* Edit account forms */
body.akc-customer-account .woocommerce-EditAccountForm .form-row,
body.akc-customer-account .woocommerce-address-fields .form-row {
  margin-bottom: 12px;
}
body.akc-customer-account .woocommerce-EditAccountForm input.input-text,
body.akc-customer-account .woocommerce-address-fields input.input-text,
body.akc-customer-account .woocommerce-address-fields select {
  border-radius: 12px;
  border: 1px solid var(--akc-border);
  min-height: 46px;
  padding: 10px 12px;
  font-family: inherit;
}
body.akc-customer-account .woocommerce-EditAccountForm .button,
body.akc-customer-account .woocommerce-address-fields .button {
  background: var(--akc-teal) !important;
  color: #fff !important;
  border-radius: 12px !important;
  min-height: 48px;
  font-weight: 700 !important;
}

@media (min-width: 768px) {
  .akc-acct-auth { margin-top: 32px; padding: 32px 28px; }
  .akc-acct-shell { padding: 12px 16px 40px; }
}


/* Mobile: hide duplicate WooCommerce account navigation (global mnav covers Orders/Account) */
@media (max-width: 767px) {
  body.akc-customer-account .akc-acct-nav,
  body.akc-customer-account .woocommerce-MyAccount-navigation {
    display: none !important;
  }
  body.akc-customer-account .akc-acct-shell {
    padding-bottom: 8px;
  }
  body.akc-customer-account.akc-has-mnav .akc-acct-shell {
    /* Rely on global --ak-mnav-total-height body padding — avoid double pad */
    padding-bottom: 12px;
  }
  body.akc-customer-account .akc-acct-cards {
    padding-bottom: 8px;
  }
}

/* Temporary password / WooCommerce info notices — compact app alert */
body.akc-customer-account .woocommerce-info,
body.akc-customer-account .woocommerce-message.woocommerce-info {
  display: block;
  background: #FFF8EB !important;
  border: 1px solid #FDE68A !important;
  border-left: 4px solid #F59E0B !important;
  border-radius: 14px !important;
  padding: 14px 14px 14px 14px !important;
  color: #17312D !important;
  font-size: 13px !important;
  line-height: 1.45;
  margin: 0 0 14px !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
}
body.akc-customer-account .woocommerce-info::before {
  display: none !important;
}
body.akc-customer-account .woocommerce-info a.button,
body.akc-customer-account .woocommerce-info .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 10px !important;
  width: 100%;
  max-width: 100%;
  background: #0A7C6E !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  min-height: 42px;
  padding: 10px 14px !important;
  text-decoration: none !important;
}
