.lc-account-button {
  position: relative;
  display: inline-block;
}

.lc-account-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  background: white;
  border: 1px solid #27415933;
  border-radius: 2px;
  padding: 10px 8px;
  line-height: 1.2;
  font-size: var(--wp--preset--font-size--14);
  color: var(--wp--preset--color--dark-blue);
  height: 46px;
  box-sizing: border-box;
  margin-left: 8px;
  transition: 0.1s ease-in;
}

.lc-account-toggle:hover {
  background-color: var(--wp--preset--color--dark-blue);
  color: var(--wp--preset--color--white);
}

.lc-account-toggle::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("/wp-content/themes/le-cosinus-2025/assets/pictos/user-circle-orange.svg");
}

.lc-account-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  margin-top: 4px;
  z-index: 200;
  transform: translateX(-50%);
}

.lc-account-menu a {
  display: block;
  padding: 7px 14px;
  text-decoration: none;
  font-weight: 600;
  color: #057cb8;
  text-decoration: underline;
  transition: 0.2s ease-in;
}

.lc-account-menu a:last-child {
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  border-bottom: none;
}

.lc-account-menu a:hover {
  text-decoration: none;
}
