/*======================================================

Project: WhatsChat - WhatsApp Chat Widget jQuery Plugin
Author: Black Theme
Released On: 4, Sep 2019
@version: 1.0

========================================================*/

/* Contenedor principal */
.wc-style6 {
    position: relative;
    z-index: 2147483647;

    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Botón flotante */
.wc-style6 .wc-button {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 80px;
    height: 80px;

    right: 50px;
    bottom: 20px;

    border: 1px solid #fff;
    border-radius: 50%;

    text-align: center;
    box-shadow: 0 0 10px rgba(12, 12, 12, 0.3);

    cursor: pointer;
    z-index: 2147483647;
}

.wc-style6 .wc-button:hover {
    box-shadow: 0 0 10px rgba(12, 12, 12, 0.5);
}

.wc-style6 .wc-button i {
    margin: 0;

    font-size: 45px;
    line-height: 1;
}

/* Panel emergente */
.wc-style6 .wc-panel {
    display: none;
    position: fixed;

    width: 650px;

    right: 30px;
    bottom: 115px;

    border-radius: 10px;
    box-shadow: 0 3px 7px rgba(12, 12, 12, 0.18);

    overflow: hidden;
    z-index: 2147483646;
}

/* Encabezado */
.wc-style6 .wc-panel .wc-header {
    padding: 18px 25px;

    border-radius: 8px 8px 0 0;
    text-align: center;
}

.wc-style6 .wc-header p {
    max-width: 500px;
    margin: 0 auto 7px;

    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
}

.wc-style6 .wc-header strong {
    display: block;

    font-size: 20px;
    line-height: 25px;
}

/* Contenedor de las tres columnas */
.wc-style6 .wc-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;

    padding: 25px 15px 30px;
}

/* Cada contacto */
.wc-style6 .wc-body .wc-list {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    padding: 0 10px;

    text-align: center;
    cursor: pointer;
}

/* Imagen */
.wc-style6 .wc-list .wc-img-cont {
    position: relative;

    width: 105px;
    height: 105px;
    padding: 5px;
    margin-bottom: 12px;

    border-radius: 50%;
    overflow: hidden;

    transition: transform 200ms ease-in-out;
}

.wc-style6 .wc-list:hover .wc-img-cont {
    transform: scale(1.05);
}

.wc-style6 .wc-img-cont .wc-user-img {
    display: block;

    width: 100%;
    height: 100%;
    margin: 0 auto;

    border-radius: 50%;
    object-fit: cover;
}

/* Información */
.wc-style6 .wc-user-info {
    width: 100%;
    text-align: center;
}

.wc-style6 .wc-user-info .wc-phone {
    margin: 0 0 8px;

    font-size: 13px;
    font-weight: normal;
    line-height: 18px;
}

.wc-style6 .wc-user-info span {
    display: block;

    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
}

/* Versión para celular */
@media (max-width: 700px) {

    .wc-style6 .wc-button {
        width: 65px;
        height: 65px;

        right: 20px;
        bottom: 20px;
    }

    .wc-style6 .wc-button i {
        font-size: 36px;
    }

    .wc-style6 .wc-panel {
        width: calc(100% - 30px);
        max-height: calc(100vh - 120px);

        right: 15px;
        bottom: 100px;

        overflow-y: auto;
    }

    .wc-style6 .wc-body {
        grid-template-columns: 1fr;
        gap: 30px;

        padding: 25px 15px;
    }

    .wc-style6 .wc-list .wc-img-cont {
        width: 90px;
        height: 90px;
    }
}