/*$box-shadow: (*/
/**/ /*"sm": 0 0 0.375rem 0 rgba(46, 38, 61, 0.18), //*/
/**/ /*"md": 0 0 0.625rem 0 rgba(46, 38, 61, 0.2), //*/
/**/ /*"lg": 0 0 1rem 0 rgba(46, 38, 61, 0.22) //
);*/
/*
1 colore bottone
2 bordo/hover
3 testo
*/
/*$box-shadow: (*/
/**/ /*"sm": 0 0 0.375rem 0 rgba(46, 38, 61, 0.18), //*/
/**/ /*"md": 0 0 0.625rem 0 rgba(46, 38, 61, 0.2), //*/
/**/ /*"lg": 0 0 1rem 0 rgba(46, 38, 61, 0.22) //
);*/
/*
1 colore bottone
2 bordo/hover
3 testo
*/
.AvatarEditor {
  display: grid;
  grid-template-columns: 350px 3fr;
  gap: 1rem;
}
.AvatarEditor #AvatarPreview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  border: 0;
  margin-bottom: 0;
}
.AvatarEditor #AvatarPreview smart-avatar {
  --avatar-size: 240px;
  --avatar-gap: 1.25rem;
  --avatar-font-size: 1.5rem;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08));
  transition: filter 0.3s ease;
}
.AvatarEditor #AvatarPreview smart-avatar:hover {
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.12));
}
.AvatarEditor #AvatarPreview div {
  display: flex;
  gap: 1rem;
  justify-content: center;
  width: 100%;
}
.AvatarEditor #AvatarPreview div button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}
.AvatarEditor #AvatarOptions {
  height: 100%;
  padding: 0;
}
.AvatarEditor #AvatarOptions .multitab {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-light);
  border-radius: 0.5rem;
  border: 1px solid var(--bg-dark);
  overflow: hidden;
}
.AvatarEditor #AvatarOptions .multitab__header {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  background: var(--bg);
  border-bottom: 1px solid var(--bg-dark);
  scrollbar-width: none;
}
.AvatarEditor #AvatarOptions .multitab__header::-webkit-scrollbar {
  display: none;
}
.AvatarEditor #AvatarOptions .multitab__header__tab {
  padding: 1rem 1.25rem;
  color: var(--fg-light);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  flex-shrink: 0;
  flex-grow: 0;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.AvatarEditor #AvatarOptions .multitab__header__tab:hover {
  color: var(--primary);
}
.AvatarEditor #AvatarOptions .multitab__header__tab--active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.AvatarEditor #AvatarOptions .multitab__header__tab--disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: not-allowed;
}
.AvatarEditor #AvatarOptions .multitab__body {
  background: var(--bg-light);
  flex-grow: 1;
  overflow-y: auto;
  max-height: 400px;
}
.AvatarEditor #AvatarOptions .multitab__body__tab {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .AvatarEditor #AvatarOptions .multitab__body__tab {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 640px) {
  .AvatarEditor #AvatarOptions .multitab__body__tab {
    grid-template-columns: repeat(4, 1fr);
  }
}
.AvatarEditor #AvatarOptions .multitab__body__tab__option {
  aspect-ratio: 1;
  border: 2px solid var(--bg-dark);
  border-radius: 1rem;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.AvatarEditor #AvatarOptions .multitab__body__tab__option img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.AvatarEditor #AvatarOptions .multitab__body__tab__option:hover:not(.AvatarEditor #AvatarOptions .multitab__body__tab__option--active) {
  border-color: color-mix(in sRGB, var(--bg-dark) 55%, var(--primary));
  background: var(--bg-light);
  transform: translateY(-2px);
}
.AvatarEditor #AvatarOptions .multitab__body__tab__option:hover:not(.AvatarEditor #AvatarOptions .multitab__body__tab__option--active) img {
  transform: scale(1.06);
}
.AvatarEditor #AvatarOptions .multitab__body__tab__option--active {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 1px var(--primary);
  transform: scale(0.94);
}

.avatar-editor {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 350px 1fr;
  align-items: start;
}
@media (max-width: 768px) {
  .avatar-editor {
    grid-template-columns: 1fr;
  }
}
.avatar-editor__preview {
  position: sticky;
  top: 0.5rem;
  z-index: 10000;
}
.avatar-editor__preview__image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background-color: var(--bg-light);
  border-radius: 0.5rem;
  min-height: 300px;
}
.avatar-editor__preview__image img {
  width: 100%;
  max-width: 250px;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
  transition: all 0.2s ease-out;
}
.avatar-editor__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.avatar-editor .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.avatar-editor .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.avatar-editor .form-control, .avatar-editor .form-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background-color: var(--bg);
  border: 1px solid var(--bg-dark);
  border-radius: 0.25rem;
  color: var(--fg);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.avatar-editor .form-control:focus, .avatar-editor .form-select:focus {
  border-color: var(--primary);
}
.avatar-editor .form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}
.avatar-editor .form-check.form-switch {
  display: flex;
  align-items: center;
}
.avatar-editor .form-check.form-switch .form-check-input {
  appearance: none;
  width: 2.5rem;
  height: 1.25rem;
  background-color: var(--bg-dark);
  border-radius: calc(infinity * 1px);
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s;
}
.avatar-editor .form-check.form-switch .form-check-input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(1.25rem - 4px);
  height: calc(1.25rem - 4px);
  background-color: var(--white);
  border-radius: 50%;
  transition: transform 0.3s;
}
.avatar-editor .form-check.form-switch .form-check-input:checked {
  background-color: var(--primary);
}
.avatar-editor .form-check.form-switch .form-check-input:checked::after {
  transform: translateX(100%);
}

main .headerContainer:has(+ .mainContainer [data-form-key*=ProfileAccount]) .avatar__company {
  width: 100%;
  max-width: unset;
}

/*# sourceMappingURL=Account.css.map */
