:root {
  --blue-deep: #1E3A5F;
  --blue-soft: #3A7CA5;
  --green-sage: #5DA271;
  --lilac-soft: #9A8CFF;
  --off-white: #F4F7FA;
  --gray-neutral: #6B7280;
}

body {
  background: var(--off-white);
  color: var(--gray-neutral);
  font-family: "Segoe UI", sans-serif;
}

.main-header.navbar {
  background-color: var(--off-white);
  border-bottom: 1px solid #e2e8f0;
}

.admin-topbar {
  border-bottom: 1px solid #dbe4ee !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.navbar-client-name {
  font-size: 1.2rem;
  font-weight: 600;
}

.collaborator-brand-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}

.user-name-mask {
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.js-user-name-toggle {
  color: #6b7280;
  line-height: 1;
  text-decoration: none !important;
}

.js-user-name-toggle:hover,
.js-user-name-toggle:focus {
  color: #1f2937;
}

.main-sidebar {
  background-color: var(--blue-deep) !important;
}

.brand-text {
  color: var(--off-white);
}

.brand-link.brand-link-logo {
  background: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 57px;
  padding: 0 0.5rem;
}

.brand-logo-custom {
  display: block;
  max-height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.btn-primary {
  background-color: var(--blue-soft);
  border-color: var(--blue-soft);
}

.btn-success {
  background-color: var(--green-sage);
  border-color: var(--green-sage);
}

.small-box.bg-info {
  background-color: var(--lilac-soft) !important;
}

.sidebar-user-icon {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.2);
}

.dimensao-card-title {
  font-size: 0.9rem !important;
  line-height: 1.2;
}

.org-tree ul {
  list-style: none;
  margin: 0;
  padding-left: 1.2rem;
  position: relative;
}

.org-tree > ul {
  padding-left: 0;
}

.org-tree li {
  margin: 0;
  padding: 0.35rem 0 0.35rem 1rem;
  position: relative;
}

.org-tree li::before {
  content: "";
  position: absolute;
  top: -0.4rem;
  left: 0;
  width: 1px;
  height: calc(100% + 0.5rem);
  background: #cbd5e1;
}

.org-tree li::after {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 0;
  width: 0.9rem;
  height: 1px;
  background: #cbd5e1;
}

.org-tree > ul > li::before {
  display: none;
}

.org-tree li:last-child::before {
  height: 1.1rem;
}

.org-node {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.35rem;
  background: #fff;
  color: #1f2937;
}

.org-node i {
  color: var(--blue-soft);
}

#campanhasComparativoChart {
  min-height: 420px;
}

.client-login-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 0.4rem;
  padding: 0.4rem 0.6rem;
}

.client-login-logo-img {
  display: block;
  max-height: 101px;
  width: auto;
  max-width: 100%;
}

.client-login-name {
  margin-top: 0.45rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f2937;
}

.client-login-welcome {
  margin: 0.8rem 0 1rem;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #4b5563;
  text-align: center;
}

.atlas-admin-login-page {
  background: #f4f7fa;
  min-height: 100vh;
  margin: 0;
}

.atlas-login-fullscreen {
  min-height: 100vh;
}

.atlas-login-panel {
  max-width: 440px;
}

.atlas-register-panel {
  max-width: 720px;
}

.atlas-login-info-panel {
  background: linear-gradient(145deg, #1e3a5f 0%, #3a7ca5 100%);
  color: #f8fafc;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.atlas-login-info-content {
  max-width: 620px;
}

.atlas-login-right-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.atlas-login-right-logo-img {
  max-height: 86px;
  width: auto;
  max-width: 100%;
}

.atlas-login-logo-card {
  width: 100%;
  background: #e2e7ee !important;
  border: 1px solid #cbd4df !important;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}

.atlas-login-info-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #ffffff;
}

.atlas-login-info-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
  color: #e2e8f0;
}

.atlas-login-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.atlas-login-info-item {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.6rem;
  padding: 0.85rem 0.95rem;
}

.atlas-login-info-item h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: #ffffff;
}

.atlas-login-info-item p {
  font-size: 0.9rem;
  margin: 0;
  color: #dbeafe;
}

@media (max-width: 991.98px) {
  .atlas-login-info-panel {
    padding: 1.5rem 1rem;
  }

  .atlas-login-right-logo-img {
    max-height: 64px;
  }

  .atlas-login-info-grid {
    grid-template-columns: 1fr;
  }
}
