/* ================================================================
 * Apretarikas Directorio v0.6.3-R3 — Chat para No registrados
 * Añade únicamente la acción de chat para Público; no altera los estilos estables del Directorio Público.
 * ================================================================ */

.apd-public-card-link {
    height: auto;
}

.apd-chat-public-card-action {
    position: relative;
    z-index: 2;
    padding: 0 16px 18px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,249,242,.98) 0%, rgba(255,247,239,.99) 100%);
}

.apd-chat-public-button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    min-height: 42px;
    border: 1px solid rgba(220, 180, 100, .78);
    border-radius: 11px;
    background: linear-gradient(135deg, #df1280 0%, #c5076e 58%, #a8055d 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 9px 21px rgba(217,0,114,.21), inset 0 1px 0 rgba(255,239,207,.22);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, border-color .16s ease;
    cursor: pointer;
    touch-action: manipulation;
}

.apd-chat-public-button:hover,
.apd-chat-public-button:focus {
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    filter: brightness(1.035);
    border-color: rgba(235, 203, 139, .96);
    box-shadow: 0 12px 27px rgba(217,0,114,.26), 0 0 0 1px rgba(201,154,61,.08);
}

.apd-chat-public-button:focus-visible {
    outline: 2px solid #c99a3d;
    outline-offset: 3px;
}

.apd-chat-public-button--card {
    width: min(100%, 210px);
    padding: 9px 14px;
    font-size: 14px;
}

.apd-chat-public-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: #fff3dc;
    line-height: 1;
}

.apd-chat-public-button__lips {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
    filter: drop-shadow(0 1px 1px rgba(74, 17, 50, .22));
}

.apd-chat-public-profile-action {
    clear: both;
    width: 100%;
    margin: 22px auto 18px;
    text-align: center;
}

.apd-chat-public-button--profile {
    width: min(100%, 290px);
    min-height: 48px;
    padding: 11px 22px;
    border-radius: 13px;
    font-size: 16px;
    box-shadow: 0 11px 26px rgba(217,0,114,.22), inset 0 1px 0 rgba(255,239,207,.24);
}

.apd-chat-public-button--profile .apd-chat-public-button__icon {
    width: 22px;
    height: 22px;
}

@media (max-width: 760px) {
    .apd-chat-public-card-action {
        padding: 0 12px 15px;
    }

    .apd-chat-public-button--card {
        width: 100%;
        min-height: 40px;
        padding: 8px 9px;
        font-size: 13px;
        gap: .35rem;
    }

    .apd-chat-public-button--card .apd-chat-public-button__icon {
        width: 18px;
        height: 18px;
    }

    .apd-chat-public-profile-action {
        margin: 18px auto 14px;
        padding: 0 10px;
    }

    .apd-chat-public-button--profile {
        width: min(100%, 320px);
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .apd-chat-public-card-action {
        padding: 0 10px 12px;
    }

    .apd-chat-public-button--card {
        min-height: 38px;
        padding: 7px 6px;
        font-size: 12px;
        letter-spacing: -.01em;
    }

    .apd-chat-public-button--card .apd-chat-public-button__icon {
        width: 17px;
        height: 17px;
    }
}
