/**
 * Share Buttons Styles
 * Path: public_html/css/share-buttons.css
 * Version: 1.0.3
 */

/* Share Section Container */
.share-section {
    margin: 16px 0;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.share-section-label {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Share Buttons Row */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Individual Share Button */
.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
    color: #fff;
    padding: 0;
    flex-shrink: 0;
}

.share-btn:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

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

.share-btn:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.share-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Button Colors */
.share-btn-copy {
    background-color: #6b7280;
}

.share-btn-copy.copied {
    background-color: #22c55e;
}

.share-btn-x {
    background-color: #000000;
}

.share-btn-reddit {
    background-color: #FF4500;
}

.share-btn-whatsapp {
    background-color: #25D366;
}

.share-btn-native {
    background-color: #3b82f6;
}

/* Hide native share by default, show via JS when supported */
.share-btn-native {
    display: none;
}

.share-btn-native.supported {
    display: flex;
}

/* Dark mode support */
body.dark-mode .share-section {
    border-top-color: #374151;
}

body.dark-mode .share-section-label {
    color: #9ca3af;
}

body.dark-mode .share-btn-copy {
    background-color: #4b5563;
}

body.dark-mode .share-btn:focus-visible {
    outline-color: #60a5fa;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .share-buttons {
        gap: 8px;
    }
}
