@import "/_content/Microsoft.FluentUI.AspNetCore.Components/css/reboot.css";
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap");

body {
  --layout-header-height: 50px;
  --body-font: "Plus Jakarta Sans", "Segoe UI Variable", "Segoe UI", sans-serif;
  font-family: var(--body-font);
  font-size: var(--type-ramp-base-font-size);
  line-height: var(--type-ramp-base-line-height);
  margin: 0;
  overflow-x: hidden;
  max-width: 100vw;
  min-height: 100vh;
  background-color: var(--neutral-layer-2);
}

.column-header {
  height: auto !important;
}

.v-center {
  display: flex;
  align-items: center;
}

.overflow {
  contain: none !important;
  overflow: visible !important;
}

.topbar-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.5rem;
}

.topbar-content {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.sidebar-toggle-button {
  margin-left: 0.25rem;
  flex-shrink: 0;
}

.fluent-profile {
  margin-right: 1rem;
}

.navmenu {
  background-color: var(--neutral-layer-1);
  position: relative;
  flex-shrink: 0;
  transition: all 0.25s ease;
  margin-right: 0;
}

.organization-switcher {
  height: var(--layout-header-height);
  min-height: var(--layout-header-height);
  border-bottom: 1px solid var(--header-bd-color);
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
}

.organization-switcher-button {
  width: 100%;
  justify-content: flex-start;
}

.organization-switcher.collapsed {
  justify-content: center;
  padding: 0;
}

.organization-switcher.collapsed .organization-switcher-button {
  width: auto;
  min-width: 0;
}

.navmenu nav {
  transition: all 0.25s ease;
}

.sidebar-mobile-backdrop {
  display: none;
}

.fluent-nav-item .positioning-region {
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.main {
  color: var(--neutral-foreground-rest);
  align-items: stretch !important;
}

.body-content {
  display: flex;
  padding-bottom: 1rem;
  height: unset !important;
  align-self: stretch;
  min-width: 0;
  min-height: calc(
    100dvh - var(--layout-header-height) - var(--layout-header-height) - 0.5rem
  );
}

.main-layout-grid {
  --sidebar-width: 320px;
  display: grid !important;
  grid-template-areas:
    "sidebar header"
    "sidebar main"
    "footer footer";
  gap: 0;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

.main-layout-grid.sidebar-collapsed {
  --sidebar-width: 68px;
}

.main-layout-grid > fluent-header {
  grid-area: header;
  height: var(--layout-header-height);
  min-height: var(--layout-header-height);
  display: flex;
  align-items: center;
}

.main-layout-content {
  padding: 0.5rem 1.5rem;
  align-self: stretch !important;
  width: 100%;
  max-width: 100%;
}

footer {
  grid-area: footer;
  background: var(--neutral-layer-4);
  color: var(--neutral-foreground-rest);
  align-items: center;
  padding: 10px 10px;
}

footer a {
  color: var(--neutral-foreground-rest);
  text-decoration: none;
}

footer a:focus {
  outline: 1px dashed;
  outline-offset: 3px;
}

footer a:hover {
  text-decoration: underline;
}

.alert {
  border: 1px dashed var(--accent-fill-rest);
  padding: 5px;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
  margin: 20px 0;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.blazor-error-boundary {
  background:
    url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=)
      no-repeat 1rem/1.8rem,
    #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::before {
  content: "Um erro ocorreu. ";
}

.app-boot {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at top, rgba(93, 32, 210, 0.16), transparent 34%),
    linear-gradient(180deg, #f7f3ff 0%, #f5f6fb 40%, #eef1f8 100%);
  isolation: isolate;
}

.app-boot__ambient {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(14px);
  opacity: 0.65;
  z-index: -1;
  animation: app-boot-float 8s ease-in-out infinite;
}

.app-boot__ambient--left {
  top: 10%;
  left: -8rem;
  width: clamp(14rem, 24vw, 20rem);
  height: clamp(14rem, 24vw, 20rem);
  background: radial-gradient(
    circle,
    rgba(93, 32, 210, 0.18),
    rgba(93, 32, 210, 0)
  );
}

.app-boot__ambient--right {
  right: -10rem;
  bottom: 8%;
  width: clamp(18rem, 30vw, 26rem);
  height: clamp(18rem, 30vw, 26rem);
  background: radial-gradient(
    circle,
    rgba(123, 92, 255, 0.2),
    rgba(123, 92, 255, 0)
  );
  animation-delay: -3s;
}

.app-boot__panel {
  position: relative;
  width: min(100%, 38rem);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 2rem;
  border: 1px solid rgba(93, 32, 210, 0.14);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96),
      rgba(248, 244, 255, 0.94)
    ),
    rgba(255, 255, 255, 0.88);
  box-shadow:
    0 2rem 5rem rgba(34, 20, 78, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  text-align: center;
}

.app-boot__panel::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(93, 32, 210, 0.08);
  pointer-events: none;
}

.app-boot__logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 15rem);
  aspect-ratio: 1;
  margin: 0 auto 1.75rem;
}

