@use "../../../../../shared-core/src/Frontend/styles/variables" as *;

// Tokens and building blocks shared by the free plugin's dashboard and premium upsell screens.
$free-muted: #50575e;
$free-tint: color-mix(in srgb, var(--wp-admin-theme-color) 14%, #fff);
$free-tint-subtle: color-mix(in srgb, var(--wp-admin-theme-color) 6%, #fff);

.wpr-card {
    background: #fff;
    border: 1px solid $border-color;
    border-radius: 6px;
}

.wpr-icon-tile {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    border: 1px solid $border-color;
    border-radius: 6px;
    color: var(--wp-admin-theme-color-darker-20);

    svg {
        fill: currentcolor;
    }
}

.wpr-pro-card {
    &__header {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 24px;
        border-bottom: 1px solid $border-color;
        font-size: 14px;
        font-weight: 600;
    }

    &__badge {
        padding: 1px 8px;
        border-radius: 999px;
        background: $free-tint;
        color: var(--wp-admin-theme-color-darker-20);
        font-size: 12px;
        font-weight: 500;
    }

    &__illustration {
        display: flex;
        justify-content: center;
        padding: 14px 20px;
        border-radius: 8px;
        background: $free-tint-subtle;

        svg {
            display: block;
            width: 100%;
            max-width: 232px;
            height: auto;
        }
    }
}
