.pcwa-wrap,
.pcwa-wrap * {
    box-sizing: border-box;
}

.pcwa-wrap {
    --pcwa-blue: #0b1f57;
    --pcwa-cyan: #18bdf2;
    --pcwa-green: #1ccb5b;
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 999999;
    font-family: inherit;
}

.pcwa-fab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--pcwa-green);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 14px 35px rgba(10, 43, 30, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.pcwa-fab:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 18px 42px rgba(10, 43, 30, .32);
}

.pcwa-fab svg {
    width: 34px;
    height: 34px;
    position: relative;
    z-index: 2;
}

.pcwa-pulse {
    position: absolute;
    inset: -6px;
    border: 2px solid rgba(28, 203, 91, .45);
    border-radius: 50%;
    animation: pcwa-pulse 2s ease-out infinite;
}

.pcwa-fab-label {
    position: absolute;
    right: 74px;
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    color: #0b1f57;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(16, 36, 73, .12);
    opacity: 0;
    transform: translateX(7px);
    pointer-events: none;
    transition: .2s ease;
}

.pcwa-fab:hover .pcwa-fab-label {
    opacity: 1;
    transform: translateX(0);
}

.pcwa-card {
    position: absolute;
    right: 0;
    bottom: 82px;
    width: min(360px, calc(100vw - 40px));
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    padding: 18px;
    border: 1px solid rgba(21, 65, 124, .09);
    border-radius: 18px;
    background: #fff;
    color: #0d1f45;
    box-shadow: 0 24px 60px rgba(11, 31, 87, .18);
    transform-origin: bottom right;
    animation: pcwa-card-in .45s ease both;
}

.pcwa-card::after {
    content: '';
    position: absolute;
    right: 23px;
    bottom: -8px;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: 5px 5px 12px rgba(11, 31, 87, .04);
}

.pcwa-card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #e9fbef;
    color: var(--pcwa-green);
}

.pcwa-card-icon svg {
    width: 30px;
    height: 30px;
}

.pcwa-card-copy {
    min-width: 0;
    padding-right: 10px;
}

.pcwa-card-copy strong {
    display: block;
    margin: 1px 0 5px;
    color: var(--pcwa-blue);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.pcwa-card-copy span {
    display: block;
    color: #66738d;
    font-size: 12px;
    line-height: 1.55;
}

.pcwa-card-copy a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 13px;
    border-radius: 10px;
    background: var(--pcwa-blue);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
    transition: .2s ease;
}

.pcwa-card-copy a:hover {
    background: #123786;
    transform: translateY(-1px);
}

.pcwa-card-copy a span {
    color: inherit;
    font-size: 16px;
    line-height: 1;
}

.pcwa-close {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #93a0b7;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}

.pcwa-card.pcwa-hidden {
    display: none;
}

@keyframes pcwa-pulse {
    0% { transform: scale(.92); opacity: .9; }
    70%, 100% { transform: scale(1.25); opacity: 0; }
}

@keyframes pcwa-card-in {
    from { opacity: 0; transform: translateY(12px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 767px) {
    .pcwa-wrap {
        right: 16px;
        bottom: 18px;
    }

    .pcwa-fab {
        width: 58px;
        height: 58px;
    }

    .pcwa-fab svg {
        width: 31px;
        height: 31px;
    }

    .pcwa-card {
        bottom: 74px;
        width: min(330px, calc(100vw - 32px));
        padding: 15px;
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .pcwa-card-icon {
        width: 42px;
        height: 42px;
    }

    .pcwa-fab-label {
        display: none;
    }
}
