.node {
    background-color: #ffffff;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    background-color: #e6f7ff;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.node:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

.node:active {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.node img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.node .name {
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 5px;
}


.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #f4f4f4;
    max-width: 100%;
    max-height: 100vh;
    overflow: auto;
}

.node-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 20px 0;
}


.node.level-1 {
    background-color: #009C91; /* Nível 1 */
}

.node.level-2 {
    background-color: #66BF70; /* Nível 2 */
}

.node.level-3 {
    background-color: #E3EFCF; /* Nível 3 */
}



.connector {
    position: relative;
    height: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.connector .vertical-line {
    position: absolute;
    top: 0;
    height: 20px;
    width: 2px;
    background-color: #ccc;
    left: 50%;
    transform: translateX(-50%);
}

.connector .horizontal-line {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px;
    background-color: #ccc;
}

.children-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 10px;
    position: relative;
}

.children-container .node-container {
    margin: 0 10px;
    position: relative;
}

.children-container .node-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background-color: #ccc;
}

.toggle-btn {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #009C91;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding-bottom: 5px;
}

.hidden {
    display: none;
}
