/* Shared customer account navigation — 2026 visual refresh (dark navy / teal) */
.eb-user-sidebar-column {
  --eb-user-navy: #0e1b32;
  --eb-user-navy-soft: #16253f;
  --eb-user-teal: #2dd4a7;
  --eb-user-teal-soft: rgba(45, 212, 167, .14);
  --eb-user-text: #cfd8ea;
  --eb-user-muted: #8996b3;
  --eb-user-line: rgba(255, 255, 255, .08);
}

.eb-user-sidebar-toggle {
  display: none;
}

.eb-user-sidebar {
  position: sticky;
  top: 105px;
  margin-bottom: 24px;
  padding: 24px 13px 16px;
  border: 1px solid var(--eb-user-line);
  border-radius: 22px;
  background: linear-gradient(165deg, var(--eb-user-navy) 0%, var(--eb-user-navy-soft) 100%);
  box-shadow: 0 20px 45px rgba(6, 12, 26, .28);
}

.eb-user-sidebar .sidebar-top-content {
  margin-bottom: 14px;
  padding: 0 10px 18px;
  border-bottom: 1px solid var(--eb-user-line);
}

.eb-user-sidebar .sidebar-top-content .user-img {
  display: inline-flex;
  padding: 4px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(45, 212, 167, .25), rgba(45, 212, 167, .05));
}

.eb-user-sidebar .sidebar-top-content .user-img img {
  width: 64px;
  height: 64px;
  margin: 0;
  border: 3px solid rgba(255, 255, 255, .12);
  border-radius: 17px;
  object-fit: cover;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .25);
}

.eb-user-sidebar .user-name h3 {
  margin: 10px 0 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}

.eb-user-profile-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--eb-user-teal-soft);
  color: var(--eb-user-teal);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

.eb-user-profile-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eb-user-teal);
  box-shadow: 0 0 0 3px rgba(45, 212, 167, .18);
}

/* Profile completion score widget */
.eb-user-score {
  margin: 0 2px 16px;
  padding: 13px 14px;
  border: 1px solid var(--eb-user-line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .03);
}

.eb-user-score__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--eb-user-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.eb-user-score__head strong {
  color: var(--eb-user-teal);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.eb-user-score__bar {
  overflow: hidden;
  height: 6px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.eb-user-score__bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--eb-user-teal), #6be3c4);
  transition: width .3s ease;
}

.eb-user-score__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eb-user-score__item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--eb-user-muted);
  font-size: 10.5px;
  font-weight: 600;
}

.eb-user-score__item svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: #4b5b7d;
}

.eb-user-score__item.is-done {
  color: #d7ddec;
}

