/* ═════════════════════════════════════
   Organization Chart — Styles
   ═════════════════════════════════════ */

/* ── Container ── */
.orgchart-wrapper {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fafbfc;
}

/* ── Hint text ── */
.orgchart-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: 0.8125rem;
    color: #94a3b8;
    padding: 1rem 0 0;
}
.orgchart-hint .material-symbols-outlined { font-size: 18px; }

/* ── Info Panel ── */
.orgchart-info {
    position: relative;
    background: linear-gradient(135deg, #f8fafc, #fff);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(16px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}
.orgchart-info.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.orgchart-info__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s;
}
.orgchart-info__close:hover {
    background: #f1f5f9;
    color: #1e293b;
}
.orgchart-info__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
}
.orgchart-info__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1rem;
}
.orgchart-info__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #475569;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
}
.orgchart-info__meta-item .material-symbols-outlined { font-size: 18px; }
.orgchart-info__desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.7;
}

/* ── Syncfusion overrides ── */
.orgchart-wrapper .e-diagram {
    border-radius: 16px;
}
/* Remove default diagram background pattern if any */
.orgchart-wrapper .e-diagram-background-layer {
    opacity: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .orgchart-info {
        padding: 1.25rem;
        margin: 1rem 0.5rem 0;
    }
}
