/**
* 2007-2021 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
*/

/* Contenedor principal */
.dbaishare-container {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.dbaishare-title {
    margin-bottom: 20px;
}

.dbaishare-title h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.dbaishare-title p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

/* Contenedor de botones */
.dbaishare-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

/* Botones individuales */
.dbaishare-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #fff;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Iconos */
.dbaishare-button img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.dbaishare-icon-text {
    width: 24px;
    height: 24px;
    background-color: #6c757d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .dbaishare-container {
        padding: 15px;
    }
    
    .dbaishare-buttons {
        gap: 10px;
    }
    
    .dbaishare-button {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .dbaishare-button img,
    .dbaishare-icon-text {
        width: 20px;
        height: 20px;
    }
}

/* Notificación */
.dbaishare-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.dbaishare-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Animación de entrada - DESHABILITADA */
.dbaishare-container {
    opacity: 1;
    transform: none;
}

.dbaishare-container.dbaishare-visible {
    opacity: 1;
    transform: none;
}

/* Ocultar nombre en móviles muy pequeños - DESHABILITADO */
@media (max-width: 480px) {
    .dbaishare-name {
        display: inline;
    }
    
    .dbaishare-button {
        padding: 10px;
        min-width: auto;
        justify-content: center;
    }
}

/* ===== ESTILOS PARA INTEGRACIÓN EN POST_SHARE ===== */

/* Cuando el módulo está dentro de post_share */
.post_share {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px 0;
}

.post_share .dbaishare-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    opacity: 1;
    transform: none;
}

/* Mostrar título arriba de los botones */
.post_share .dbaishare-title {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Ajustar botones en línea */
.post_share .dbaishare-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

/* Ajustar estilo de botones en post_share */
.post_share .dbaishare-button {
    padding: 8px 16px;
    padding-right: 16px !important; /* Forzar el padding derecho */
    border-radius: 4px;
    border: 1px solid #052061;
    background: #052061;
    color: #fff !important;
    font-size: 13px;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    text-decoration: none;
}

.post_share .dbaishare-button .dbaishare-name {
    margin: 0;
    padding: 0;
    color: #fff;
}

.post_share .dbaishare-button:hover {
    background: var(--color_hover);
    border-color: var(--color_hover);
    color: #fff !important;
}

/* Ajustar iconos en post_share */
.post_share .dbaishare-button img,
.post_share .dbaishare-icon-text {
    width: 16px;
    height: 16px;
}

/* Contenido alineado a la derecha */
.post_share .contenido {
    display: flex;
    gap: 15px;
    align-items: center;
}

.post_share .contenido > span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

/* Responsive para post_share */
@media (max-width: 768px) {
    .post_share {
        display: block !important;
        width: 100%;
    }
    
    .post_share .dbaishare-container {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .post_share .dbaishare-title {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .post_share .dbaishare-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
        margin-bottom: 15px;
        justify-content: flex-start;
    }
    
    .post_share .dbaishare-button {
        width: auto; /* Ancho automático según contenido */
        margin: 0;
    }
    
    .post_share .contenido {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .post_share .dbaishare-button .dbaishare-name {
        display: inline;
    }
    
    .post_share .dbaishare-button {
        padding: 10px 15px;
        font-size: 13px;
        width: auto; /* Ancho automático */
    }
    .share_social{
        margin: 0 1rem 1rem;
    }
}

.share_social{
    display: flex;
    flex-direction: column;
}

.share_social_subtitle_div{
    margin-bottom: 12px;
}

.share_social_subtitle{
    color: #9CA7B6;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 111.111% */
}