/* Asistente virtual FEINT */
.feint-chat { position: fixed; right: 22px; bottom: 22px; z-index: 120; font-family: var(--font, "Segoe UI", sans-serif); }
.feint-chat-launcher {
    display: inline-flex; align-items: center; gap: 9px;
    border: 0; border-radius: 999px; cursor: pointer;
    background: var(--navy, #08192B); color: #fff;
    padding: 12px 18px 12px 14px;
    font: inherit; font-size: 13px; font-weight: 700;
    box-shadow: 0 14px 34px rgba(8,25,43,.30);
    transition: transform .2s ease, background .2s ease;
}
.feint-chat-launcher:hover { transform: translateY(-2px); background: #0D2B45; }
.feint-chat-launcher svg { color: var(--cyan, #12ADE5); }

.feint-chat-panel {
    position: absolute; right: 0; bottom: 66px;
    width: 366px; max-width: calc(100vw - 30px);
    background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 28px 70px rgba(8,25,43,.30);
    border: 1px solid #D9E7F0;
    display: flex; flex-direction: column;
    max-height: min(620px, calc(100vh - 120px));
}
.feint-chat-panel[hidden] { display: none; }
.feint-chat-head {
    display: flex; align-items: center; gap: 10px;
    background: var(--navy, #08192B); color: #fff;
    padding: 13px 14px;
}
.feint-chat-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--cyan, #12ADE5); color: var(--navy, #08192B);
    display: grid; place-items: center; font-weight: 800; font-size: 13px;
}
.feint-chat-head strong { display: block; font-size: 13px; line-height: 1.1; }
.feint-chat-head span { display: block; font-size: 10.5px; color: #A9CBDA; margin-top: 2px; }
.feint-chat-close { margin-left: auto; background: transparent; border: 0; color: #C7DFEA; font-size: 24px; line-height: 1; cursor: pointer; padding: 0 2px; }
.feint-chat-messages { padding: 14px; overflow-y: auto; flex: 1; background: #F7FBFD; min-height: 150px; }
.feint-chat-msg { max-width: 88%; padding: 10px 12px; border-radius: 13px; font-size: 12.5px; line-height: 1.5; margin-bottom: 9px; white-space: pre-wrap; }
.feint-chat-msg.assistant { background: #fff; border: 1px solid #E1EDF4; color: #142B3F; border-bottom-left-radius: 4px; }
.feint-chat-msg.user { background: var(--cyan, #12ADE5); color: #06202F; margin-left: auto; border-bottom-right-radius: 4px; font-weight: 600; }
.feint-chat-msg.typing { color: #5B7186; font-style: italic; }
.feint-chat-suggestions { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 10px; background: #F7FBFD; }
.feint-chat-suggestions button {
    border: 1px solid #CFE4EF; background: #fff; color: #0D78A6;
    font: inherit; font-size: 10.5px; font-weight: 700;
    padding: 6px 9px; border-radius: 999px; cursor: pointer;
}
.feint-chat-suggestions button:hover { border-color: var(--cyan, #12ADE5); }
.feint-chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #E6F0F5; background: #fff; }
.feint-chat-form input { flex: 1; min-width: 0; border: 1px solid #D9E7F0; border-radius: 10px; padding: 9px 11px; font: inherit; font-size: 12px; }
.feint-chat-form input:focus { outline: 2px solid rgba(18,173,229,.28); border-color: var(--cyan, #12ADE5); }
.feint-chat-form button { border: 0; border-radius: 10px; background: var(--navy, #08192B); color: #fff; font: inherit; font-size: 11.5px; font-weight: 700; padding: 0 14px; cursor: pointer; }
.feint-chat-form button:disabled { opacity: .5; cursor: wait; }
.feint-chat-note { margin: 0; padding: 0 14px 11px; font-size: 9.5px; color: #7A91A3; line-height: 1.4; background: #fff; }
.feint-chat-note a { color: #0D78A6; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (max-width: 560px) {
    .feint-chat { right: 14px; bottom: 14px; }
    .feint-chat-launcher span { display: none; }
    .feint-chat-launcher { padding: 13px; border-radius: 50%; }
    .feint-chat-panel { position: fixed; right: 10px; left: 10px; bottom: 78px; width: auto; max-height: calc(100vh - 100px); }
}