.app-boot__logo-orbit {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(93, 32, 210, 0.16);
  animation: app-boot-spin 14s linear infinite;
}

.app-boot__logo-orbit::before,
.app-boot__logo-orbit::after {
  content: "";
  position: absolute;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b5cff, #5d20d2);
  box-shadow: 0 0 0 0.3rem rgba(93, 32, 210, 0.12);
}

.app-boot__logo-orbit::before {
  top: -0.35rem;
  left: 50%;
  transform: translateX(-50%);
}

.app-boot__logo-orbit::after {
  bottom: 16%;
  right: -0.25rem;
}

.app-boot__logo-orbit--delayed {
  inset: 18%;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 18s;
  opacity: 0.75;
}

.app-boot__logo-shell {
  position: relative;
  width: 58%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 1.75rem;
  background:
    radial-gradient(
      circle at top,
      rgba(255, 255, 255, 0.92),
      rgba(236, 225, 255, 0.88)
    ),
    linear-gradient(135deg, rgba(93, 32, 210, 0.08), rgba(123, 92, 255, 0.12));
  box-shadow:
    0 1.5rem 3rem rgba(93, 32, 210, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: app-boot-pulse 3.6s ease-in-out infinite;
}

.app-boot__logo-shell::before {
  content: "";
  position: absolute;
  inset: -0.8rem;
  border-radius: 2.2rem;
  background: radial-gradient(
    circle,
    rgba(123, 92, 255, 0.24),
    rgba(123, 92, 255, 0)
  );
  z-index: -1;
}

.app-boot__chat-icon {
  width: 74%;
  aspect-ratio: 1;
  display: block;
  filter: drop-shadow(0 0.75rem 1.2rem rgba(93, 32, 210, 0.22));
  animation: app-boot-breathe 3.8s ease-in-out infinite;
}

.app-boot__eyebrow {
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6f45d8;
}

.app-boot__title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  line-height: 1.05;
  color: #22174f;
}

.app-boot__description {
  width: min(100%, 28rem);
  margin: 1rem auto 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #605585;
}

.app-boot__progress {
  margin-top: 2rem;
  padding: 1rem 1rem 0.95rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(93, 32, 210, 0.1);
}

.app-boot__progress-track {
  position: relative;
  overflow: hidden;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(93, 32, 210, 0.12);
}

.app-boot__progress-fill {
  width: max(10%, var(--blazor-load-percentage, 0%));
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5d20d2 0%, #7b5cff 55%, #b78cff 100%);
  box-shadow: 0 0 1.2rem rgba(93, 32, 210, 0.32);
  transition: width 0.18s ease-out;
  position: relative;
}

.app-boot__progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: translateX(-100%);
  animation: app-boot-shimmer 1.8s ease-in-out infinite;
}

.app-boot__progress-meta {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-boot__progress-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #4f3a91;
}

.app-boot__progress-label::after {
  content: var(--blazor-load-percentage-text, "Inicializando");
}

.app-boot__progress-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.app-boot__progress-dots span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(93, 32, 210, 0.3);
  animation: app-boot-dot 1.2s ease-in-out infinite;
}

.app-boot__progress-dots span:nth-child(2) {
  animation-delay: 0.18s;
}

.app-boot__progress-dots span:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes app-boot-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes app-boot-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

@keyframes app-boot-breathe {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.22rem);
  }
}

@keyframes app-boot-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -1rem, 0);
  }
}

@keyframes app-boot-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@keyframes app-boot-dot {
  0%,
  80%,
  100% {
    transform: scale(0.85);
    opacity: 0.35;
  }

  40% {
    transform: scale(1.15);
    opacity: 1;
  }
}

