/* ========================================
   Modal Adsense - Estilos del Modal de Compartir
   Integrado en Midas Theme (blognetwork)
   ======================================== */

/* Contenedor principal del modal */
.tp-gateway {
    display: none;
    bottom: 20vh;
    left: 0;
    -webkit-box-align: center;
    align-items: center;
    box-sizing: border-box;
    flex-direction: column;
    margin: 0 auto;
    padding: 20px;
    position: fixed;
    text-align: left;
    width: 100%;
    z-index: 99000;
    height: auto;
    opacity: 1;
}

/* Fondo con gradiente */
.tp-gateway-background {
    display: none;
    position: fixed;
    top: 0;
    z-index: 99000;
    height: 100vh;
    width: 100vw;
    pointer-events: none;
    background: linear-gradient(transparent, #000);
    opacity: 0;
}

/* Blackout overlay */
.tp-gateway-background-blackout {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 98999;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* Botón del gateway */
.tp-gateway-button {
    color: #000;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    text-rendering: optimizeLegibility;
    font-family: -apple-system, arial, helvetica;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 auto;
    min-width: 230px;
    padding: 14px 30px;
    text-decoration: none;
}

/* Contenedor del modal */
.containerTp {
    padding: 0.8rem;
    border-radius: 8px;
    border-left: solid 10px;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Header del contenedor */
.containerTpHeader {
    display: flex;
    align-items: end;
    justify-content: end;
}

/* Body del contenedor */
.containerTpBody {
    padding: 1rem;
    font-family: poppins, sans-serif, 'Open Sans', 'Helvetica Neue';
}

/* Iconos sociales */
.containerTpSocials {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
    gap: 10px;
}

.socialTp img {
    cursor: pointer;
    max-width: 40px;
    transition: transform 0.2s ease;
}

.socialTp img:hover {
    transform: scale(1.1);
}

/* Botón de cierre */
.containerTpButton {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.buttonTp {
    padding: 0.5rem 1rem;
    border: solid 1px #333;
    text-decoration: none;
    border-radius: 6px;
    color: #000;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.buttonTp:hover {
    background-color: #333;
    color: #fff;
}

/* Responsive */
@media (max-width: 480px) {
    .containerTp {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .tp-gateway {
        padding: 10px;
    }
    
    .socialTp img {
        max-width: 35px;
    }
}
