/* 
 * Waply Avatar Centering Fix
 * This CSS file fixes the issue with the white inner chat bubble being too small and not centered
 */

/* Increase the size of the WhatsApp icon inside the custom button */
#waply-custom-pos-preview-btn svg,
.waply-btn-style-custom svg,
.waply-fab.waply-btn-style-custom svg,
[class*="waply-btn-style-custom"] svg,
.waply-button[data-type="custom"] svg,
.waply-fab[data-type="custom"] svg {
    width: 35px !important;
    height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Also apply to the preview button */
#waply-custom-preview-button svg {
    width: 35px !important;
    height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure proper centering for all button types */
.waply-btn-icon,
.waply-btn-style-custom .waply-btn-icon,
.waply-fab.waply-btn-style-custom .waply-btn-icon,
[class*="waply-btn-style-custom"] .waply-btn-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
}