/* Share Modal - Compact & Minimal Styles */

/* Preview Section - Compact */
.share-preview-compact {
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.02));
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.share-title-compact {
    font-size: 0.95rem;
    color: #1a1a1a;
}

/* Compact Button Grid - 5 buttons in a single row */
.share-buttons-compact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.share-btn-compact {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.share-btn-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-btn-compact i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.share-btn-compact:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.share-btn-compact:active {
    transform: translateY(-2px) scale(0.98);
}

/* Platform Colors - Minimal */
.share-x {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.share-x i {
    color: #ffffff;
}

.share-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0c5ec7 100%);
}

.share-facebook i {
    color: #ffffff;
}

.share-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
}

.share-whatsapp i {
    color: #ffffff;
}

.share-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006ba3 100%);
}

.share-telegram i {
    color: #ffffff;
}

.share-copy {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
}

.share-copy i {
    color: #ffffff;
}

/* Compact URL Section */
.share-url-compact {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.share-url-compact .form-control {
    font-size: 0.8rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
    padding: 0.4rem 0.6rem;
}

.share-url-compact .btn {
    border-color: #e9ecef;
    padding: 0.4rem 0.8rem;
}

.share-url-compact .btn:hover {
    background: #FFD700;
    border-color: #FFD700;
    color: #1a1a1a;
}

/* Modal Customization */
#shareModal .modal-sm {
    max-width: 420px;
}

#shareModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
}

#shareModal .modal-header {
    padding: 1rem 1.25rem 0.5rem;
}

#shareModal .modal-body {
    padding: 0.75rem 1.25rem 1.25rem;
}

/* Animation for copy success */
@keyframes copyPulse {
    0% {
        transform: translateY(-2px) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.1);
    }
    100% {
        transform: translateY(-2px) scale(1);
    }
}

.copy-success {
    animation: copyPulse 0.4s ease;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
}

/* Mobile responsive */
@media (max-width: 576px) {
    #shareModal .modal-sm {
        max-width: 90%;
        margin: 1rem auto;
    }

    .share-buttons-compact {
        gap: 0.5rem;
    }

    .share-btn-compact {
        width: 50px;
        height: 50px;
    }

    .share-btn-compact i {
        font-size: 1rem;
    }
}
