﻿.btn-primary-bordered {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 22px;
    gap: 8px;
    width: auto;
    height: auto;
    min-height: 42px;
    max-height: 56px;
    border-radius: 42px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
}

a.btn-primary-bordered {
    text-decoration: none;
}

.btn-primary-bordered--fullwidth {
    width: 100%;
}

.btn-primary-bordered--white {
    background: #fff;
}

.btn-primary-bordered--round {
    width: 42px;
    height: 42px;
    display: flex;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.btn-primary-bordered::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    background: var(--clr-bg-quaternary);
    border-radius: 42px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -2;
}

.btn-primary-bordered::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    transform: translate(-50%, -50%);
    background: var(--clr-bg-quaternary);
    border-radius: 50%;
    transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
    z-index: -1;
    aspect-ratio: 1 / 1;
}

.btn-primary-bordered:hover::after {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.btn-primary-bordered:hover > span {
    color: var(--clr-text-white);
}

.btn-primary-bordered:hover > svg > path {
    fill: var(--clr-text-white) !important;
}

.btn-primary-bordered > span {
    font-weight: 600;
    font-size: var(--font-size-body-03);
    line-height: 1.4;
    display: flex;
    align-items: center;
    text-align: center;
    text-transform: capitalize;
    color: var(--clr-text-brand-primary-600);
    z-index: 1;
    transition: color 0.4s ease-in-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-primary-bordered > svg > path {
    fill: var(--clr-text-brand-primary-600) !important;
    transition: fill 0.4s ease-in-out;
}

/* Specific styles for buttons in premium bundle cards */
.premium-bundle-footer .btn-primary-bordered {
    flex-shrink: 1; /* Allow button to shrink if needed */
    min-width: 90px; /* Reduce minimum width */
    max-width: 140px; /* Add maximum width constraint */
    padding: 8px 16px; /* Reduce padding */
    font-size: 0.8rem; /* Smaller font size */
}

    .premium-bundle-footer .btn-primary-bordered > span {
        font-size: 0.8rem; /* Ensure consistent smaller font */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }









.btn-secondary {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 22px;
    gap: 8px;
    width: auto;
    height: auto;
    min-height: 42px;
    max-height: 56px;
    border-radius: 42px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
}

a.btn-secondary {
    text-decoration: none;
}

.btn-secondary--fullwidth {
    width: 100%;
}

.btn-secondary--white {
    background: #fff;
}

.btn-secondary--round {
    width: 42px;
    height: 42px;
    display: flex;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.btn-secondary::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(90deg, #3627CB 0%, #D90958 100%);
    border-radius: 42px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -2;
}

.btn-secondary::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, #3627CB 0%, #D90958 100%);
    border-radius: 50%;
    transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
    z-index: -1;
    aspect-ratio: 1 / 1;
}

.btn-secondary:hover::after {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.btn-secondary:hover > span {
    color: var(--clr-text-white);
}

.btn-secondary:hover > svg > path {
    fill: var(--clr-text-white) !important;
}

.btn-secondary > span {
    font-weight: 600;
    font-size: var(--font-size-body-03);
    line-height: 1.4;
    display: flex;
    align-items: center;
    text-align: center;
    text-transform: capitalize;
    color: var(--clr-text-neutral-700);
    z-index: 1;
    transition: color 0.4s ease-in-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-secondary > svg > path {
    fill: var(--clr-text-neutral-700) !important;
    transition: fill 0.4s ease-in-out;
}



.floating-chat-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    background: transparent;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    overflow: hidden;
    transition: box-shadow 0.2s;
    position: fixed;
    background: #fff;
    color: black;
}

.floating-chat-btn-postpaid {
    bottom: 20px;
    right: 20px;
}

.floating-chat-btn-no-banner {
    bottom: 20px;
    right: 20px;
}

    .floating-chat-btn::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 3px;
        background: linear-gradient(90deg, #FC9D81 0%, #D50656 100%);
        border-radius: 50%;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        z-index: -2;
    }

    .floating-chat-btn::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        transform: translate(-50%, -50%);
        background: linear-gradient(90deg, #FC9D81 0%, #D50656 100%);
        border-radius: 50%;
        transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
        z-index: -1;
    }

    .floating-chat-btn:hover::after {
        width: 100%;
        height: 100%;
    }

    .floating-chat-btn svg {
        width: 32px;
        height: 32px;
        display: block;
        position: relative;
        z-index: 1;
        transition: fill 0.4s;
        fill: #fff;
    }

    .floating-chat-btn:hover svg {
        fill: var(--clr-text-white);
    }
@media (max-width: 768px) {
    .floating-chat-btn{
        display:none;
    }
}