.eb-user-score__item.is-done svg {
  color: var(--eb-user-teal);
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.nav-item {
  margin: 4px 0;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.nav-item > a {
  min-height: 43px;
  padding: 7px 10px;
  border-radius: 11px;
  color: var(--eb-user-text);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.3;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.nav-item > a > svg:first-child {
  display: inline-flex;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  margin-right: 10px;
  padding: 7px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  color: #a7b3cc;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.nav-item > a .pull-right-container {
  right: 11px;
  display: inline-flex;
  align-items: center;
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.nav-item > a .pull-right-container svg {
  margin: 0;
  color: #6c7996;
  font-size: 13px;
  transition: transform .2s ease;
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.nav-item.show > a .pull-right-container svg {
  transform: rotate(90deg);
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.nav-item:hover,
.eb-user-sidebar .eb-user-sidebar-nav ul li.nav-item.active {
  border: 0;
  background: var(--eb-user-teal-soft);
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.nav-item:hover > a,
.eb-user-sidebar .eb-user-sidebar-nav ul li.nav-item.active > a {
  color: #fff;
  transform: translateX(1px);
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.nav-item:hover > a > svg:first-child,
.eb-user-sidebar .eb-user-sidebar-nav ul li.nav-item.active > a > svg:first-child {
  background: linear-gradient(145deg, #2dd4a7 0%, #17a884 100%);
  box-shadow: 0 7px 14px rgba(45, 212, 167, .28);
  color: #0e1b32;
}

.eb-user-sidebar .eb-user-sidebar-nav ul.submenu {
  margin: 1px 0 8px 27px;
  padding: 3px 8px 3px 15px;
  border-left: 1px solid var(--eb-user-line);
}

.eb-user-sidebar .eb-user-sidebar-nav ul.submenu li {
  position: relative;
  padding: 0;
}

.eb-user-sidebar .eb-user-sidebar-nav ul.submenu li a {
  min-height: 31px;
  padding: 7px 7px 7px 13px;
  border-radius: 8px;
  color: var(--eb-user-muted) !important;
  font-size: 10.5px;
  font-weight: 550;
  line-height: 1.35;
}

.eb-user-sidebar .eb-user-sidebar-nav ul.submenu li a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4b5b7d;
  transform: translateY(-50%);
}

.eb-user-sidebar .eb-user-sidebar-nav ul.submenu li a:hover {
  background: rgba(255, 255, 255, .04);
  color: #fff !important;
}

.eb-user-sidebar .eb-user-sidebar-nav ul.submenu li a:hover::before {
  background: var(--eb-user-teal);
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.eb-user-logout {
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid var(--eb-user-line);
  border-radius: 0;
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.eb-user-logout:hover {
  background: transparent;
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.eb-user-logout > a {
  color: #e79aa4;
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.eb-user-logout > a > svg:first-child,
.eb-user-sidebar .eb-user-sidebar-nav ul li.eb-user-logout:hover > a > svg:first-child {
  background: rgba(228, 91, 104, .14);
  box-shadow: none;
  color: #ea99a3;
}

.eb-user-sidebar .eb-user-sidebar-nav ul li.eb-user-logout:hover > a {
  background: rgba(228, 91, 104, .1);
  color: #f2b4bc;
}

@media (max-width: 991.98px) {
  .eb-user-sidebar-column {
    margin-bottom: 20px;
  }

  .eb-user-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 68px;
    padding: 10px 12px;
    border: 1px solid rgba(21, 36, 66, .1);
    border-radius: 17px;
    background: linear-gradient(165deg, var(--eb-user-navy) 0%, var(--eb-user-navy-soft) 100%);
    box-shadow: 0 12px 30px rgba(6, 12, 26, .18);
    color: #fff;
    text-align: left;
  }

  .eb-user-sidebar-toggle__identity {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
  }

  .eb-user-sidebar-toggle__identity img {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, .14);
    border-radius: 13px;
    object-fit: cover;
  }

  .eb-user-sidebar-toggle__identity > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .eb-user-sidebar-toggle__identity small {
    margin-bottom: 2px;
    color: #8996b3;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .eb-user-sidebar-toggle__identity strong {
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .eb-user-sidebar-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--eb-user-teal-soft);
    color: var(--eb-user-teal);
  }

  .eb-user-sidebar-toggle__icon svg {
    transition: transform .2s ease;
  }

  .eb-user-sidebar-column.is-open .eb-user-sidebar-toggle__icon svg {
    transform: rotate(180deg);
  }

  .eb-user-sidebar {
    display: none;
    position: static;
    margin: 10px 0 0;
    animation: eb-user-menu-in .2s ease both;
  }

  .eb-user-sidebar-column.is-open .eb-user-sidebar {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .eb-user-sidebar-toggle {
    border-radius: 15px;
  }

  .eb-user-sidebar {
    padding: 20px 10px 13px;
    border-radius: 17px;
  }
}

@keyframes eb-user-menu-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .eb-user-sidebar *,
  .eb-user-sidebar *::before,
  .eb-user-sidebar *::after,
  .eb-user-sidebar-toggle * {
    transition: none !important;
    animation: none !important;
  }
}
