/* --- Estilos Modo Flutuante --- */
#rdb-fab-container {
    position: fixed !important;
    z-index: 99999 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#rdb-fab-main-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
    padding: 0 1.5rem;
    /* As propriedades 'background-color' e 'color' foram removidas daqui para serem controladas pelo PHP */
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#rdb-fab-main-button:hover {
    /* O brilho é controlado pelo PHP, mantemos apenas o efeito de escala */
    transform: scale(1.05);
}

#rdb-fab-text {
    margin-right: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

#rdb-fab-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.rdb-fab-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease-out;
    transform-origin: bottom center;
}

.rdb-fab-options.hidden {
    transform: scale(0);
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.rdb-fab-options a {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.rdb-fab-options a:hover {
    transform: translateY(-4px);
}

#rdb-copy-link-share { background-color: #6b7280; }
#rdb-copy-link-share:hover { background-color: #4b5563; }
#rdb-copy-link-share.copied { background-color: #10b981; }
#rdb-email-share { background-color: #ef4444; }
#rdb-email-share:hover { background-color: #dc2626; }
#rdb-whatsapp-share { background-color: #22c55e; }
#rdb-whatsapp-share:hover { background-color: #16a34a; }
#rdb-facebook-share { background-color: #3b5998; }
#rdb-facebook-share:hover { background-color: #2d4373; }

.rdb-fab-options a i {
    font-size: 1.5rem;
}


/* --- Estilos Modo Inline (Conteúdo do Post) --- */
.rdb-inline-share-container {
    margin: 2em 0;
    padding: 1.5em;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.rdb-inline-share-container h3 {
    margin: 0 0 1em 0;
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

.rdb-inline-share-buttons a {
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    border-radius: 4px;
    color: #fff !important; /* Mantido para garantir que o texto seja branco por padrão */
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 14px;
}

.rdb-inline-share-buttons a:hover {
    opacity: 0.85;
}

.rdb-inline-share-buttons i {
    margin-right: 8px;
}

/* Cores padrão das redes, que servem como fallback */
.rdb-share-facebook { background-color: #3b5998; }
.rdb-share-whatsapp { background-color: #25D366; }

/* Cores que serão sobrescritas pelo estilo inline do PHP */
.rdb-share-email { background-color: #777; }
.rdb-share-copy { background-color: #6b7280; cursor: pointer; }
.rdb-share-copy.copied { background-color: #10b981; }