.ecpay-trust-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
    margin: 20px auto 26px;
    padding: 22px 24px;
    overflow: hidden;
    border: 1px solid rgba(19, 145, 101, 0.28);
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(45, 212, 191, 0.18),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #f2fff9 0%,
            #f5fbff 58%,
            #edf8ff 100%
        );
    box-shadow:
        0 15px 35px rgba(12, 87, 73, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    color: #12354a;
}

.ecpay-trust-card.runjin-ecpay-standalone {
    margin: 12px auto 28px;
    max-width: 100%;
}

.ecpay-trust-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #20a66a,
        #22b8cf,
        #2673dc
    );
}

.ecpay-trust-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -80px;
    bottom: -105px;
    border-radius: 50%;
    background: rgba(34, 184, 207, 0.10);
    pointer-events: none;
}

.ecpay-trust-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 18px;
    background: linear-gradient(145deg, #19a966, #087d54);
    box-shadow:
        0 10px 22px rgba(8, 125, 84, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
    color: #ffffff;
}

.ecpay-trust-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ecpay-trust-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.ecpay-trust-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 5px;
    color: #087d54;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.ecpay-trust-title {
    color: #14364a;
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 750;
    line-height: 1.45;
}

.ecpay-trust-title strong {
    color: #078052;
    font-weight: 900;
}

.ecpay-trust-description {
    margin-top: 6px;
    color: #587080;
    font-size: 14px;
    line-height: 1.65;
}

.ecpay-trust-badges {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
    max-width: 240px;
}

.ecpay-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border: 1px solid rgba(17, 125, 87, 0.17);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 4px 12px rgba(22, 74, 94, 0.06);
    color: #245166;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.ecpay-trust-badge::before {
    content: "✓";
    color: #11945f;
    font-size: 13px;
    font-weight: 900;
}

.ecpay-trust-note {
    grid-column: 2 / -1;
    position: relative;
    z-index: 1;
    margin-top: -8px;
    padding-top: 12px;
    border-top: 1px dashed rgba(35, 112, 134, 0.20);
    color: #637984;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .ecpay-trust-card {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
        margin: 18px auto 22px;
        padding: 18px 17px;
        border-radius: 17px;
    }

    .ecpay-trust-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        border-radius: 15px;
    }

    .ecpay-trust-icon svg {
        width: 27px;
        height: 27px;
    }

    .ecpay-trust-badges {
        grid-column: 1 / -1;
        justify-content: flex-start;
        max-width: none;
    }

    .ecpay-trust-note {
        grid-column: 1 / -1;
        margin-top: 0;
    }
}

@media (max-width: 430px) {
    .ecpay-trust-card {
        align-items: start;
        padding: 17px 15px;
    }

    .ecpay-trust-eyebrow {
        font-size: 12px;
    }

    .ecpay-trust-title {
        font-size: 16px;
    }

    .ecpay-trust-description {
        font-size: 13px;
    }

    .ecpay-trust-badge {
        padding: 6px 8px;
        font-size: 11px;
    }
}
