/* =========================================================
   PC MUNDO 360° — CHATBOT LOCAL
   Sin API / Sin costo / Sin servidor
   ========================================================= */

.pc-chat-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(56,189,248,.45);
    border-radius: 50%;
    background: rgba(8,12,18,.96);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    cursor: pointer;
    z-index: 9998;
    box-shadow: 0 10px 35px rgba(0,0,0,.45);
    transition: transform .25s ease, border-color .25s ease;
}

.pc-chat-button:hover {
    transform: translateY(-4px) scale(1.04);
    border-color: #38bdf8;
}

.pc-chat-window {
    position: fixed;
    right: 24px;
    bottom: 94px;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 500px;
    max-height: calc(100vh - 120px);
    background: #090d13;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    overflow: hidden;
    z-index: 9999;
    display: none;
    flex-direction: column;
    box-shadow: 0 25px 70px rgba(0,0,0,.60);
}

.pc-chat-window.open {
    display: flex;
    animation: pcChatIn .22s ease;
}

@keyframes pcChatIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pc-chat-header {
    padding: 17px 18px;
    background: linear-gradient(135deg, rgba(56,189,248,.13), rgba(255,255,255,.025));
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pc-chat-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.pc-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(56,189,248,.12);
    border: 1px solid rgba(56,189,248,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 18px;
}

.pc-chat-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.pc-chat-status {
    color: #7f8b99;
    font-size: 10px;
    margin-top: 3px;
}

.pc-chat-close {
    border: 0;
    background: transparent;
    color: #77818d;
    font-size: 22px;
    cursor: pointer;
    padding: 3px 6px;
}

.pc-chat-close:hover {
    color: #fff;
}

.pc-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 17px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.pc-chat-message {
    max-width: 88%;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.pc-chat-message.bot {
    align-self: flex-start;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.06);
    color: #d8dee6;
}

.pc-chat-message.user {
    align-self: flex-end;
    background: rgba(56,189,248,.13);
    border: 1px solid rgba(56,189,248,.18);
    color: #eaf8ff;
}

.pc-chat-options {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 2px;
}

.pc-chat-option {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: 1px solid rgba(56,189,248,.18);
    border-radius: 7px;
    background: rgba(56,189,248,.045);
    color: #bdeaff;
    cursor: pointer;
    font-size: 12px;
    transition: background .2s ease, border-color .2s ease;
}

.pc-chat-option:hover {
    background: rgba(56,189,248,.10);
    border-color: rgba(56,189,248,.38);
}

.pc-chat-whatsapp {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 11px;
    border-radius: 7px;
    background: #25d366;
    color: #06140b;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.pc-chat-whatsapp:hover {
    filter: brightness(1.08);
}

@media (max-width: 600px) {
    .pc-chat-window {
        right: 12px;
        bottom: 82px;
        width: calc(100vw - 24px);
        height: min(500px, calc(100vh - 100px));
    }

    .pc-chat-button {
        right: 15px;
        bottom: 15px;
    }
}
/* =========================================================
   PC MUNDO 360° — ICONO CHATBOT PREMIUM
   ========================================================= */

.pc-chat-icon {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s ease;
}

.pc-chat-button:hover .pc-chat-icon {
    transform: scale(1.08);
}