/*
 * style_ShareModal.css - Estilos exclusivos para o modal de compartilhamento
 * GaragemGMC 2026
 */

/* ============================================
   MODAL DE COMPARTILHAMENTO
   ============================================ */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: shareFadeIn 0.3s ease;
}

@keyframes shareFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.share-modal-content {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid #d35400;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    animation: shareSlideUp 0.3s ease;
}

@keyframes shareSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-header {
    padding: 20px;
    background: #111;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-header h3 {
    color: #d35400;
    margin: 0;
    font-size: 1.2rem;
}

.share-header h3 i {
    margin-right: 10px;
}

.share-close {
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
}

.share-close:hover {
    color: #dc3545;
}

.share-body {
    padding: 25px;
}

.share-text {
    color: #aaa;
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-options button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.share-options button i {
    font-size: 1.2rem;
}

.share-options button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.share-btn-facebook {
    background: #1877f2;
    color: #fff;
}

.share-btn-twitter {
    background: #000;
    color: #fff;
}

.share-btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.share-btn-telegram {
    background: #0088cc;
    color: #fff;
}

.share-btn-instagram {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf);
    color: #fff;
}

.share-btn-tiktok {
    background: #000;
    color: #fff;
    position: relative;
}

.share-btn-tiktok::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #00f2ea, #ff0050);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.share-btn-tiktok:hover::before {
    opacity: 0.3;
}

.share-btn-tiktok i, .share-btn-tiktok span {
    position: relative;
    z-index: 1;
}

.share-btn-copy {
    background: #333;
    color: #fff;
}

.share-footer {
    padding: 15px 20px;
    background: #0a0a0a;
    border-top: 1px solid #222;
    text-align: center;
}

.share-footer small {
    color: #666;
    font-size: 0.7rem;
}

@media (max-width: 480px) {
    .share-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .share-options button {
        padding: 12px;
        font-size: 0.9rem;
    }
}