/* Logos in front of website button texts (page_sections/_button_icon.html).
   Plain CSS on purpose: no Tailwind rebuild. The drawings take the button's
   text colour; The Pending mark is a picture and is tinted with a filter —
   white by default, black on the white button and on light grounds. */

.tp-btn-icon {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    margin-right: .55em;
}

svg.tp-btn-icon { fill: currentColor; }
.tp-btn-icon--apple { margin-top: -.14em; }

img.tp-btn-icon--tp {
    width: 1.35em;
    height: 1.35em;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.btn-cta-secondary img.tp-btn-icon--tp,
.hero-store-cta:hover img.tp-btn-icon--tp,
.hero-store-cta:focus-visible img.tp-btn-icon--tp {
    filter: brightness(0);
}

/* The other store's button on a phone (static/js/store-buttons.js). */
[data-store][hidden] { display: none !important; }

/* The purple fill of website buttons (button style "Purple"): the same shape
   as .btn-cta-primary, in the brand purple. Here and not in input.css so it
   needs no Tailwind rebuild. */
.btn-cta-purple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .875rem 2rem;
    border-radius: 9999px;
    background-color: #493657;
    color: #FFFFFF;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(73, 54, 87, .2), 0 4px 6px -4px rgba(73, 54, 87, .2);
    transition: background-color .2s ease;
}

.btn-cta-purple:hover { background-color: #5A4470; }

@media (min-width: 640px) {
    .btn-cta-purple {
        width: auto;
        padding: .75rem 3rem;
        font-size: 1rem;
        line-height: 1.5rem;
    }
}
