/* ==========================================================================
   GW Parts Compatible Badge
   ========================================================================== */

.gw-compat-badge-wrap {
    margin: 0;
    display: flex;
    align-items: center;
}

.gw-compat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px 0 14px;
    height: 44px !important;
    border-radius: 999px !important;
    background: #3c7cff !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 3px 10px rgba(60, 124, 255, 0.35);
    transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
    white-space: nowrap;
    /* Prevent theme styles from constraining width */
    min-width: 0;
    width: auto;
    max-width: none;
    overflow: visible;
}

.gw-compat-badge:hover,
.gw-compat-badge:focus {
    background: #2b6ef5 !important;
    box-shadow: 0 5px 16px rgba(60, 124, 255, 0.45);
    transform: translateY(-1px);
    outline: none;
    color: #ffffff !important;
    text-decoration: none !important;
}

.gw-compat-badge:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(60, 124, 255, 0.3);
}

.gw-compat-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: #34c97a;
    flex-shrink: 0;
}

.gw-compat-badge-icon svg {
    display: block;
    width: 13px;
    height: 13px;
}

/* Ensure the share shortcode area doesn't clip the badge */
.share-shortcode-area {
    overflow: visible !important;
    min-width: 0;
}

.share-shortcode-area .gw-compat-badge-wrap {
    margin: 0;
}
