﻿/*
 * Core UI v1.2.1
 * Tema visual compartilhado.
 * Arquivo gerado; edite os arquivos em src/.
 */
/* source: src/patterns/core-product-shell.css */
/*
 * Barra lateral canÃ´nica dos produtos.
 * O padrÃ£o visual Ã© o menu original do UniMind: links planos, destaque discreto
 * e uma Ãºnica barra lateral para indicar a pÃ¡gina ativa.
 */

@media (min-width: 901px) {
  .app-shell > .sidebar {
    width: var(--core-sidebar-width, var(--sidebar-width, 252px));
    padding: 18px 14px 14px;
  }
}

.app-shell > .sidebar .sidebar__brand {
  min-height: 76px;
  padding: 2px 12px 12px;
}

.app-shell > .sidebar .sidebar__brand-identity {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  appearance: none;
}

.app-shell > .sidebar .sidebar__brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
}

.app-shell > .sidebar .sidebar__brand-name {
  font-size: 1.12rem;
  line-height: 1.05;
}

.app-shell > .sidebar .sidebar__brand-subtitle {
  margin-top: 3px;
  font-size: .72rem;
}

.app-shell > .sidebar .sidebar__nav {
  display: flex;
  width: calc(100% + 28px);
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  margin-inline: -14px;
  padding: 8px 14px 14px;
  overflow-x: hidden;
  box-sizing: border-box;
}

.app-shell > .sidebar .sidebar__section-label {
  margin: 18px 14px 8px;
  padding: 0;
  color: var(--core-sidebar-muted, rgba(220, 238, 235, .7));
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.app-shell > .sidebar .sidebar__section-label:first-child {
  margin-top: 4px;
}

.app-shell > .sidebar .sidebar__section-label.section-spaced {
  margin-top: 22px;
}

.app-shell > .sidebar .sidebar__link {
  position: relative;
  display: flex;
  width: 100%;
  height: 48px;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 8px 14px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
  color: var(--core-sidebar-muted, rgba(220, 238, 235, .72));
  font-family: var(--core-font-sans, Inter, system-ui, sans-serif);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  transform: none;
  appearance: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.app-shell > .sidebar .sidebar__link:hover:not(:disabled) {
  border: 0;
  background: rgba(255, 255, 255, .045);
  box-shadow: none;
  color: var(--core-sidebar-text, #fff);
  transform: translateX(3px);
}

.app-shell > .sidebar .sidebar__link.active,
.app-shell > .sidebar .sidebar__link.is-active {
  border: 0;
  background: rgba(69, 199, 174, .105);
  box-shadow: none;
  color: var(--core-sidebar-text, #fff);
  transform: none;
}

.app-shell > .sidebar .sidebar__link.active::before,
.app-shell > .sidebar .sidebar__link.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: -14px;
  width: 4px;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: var(--core-accent, #45c7ae);
  box-shadow: 0 0 14px rgba(69, 199, 174, .42);
  transform: scaleY(.72);
  transform-origin: center;
  animation: core-sidebar-active-in 220ms ease-out forwards;
}

@keyframes core-sidebar-active-in {
  from { opacity: 0; transform: scaleY(.35); }
  to { opacity: 1; transform: scaleY(.72); }
}

.app-shell > .sidebar .sidebar__link:disabled {
  cursor: default;
  opacity: .48;
}

.app-shell > .sidebar .sidebar__link > span:not(.nav-count):not(.soon-badge) {
  min-width: 0;
}

.app-shell > .sidebar .sidebar__link-icon,
.app-shell > .sidebar .nav-monogram {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  background: rgba(255, 255, 255, .055);
  box-shadow: none;
  color: inherit;
  font-family: var(--core-font-sans, Inter, system-ui, sans-serif);
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  box-sizing: border-box;
}

.app-shell > .sidebar .sidebar__link-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.app-shell > .sidebar .sidebar__link.active .sidebar__link-icon,
.app-shell > .sidebar .sidebar__link.active .nav-monogram,
.app-shell > .sidebar .sidebar__link.is-active .sidebar__link-icon,
.app-shell > .sidebar .sidebar__link.is-active .nav-monogram {
  border-color: rgba(69, 199, 174, .16);
  background: rgba(69, 199, 174, .13);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(69, 199, 174, .08), 0 5px 16px rgba(0, 0, 0, .12);
}

@media (prefers-reduced-motion: reduce) {
  .app-shell > .sidebar .sidebar__link,
  .app-shell > .sidebar .sidebar__link.active::before,
  .app-shell > .sidebar .sidebar__link.is-active::before {
    animation: none;
    transition: none;
  }
}

.app-shell > .sidebar .nav-count,
.app-shell > .sidebar .soon-badge {
  margin-left: auto;
  box-shadow: none;
  font-family: var(--core-font-sans, Inter, system-ui, sans-serif);
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.app-shell > .sidebar .nav-count {
  min-width: 26px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  font-size: .68rem;
  text-align: center;
}

.app-shell > .sidebar .soon-badge {
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .065);
  color: inherit;
  font-size: .58rem;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.app-shell > .sidebar .sidebar__footer {
  flex: 0 0 auto;
  padding: 10px 6px 0;
}

.app-shell > .sidebar .environment-card,
.app-shell > .sidebar .user-card {
  width: 100%;
  min-height: 62px;
  margin: 0 0 6px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  box-shadow: none;
  box-sizing: border-box;
  color: var(--core-sidebar-text, #fff);
  font-family: var(--core-font-sans, Inter, system-ui, sans-serif);
}

.app-shell > .sidebar .environment-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-shell > .sidebar .environment-card > div,
.app-shell > .sidebar .user-card__copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

.app-shell > .sidebar .environment-card strong,
.app-shell > .sidebar .user-card__copy strong {
  font-size: .75rem;
  line-height: 1.25;
}

.app-shell > .sidebar .environment-card small,
.app-shell > .sidebar .user-card__copy small {
  margin-top: 2px;
  color: var(--core-sidebar-muted, rgba(220, 238, 235, .7));
  font-size: .65rem;
  line-height: 1.25;
}

.app-shell > .sidebar .theme-button {
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  color: var(--core-sidebar-muted, rgba(220, 238, 235, .7));
  font-family: var(--core-font-sans, Inter, system-ui, sans-serif);
  font-size: .7rem;
  cursor: pointer;
  appearance: none;
}

.app-shell > .sidebar .theme-button:hover {
  color: var(--core-sidebar-text, #fff);
}

.app-shell > .sidebar .user-menu__item {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  margin: 0;
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--core-sidebar-text, #fff);
  font-family: var(--core-font-sans, Inter, system-ui, sans-serif);
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  box-sizing: border-box;
}

.app-shell > .sidebar .user-menu__item:hover,
.app-shell > .sidebar .user-menu__item:focus-visible {
  background: rgba(69, 199, 174, .1);
  color: #fff;
  outline: none;
}

.app-shell > .sidebar .user-menu__item.is-logout {
  color: #ffaaa6;
}

@media (max-width: 900px) {
  .app-shell > .sidebar {
    padding: 16px 14px;
  }

  .app-shell > .sidebar .sidebar__link.active::before,
  .app-shell > .sidebar .sidebar__link.is-active::before {
    left: -14px;
  }
}


