:root {
  --green-950: #071914;
  --green-900: #10251f;
  --green-800: #173a30;
  --green-600: #168765;
  --green-500: #20aa7e;
  --green-100: #dff7ee;
  --surface: #ffffff;
  --background: #f4f7f6;
  --border: #e3eae7;
  --text: #17231f;
  --muted: #6d7c77;
  --danger: #c64040;
  --shadow: 0 18px 50px rgba(15, 45, 35, .10);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.login-page {
  background: var(--background);
}

.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, .9fr) 1.1fr;
}

.login-brand {
  padding: 54px;
  display: flex;
  flex-direction: column;
  color: white;
  background:
    radial-gradient(circle at 20% 20%, rgba(32,170,126,.25), transparent 30%),
    linear-gradient(145deg, var(--green-950), var(--green-800));
}

.brand-symbol {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  font-size: 28px;
  font-weight: 900;
  color: var(--green-950);
  background: #65e0b4;
  box-shadow: 0 12px 30px rgba(32,170,126,.25);
}

.brand-symbol.small {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 22px;
}

.brand-name {
  margin: -39px 0 0 68px;
  font-size: 20px;
  font-weight: 800;
}

.brand-message {
  max-width: 590px;
  margin: auto 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #8ce8c7;
}

.eyebrow.green {
  color: var(--green-600);
}

.brand-message h1 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.brand-message p {
  max-width: 520px;
  margin-top: 24px;
  color: #bfd2cb;
  font-size: 18px;
  line-height: 1.7;
}

.login-brand footer {
  color: #91aaa1;
  font-size: 13px;
}

.login-area {
  padding: 40px;
  display: grid;
  place-items: center;
}

.login-card {
  width: min(100%, 440px);
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.login-card h2,
#passwordDialog h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -.03em;
}

.muted {
  color: var(--muted);
  line-height: 1.55;
}

.login-card label,
#passwordDialog label {
  display: block;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 700;
}

.login-card input,
#passwordDialog input {
  width: 100%;
  height: 50px;
  margin-top: 8px;
  padding: 0 15px;
  border: 1px solid #d6e0dc;
  border-radius: 12px;
  outline: none;
  background: white;
}

.login-card input:focus,
#passwordDialog input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(32,170,126,.12);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 84px;
}

.password-field button {
  position: absolute;
  top: 22px;
  right: 12px;
  border: 0;
  color: var(--green-600);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.primary-button {
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--green-600);
  font-weight: 800;
  transition: .2s;
}

.primary-button:hover {
  background: #117554;
  transform: translateY(-1px);
}

.primary-button:disabled {
  cursor: wait;
  opacity: .65;
}

.form-error {
  min-height: 20px;
  margin-top: 14px;
  color: var(--danger);
  font-size: 13px;
}

.security-note {
  display: block;
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
}

.mobile-brand {
  display: none;
}

.app-page {
  min-height: 100vh;
  background: var(--background);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 270px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  color: white;
  background: var(--green-900);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 8px 24px;
}

.sidebar-brand div:last-child {
  display: grid;
  gap: 3px;
}

.sidebar-brand strong {
  font-size: 18px;
}

.sidebar-brand span {
  color: #91aaa1;
  font-size: 11px;
}

.sidebar nav {
  display: grid;
  gap: 4px;
  overflow-y: auto;
}

.nav-item {
  width: 100%;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 11px;
  color: #bfd0ca;
  background: transparent;
  text-align: left;
  font-size: 14px;
}

.nav-item:hover,
.nav-item.active {
  color: white;
  background: rgba(101,224,180,.13);
}

.nav-item span {
  width: 22px;
  color: #70d6b1;
  text-align: center;
  font-size: 17px;
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 14px;
}

.sidebar-version {
  padding: 14px;
  color: #718e84;
  font-size: 11px;
}

.app-main {
  min-height: 100vh;
  margin-left: 270px;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: 88px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--border);
  background: white;
}

.topbar h1 {
  margin: 0;
  font-size: 22px;
}

.topbar p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  font-size: 25px;
}

.user-area {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #0c4938;
  background: var(--green-100);
  font-weight: 900;
}

.user-details {
  display: grid;
  gap: 3px;
}

.user-details strong {
  font-size: 13px;
}

