/* ==========================================================================
   Organograma Layout
   --------------------------------------------------------------------------
   Estilos exclusivos da árvore organizacional (organograma.php).
   ========================================================================== */

.gc-full-width main {
  max-width: 100%;
  width: 100%;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.gc-full-width .gc-admin-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.gc-full-width .gc-admin-container .bg-white {
  width: 100%;
}

.gc-full-width .gc-admin-container > * {
  width: 100%;
}

.gc-full-width .gc-admin-container h2 {
  margin-bottom: 1.5rem;
}

.gc-full-width .gc-admin-container .overflow-auto {
  width: 100%;
}

.org-shareholders-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: stretch;
  flex-direction: row;
  align-content: space-around;
}

.type-socio .org-node-header {
  background-color: #ec4899;
  
}

.org-node.type-socio {
    margin: 10px;
}

/* Paleta por tipo para o organograma */
.type-holding .org-node-header {
  background-color: #f97316; /* laranja */
}
.type-divisao .org-node-header {
  background-color: #22c55e; /* verde */
}
.type-marca .org-node-header {
  background-color: #3b82f6; /* azul */
}
.type-outro .org-node-header {
  background-color: #64748b; /* slate */
}

.type-socio .org-node-description p {
  margin: 0 0 4px;
  font-size: 0.82rem;
  color: #475569;
}

.type-socio .org-node-description strong {
  font-weight: 600;
  color: #1f2937;
}

.org-tree-wrapper {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 2.5rem;
  transform: scale(85%);
}
.org-tree,
.org-tree ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.org-tree {
  display: flex;
  justify-content: center;
  transform-origin: top center;
  transition: transform 0.25s ease;
}
.org-tree > li {
  padding-top: 0;
  position: relative;
}
.org-tree ul {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 2.75rem;
  margin-top: 0;
}
.org-tree ul::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 0;
  right: 0;
  height: 2px;
  background: #e2e8f0;
}
.org-tree ul.single::before {
  left: 50%;
  right: auto;
  width: 2px;
}
.org-tree ul:empty::before {
  display: none;
}
.org-tree li {
  position: relative;
  padding: 2rem 1rem 0;
  text-align: center;
}
.org-tree li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 1.5rem;
  background: #e2e8f0;
}
.org-tree > li::before {
  display: none;
}
.org-tree ul.single > li::before {
  height: 1rem;
}
.org-node {
  /*width: 300px;*/
  margin: 0 auto;
  border-radius: var(--radius-container, 3px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
  text-align: left;
}
.org-node-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
  color: #fff;
}
.org-node-header .org-media {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-base, 3px);
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.org-node-header .org-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.org-node.type-divisao {
  max-width: 300px;
}
.org-node-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}
.org-node-subtitle {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.85;
}
.org-node-body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.4rem 1.2rem;
}
.org-node-body .org-media {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-base, 3px);
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.org-node-body .org-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.org-node-body strong {
  display: block;
  font-size: 0.95rem;
  color: #1f2937;
  font-weight: 600;
}
.org-node-extra {
  padding: 0.85rem 1.4rem 1.1rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.org-node-extra-item {
  font-size: 0.7rem;
  font-weight: 600;
  color: #334155;
  background: #e2e8f0;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-tag, 3px);
}
.org-node-body span {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.25rem;
}
.org-node-description {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.4;
}
.type-holding {
  width: 400px;
}
.type-holding .org-node-header {
  background-color: #f97316;
}
.type-divisao .org-node-header {
  background-color: #0ea5e9;
}
.type-marca .org-node-header {
  background-color: #22c55e;
}
.type-outro .org-node-header {
  background-color: #8b5cf6;
}
.org-initial {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}
.org-person-initial {
  font-size: 1.2rem;
  font-weight: 600;
  color: #334155;
}
@media (max-width: 768px) {
  .org-node {
    width: 180px;
  }
  .org-tree ul {
    gap: 1rem;
  }
}
.central {
  text-align: center;
} 




