/* ==========================================================================
   Single Post / Tool Page Styles & Social Share Bar
   ========================================================================== */

/* Centered Share Bar Wrapper */
.tool-share-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 35px auto 45px;
    width: 100%;
}

.tool-share-container {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 32px 48px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Oblique Circle Line Drawing SVG across the entire widget with 5px thickness */
.widget-oblique-circle-svg {
    position: absolute;
    top: -14px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 28px);
    pointer-events: none;
    overflow: visible;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.22));
}

.widget-oblique-circle-svg path {
    stroke: #2563eb;
    stroke-width: 5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

/* Main Row: Share Now + Buttons */
.tool-share-main-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

/* "Share Now" Heading */
.share-heading {
    position: relative;
    z-index: 2;
    font-size: 19px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.02em;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}

/* Buttons Container */
.tool-share-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Social Buttons - Filled with Brand Colors & White Icons */
.tool-share-btn {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    color: #ffffff;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, filter 0.2s ease;
    box-sizing: border-box;
}

.tool-share-btn svg {
    display: block;
    width: 20px;
    height: 20px;
}

.tool-share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    filter: brightness(1.08);
}

.tool-share-btn:active {
    transform: translateY(0) scale(0.95);
}

/* Brand Colors */
.share-btn-facebook {
    background-color: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

.share-btn-twitter {
    background-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.30);
}

.share-btn-reddit {
    background-color: #ff4500;
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.35);
}

.share-btn-pinterest {
    background-color: #e60023;
    box-shadow: 0 4px 12px rgba(230, 0, 35, 0.35);
}

.share-btn-whatsapp {
    background-color: #25d366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.share-btn-email {
    background-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Radio Options Bar Inside the Line Drawing (Below Share Row) */
.share-options-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 2px;
    animation: fadeInOptions 0.3s ease-out;
}

@keyframes fadeInOptions {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-radio-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.share-radio-label:hover {
    color: #1e293b;
}

.share-radio-label input[type="radio"] {
    accent-color: #2563eb;
    width: 15px;
    height: 15px;
    cursor: pointer;
    margin: 0;
}
