/*
 * Flavor Build Badge — badge.css
 * Neeon theme / neeon-social-share-modifications integration.
 */

/* ============================================================
   SHARE ROW LAYOUT
   Minimal intervention — only remove the share plugin's
   margin-left:auto since space-between on the parent already
   handles right-alignment. Touch nothing else on parent containers.
   ============================================================ */

.post-share .share-links .share-shortcode-area {
    margin-left: 0 !important;
    align-self: center !important;
}

.post-share .share-links .share-shortcode-area .flavor-bb-wrap {
    margin: 0 !important;
}

/* ============================================================
   BADGE LINK — override theme's .post-share .share-links a
   which sets background:#646464; width:44px; height:40px
   ============================================================ */

.post-share .share-links .share-shortcode-area a.flavor-bb-badge,
.post-share .share-links .share-shortcode-area a.flavor-bb-badge:link,
.post-share .share-links .share-shortcode-area a.flavor-bb-badge:visited {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    height: auto !important;
    padding: 9px 14px 9px 11px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 1.5px solid #2962ff !important;
    border-radius: 6px !important;
    color: #2962ff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease !important;
}

.post-share .share-links .share-shortcode-area a.flavor-bb-badge:hover,
.post-share .share-links .share-shortcode-area a.flavor-bb-badge:focus {
    background-color: #2962ff !important;
    color: #fff !important;
    border-color: #2962ff !important;
    box-shadow: 0 4px 14px rgba(41, 98, 255, 0.28) !important;
    transform: translateY(-1px) !important;
    opacity: 1 !important;
}

/* ============================================================
   BADGE INTERNALS
   ============================================================ */

.flavor-bb-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.flavor-bb-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

.flavor-bb-text strong {
    font-weight: 700;
}

.flavor-bb-arrow {
    display: flex;
    align-items: center;
    opacity: 0.7;
    pointer-events: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.post-share .share-links .share-shortcode-area a.flavor-bb-badge:hover .flavor-bb-arrow,
.post-share .share-links .share-shortcode-area a.flavor-bb-badge:focus .flavor-bb-arrow {
    transform: translateX(3px);
    opacity: 1;
}

.flavor-bb-arrow svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
}

/* ============================================================
   STANDALONE — when [build_badge] is placed outside share row
   ============================================================ */

.flavor-bb-wrap {
    margin: 0 0 24px;
    display: inline-flex;
}

a.flavor-bb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px 9px 11px;
    background: transparent;
    border: 1.5px solid #2962ff;
    border-radius: 6px;
    text-decoration: none;
    color: #2962ff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}

a.flavor-bb-badge:hover,
a.flavor-bb-badge:focus {
    background: #2962ff;
    color: #fff;
    box-shadow: 0 4px 14px rgba(41, 98, 255, 0.28);
    transform: translateY(-1px);
    text-decoration: none;
    outline: none;
}
