/**
 * Share Reading Styles
 */

.share-reading-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(176, 163, 215, 0.05);
    border: 2px solid rgba(176, 163, 215, 0.2);
    border-radius: 8px;
    animation: fadeIn 0.5s ease;
}

.share-reading-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: #b0a3d7;
    font-family: 'Cinzel', serif;
}

.share-link-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.share-link-input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(176, 163, 215, 0.3);
    border-radius: 4px;
    color: #b0a3d7;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

.share-link-input:focus {
    outline: none;
    border-color: rgba(176, 163, 215, 0.6);
    box-shadow: 0 0 10px rgba(176, 163, 215, 0.2);
}

.copy-link-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(176, 163, 215, 0.2);
    border: 1px solid rgba(176, 163, 215, 0.4);
    color: #b0a3d7;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-link-btn:hover {
    background: rgba(176, 163, 215, 0.3);
    border-color: rgba(176, 163, 215, 0.6);
    color: #e8e8e8;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
}

.share-btn {
    padding: 0.5rem 0.75rem;
    background: rgba(176, 163, 215, 0.15);
    border: 1px solid rgba(176, 163, 215, 0.3);
    color: #b0a3d7;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: rgba(176, 163, 215, 0.25);
    border-color: rgba(176, 163, 215, 0.5);
    color: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(176, 163, 215, 0.15);
}

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

/* Social media specific colors */
.share-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.4);
    color: #25d366;
}

.share-twitter:hover {
    background: rgba(29, 161, 242, 0.2);
    border-color: rgba(29, 161, 242, 0.4);
    color: #1da1f2;
}

.share-facebook:hover {
    background: rgba(59, 89, 152, 0.2);
    border-color: rgba(59, 89, 152, 0.4);
    color: #3b5998;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .share-reading-section {
        margin-top: 1.5rem;
        padding: 1rem;
    }

    .share-link-container {
        flex-direction: column;
    }

    .copy-link-btn {
        width: 100%;
    }

    .share-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .share-btn {
        padding: 0.65rem 0.75rem;
        font-size: 0.85rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