:root[data-theme="dark"] .app-boot,
html[data-theme="dark"] .app-boot,
body[data-theme="dark"] .app-boot,
body[data-theme="system-dark"] .app-boot {
  background:
    radial-gradient(circle at top, rgba(123, 92, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #120f1f 0%, #181425 45%, #100e19 100%);
}

:root[data-theme="dark"] .app-boot__panel,
html[data-theme="dark"] .app-boot__panel,
body[data-theme="dark"] .app-boot__panel,
body[data-theme="system-dark"] .app-boot__panel {
  border-color: rgba(183, 140, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(31, 24, 48, 0.94), rgba(24, 19, 37, 0.9)),
    rgba(23, 18, 34, 0.88);
  box-shadow:
    0 2rem 5rem rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

:root[data-theme="dark"] .app-boot__panel::before,
html[data-theme="dark"] .app-boot__panel::before,
body[data-theme="dark"] .app-boot__panel::before,
body[data-theme="system-dark"] .app-boot__panel::before,
:root[data-theme="dark"] .app-boot__progress,
html[data-theme="dark"] .app-boot__progress,
body[data-theme="dark"] .app-boot__progress,
body[data-theme="system-dark"] .app-boot__progress {
  border-color: rgba(183, 140, 255, 0.12);
}

:root[data-theme="dark"] .app-boot__logo-shell,
html[data-theme="dark"] .app-boot__logo-shell,
body[data-theme="dark"] .app-boot__logo-shell,
body[data-theme="system-dark"] .app-boot__logo-shell {
  background:
    radial-gradient(
      circle at top,
      rgba(76, 53, 124, 0.92),
      rgba(39, 28, 63, 0.92)
    ),
    linear-gradient(135deg, rgba(183, 140, 255, 0.1), rgba(93, 32, 210, 0.18));
}

:root[data-theme="dark"] .app-boot__title,
html[data-theme="dark"] .app-boot__title,
body[data-theme="dark"] .app-boot__title,
body[data-theme="system-dark"] .app-boot__title {
  color: #fbf8ff;
}

:root[data-theme="dark"] .app-boot__description,
html[data-theme="dark"] .app-boot__description,
body[data-theme="dark"] .app-boot__description,
body[data-theme="system-dark"] .app-boot__description {
  color: #c6bcdf;
}

:root[data-theme="dark"] .app-boot__progress,
html[data-theme="dark"] .app-boot__progress,
body[data-theme="dark"] .app-boot__progress,
body[data-theme="system-dark"] .app-boot__progress {
  background: rgba(255, 255, 255, 0.03);
}

:root[data-theme="dark"] .app-boot__progress-track,
html[data-theme="dark"] .app-boot__progress-track,
body[data-theme="dark"] .app-boot__progress-track,
body[data-theme="system-dark"] .app-boot__progress-track {
  background: rgba(183, 140, 255, 0.14);
}

:root[data-theme="dark"] .app-boot__progress-label,
html[data-theme="dark"] .app-boot__progress-label,
body[data-theme="dark"] .app-boot__progress-label,
body[data-theme="system-dark"] .app-boot__progress-label {
  color: #dac7ff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .app-boot,
  html:not([data-theme]) .app-boot {
    background:
      radial-gradient(circle at top, rgba(123, 92, 255, 0.18), transparent 30%),
      linear-gradient(180deg, #120f1f 0%, #181425 45%, #100e19 100%);
  }

  :root:not([data-theme]) .app-boot__panel,
  html:not([data-theme]) .app-boot__panel {
    border-color: rgba(183, 140, 255, 0.16);
    background:
      linear-gradient(135deg, rgba(31, 24, 48, 0.94), rgba(24, 19, 37, 0.9)),
      rgba(23, 18, 34, 0.88);
    box-shadow:
      0 2rem 5rem rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  :root:not([data-theme]) .app-boot__panel::before,
  html:not([data-theme]) .app-boot__panel::before,
  :root:not([data-theme]) .app-boot__progress,
  html:not([data-theme]) .app-boot__progress {
    border-color: rgba(183, 140, 255, 0.12);
  }

  :root:not([data-theme]) .app-boot__logo-shell,
  html:not([data-theme]) .app-boot__logo-shell {
    background:
      radial-gradient(
        circle at top,
        rgba(76, 53, 124, 0.92),
        rgba(39, 28, 63, 0.92)
      ),
      linear-gradient(135deg, rgba(183, 140, 255, 0.1), rgba(93, 32, 210, 0.18));
  }

  :root:not([data-theme]) .app-boot__title,
  html:not([data-theme]) .app-boot__title {
    color: #fbf8ff;
  }

  :root:not([data-theme]) .app-boot__description,
  html:not([data-theme]) .app-boot__description {
    color: #c6bcdf;
  }

  :root:not([data-theme]) .app-boot__progress,
  html:not([data-theme]) .app-boot__progress {
    background: rgba(255, 255, 255, 0.03);
  }

  :root:not([data-theme]) .app-boot__progress-track,
  html:not([data-theme]) .app-boot__progress-track {
    background: rgba(183, 140, 255, 0.14);
  }

  :root:not([data-theme]) .app-boot__progress-label,
  html:not([data-theme]) .app-boot__progress-label {
    color: #dac7ff;
  }
}

@media (max-width: 640px) {
  .app-boot {
    padding: 1.25rem;
  }

  .app-boot__panel {
    padding: 1.6rem;
    border-radius: 1.5rem;
  }

  .app-boot__logo-stage {
    width: min(100%, 12rem);
    margin-bottom: 1.35rem;
  }

  .app-boot__progress-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

code {
  color: #c02d76;
}

.navmenu {
  width: 100%;
}

.navmenu.collapsed .fluent-nav-text {
  display: none !important;
}

.navmenu.collapsed .fluent-nav-item .positioning-region {
  justify-content: center;
}

.navmenu.collapsed .fluent-nav-item .content-region {
  padding-inline: 0 !important;
  justify-content: center;
}

.navmenu.collapsed .fluent-nav-icon {
  margin-inline: 0;
}

.navmenu.collapsed .fluent-nav-group .fluent-nav-menu > .fluent-nav-item {
  display: flex !important;
}

/* Keep active route indicator vertically centered when sidebar is collapsed */
.navmenu.collapsed .fluent-nav-item a.active .positioning-region::before {
  top: 8px;
  bottom: 8px;
  left: 4px;
  height: auto;
  margin: 0;
}

@media (max-width: 600px) {
  .topbar-content fluent-anchor {
    display: none;
  }

  .theme-toggle-button {
    min-width: 40px;
  }

  .main-layout-grid {
    grid-template-areas:
      "header"
      "main"
      "footer";
    grid-template-columns: minmax(0, 1fr);
  }

  .main-layout-grid > fluent-header {
    position: relative;
    z-index: 2;
  }

  .main-layout-grid .navmenu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    height: 100dvh;
    transform: translateX(-105%);
    z-index: 1010;
    box-shadow: none;
  }

  .main-layout-grid:not(.sidebar-collapsed) .navmenu {
    transform: translateX(0);
    box-shadow: var(--elevation-shadow-card-rest);
  }

  .main-layout-grid.sidebar-collapsed .navmenu {
    pointer-events: none;
  }

  .sidebar-mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    border: 0;
    margin: 0;
    padding: 0;
    background: color-mix(in srgb, var(--neutral-layer-4) 42%, transparent);
    cursor: pointer;
  }

  nav.sitenav {
    width: 100%;
    height: 100%;
  }

  #main-menu {
    width: 100% !important;
  }

  #main-menu > div:first-child:is(.expander) {
    display: none;
  }

  .navmenu {
    width: 100%;
  }
}

@media (min-width: 601px) {
  .fluent-profile {
    margin-right: 0;
  }

  .navmenu {
    border-right: 1px solid var(--header-bd-color);
    width: 100%;
  }

  .navmenu.collapsed {
    width: 100%;
  }

  .navmenu.collapsed nav {
    width: 100%;
  }
}

.rcs-image-preview {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  object-fit: cover;
}

.rcs-image-carousel-preview {
  width: 100%;
  height: 100px;
  overflow: hidden;
  object-fit: cover;
}

.horizontal-scroll-right-gradient {
  --scroll-fade-next: var(--fill-color);
}

.horizontal-scroll-both-gradient {
  --scroll-fade-next: var(--fill-color);
  --scroll-fade-previous: var(--fill-color);
}

.text-info {
  font-size: 12px;
  color: var(--input-placeholder-hover);
}

.dashboard-card-bg {
  background: var(--neutral-layer-3);
  background:
    radial-gradient(
      circle at 16% 20%,
      color-mix(in srgb, var(--neutral-layer-1) 16%, transparent) 0%,
      transparent 55%
    ),
    var(--neutral-layer-1);
  border: 1px solid var(--neutral-stroke-layer-rest);
  border-color: color-mix(
    in srgb,
    var(--neutral-layer-1) 16%,
    var(--neutral-stroke-layer-rest)
  );
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25); */
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  padding: 16px;
  border-radius: 16px;
}

.dashboard-card-bg:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  border-color: color-mix(
    in srgb,
    var(--accent-fill-rest) 28%,
    var(--neutral-stroke-layer-rest)
  );
  cursor: pointer;
}

