/* Sponsor-popup inspired styling for the isolated membership goal preview. */
.wcs-membership-goal-preview,
.wcs-membership-goal-preview * { box-sizing: border-box; }
.wcs-membership-goal-preview {
    --wmg-text: #f1f5ed;
    --wmg-muted: #a7b09f;
    --wmg-line: rgba(209, 227, 198, .14);
    width: min(100%, 1120px);
    margin: 0 auto;
    color: var(--wmg-text);
    font-family: inherit;
}
.wcs-membership-goal-preview .rcp-goal-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 14px auto;
    padding: 23px 26px 20px;
    overflow: visible;
    border: 1px solid rgba(181, 216, 144, .22);
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 2% 0%, rgba(81, 133, 2, .18), transparent 42%),
        linear-gradient(145deg, #151e14, #101610 70%);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .30);
}
.wcs-membership-goal-preview .rcp-goal-reward {
    margin: 0 0 37px;
    color: #a9cd7e;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
}
.wcs-membership-goal-preview .rcp-goal-bar-row {
    gap: 9px;
}
.wcs-membership-goal-preview .rcp-goal-block.completed {
    width: 22px;
    height: 18px;
    border: 1px solid rgba(181, 216, 144, .25);
    border-radius: 5px;
    background: linear-gradient(145deg, #80b83c, #527e18);
}
.wcs-membership-goal-preview .rcp-goal-bar-container {
    height: 22px;
    border: 1px solid rgba(209, 227, 198, .14);
    border-radius: 999px;
    background: #293226;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35);
}
.wcs-membership-goal-preview .rcp-goal-bar-fill {
    border-radius: 999px;
    background: linear-gradient(90deg, #5b8f00, #9cca58);
    box-shadow: 0 0 14px rgba(128, 184, 60, .28);
}
.wcs-membership-goal-preview .rcp-goal-milestones-labels {
    height: 52px;
    margin-bottom: 12px;
}
.wcs-membership-goal-preview .rcp-goal-milestone-label {
    width: 124px;
    color: #aab59f;
    line-height: 1.25;
}
.wcs-membership-goal-preview .rcp-goal-milestone-desc {
    margin-bottom: 3px;
    color: #d3ddc9;
    font-size: 13px;
    font-weight: 650;
}
.wcs-membership-goal-preview .rcp-goal-milestone-amount {
    color: #a7b09f;
    font-size: 14px;
    font-weight: 800;
}
.wcs-membership-goal-preview .rcp-goal-milestone-desc.achieved,
.wcs-membership-goal-preview .rcp-goal-milestone-amount.achieved {
    color: #b7dc8e;
}
.wcs-membership-goal-preview .rcp-goal-milestone-line {
    width: 2px;
    background: rgba(230, 239, 222, .40);
}
.wcs-membership-goal-preview .rcp-goal-milestone-line.achieved {
    background: #9cca58;
    opacity: 1;
}
.wcs-membership-goal-preview .rcp-goal-range-labels {
    margin-top: 8px;
}
.wcs-membership-goal-preview .rcp-goal-range-labels span {
    color: var(--wmg-muted);
    font-size: 13px;
}
.wcs-membership-goal-preview .rcp-goal-stats {
    margin-top: 21px;
    color: var(--wmg-text);
    font-size: 19px;
    font-weight: 750;
}
.wcs-membership-goal-preview .rcp-goal-button-wrapper {
    margin-top: 16px;
}
.wcs-membership-goal-preview .rcp-goal-button {
    padding: 13px 28px;
    border: 1px solid rgba(190, 225, 148, .22);
    border-radius: 10px;
    background: linear-gradient(135deg, #5b8f00, #729f2f);
    color: #f7faef;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(50, 81, 5, .25);
}
.wcs-membership-goal-preview .rcp-goal-button:hover {
    background: linear-gradient(135deg, #6d9e12, #85b743);
    color: #fff;
}
@media (max-width: 768px) {
    .wcs-membership-goal-preview .rcp-goal-wrapper {
        margin: 12px auto;
        padding: 21px 18px 18px;
    }
    .wcs-membership-goal-preview .rcp-goal-milestone-label { width: 95px; }
    .wcs-membership-goal-preview .rcp-goal-milestone-desc { font-size: 11px; }
    .wcs-membership-goal-preview .rcp-goal-milestone-amount { font-size: 12px; }
}
@media (max-width: 480px) {
    .wcs-membership-goal-preview .rcp-goal-wrapper {
        padding: 19px 13px 16px;
        border-radius: 17px;
    }
    .wcs-membership-goal-preview .rcp-goal-reward {
        margin-bottom: 42px;
        font-size: 11px;
    }
    .wcs-membership-goal-preview .rcp-goal-milestones-labels {
        height: 42px;
        margin-bottom: 10px;
    }
    .wcs-membership-goal-preview .rcp-goal-milestone-label { width: 70px; }
    .wcs-membership-goal-preview .rcp-goal-milestone-desc { font-size: 10px; }
    .wcs-membership-goal-preview .rcp-goal-milestone-amount { font-size: 11px; }
    .wcs-membership-goal-preview .rcp-goal-stats { font-size: 16px; }
}
