#manus-share-component * {
    /* Reset seletivo para evitar conflitos */
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

#manus-share-component body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f2f5;
}

#manus-share-component .button-container {
    position: relative;
    display: flex;
    gap: 10px;
}

#manus-share-component .btn-c, #manus-share-component .btn-s {
    background-color: #155CB6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

#manus-share-component .btn-c svg, #manus-share-component .btn-s svg {
    fill: white;
}

#manus-share-component .bg-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

#manus-share-component .bg-modal.active {
    display: block;
}

#manus-share-component .container-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
     top: 50%; 
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#manus-share-component .container-overlay.active {
    display: block;
}

#manus-share-component .popup-lower {
    position: relative;
    padding: 20px;
}

#manus-share-component .popup-content {
    display: flex;
    flex-direction: column;
}

#manus-share-component .content-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#manus-share-component .content-top h3 {
    margin: 0;
    color: #155CB6;
}

#manus-share-component .btn-X {
    background: none;
    border: none;
    cursor: pointer;
}

#manus-share-component .btn-X svg {
    fill: #155CB6;
}

#manus-share-component .social-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 15px;
    text-align: center;
}

#manus-share-component .social-icons a {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column; /* Garante que o ícone e o texto fiquem em coluna */
    align-items: center;
    justify-content: center; /* Centraliza o conteúdo verticalmente */
    height: 100%;
}

#manus-share-component .item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#manus-share-component .btnIcon {
    background-color: #155CB6;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px; /* Aumenta o espaçamento entre o ícone e o texto */
    flex-shrink: 0;
    z-index: 2; /* Garante que o ícone esteja acima do texto */
}

#manus-share-component .btnIcon svg {
    fill: white;
    width: 24px;
    height: 24px;
}

#manus-share-component .social-icons a p {
    font-size: 12px;
    line-height: 1.2;
    margin: 0;
    padding: 0 2px;
    word-break: break-word;
    white-space: normal;
    text-align: center;
    z-index: 1; /* Garante que o texto esteja abaixo do ícone, mas visível */
}

#manus-share-component .content-seta {
    /* Estilos para a seta, se necessário */
}

/* Media Queries para responsividade */
@media (max-width: 600px) {
    #manus-share-component .social-icons {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    }

    #manus-share-component .btn-c, #manus-share-component .btn-s {
        padding: 8px 15px;
        font-size: 14px;
    }

    #manus-share-component .btnIcon {
        width: 45px;
        height: 45px;
    }

    #manus-share-component .btnIcon svg {
        width: 20px;
        height: 20px;
    }

    #manus-share-component .social-icons a p {
        font-size: 10px;
    }
    #manus-share-component .container-overlay {
        top: 50%;
    }
}