.cmtl-fluent-select-dropdown {
  content-visibility: visible;
  contain: initial;
}

.space-between {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.margin-card {
  margin: 1.5rem 0;
}

.cmtl-table-container {
  display: block;
}

.cmtl-table-container fluent-data-grid {
  min-height: 400px;
  overflow-x: scroll;
}

/* Abaixando o z-index do dialog para evitar sobreposição no toast */
fluent-dialog.fluent-dialog-main {
  z-index: 500 !important;
}

.dashboard-card-bg {
  background: var(--neutral-layer-3);
  background:
    radial-gradient(
      circle at 16% 20%,
      color-mix(in srgb, var(--neutral-layer-1) 16%, transparent) 0%,
      transparent 55%
    ),
    var(--neutral-layer-1);
  border: 1px solid var(--neutral-stroke-layer-rest);
  border-color: color-mix(
    in srgb,
    var(--neutral-layer-1) 16%,
    var(--neutral-stroke-layer-rest)
  );
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); */
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  padding: 16px;
  border-radius: 16px;
}

.dashboard-card-bg:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  border-color: color-mix(
    in srgb,
    var(--accent-fill-rest) 28%,
    var(--neutral-stroke-layer-rest)
  );
  cursor: pointer;
}

.icon-container {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-zinc-700);
}