.user-details span {
  color: var(--muted);
  font-size: 11px;
}

.logout-button {
  margin-left: 10px;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  background: white;
}

.content {
  width: min(100%, 1450px);
  margin: 0 auto;
  padding: 32px;
}

.welcome-card {
  min-height: 210px;
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 24px;
  color: white;
  background:
    radial-gradient(circle at 85% 30%, rgba(101,224,180,.35), transparent 28%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
  box-shadow: var(--shadow);
}

.welcome-card h2 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -.04em;
}

.welcome-card p {
  max-width: 650px;
  margin: 14px 0 0;
  color: #c2d6ce;
  line-height: 1.6;
}

.welcome-mark {
  padding-right: 30px;
  color: rgba(255,255,255,.09);
  font-size: 130px;
  font-weight: 900;
}

.section-heading {
  margin: 34px 0 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: 20px;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.summary-card {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: white;
}

.summary-card div {
  display: grid;
  gap: 3px;
}

.summary-card strong {
  font-size: 26px;
}

.summary-card div span {
  color: var(--muted);
  font-size: 12px;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 20px;
}

.green-bg {
  color: #087553;
  background: #dcf8ee;
}

.blue-bg {
  color: #3569b2;
  background: #e4efff;
}

.orange-bg {
  color: #b26621;
  background: #fff0df;
}

.purple-bg {
  color: #7451ae;
  background: #eee6ff;
}

.empty-dashboard {
  margin-top: 18px;
  padding: 42px;
  border: 1px dashed #cddbd5;
  border-radius: 18px;
  text-align: center;
  background: rgba(255,255,255,.55);
}

.empty-illustration {
  width: 62px;
  height: 62px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--green-600);
  background: var(--green-100);
  font-size: 28px;
}

.empty-dashboard h3 {
  margin: 17px 0 8px;
}

.empty-dashboard p {
  max-width: 600px;
  margin: auto;
  color: var(--muted);
  line-height: 1.6;
}

.app-footer {
  margin-top: auto;
  padding: 20px 32px;
  color: #87958f;
  text-align: center;
  font-size: 11px;
}

dialog {
  width: min(92%, 480px);
  padding: 34px;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 30px 100px rgba(0,0,0,.3);
}

dialog::backdrop {
  background: rgba(4,20,15,.72);
}

