/*
 * STW Speed2Win bundled theme CSS overrides.
 * Layered on top of the Tailwind CDN + the runtime CSS variables that
 * the plugin emits via STW_Themer.
 */

/* Per-row install-site capture inside the WC cart table */
.stw-site-row {
    display: block;
    margin-top: 10px !important;
    padding: 12px 14px;
    background: #f8f5ff;
    border: 1px dashed rgba(106, 13, 173, 0.25);
    border-radius: 12px;
}
.stw-site-row label {
    display: block;
    font-weight: 700;
    color: #300050;
    font-size: 0.85rem;
    margin-bottom: 6px;
}
.stw-site-row .stw-site-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.stw-site-row .stw-site-input:focus {
    outline: none;
    border-color: #6a0dad;
    box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.15);
}
.stw-site-row .stw-site-error {
    color: #b91c1c;
    font-size: .85rem;
    margin-top: 6px;
    font-weight: 600;
}
.stw-site-row .stw-site-saved {
    margin-top: 6px;
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}

/* -----------------------------------------------------------------------
 * Proceed-to-Checkout gating: the proceed button is disabled until every
 * cart row has a valid install URL. Applies to the WC native checkout-button,
 * the .stw-demo-btn variants, and any [href*="/checkout/"] anchor.
 * ----------------------------------------------------------------------- */
