.cfpro-post-share {
    margin-top: 2.5rem;
    padding: 0;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cfpro-post-share__xp-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cfpro-post-share__xp-banner-text {
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.cfpro-post-share__xp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #f59e0b;
    color: #1e293b;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    box-shadow: 0 2px 4px rgba(245,158,11,0.35);
}

.cfpro-post-share__xp-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.cfpro-post-share__xp-tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.12);
    color: #cbd5e1;
    white-space: nowrap;
}

.cfpro-post-share__xp-tag--high {
    background: rgba(245,158,11,0.2);
    color: #fcd34d;
}

.cfpro-post-share__body {
    padding: 1.25rem;
}

.cfpro-post-share__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cfpro-post-share__title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
    line-height: 1.3;
}

.cfpro-post-share__count {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.cfpro-post-share__buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.65rem;
}

.cfpro-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 0.6rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s ease;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
}

.cfpro-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.18);
}

.cfpro-share-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.14);
}

.cfpro-share-btn svg {
    flex-shrink: 0;
}

.cfpro-share-btn--facebook { background: #1877f2; }
.cfpro-share-btn--twitter  { background: #0f1419; }
.cfpro-share-btn--whatsapp { background: #25d366; }
.cfpro-share-btn--linkedin { background: #0a66c2; }
.cfpro-share-btn--email    { background: #64748b; }
.cfpro-share-btn--copy     { background: #475569; }

.cfpro-post-share__reward-hint,
.cfpro-post-share__login-hint {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
}

.cfpro-post-share__login-hint a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid rgba(220,38,38,0.3);
    transition: border-color 0.15s ease;
}

.cfpro-post-share__login-hint a:hover {
    border-color: #dc2626;
}

.cfpro-post-share__success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid #a7f3d0;
    box-shadow: 0 2px 4px rgba(6,95,70,0.08);
}

.cfpro-post-share__success svg {
    flex-shrink: 0;
}

.cfpro-post-share__toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    border: 1px solid rgba(245,158,11,0.4);
    animation: cfproToastSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-width: 260px;
    max-width: 320px;
}

.cfpro-post-share__toast--hide {
    animation: cfproToastSlideOut 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cfproToastSlideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes cfproToastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.cfpro-post-share__toast-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    animation: cfproToastPulse 1.5s ease-in-out infinite;
}

@keyframes cfproToastPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.cfpro-post-share__toast-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cfpro-post-share__toast-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cfpro-post-share__toast-xp {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
}

.cfpro-post-share__toast-bonus {
    font-size: 0.78rem;
    font-weight: 600;
    color: #fcd34d;
}

/* Shared button state (disabled after sharing today) */
.cfpro-share-btn--shared {
    opacity: 0.85;
    cursor: not-allowed;
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #15803d !important;
    box-shadow: none !important;
}

@media (max-width: 480px) {
    .cfpro-post-share__buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    .cfpro-post-share__xp-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cfpro-post-share__toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        min-width: auto;
        max-width: none;
    }
}