:root[data-theme="light"] .icon-container,
html[data-theme="light"] .icon-container,
body[data-theme="light"] .icon-container,
body[data-theme="system-light"] .icon-container {
  background: var(--color-zinc-100);
}

@media (max-width: 600px) {
  .main-layout-content {
    max-width: 100vw !important;
  }
}

.cmtl-fluent-select-dropdown {
  content-visibility: visible;
  contain: initial;
}

.cmtl-muted-text {
  color: var(--input-placeholder-hover);
}

.auth-form-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  background: var(--neutral-layer-2);
  border-radius: 0.5rem;
  padding: 2rem;
  width: 100%;
}

.form-data-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.colored-text {
  color: var(--accent-fill-rest);
}

.cmtl-centered-text {
  text-align: center;
}

.icon-container-rounded {
  border-radius: 50%;
}

.cmtl-button-card-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--fill-color);
  border-radius: 0.5rem;
  background: var(--neutral-layer-2);
  cursor: pointer;
  width: 100%;
  transition: background 0.2s ease;
}

.cmtl-button-card-info:hover {
  background: var(--neutral-layer-1);
}

.cmtl-auth-anchor-back {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  text-decoration: none;
}

.cmtl-card-selectable {
  content-visibility: visible;
  contain: initial;
}

.cmtl-badge {
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 9999px;
  white-space: nowrap;
}

.white-text {
  color: white;
}

.cmtl-custom-main-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: -1rem;
}

.cmtl-justify-start {
  justify-content: start;
}

.cmtl-toggle-button-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background-color: var(--neutral-fill-rest);
  width: 100%;
  padding: 0.325rem;
  border-radius: 0.5rem;
}

.cmtl-toggle-button-group button {
  background: transparent;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  color: var(--neutral-foreground-rest);
}

.cmtl-toggle-button-group-active {
  background: var(--neutral-layer-2) !important;
}

.table-margin-bottom {
  margin-bottom: 4rem;
}

footer {
  height: var(--layout-header-height);
  max-height: var(--layout-header-height);
}

.purple-info-card {
  width: 100%;
  background: var(--panel-bg);
  border-radius: 8px;
  padding: 16px;
  margin: 1rem 0 2rem;
  border: 1px solid var(--accent-fill-rest);
}