a.stw-disabled,
a.stw-disabled:hover,
button.stw-disabled,
button.stw-disabled:hover {
    pointer-events: none !important;
    cursor: not-allowed !important;
    opacity: 0.55 !important;
    filter: grayscale(0.55);
    background: #d1d5db !important;
    background-image: none !important;
    color: #6b7280 !important;
    border-color: #d1d5db !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
a.stw-disabled::before {
    content: "\f023"; /* fa-lock */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
}
.stw-proceed-notice {
    background: #fef2f2;
    border: 2px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 700;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.10);
    animation: stw-shake 0.35s ease;
}
@keyframes stw-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* Inherit live theme colors */
.bg-stw-dark-purple   { background-color: var(--stw-dark-purple, #300050) !important; }
.bg-stw-medium-purple { background-color: var(--stw-medium-purple, #6a0dad) !important; }
.bg-stw-accent        { background-color: var(--stw-accent, #9acd32) !important; }
.text-stw-dark-purple   { color: var(--stw-dark-purple, #300050) !important; }
.text-stw-medium-purple { color: var(--stw-medium-purple, #6a0dad) !important; }
.text-stw-accent        { color: var(--stw-accent, #9acd32) !important; }
.border-stw-dark-purple   { border-color: var(--stw-dark-purple, #300050) !important; }
.border-stw-medium-purple { border-color: var(--stw-medium-purple, #6a0dad) !important; }
.border-stw-accent        { border-color: var(--stw-accent, #9acd32) !important; }

/* 3D cube animation reused across pages */
.stw-3d-cube {
    transform-style: preserve-3d;
    animation: stw-rotate 20s linear infinite;
}
@keyframes stw-rotate {
    0%   { transform: rotateX(0deg)   rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* Generic hover lift */
.stw-hover-lift { transition: all 0.3s ease; }
.stw-hover-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(48,0,80,0.18); }

.stw-glow { box-shadow: 0 0 24px rgba(154, 205, 50, 0.35); }

/* -----------------------------------------------------------------------
 * Client Login + Account Profile shared polish.
 * Visual parity with the product-details page: gradient hero, glass cards,
 * yellowgreen accent ring on key surfaces.
 * ----------------------------------------------------------------------- */
.stw-account-page,
.stw-client-login {
    font-family: var(--stw-font-family, 'Inter', sans-serif);
}

/* -----------------------------------------------------------------------
 * Full-bleed wrappers — escape any constrained parent (entry-content,
 * page.php inner containers, etc.) so the profile + login pages always
 * use 100% of the viewport width, just like cart.php / checkout.php do.
 * ----------------------------------------------------------------------- */
.stw-account-wrapper,
.stw-login-wrapper,
.stw-account-page,
.stw-client-login {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.stw-account-wrapper > *,
.stw-login-wrapper > * {
    max-width: 100%;
}
/* If the surrounding page template put us inside .container or .entry-content,
   break out of it visually. */
.entry-content > .stw-account-page,
.entry-content > .stw-client-login,
.site-content .stw-account-page,
.site-content .stw-client-login {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
}

.stw-account-page .stw-license-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.stw-account-page .stw-license-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(48, 0, 80, 0.16);
}
.stw-account-hero,
.stw-client-login .stw-hero {
    border-radius: 0;
}
/* Tighten the responsive license grid on extra-wide displays. */
@media (min-width: 1800px) {
    .stw-account-page .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-3.xl\:grid-cols-4.\32 xl\:grid-cols-5 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
.stw-header-account {
    text-decoration: none !important;
}
.stw-header-account:hover {
    text-decoration: none !important;
}

/* Make the field error inside the login form match the contact form vibe. */
.stw-client-login .stw-field-error {
    color: #b91c1c;
}

/* The branded "Renew now" button on the profile uses the unified CTA. */
.stw-account-page .stw-demo-btn,
.stw-client-login .stw-demo-btn {
    text-decoration: none !important;
}

/* -----------------------------------------------------------------------
 * UNIFIED CTA BUTTON.
 *
 * Matches the "Live Demo" button style used across the storefront:
 * purple background, yellowgreen border, white extrabold text. Apply
 * `.stw-demo-btn` to any anchor or submit button to inherit the same
 * presentation.
 * ----------------------------------------------------------------------- */
.stw-demo-btn,
a.stw-demo-btn,
button.stw-demo-btn,
input[type="submit"].stw-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    border-radius: 0.85rem;
    background-color: var(--stw-medium-purple, #6a0dad) !important;
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none;
    border: 4px solid var(--stw-accent, #9acd32) !important;
    box-shadow: 0 10px 25px -5px rgba(48, 0, 80, 0.35), 0 8px 10px -6px rgba(48, 0, 80, 0.2);
    cursor: pointer;
    line-height: 1.2;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.stw-demo-btn:hover,
a.stw-demo-btn:hover,
button.stw-demo-btn:hover,
input[type="submit"].stw-demo-btn:hover {
    background-color: var(--stw-dark-purple, #300050) !important;
    color: #ffffff !important;
    transform: scale(1.05);
    box-shadow: 0 20px 35px -10px rgba(48, 0, 80, 0.5), 0 10px 15px -5px rgba(48, 0, 80, 0.25);
}
.stw-demo-btn:focus,
a.stw-demo-btn:focus,
button.stw-demo-btn:focus,
input[type="submit"].stw-demo-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(154, 205, 50, 0.45), 0 10px 25px -5px rgba(48, 0, 80, 0.35);
}

/* -----------------------------------------------------------------------
 * WooCommerce visual harmony.
 *
 * Style every WooCommerce shortcode form (cart, checkout, my-account)
 * to match the contact-us form fields exactly. Same border, same focus
 * ring, same radius, same padding. Buttons inside Woo shortcodes adopt
 * the shared `.stw-demo-btn` look.
 * ----------------------------------------------------------------------- */
.woocommerce ul.products li.product .price { color: var(--stw-medium-purple, #6a0dad) !important; }

/* Inputs / selects / textareas inside cart, checkout, and any Woo shell */
.stw-woo-page .woocommerce input[type="text"],
.stw-woo-page .woocommerce input[type="email"],
.stw-woo-page .woocommerce input[type="tel"],
.stw-woo-page .woocommerce input[type="url"],
.stw-woo-page .woocommerce input[type="number"],
.stw-woo-page .woocommerce input[type="password"],
.stw-woo-page .woocommerce input[type="search"],
.stw-woo-page .woocommerce input.input-text,
.stw-woo-page .woocommerce textarea,
.stw-woo-page .woocommerce select,
.stw-woo-page .woocommerce .select2-container--default .select2-selection--single,
.stw-woo-page .woocommerce-cart input.input-text,
.stw-woo-page .woocommerce-checkout input.input-text {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 2px solid #d1d5db !important;
    border-radius: 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: #1f2937 !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.stw-woo-page .woocommerce input[type="text"]:focus,
.stw-woo-page .woocommerce input[type="email"]:focus,
.stw-woo-page .woocommerce input[type="tel"]:focus,
.stw-woo-page .woocommerce input[type="url"]:focus,
.stw-woo-page .woocommerce input[type="number"]:focus,
.stw-woo-page .woocommerce input[type="password"]:focus,
.stw-woo-page .woocommerce input[type="search"]:focus,
.stw-woo-page .woocommerce input.input-text:focus,
.stw-woo-page .woocommerce textarea:focus,
.stw-woo-page .woocommerce select:focus,
.stw-woo-page .woocommerce-cart input.input-text:focus,
.stw-woo-page .woocommerce-checkout input.input-text:focus {
    outline: none !important;
    border-color: var(--stw-medium-purple, #6a0dad) !important;
    box-shadow: 0 0 0 4px rgba(106, 13, 173, 0.18) !important;
}

/* select2 (country/state pickers) match the rest. */
.stw-woo-page .select2-container--default .select2-selection--single {
    height: auto !important;
}
.stw-woo-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5 !important;
    padding: 0 !important;
    color: #1f2937 !important;
}
.stw-woo-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 0.75rem !important;
}

/* Labels above the field, bold, dark purple - matches contact form. */
.stw-woo-page .woocommerce form .form-row label,
.stw-woo-page .woocommerce-form-coupon label,
.stw-woo-page .woocommerce-checkout label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--stw-dark-purple, #300050) !important;
    margin-bottom: 0.5rem;
}
.stw-woo-page .woocommerce form .form-row {
    margin-bottom: 1.25rem;
}
.stw-woo-page .woocommerce .required { color: var(--stw-medium-purple, #6a0dad) !important; }

/* Tables and summary blocks: airier, rounded, theme-tinted. */
.stw-woo-page .woocommerce-cart-form table,
.stw-woo-page .woocommerce table.shop_table,
.stw-woo-page .woocommerce table.shop_table_responsive {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e5e7eb !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff;
}
.stw-woo-page .woocommerce table.shop_table thead,
.stw-woo-page .woocommerce table.shop_table thead tr {
    background: transparent !important;
    background-image: none !important;
}
.stw-woo-page .woocommerce table.shop_table thead th,
.stw-woo-page .woocommerce table.shop_table th {
    background: var(--stw-dark-purple, #300050) !important;
    background-image: none !important;
    background-color: var(--stw-dark-purple, #300050) !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 1rem 1.25rem;
    border-bottom: none !important;
}
.stw-woo-page .woocommerce table.shop_table td {
    padding: 1rem 1.25rem;
    border-top: 1px solid #f3f4f6 !important;
    color: #374151;
}
.stw-woo-page .woocommerce table.shop_table tr:first-child td {
    border-top: none !important;
}
.stw-woo-page .woocommerce table.shop_table tfoot td,
.stw-woo-page .woocommerce table.shop_table tfoot th {
    background: #faf7ff !important;
    color: var(--stw-dark-purple, #300050) !important;
    font-weight: 700;
}

/* Cart totals block and checkout review-order shell. */
.stw-woo-page .cart_totals,
.stw-woo-page .woocommerce-checkout-review-order {
    background: linear-gradient(135deg, #faf7ff 0%, #ffffff 100%);
    border: 2px solid rgba(154, 205, 50, 0.3);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -10px rgba(48, 0, 80, 0.15);
    margin-top: 1.5rem;
}
.stw-woo-page .cart_totals h2,
.stw-woo-page #order_review_heading {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--stw-dark-purple, #300050) !important;
    margin-bottom: 1rem !important;
}

/* Coupon row layout. */
.stw-woo-page .woocommerce-cart-form .coupon {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    flex-wrap: wrap;
}
.stw-woo-page .woocommerce-cart-form .coupon input.input-text {
    flex: 1 1 200px;
    min-width: 0;
}

/* All Woo buttons inside the cart/checkout pages adopt the unified CTA. */
.stw-woo-page .woocommerce a.button,
.stw-woo-page .woocommerce button.button,
.stw-woo-page .woocommerce input.button,
.stw-woo-page .woocommerce #respond input#submit,
.stw-woo-page .woocommerce-cart-form button[name="apply_coupon"],
.stw-woo-page .woocommerce-cart-form button[name="update_cart"],
.stw-woo-page #place_order,
.stw-woo-page .checkout-button,
.stw-woo-page .wc-proceed-to-checkout .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem !important;
    border-radius: 0.85rem !important;
    background-color: var(--stw-medium-purple, #6a0dad) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    border: 4px solid var(--stw-accent, #9acd32) !important;
    box-shadow: 0 10px 25px -5px rgba(48, 0, 80, 0.35) !important;
    cursor: pointer !important;
    line-height: 1.2 !important;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 1rem !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.stw-woo-page .woocommerce a.button:hover,
.stw-woo-page .woocommerce button.button:hover,
.stw-woo-page .woocommerce input.button:hover,
.stw-woo-page .woocommerce-cart-form button:hover,
.stw-woo-page #place_order:hover,
.stw-woo-page .checkout-button:hover,
.stw-woo-page .wc-proceed-to-checkout .button:hover {
    background-color: var(--stw-dark-purple, #300050) !important;
    color: #ffffff !important;
    transform: scale(1.03);
    box-shadow: 0 20px 35px -10px rgba(48, 0, 80, 0.5) !important;
}

/* Big "place order" / "proceed to checkout" buttons span their column. */
.stw-woo-page #place_order,
.stw-woo-page .wc-proceed-to-checkout .button.checkout-button {
    width: 100% !important;
    padding: 1rem 1.5rem !important;
    font-size: 1.125rem !important;
}

/* Inline links inside Woo wrappers stay readable. */
.stw-woo-page .woocommerce a:not(.button):not(.stw-demo-btn) {
    color: var(--stw-medium-purple, #6a0dad);
    text-decoration: underline;
}
.stw-woo-page .woocommerce a:not(.button):not(.stw-demo-btn):hover {
    color: var(--stw-dark-purple, #300050);
}

/* Notices */
.woocommerce-info, .woocommerce-message {
    border-top-color: var(--stw-accent, #9acd32) !important;
    background: #fafafa;
    border-radius: 0.75rem !important;
}
.stw-woo-page .woocommerce-error,
.stw-woo-page .woocommerce-info,
.stw-woo-page .woocommerce-message {
    border-radius: 0.75rem !important;
    padding: 1rem 1.25rem !important;
}

/* Shortcode slots remain truly full-bleed (overrides any container) */
.stw-shortcode-slot { display: block; width: 100%; max-width: 100%; margin: 0; padding: 0; }
.stw-slot-after_header,
.stw-slot-above_footer {
    background: #fff;
}

/* Demo shortcode zones are full-bleed with no horizontal gutters. */
.stw-plugin-demo-page .stw-full-width-shortcode,
.stw-plugin-demo-page .stw-full-width-shortcode > * {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Demo pages: purple cards/banners must never use black/dark body text.
 * Use whole-token matching (~=) so opacity variants like /5, /10 don't trigger. */
.stw-plugin-demo-page [class~="from-stw-dark-purple"],
.stw-plugin-demo-page [class~="to-stw-dark-purple"],
.stw-plugin-demo-page [class~="via-stw-medium-purple"],
.stw-plugin-demo-page .bg-stw-dark-purple,
.stw-plugin-demo-page .bg-stw-medium-purple {
    color: #f3f4f6;
}

.stw-plugin-demo-page [class~="from-stw-dark-purple"] :is(h1, h2, h3, h4, p, span),
.stw-plugin-demo-page [class~="to-stw-dark-purple"]   :is(h1, h2, h3, h4, p, span),
.stw-plugin-demo-page .bg-stw-dark-purple   :is(h1, h2, h3, h4, p, span),
.stw-plugin-demo-page .bg-stw-medium-purple :is(h1, h2, h3, h4, p, span) {
    color: #f3f4f6 !important;
}

.stw-plugin-demo-page .bg-stw-accent,
.stw-plugin-demo-page .bg-stw-accent *,
.stw-plugin-demo-page [class~="from-stw-accent"],
.stw-plugin-demo-page [class~="from-stw-accent"] * {
    color: var(--stw-dark-purple, #300050) !important;
}

/* -----------------------------------------------------------------------
 * Universal contrast safety net.
 *
 * IMPORTANT: we use `[class~="..."]` (whole-word token match) so that the
 * rule only fires when the FULL gradient stop is purple at 100% opacity.
 * It must NOT match opacity variants such as `to-stw-medium-purple/5`,
 * `via-stw-dark-purple/10`, etc., which represent near-white washes and
 * are routinely combined with `bg-white` content. Matching those variants
 * would force white-on-white text, which is the bug we just fixed.
 * ----------------------------------------------------------------------- */
[class~="from-stw-dark-purple"],
[class~="to-stw-dark-purple"],
[class~="via-stw-dark-purple"],
[class~="from-stw-medium-purple"],
[class~="to-stw-medium-purple"],
[class~="via-stw-medium-purple"],
.bg-stw-dark-purple,
.bg-stw-medium-purple,
.stw-compare-card--highlight {
    color: #ffffff;
}

[class~="from-stw-dark-purple"] :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
[class~="to-stw-dark-purple"]   :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
[class~="via-stw-dark-purple"]  :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
[class~="from-stw-medium-purple"] :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
[class~="to-stw-medium-purple"]   :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
[class~="via-stw-medium-purple"]  :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
.bg-stw-dark-purple :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
.bg-stw-medium-purple :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
.stw-compare-card--highlight :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em) {
    color: #ffffff !important;
}

/* Re-establish dark text and white background for any nested card that
 * declares its OWN white/light background inside a purple wrapper (so the
 * universal rule above doesn't bleed into nested white cards). */
[class~="from-stw-dark-purple"] .bg-white :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
[class~="to-stw-dark-purple"]   .bg-white :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
[class~="via-stw-dark-purple"]  .bg-white :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
[class~="from-stw-medium-purple"] .bg-white :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
[class~="to-stw-medium-purple"]   .bg-white :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
[class~="via-stw-medium-purple"]  .bg-white :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
.bg-stw-dark-purple .bg-white :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
.bg-stw-medium-purple .bg-white :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em) {
    color: inherit !important;
}

/* Yellowgreen accent backgrounds always render dark-purple text, even when
 * nested inside a purple card. */
[class~="from-stw-dark-purple"] .bg-stw-accent,
[class~="to-stw-dark-purple"]   .bg-stw-accent,
[class~="via-stw-dark-purple"]  .bg-stw-accent,
[class~="from-stw-medium-purple"] .bg-stw-accent,
[class~="to-stw-medium-purple"]   .bg-stw-accent,
[class~="via-stw-medium-purple"]  .bg-stw-accent,
.bg-stw-dark-purple .bg-stw-accent,
.bg-stw-medium-purple .bg-stw-accent,
.stw-compare-card--highlight .bg-stw-accent,
[class~="from-stw-dark-purple"] .bg-stw-accent :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
[class~="to-stw-dark-purple"]   .bg-stw-accent :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
[class~="from-stw-medium-purple"] .bg-stw-accent :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
[class~="to-stw-medium-purple"]   .bg-stw-accent :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
.bg-stw-dark-purple .bg-stw-accent :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
.bg-stw-medium-purple .bg-stw-accent :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em),
.stw-compare-card--highlight .bg-stw-accent :is(h1, h2, h3, h4, h5, h6, p, span, li, strong, em) {
    color: var(--stw-dark-purple, #300050) !important;
}

/* The yellowgreen accent text class itself must always render in accent. */
[class~="from-stw-dark-purple"] .text-stw-accent,
[class~="to-stw-dark-purple"]   .text-stw-accent,
[class~="from-stw-medium-purple"] .text-stw-accent,
[class~="to-stw-medium-purple"]   .text-stw-accent,
.bg-stw-dark-purple .text-stw-accent,
.bg-stw-medium-purple .text-stw-accent,
.stw-compare-card--highlight .text-stw-accent {
    color: var(--stw-accent, #9acd32) !important;
}

/* Center icon medallion inside every plugin compare card. */
.stw-compare-card .w-14,
.stw-compare-card .w-16,
.stw-compare-card .w-20 {
    margin-left: auto !important;
    margin-right: auto !important;
}
