/**
 * Social Share Widget Styles
 * Botões de compartilhamento com efeito reveal
 * Suporte para tipo texto e botão, com layouts linha e coluna
 */

/* ==========================================
   CONTAINER DOS BOTÕES
   ========================================== */
.social-share-wrapper {
    width: 100%;
}

.social-share-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* ==========================================
   ALINHAMENTO DO CONTAINER
   ========================================== */
.social-share-align-left .social-share-container {
    justify-content: flex-start;
}

.social-share-align-center .social-share-container {
    justify-content: center;
}

.social-share-align-right .social-share-container {
    justify-content: flex-end;
}

/* ==========================================
   LAYOUT COLUNA - Alinhamento no eixo transversal
   ========================================== */
.social-share-align-left .social-share-direction-column {
    align-items: flex-start;
}

.social-share-align-center .social-share-direction-column {
    align-items: center;
}

.social-share-align-right .social-share-direction-column {
    align-items: flex-end;
}

/* ==========================================
   BOTÃO BASE
   ========================================== */
.social-share-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    overflow: hidden;
    transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
}

/* ==========================================
   TIPO BOTÃO - Estilos padrão
   ========================================== */
.social-share-view-button .social-share-button {
    padding: 12px 24px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 4px;
}

/* ==========================================
   TIPO TEXTO - Apenas texto sem background
   ========================================== */
.social-share-view-text .social-share-button {
    padding: 0;
    background-color: transparent;
    color: #000000;
    border-radius: 0;
}

/* ==========================================
   WRAPPER DO CONTEÚDO COM OVERFLOW
   ========================================== */
.social-share-content-wrapper {
    overflow: hidden;
    height: 1.2em;
    position: relative;
}

/* ==========================================
   CONTAINER DO CONTEÚDO DESLIZANTE
   ANIMAÇÃO REVEAL
   ========================================== */
.social-share-content {
    display: flex;
    flex-direction: column;
    transition: transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================
   TEXTO INDIVIDUAL
   ========================================== */
.social-share-text {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.2em;
    height: 1.2em;
}

/* ==========================================
   EFEITO HOVER - DESLIZA O CONTEÚDO PARA CIMA
   ========================================== */
.social-share-button:hover .social-share-content {
    transform: translateY(-1.2em);
}

/* ==========================================
   ESTADOS DE FOCO
   ========================================== */
.social-share-button:focus {
    outline: none;
}

.social-share-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* ==========================================
   RESPONSIVO - WIDESCREEN (>= 2400px)
   ========================================== */
@media (min-width: 2400px) {
    .social-share-view-button .social-share-button {
        font-size: 16px;
        padding: 14px 28px;
    }
}

/* ==========================================
   RESPONSIVO - LAPTOP (<= 1366px)
   ========================================== */
@media (max-width: 1366px) {
    .social-share-view-button .social-share-button {
        font-size: 14px;
        padding: 12px 24px;
    }
}

/* ==========================================
   RESPONSIVO - TABLET EXTRA (<= 1024px)
   ========================================== */
@media (max-width: 1024px) {
    .social-share-view-button .social-share-button {
        font-size: 14px;
        padding: 11px 22px;
    }
}

/* ==========================================
   RESPONSIVO - TABLET (<= 768px)
   ========================================== */
@media (max-width: 768px) {
    .social-share-view-button .social-share-button {
        font-size: 13px;
        padding: 10px 20px;
    }
}

/* ==========================================
   RESPONSIVO - MOBILE EXTRA (<= 480px)
   ========================================== */
@media (max-width: 480px) {
    .social-share-view-button .social-share-button {
        font-size: 12px;
        padding: 9px 18px;
    }
}

/* ==========================================
   RESPONSIVO - MOBILE (<= 360px)
   ========================================== */
@media (max-width: 360px) {
    .social-share-view-button .social-share-button {
        font-size: 11px;
        padding: 8px 16px;
    }
}

/* ==========================================
   ACESSIBILIDADE
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    .social-share-content {
        transition: none;
    }
    
    .social-share-button {
        transition: none;
    }
}

/* ==========================================
   MODO ESCURO (ELEMENTOR EDITOR)
   ========================================== */
.elementor-editor-dark-mode .social-share-button {
    border-color: rgba(255, 255, 255, 0.1);
}

.elementor-editor-dark-mode .social-share-view-text .social-share-button {
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   UTILITÁRIOS E RESET
   ========================================== */
.elementor-widget-social-share {
    margin-bottom: 0;
}

.social-share-wrapper * {
    box-sizing: border-box;
}

.social-share-button {
    color: inherit;
    text-decoration: none;
}

/* ==========================================
   SUPORTE RTL
   ========================================== */
.rtl .social-share-container {
    direction: rtl;
}