dialog form {
  margin: 0;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  padding: 14px 18px;
  border-radius: 12px;
  color: white;
  background: var(--green-900);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: .2s;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-brand {
    display: none;
  }

  .mobile-brand {
    margin-bottom: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: .25s;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .app-main {
    margin-left: 0;
  }

  .menu-button {
    display: block;
  }
}

@media (max-width: 650px) {
  .login-area,
  .content {
    padding: 18px;
  }

  .login-card {
    padding: 28px 22px;
  }

  .topbar {
    padding: 14px 18px;
  }

  .user-details,
  .logout-button {
    display: none;
  }

  .welcome-card {
    min-height: 190px;
    padding: 26px;
  }

  .welcome-mark {
    display: none;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }
}

/* FLUXIA_BRAND_PALETTE_V1
   Marinho:  #0a0e1a
   Superfície: #1b2338
   Turquesa: #2fe6c8
   Azul:     #4c7dff
   Roxo:     #9b5cff
   Rosa:     #ff5fa2
*/

:root {
  --green-950: #0a0e1a;
  --green-900: #111827;
  --green-800: #1b2338;
  --green-600: #6f60f4;
  --green-500: #4c7dff;
  --green-100: #e9e7ff;
  --surface: #ffffff;
  --background: #f4f6fb;
  --border: #e1e5ef;
  --text: #0a0e1a;
  --muted: #6f7891;
  --shadow: 0 18px 50px rgba(10, 14, 26, .12);
}

.login-brand {
  background:
    radial-gradient(circle at 15% 18%,
      rgba(47, 230, 200, .22), transparent 30%),
    radial-gradient(circle at 85% 80%,
      rgba(155, 92, 255, .22), transparent 35%),
    linear-gradient(145deg, #0a0e1a, #1b2338);
}

.brand-symbol {
  color: #ffffff;
  background:
    linear-gradient(135deg, #2fe6c8 0%, #4c7dff 52%, #9b5cff 100%);
  box-shadow: 0 14px 34px rgba(76, 125, 255, .28);
}

.eyebrow,
.eyebrow.green {
  color: #2fe6c8;
}

.login-card .eyebrow.green,
#passwordDialog .eyebrow.green {
  color: #6853df;
}

.primary-button {
  background:
    linear-gradient(100deg, #4c7dff 0%, #795ff2 52%, #9b5cff 100%);
  box-shadow: 0 12px 25px rgba(76, 125, 255, .22);
}

.primary-button:hover {
  background:
    linear-gradient(100deg, #3d6ee9 0%, #684cdc 52%, #8545e5 100%);
}

.password-field button {
  color: #6853df;
}

.login-card input:focus,
#passwordDialog input:focus {
  border-color: #7b61f2;
  box-shadow: 0 0 0 4px rgba(123, 97, 242, .12);
}

.sidebar {
  background:
    radial-gradient(circle at 10% 5%,
      rgba(47, 230, 200, .13), transparent 26%),
    linear-gradient(180deg, #0a0e1a, #151c2f);
}

.nav-item span {
  color: #2fe6c8;
}

.nav-item:hover,
.nav-item.active {
  color: #ffffff;
  background:
    linear-gradient(90deg,
      rgba(76, 125, 255, .20),
      rgba(155, 92, 255, .13));
}

.user-avatar {
  color: #5940d2;
  background:
    linear-gradient(135deg,
      rgba(47, 230, 200, .25),
      rgba(155, 92, 255, .20));
}

.welcome-card {
  background:
    radial-gradient(circle at 85% 25%,
      rgba(47, 230, 200, .22), transparent 28%),
    radial-gradient(circle at 70% 100%,
      rgba(255, 95, 162, .18), transparent 28%),
    linear-gradient(135deg, #0a0e1a, #1b2338 68%, #34245e);
}

.empty-illustration {
  color: #7253e6;
  background:
    linear-gradient(135deg,
      rgba(47, 230, 200, .20),
      rgba(155, 92, 255, .20));
}

.login-brand footer a,
.app-footer a {
  color: #2fe6c8;
  font-weight: 800;
  text-decoration: none;
}

.login-brand footer a:hover,
.app-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.toast {
  background:
    linear-gradient(100deg, #1b2338, #4a347c);
}

/* FLUXIA_RH_DASHBOARD_PROTOTYPE_V1 */

.dashboard-page {
  --sidebar-width: 268px;
  --sidebar-collapsed-width: 82px;
  background: #f5f7fc;
}

.prototype-sidebar {
  width: var(--sidebar-width);
  padding: 0;
  overflow: hidden;
  transition: width .25s ease, transform .25s ease;
  background:
    radial-gradient(circle at 10% 4%,
      rgba(47, 230, 200, .12), transparent 25%),
    linear-gradient(180deg, #0a0e1a 0%, #11182b 100%);
}

.sidebar-header {
  min-height: 76px;
  padding: 15px 12px 13px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(234, 238, 247, .08);
}

.sidebar-header .sidebar-brand {
  min-width: 0;
  flex: 1;
  padding: 0;
}

.brand-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 17px;
}

.brand-copy span {
  color: #78839e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.sidebar-toggle {
  width: 30px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid rgba(47, 230, 200, .26);
  border-radius: 9px;
  color: #2fe6c8;
  background: rgba(47, 230, 200, .08);
  font-size: 24px;
  line-height: 1;
}

.main-navigation {
  min-height: 0;
  padding: 12px 10px;
  display: grid;
  align-content: start;
  gap: 3px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(234,238,247,.28) transparent;
}

.prototype-sidebar .nav-item {
  min-height: 40px;
  padding: 9px 12px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.prototype-sidebar .nav-icon {
  width: 24px;
  flex: 0 0 24px;
}

.nav-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-alert-dot {
  width: 9px !important;
  height: 9px;
  margin-left: auto;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #ff5fa2;
}

.assistant-card {
  margin: 8px 10px;
  padding: 13px;
  flex: 0 0 auto;
  border: 1px solid rgba(155, 92, 255, .20);
  border-radius: 14px;
  background:
    linear-gradient(145deg,
      rgba(76, 125, 255, .12),
      rgba(155, 92, 255, .13));
}

.assistant-title {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.assistant-spark {
  color: #ff5fa2;
}

.assistant-title div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.assistant-title strong {
  color: #ffffff;
  font-size: 12px;
  white-space: nowrap;
}

.assistant-title small {
  color: #8a93ab;
  font-size: 9px;
  white-space: nowrap;
}

.assistant-card button {
  width: 100%;
  min-height: 32px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  color: #20263b;
  background: #ffffff;
  font-size: 10px;
  font-weight: 800;
}

.assistant-short-label {
  display: none;
}

.sidebar-fixed-footer {
  margin-top: 0;
  flex: 0 0 auto;
  border-top: 1px solid rgba(234, 238, 247, .08);
  background: rgba(5, 9, 20, .34);
}

.sidebar-user {
  min-height: 64px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-user .user-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
}

.sidebar-user .user-details {
  min-width: 0;
  flex: 1;
}

.sidebar-user .user-details strong,
.sidebar-user .user-details span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-user .user-details strong {
  color: #ffffff;
}

.sidebar-user .logout-button {
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  border-color: rgba(234, 238, 247, .12);
  color: #aeb7cd;
  background: rgba(234, 238, 247, .05);
}

.sidebar-user .logout-button:hover {
  color: #ff8bbb;
  border-color: rgba(255, 95, 162, .30);
}

.developer-credit {
  min-height: 32px;
  padding: 8px 12px;
  border-top: 1px solid rgba(234, 238, 247, .06);
  color: #6f7891;
  text-align: center;
  font-size: 9px;
  white-space: nowrap;
}

.developer-credit a {
  color: #2fe6c8;
  font-weight: 800;
  text-decoration: none;
}

.credit-short {
  display: none;
}

.prototype-main {
  margin-left: var(--sidebar-width);
  transition: margin-left .25s ease;
}

.prototype-topbar {
  min-height: 76px;
  padding: 13px 24px;
}

.greeting {
  min-width: 0;
}

.greeting > span {
  display: block;
  margin-bottom: 5px;
  color: #8a93ab;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.greeting h1 {
  font-size: 23px;
  font-weight: 500;
}

.mobile-menu-button {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #5b48d4;
  background: white;
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.global-search {
  width: clamp(190px, 22vw, 310px);
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e1e5ef;
  border-radius: 10px;
  background: white;
}

.global-search span {
  color: #8a93ab;
}

.global-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #1b2338;
  background: transparent;
  font-size: 12px;
}

.notification-button {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid #e1e5ef;
  border-radius: 10px;
  color: #59637c;
  background: white;
}

.notification-button span {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #ff5fa2;
  font-size: 8px;
  font-weight: 800;
}

.new-communication-button {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  color: white;
  background: linear-gradient(100deg, #d73ae7, #8b5cff, #2fc7d5);
  box-shadow: 0 9px 22px rgba(139, 92, 255, .22);
  font-size: 11px;
  font-weight: 800;
}

.prototype-content {
  padding: 18px 24px 28px;
}

.engagement-hero {
  min-height: 202px;
  padding: 30px 54px 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 19px;
  color: white;
  background:
    radial-gradient(circle at 83% 25%,
      rgba(47, 230, 200, .12), transparent 28%),
    linear-gradient(135deg, #0d1429, #111b38);
  box-shadow: 0 14px 35px rgba(16, 24, 48, .12);
}

.hero-copy {
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #276e69;
  background: #d8fff8;
  font-size: 8px;
  font-weight: 900;
}

.hero-copy h2 {
  margin: 20px 0 9px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.035em;
}

.hero-copy p {
  margin: 0;
  color: #b6c0d5;
  font-size: 12px;
  line-height: 1.65;
}

.hero-copy button {
  margin-top: 17px;
  padding: 0;
  border: 0;
  color: #2fe6c8;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}

.engagement-ring {
  --engagement: 0deg;
  width: 112px;
  height: 112px;
  padding: 3px;
  display: grid;
  place-items: center;
  flex: 0 0 112px;
  border-radius: 50%;
  background:
    conic-gradient(#2fe6c8 0deg,
      #4c7dff var(--engagement),
      #ff5fa2 var(--engagement),
      rgba(255,255,255,.12) var(--engagement));
}

.engagement-ring::before {
  content: "";
  grid-area: 1 / 1;
  width: 103px;
  height: 103px;
  border-radius: 50%;
  background: #111a33;
}

.engagement-ring div {
  z-index: 1;
  grid-area: 1 / 1;
  display: grid;
  text-align: center;
}

.engagement-ring strong {
  font-size: 25px;
}

.engagement-ring span {
  color: #8d98b1;
  font-size: 7px;
}

.prototype-summary {
  margin-top: 16px;
}

.prototype-summary .summary-card {
  min-height: 94px;
  padding: 17px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(27, 35, 56, .04);
}

.prototype-summary .summary-card strong {
  font-size: 22px;
}

.prototype-summary .summary-card div span {
  color: #273047;
  font-size: 11px;
  font-weight: 800;
}

.prototype-summary .summary-card small {
  color: #8a93ab;
  font-size: 8px;
}

.pink-icon {
  color: #df38c2;
  background: #fde5f8;
}

.cyan-icon {
  color: #0db4b4;
  background: #ddf9f8;
}

.purple-icon {
  color: #7757df;
  background: #eee8ff;
}

.orange-icon {
  color: #db8a26;
  background: #fff1df;
}

.dashboard-lower-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
  gap: 16px;
}

.dashboard-panel {
  min-height: 320px;
  padding: 22px;
  border: 1px solid #e1e5ef;
  border-radius: 15px;
  background: white;
  box-shadow: 0 8px 24px rgba(27, 35, 56, .04);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 14px;
}

.panel-heading p {
  margin: 5px 0 0;
  color: #8a93ab;
  font-size: 9px;
}

.panel-heading button {
  border: 0;
  color: #6550dc;
  background: transparent;
  font-size: 9px;
  font-weight: 800;
}

.team-location-content {
  min-height: 235px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(35px, 7vw, 90px);
}

.location-chart {
  width: 150px;
  height: 150px;
  padding: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(
      #ff43c4 0 20%,
      #9b5cff 20% 42%,
      #4c7dff 42% 64%,
      #18cbd0 64% 86%,
      #ffc247 86% 100%
    );
}

.chart-hole {
  width: 102px;
  height: 102px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: white;
  text-align: center;
}

.chart-hole strong {
  font-size: 26px;
}

.chart-hole span {
  color: #8a93ab;
  font-size: 8px;
}

.location-legend {
  width: min(100%, 280px);
  display: grid;
  gap: 14px;
}

.location-legend div {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 10px;
}

.location-legend strong {
  font-size: 10px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.pink-dot {
  background: #ff43c4;
}

.purple-dot {
  background: #9b5cff;
}

.blue-dot {
  background: #4c7dff;
}

.cyan-dot {
  background: #18cbd0;
}

.yellow-dot {
  background: #ffc247;
}

.attention-list {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.attention-list button {
  min-height: 54px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 32px 1fr 12px;
  align-items: center;
  gap: 10px;
  border: 1px solid #edf0f6;
  border-radius: 10px;
  background: #ffffff;
  text-align: left;
}

.attention-list button div {
  display: grid;
  gap: 4px;
}

.attention-list button strong {
  color: #293149;
  font-size: 9px;
}

.attention-list button small {
  color: #8a93ab;
  font-size: 8px;
}

.attention-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
}

.pink-attention {
  color: #df3c7f;
  background: #ffe5ef;
}

.orange-attention {
  color: #d7801d;
  background: #fff0db;
}

.blue-attention {
  color: #456dde;
  background: #e7edff;
}

.view-pendencies {
  width: 100%;
  height: 35px;
  margin-top: 12px;
  border: 1px solid #e1e5ef;
  border-radius: 9px;
  color: #6951df;
  background: white;
  font-size: 9px;
  font-weight: 800;
}

.sidebar-overlay {
  display: none;
}

/* Menu recolhido no computador */

.dashboard-page.sidebar-collapsed .prototype-sidebar {
  width: var(--sidebar-collapsed-width);
}

.dashboard-page.sidebar-collapsed .prototype-main {
  margin-left: var(--sidebar-collapsed-width);
}

.dashboard-page.sidebar-collapsed .brand-copy,
.dashboard-page.sidebar-collapsed .nav-label,
.dashboard-page.sidebar-collapsed .nav-alert-dot,
.dashboard-page.sidebar-collapsed .assistant-title div,
.dashboard-page.sidebar-collapsed .assistant-full-label,
.dashboard-page.sidebar-collapsed .sidebar-user .user-details,
.dashboard-page.sidebar-collapsed .credit-full {
  display: none;
}

.dashboard-page.sidebar-collapsed .sidebar-header {
  padding-left: 14px;
}

.dashboard-page.sidebar-collapsed .sidebar-brand {
  gap: 0;
}

.dashboard-page.sidebar-collapsed .sidebar-toggle {
  position: absolute;
  top: 57px;
  left: 57px;
  z-index: 3;
  width: 22px;
  height: 25px;
  font-size: 18px;
}

.dashboard-page.sidebar-collapsed .main-navigation {
  padding: 19px 12px 12px;
}

.dashboard-page.sidebar-collapsed .prototype-sidebar .nav-item {
  padding: 9px 16px;
}

.dashboard-page.sidebar-collapsed .assistant-card {
  padding: 10px;
}

.dashboard-page.sidebar-collapsed .assistant-short-label {
  display: inline;
}

.dashboard-page.sidebar-collapsed .assistant-card button {
  margin: 0;
}

.dashboard-page.sidebar-collapsed .sidebar-user {
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.dashboard-page.sidebar-collapsed .sidebar-user .logout-button {
  display: grid;
}

.dashboard-page.sidebar-collapsed .credit-short {
  width: 24px;
  height: 24px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(47, 230, 200, .10);
}

@media (max-width: 1150px) {
  .prototype-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-lower-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .dashboard-page.sidebar-collapsed .prototype-sidebar,
  .prototype-sidebar {
    width: min(86vw, 300px);
    transform: translateX(-100%);
  }

  .dashboard-page.sidebar-collapsed .prototype-sidebar.open,
  .prototype-sidebar.open {
    transform: translateX(0);
  }

  .dashboard-page.sidebar-collapsed .prototype-main,
  .prototype-main {
    margin-left: 0;
  }

  .dashboard-page.sidebar-collapsed .brand-copy,
  .dashboard-page.sidebar-collapsed .nav-label,
  .dashboard-page.sidebar-collapsed .nav-alert-dot,
  .dashboard-page.sidebar-collapsed .assistant-title div,
  .dashboard-page.sidebar-collapsed .assistant-full-label,
  .dashboard-page.sidebar-collapsed .sidebar-user .user-details,
  .dashboard-page.sidebar-collapsed .credit-full {
    display: initial;
  }

  .dashboard-page.sidebar-collapsed .assistant-short-label,
  .dashboard-page.sidebar-collapsed .credit-short {
    display: none;
  }

  .dashboard-page.sidebar-collapsed .sidebar-toggle,
  .sidebar-toggle {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
    place-items: center;
  }

  .sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 15;
    display: block;
    background: rgba(4, 7, 16, .60);
    opacity: 0;
    visibility: hidden;
    transition: .2s;
  }

  .sidebar-overlay.visible {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 720px) {
  .prototype-topbar {
    min-height: 68px;
    padding: 10px 14px;
  }

  .greeting > span {
    display: none;
  }

  .greeting h1 {
    max-width: 150px;
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .global-search,
  .notification-button {
    display: none;
  }

  .new-communication-button {
    padding: 0 12px;
    font-size: 9px;
  }

  .prototype-content {
    padding: 14px;
  }

  .engagement-hero {
    padding: 25px;
  }

  .engagement-ring {
    display: none;
  }

  .prototype-summary {
    grid-template-columns: 1fr;
  }

  .team-location-content {
    padding: 25px 0;
    flex-direction: column;
  }
}

/* FLUXIA_ADMIN_MODULES_V1 */

.current-company-header {
  min-width: 190px;
  max-width: 280px;
  margin-left: auto;
  padding: 7px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #e1e5ef;
  border-radius: 11px;
  background: #fff;
}

.current-company-header > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.current-company-header small {
  color: #8a93ab;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.current-company-header strong {
  overflow: hidden;
  color: #1b2338;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  overflow: hidden;
  border: 1px solid #e4e8f2;
  border-radius: 13px;
  background: #fff;
}

.company-logo.compact {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 9px;
  font-size: 10px;
}

.company-logo img {
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
}

.company-logo-fallback {
  color: #fff;
  background: linear-gradient(135deg, #2fe6c8, #4c7dff, #9b5cff);
  font-size: 15px;
  font-weight: 900;
}

.admin-module-view {
  min-height: calc(100vh - 125px);
}

.admin-module-view[hidden] {
  display: none;
}

.module-loading,
.module-empty {
  min-height: 320px;
  display: grid;
  place-content: center;
  color: #8a93ab;
  text-align: center;
}

.module-empty {
  grid-column: 1 / -1;
  padding: 50px;
  border: 1px dashed #d9deea;
  border-radius: 16px;
  background: #fff;
}

.module-empty > span {
  color: #8a63f3;
  font-size: 35px;
}

.module-empty h2 {
  margin: 12px 0 4px;
  color: #1b2338;
  font-size: 18px;
}

.module-empty p {
  margin: 0;
  font-size: 11px;
}

.module-header {
  margin-bottom: 17px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.module-header h1 {
  margin: 0;
  color: #0a0e1a;
  font-size: 27px;
  letter-spacing: -.03em;
}

.module-header p {
  max-width: 650px;
  margin: 6px 0 0;
  color: #7c869e;
  font-size: 11px;
  line-height: 1.55;
}

.module-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #7356e6;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.module-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.module-primary-button,
.module-secondary-button {
  min-height: 40px;
  padding: 0 17px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
}

.module-primary-button {
  border: 0;
  color: white;
  background: linear-gradient(100deg, #4c7dff, #9b5cff);
  box-shadow: 0 8px 20px rgba(98, 76, 220, .18);
}

.module-secondary-button {
  border: 1px solid #dce1ec;
  color: #5e48cf;
  background: #fff;
}

.module-toolbar {
  min-height: 58px;
  margin-bottom: 14px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e1e5ef;
  border-radius: 13px;
  background: white;
}

.module-search {
  width: min(100%, 390px);
  height: 38px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e1e5ef;
  border-radius: 9px;
}

.module-search span {
  color: #8a93ab;
}

.module-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
}

.module-toolbar select {
  height: 38px;
  padding: 0 30px 0 10px;
  border: 1px solid #e1e5ef;
  border-radius: 9px;
  color: #4b556e;
  background: white;
  font-size: 10px;
}

.module-count {
  margin-left: auto;
  color: #7c869e;
  font-size: 10px;
  white-space: nowrap;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 14px;
}

.company-card {
  padding: 18px;
  border: 1px solid #e1e5ef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(27, 35, 56, .04);
}

.company-card.current {
  border-color: rgba(47, 230, 200, .65);
  box-shadow: 0 0 0 3px rgba(47, 230, 200, .08);
}

.company-card > header {
  display: flex;
  align-items: center;
  gap: 11px;
}

.company-card-title {
  min-width: 0;
  flex: 1;
}

.company-card-title h2,
.company-card-title p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-card-title h2 {
  margin: 0;
  font-size: 14px;
}

.company-card-title p {
  margin: 4px 0 0;
  color: #8a93ab;
  font-size: 9px;
}

.status-badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 900;
}

.status-badge.active {
  color: #087258;
  background: #ddfaf1;
}

.status-badge.inactive {
  color: #a34958;
  background: #ffe8ec;
}

.company-card dl {
  margin: 18px 0;
  padding: 14px 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
}

.company-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.company-card dt {
  color: #8a93ab;
  font-size: 9px;
}

.company-card dd {
  margin: 0;
  color: #303950;
  font-size: 9px;
  font-weight: 800;
}

.company-card footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.card-secondary-button,
.card-primary-button {
  min-height: 33px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
}

.card-secondary-button {
  border: 1px solid #dce1ec;
  color: #5d667c;
  background: #fff;
}

.card-primary-button {
  border: 0;
  color: white;
  background: #7155df;
}

.card-primary-button:disabled {
  color: #747d91;
  background: #eef0f5;
  cursor: default;
}

.data-table-card {
  overflow: hidden;
  border: 1px solid #e1e5ef;
  border-radius: 14px;
  background: white;
}

.responsive-table {
  overflow-x: auto;
}

.management-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.management-table th {
  padding: 13px 14px;
  color: #788199;
  background: #f8f9fc;
  text-align: left;
  font-size: 8px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.management-table td {
  padding: 13px 14px;
  border-top: 1px solid #edf0f5;
  color: #4b546b;
}

.employee-identity {
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.employee-identity > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 10px;
  color: #5e48cf;
  background: #eeebff;
  font-size: 9px;
  font-weight: 900;
}

.employee-identity div {
  display: grid;
  gap: 3px;
}

.employee-identity strong {
  color: #242c41;
  font-size: 10px;
}

.employee-identity small {
  color: #8a93ab;
  font-size: 8px;
}

.table-actions {
  display: flex;
  gap: 6px;
}

.table-actions button {
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid #dce1ec;
  border-radius: 7px;
  color: #5e48cf;
  background: white;
  font-size: 8px;
  font-weight: 800;
}

.table-actions .deactivate {
  color: #b44d61;
}

.table-actions .activate {
  color: #087258;
}

.table-empty {
  padding: 45px;
  color: #8a93ab;
  text-align: center;
}

.management-dialog {
  width: min(94vw, 720px);
  max-height: 90vh;
  padding: 0;
  overflow-y: auto;
  border: 0;
  border-radius: 18px;
  background: white;
}

.management-dialog.small-dialog {
  width: min(94vw, 440px);
}

.management-dialog form {
  margin: 0;
  padding: 25px;
}

.dialog-heading {
  margin-bottom: 21px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.dialog-heading h2 {
  margin: 0;
  font-size: 22px;
}

.dialog-heading > button {
  width: 32px;
  height: 32px;
  border: 1px solid #e1e5ef;
  border-radius: 9px;
  color: #687188;
  background: white;
  font-size: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-grid label,
.single-dialog-field {
  display: grid;
  gap: 7px;
  color: #333c52;
  font-size: 10px;
  font-weight: 800;
}

.form-grid input,
.form-grid select,
.single-dialog-field input {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  border: 1px solid #dce1ec;
  border-radius: 9px;
  outline: 0;
  background: white;
  font-size: 11px;
}

.form-grid input:focus,
.form-grid select:focus,
.single-dialog-field input:focus {
  border-color: #8266eb;
  box-shadow: 0 0 0 3px rgba(130, 102, 235, .10);
}

.field-wide {
  grid-column: 1 / -1;
}

.logo-upload-field input {
  height: auto;
  padding: 9px;
}

.logo-upload-field small {
  color: #8a93ab;
  font-size: 8px;
  font-weight: 400;
}

.switch-field {
  min-height: 42px;
  grid-template-columns: 18px 1fr !important;
  align-items: center;
  gap: 8px !important;
}

.switch-field input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.dialog-error {
  min-height: 18px;
  margin-top: 13px;
  color: #c64055;
  font-size: 10px;
}

.dialog-actions {
  margin-top: 8px;
  padding-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid #edf0f5;
}

.secondary-button,
.save-button {
  min-height: 39px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
}

.secondary-button {
  border: 1px solid #dce1ec;
  color: #606a80;
  background: white;
}

.save-button {
  border: 0;
  color: white;
  background: linear-gradient(100deg, #4c7dff, #9b5cff);
}

.save-button:disabled {
  opacity: .65;
  cursor: wait;
}

@media (max-width: 1250px) {
  .company-grid {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }

  .current-company-header {
    min-width: 150px;
    max-width: 190px;
  }
}

@media (max-width: 900px) {
  .current-company-header {
    margin-left: auto;
  }

  .current-company-header > div {
    display: none;
  }

  .company-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .current-company-header {
    min-width: auto;
    padding: 4px;
    border: 0;
  }

  .current-company-header .company-logo {
    width: 34px;
    height: 34px;
  }

  .module-header {
    align-items: stretch;
    flex-direction: column;
  }

  .module-header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .module-primary-button,
  .module-secondary-button {
    width: 100%;
  }

  .employee-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .module-search,
  .module-toolbar select {
    width: 100%;
  }

  .module-count {
    margin: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }
}
