/* Share Button Styles */
.gh-navigation-share {
    position: relative;
    margin-left: 20px;
}

.gh-share-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: none;
    border: none;
    color: currentColor;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.gh-share-button:hover {
    color: var(--ghost-accent-color, #E76F51);
}

.gh-share-icon {
    width: 16px;
    height: 16px;
}

.gh-share-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.gh-share-button[aria-expanded="true"] + .gh-share-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gh-share-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    font-weight: 600;
    font-size: 13px;
    color: var(--color-darkgrey);
}

.gh-share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--color-secondary-text);
    font-size: 14px;
    transition: background 0.2s;
}

.gh-share-option:hover {
    background: var(--color-lighter-gray, #FDF7F4);
    color: var(--color-darkgrey);
}

.gh-share-option svg {
    flex-shrink: 0;
}

.gh-share-option[data-share="twitter"]:hover svg { color: #1DA1F2; }
.gh-share-option[data-share="linkedin"]:hover svg { color: #0A66C2; }
.gh-share-option[data-share="facebook"]:hover svg { color: #1877F2; }
.gh-share-option[data-share="email"]:hover svg { color: var(--ghost-accent-color, #E76F51); }
.gh-share-option[data-share="copy"]:hover svg { color: #2A9D8F; }

.gh-share-confirmation {
    position: absolute;
    bottom: -35px;
    right: 0;
    background: #2A9D8F;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.gh-share-confirmation.show {
    opacity: 1;
}

@media (max-width: 767px) {
    .gh-navigation-share {
        margin-left: 0;
        width: 100%;
    }

    .gh-share-button {
        width: 100%;
        justify-content: center;
    }

    .gh-share-dropdown {
        left: 0;
        right: 0;
    }
}
