/* Account Dashboard UI */
.account-dashboard__layout { margin-top: 15px; }
.account-dashboard__sidebar,
.account-dashboard__card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
}

.account-dashboard__sidebar { padding: 15px; }
.account-dashboard__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f2f2f2;
  margin-bottom: 14px;
}

.account-dashboard__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: .5px;
  background: #dff3f7;
  color: #2b6d7a;
}

.account-dashboard__name { font-weight: 700; }
.account-dashboard__email { font-size: 12px; color: #777; }

.account-dashboard__menu-title {
  font-weight: 700;
  margin: 12px 0 8px;
  color: #444;
}

.account-dashboard__sidebar .list-group-item {
  border: 0;
  border-radius: 10px;
  margin-bottom: 6px;
}

.account-dashboard__sidebar .list-group-item.active {
  background: #e9f5ff;
  color: #1b5f9e;
  font-weight: 700;
}

.account-dashboard__logout {
  color: #d9534f !important;
  font-weight: 700;
}

.account-dashboard__card { padding: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.account-dashboard__card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f2f2f2;
  margin-bottom: 14px;
}

.account-dashboard__card-title { margin: 0; font-size: 22px; font-weight: 800; }
.account-dashboard__card-subtitle { margin-top: 6px; color: #777; }

.account-dashboard__edit-btn {
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  width: auto !important;
  height: auto !important;
  padding: 10px 14px !important;
}

/* Global icon sizing (used in edit button as well) */
.ad-ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  flex: 0 0 18px;
}
.ad-ico svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: .9;
}

/* Improve readability of Default Address Yes/No in some themes */
.account-address-add .radio-inline,
.account-address-edit .radio-inline,
.account-address-add .radio-inline label,
.account-address-edit .radio-inline label {
  color: #333 !important;
  font-weight: 600;
  opacity: 1 !important;
}

.account-dashboard__info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

@media (max-width: 767px) {
  .account-dashboard__info-grid { grid-template-columns: 1fr; }
}

.account-dashboard__label { font-weight: 700; color: #5a5a5a; font-size: 13px; }
.account-dashboard__value { margin-top: 6px; font-size: 14px; color: #222; }


/* Sidebar icon styling (SVG, no font dependency) */
.account-dashboard__sidebar .list-group-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-dashboard__sidebar .ad-ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.account-dashboard__sidebar .ad-ico svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: .9;
}

/* Sidebar wrapper behaves like OpenCart columns */
.account-dashboard__aside { padding-left: 15px; padding-right: 15px; }
.account-dashboard__aside .account-dashboard__sidebar { margin-bottom: 20px; }

/* Sidebar icon styling (SVG, no font dependency) */
.account-dashboard__sidebar .list-group-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-dashboard__sidebar .ad-ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  flex: 0 0 18px;
}

.account-dashboard__sidebar .ad-ico svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: .9;
}
