/* Banner "Vincula tu línea", WhatsApp de soporte y chatbot: mismos estilos que base_pag.html. */
/* ── Banner Vincula tu Línea ── */
.banner-vincula {
    background-color: #fff3cd;
    border-bottom: 3px solid #ffc107;
    padding: 12px 20px;
    font-family: 'Poppins', sans-serif;
}
.banner-vincula__contenido {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.banner-vincula__icono {
    color: #856404;
    font-size: 28px;
    flex-shrink: 0;
}
.banner-vincula__texto {
    color: #856404;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}
.banner-vincula__enlace {
    color: #664d03;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 4px;
}
.banner-vincula__enlace:hover {
    color: #3d2e02;
}
@media (max-width: 600px) {
    .banner-vincula {
        padding: 10px 14px;
    }
    .banner-vincula__contenido {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .banner-vincula__icono {
        font-size: 24px;
    }
    .banner-vincula__texto {
        font-size: 13px;
    }
}

/* ── WhatsApp de soporte (encima del chatbot) ── */
.whatsapp-soporte {
    position: fixed;
    bottom: 88px;
    right: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 9998;
    text-decoration: none;
}
.whatsapp-soporte:focus-visible { outline: 3px solid #1b3a6b; outline-offset: 2px; }
.whatsapp-soporte .material-symbols-outlined { font-size: 22px; }

/* ── Chatbot widget ── */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}
.chatbot-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7380ec, #5a67d8);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(115,128,236,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.chatbot-toggle .material-symbols-outlined {
    font-size: 28px;
}
.chatbot-window {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    flex-direction: column;
}
.chatbot-window.open {
    display: flex;
}
.chatbot-header {
    background: linear-gradient(135deg, #7380ec, #5a67d8);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.chatbot-header img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 2px;
}
.chatbot-header__title {
    font-weight: 700;
    font-size: 14px;
    margin: 0;
    color: #fff;
}
.chatbot-header__subtitle {
    font-size: 10px;
    opacity: 0.8;
    margin: 0;
    color: #fff;
}
.chatbot-header__close {
    margin-left: auto;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    max-height: 340px;
    min-height: 200px;
}
.chatbot-msg {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    max-width: 85%;
    margin-bottom: 8px;
}
.chatbot-msg--bot {
    background: #f0f2ff;
    color: #333;
    border-bottom-left-radius: 4px;
}
.chatbot-msg--user {
    background: #7380ec;
    color: #fff;
    border-bottom-right-radius: 4px;
    margin-left: auto;
}
.chatbot-msg--typing {
    background: #f0f2ff;
    color: #999;
    font-size: 12px;
    font-style: italic;
    max-width: 85%;
    margin-bottom: 8px;
    padding: 10px 14px;
    border-radius: 12px;
}
.chatbot-input-bar {
    padding: 10px 12px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
}
.chatbot-input-bar input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #dce1eb;
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    font-family: inherit;
}
.chatbot-input-bar button {
    background: #7380ec;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chatbot-input-bar button .material-symbols-outlined {
    font-size: 20px;
}
