/* Baro Contact Chat Styles */
.bcc-contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 9999;
}

.bcc-contact-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.bcc-contact-buttons a img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.bcc-contact-buttons .phone-wrapper .bcc-phone-text {
    position: absolute;
    left: -125px;
    z-index: -1;
    padding: 5px 33px 5px 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

/* Buttons that are icon-only on desktop */
.bcc-zalo,
.bcc-messenger,
.bcc-phone,
.bcc-email {
    width: 50px;
}

/* Pulse effect */
.bcc-pulse {
    animation: pulse 2s infinite;
}

.bcc-contact-buttons .phone-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}
/* Keyframes are added dynamically via wp_add_inline_style */

/* --- Mobile Styles --- */
@media (max-width: 768px) {
    .bcc-contact-buttons {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 60px;
        border-radius: 0;
        padding: 5px 0;
        gap: 0;
    }

    /* On mobile, all buttons are circular icons */
    .bcc-contact-buttons a {
        width: 45px; /* A bit smaller for mobile */
        height: 45px;
        box-shadow: none;
    }

    .bcc-contact-buttons a img{
        width: 40px;
        height: 40px;
    }

    .bcc-contact-buttons .bcc-messenger,
    .bcc-contact-buttons .bcc-zalo,
    .bcc-contact-buttons .bcc-phone,
    .bcc-contact-buttons .bcc-email {
        background-color: transparent !important;
    }

    /* Hide phone text on mobile */
    .bcc-phone-text {
        display: none;
    }

    .bcc-email img {
        color: white;
    }
}

@media (min-width: 769px) {
  .bcc-email {
    display: none !important;
  }
}
