/* PWRWallet Build 34 — first-party brand artwork overrides.
 * Kept outside the compiled Vite bundle so a shared-hosting update can install
 * visual assets without requiring Node/Vite on the production server.
 */

/* Connected providers: let the new branded artwork be the visual focus rather
 * than squeezing it into the old 44px white-square logo slot. */
.pwr-provider-grid {
    gap: 16px;
}

.pwr-provider-grid article {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
    min-width: 240px;
    max-width: 290px;
    flex: 1 1 240px;
    padding: 17px 18px 15px;
    border-color: rgba(73, 133, 255, .30);
    border-radius: 19px;
    text-align: center;
    background: linear-gradient(150deg, rgba(18, 30, 70, .96), rgba(9, 17, 43, .98));
    box-shadow: 0 15px 36px rgba(0, 0, 0, .18);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pwr-provider-grid article:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 229, 255, .48);
    box-shadow: 0 20px 42px rgba(10, 28, 78, .34), inset 0 0 32px rgba(56, 229, 255, .035);
}

.pwr-provider-grid img {
    grid-row: auto;
    width: 100%;
    height: 104px;
    padding: 0;
    margin: 0 0 7px;
    object-fit: contain;
    border-radius: 15px;
    background: transparent;
    filter: drop-shadow(0 10px 20px rgba(29, 168, 255, .18));
}

.pwr-provider-grid article > span {
    grid-row: auto;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    padding: 0;
    margin: 7px 0 10px;
    border: 1px solid rgba(56, 229, 255, .25);
    border-radius: 18px;
    color: #9d85ff;
    background: rgba(255, 255, 255, .96);
    font-size: 18px;
    font-weight: 950;
}

.pwr-provider-grid b {
    font-size: 14px;
    line-height: 1.25;
}

.pwr-provider-grid small {
    margin-top: 3px;
    color: #8f9ec6;
    font-size: 10px;
}

/* Make the site's own currency immediately recognisable in the public earning
 * explainer while keeping the underlying accessible PWR Credits label intact. */
.pwr-mini-ledger > span:first-child i {
    width: 40px;
    height: 40px;
    color: transparent;
    font-size: 0;
    background-color: transparent;
    background-image: url('/images/brand/pwr-coin-128.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 7px 13px rgba(42, 173, 255, .30));
}

@media (max-width: 720px) {
    .pwr-provider-grid article {
        min-width: min(100%, 210px);
        max-width: none;
        flex-basis: 210px;
    }

    .pwr-provider-grid img {
        height: 96px;
    }
}

@media (max-width: 480px) {
    .pwr-provider-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pwr-provider-grid article {
        width: 100%;
    }

    .pwr-provider-grid img {
        height: 110px;
    }
}

/* Build 36 — use the official PWR Diamond artwork in the public journey
 * ledger instead of the legacy diamond glyph. */
.pwr-mini-ledger > span:nth-child(2) i {
    width: 40px;
    height: 40px;
    color: transparent;
    font-size: 0;
    background-color: transparent;
    background-image: url('/images/brand/pwr-diamond-128.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 7px 13px rgba(144, 76, 255, .32));
}
