/* Identidade Netcom para o chat OPA carregado por contato.netcom.tv.br. */
.whatsapp-container {
    animation: none !important;
    bottom: 98px !important;
    right: 22px !important;
}

.whatsapp-container .whatsapp-float,
.whatsapp-container .whatsapp-float:hover,
.whatsapp-container .whatsapp-float:focus-visible {
    animation: none !important;
    background: linear-gradient(145deg, #25d366 0%, #16aa50 72%, #078a3d 100%) !important;
    border: 3px solid rgba(255, 255, 255, 0.96) !important;
    border-radius: 23px 23px 7px 23px !important;
    box-shadow: 0 16px 36px rgba(4, 30, 67, 0.24), 0 5px 14px rgba(10, 157, 70, 0.24) !important;
    gap: 10px !important;
    height: 60px !important;
    justify-content: center !important;
    min-width: 150px !important;
    padding: 0 14px !important;
    width: 150px !important;
}

.whatsapp-container .whatsapp-float {
    transform: none !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

.whatsapp-container .whatsapp-float:hover,
.whatsapp-container .whatsapp-float:focus-visible {
    box-shadow: 0 20px 42px rgba(4, 30, 67, 0.3), 0 7px 18px rgba(10, 157, 70, 0.34) !important;
    outline: 3px solid rgba(37, 211, 102, 0.2) !important;
    outline-offset: 3px !important;
    transform: translateY(-3px) !important;
}

.whatsapp-container .whatsapp-float::before {
    animation: none !important;
    content: none !important;
}

.whatsapp-container .whatsapp-float > span {
    font-family: "Sora", "Manrope", sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
}

.whatsapp-container .whatsapp-float .whatsapp-icon {
    align-items: center !important;
    align-self: center !important;
    display: inline-flex !important;
    flex-basis: 24px !important;
    font-size: 25px !important;
    height: 24px !important;
    justify-content: center !important;
    line-height: 1 !important;
    min-width: 24px !important;
    position: relative !important;
    top: -1px !important;
    width: 24px !important;
}

.opa_ico {
    background: linear-gradient(145deg, #ff7a19 0%, #ed5b00 72%, #cf3f00 100%) !important;
    border: 3px solid rgba(255, 255, 255, 0.96) !important;
    border-radius: 23px 23px 7px 23px !important;
    bottom: 20px !important;
    box-shadow: 0 16px 36px rgba(4, 30, 67, 0.28), 0 5px 14px rgba(235, 83, 0, 0.28) !important;
    height: 60px !important;
    overflow: hidden !important;
    right: 22px !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease !important;
    width: 150px !important;
    z-index: 1200 !important;
}

.opa_ico::before {
    color: #fff;
    content: "Chat online";
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    left: 15px;
    letter-spacing: -0.01em;
    line-height: 1;
    position: absolute;
    text-shadow: 0 1px 2px rgba(126, 38, 0, 0.22);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
}

.opa_ico:hover,
.opa_ico:focus-visible {
    box-shadow: 0 20px 42px rgba(4, 30, 67, 0.34), 0 7px 18px rgba(235, 83, 0, 0.34) !important;
    outline: 3px solid rgba(15, 77, 176, 0.2) !important;
    outline-offset: 3px !important;
    transform: translateY(-3px) !important;
}

.opa_ico .opa_pulsar {
    animation: netcom-chat-pulse 2.4s ease-in-out infinite !important;
    height: 24px !important;
    margin: 0 !important;
    opacity: 1 !important;
    position: absolute !important;
    right: 14px !important;
    top: 16px !important;
    transform-origin: center !important;
    width: 24px !important;
}

.opa_ico path,
.opa_chat path {
    fill: #fff !important;
}

@keyframes netcom-chat-pulse {
    0%, 100% { opacity: 0.76; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.08); }
}

.opa_chat {
    background: #f4f7fb !important;
    border: 1px solid rgba(15, 77, 176, 0.16) !important;
    border-radius: 22px !important;
    bottom: 12px !important;
    box-shadow: 0 30px 80px rgba(3, 25, 55, 0.3), 0 8px 24px rgba(3, 25, 55, 0.16) !important;
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif !important;
    height: min(560px, calc(100vh - 24px)) !important;
    height: min(560px, calc(100svh - 24px)) !important;
    max-height: calc(100vh - 24px) !important;
    max-height: calc(100svh - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    overflow: hidden !important;
    right: 12px !important;
    width: 380px !important;
    z-index: 99999 !important;
}

.opa_cabecalho {
    background: linear-gradient(135deg, #071f42 0%, #0f4db0 68%, #1765cf 100%) !important;
    border-radius: 21px 21px 0 0 !important;
    box-shadow: 0 7px 20px rgba(7, 31, 66, 0.18) !important;
    height: 62px !important;
}

.opa_cabecalho::before {
    color: #fff;
    content: "Atendimento Netcom";
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    left: 20px;
    letter-spacing: -0.01em;
    position: absolute;
    top: 14px;
}

.opa_cabecalho::after {
    color: #bfe0ff;
    content: "Fale com a nossa equipe";
    font-size: 0.61rem;
    font-weight: 600;
    left: 20px;
    position: absolute;
    top: 34px;
}

.opa_close,
.opa_minimize {
    background-color: rgba(255, 255, 255, 0.11) !important;
    background-position: center !important;
    border-radius: 11px !important;
    height: 36px !important;
    top: 13px !important;
    transition: background-color 0.2s ease, opacity 0.2s ease !important;
    width: 36px !important;
}

.opa_close { right: 12px !important; }
.opa_minimize {
    background-position: center calc(50% - 5px) !important;
    right: 52px !important;
}

.opa_close:hover,
.opa_minimize:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
}

.opa_corpo {
    background:
        radial-gradient(circle at 100% 0, rgba(15, 77, 176, 0.08), transparent 35%),
        linear-gradient(180deg, #f7faff, #eef3f9) !important;
    color: #162944 !important;
    scrollbar-color: #a8bdd7 #e7edf5;
    scrollbar-width: thin;
}

.opa_ballon {
    background: #fff !important;
    border: 1px solid #dce6f2 !important;
    border-radius: 16px 16px 16px 5px !important;
    box-shadow: 0 7px 18px rgba(7, 31, 66, 0.08) !important;
    color: #1b2e49 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 0.74rem !important;
    line-height: 1.55 !important;
    margin: 7px 18px !important;
    padding: 11px 13px 8px !important;
}

.opa_ballon.recebida::before {
    border-bottom-right-radius: 12px 10px !important;
    border-left-color: #fff !important;
}

.opa_ballon.recebida::after {
    background: #f4f7fb !important;
}

.opa_ballon.enviada {
    background: linear-gradient(135deg, #ff7a19, #ed5b00) !important;
    border-color: transparent !important;
    border-radius: 16px 16px 5px 16px !important;
    color: #fff !important;
}

.opa_ballon.enviada::before {
    border-right-color: #ed5b00 !important;
}

.opa_ballon.enviada::after {
    background: #f4f7fb !important;
}

.opa_ballon.enviada .time {
    color: rgba(255, 255, 255, 0.74) !important;
}

.opa_rodape {
    background: #fff !important;
    border-top: 1px solid #dce6f2 !important;
    box-shadow: 0 -7px 20px rgba(7, 31, 66, 0.04) !important;
    height: 60px !important;
    padding: 6px 8px !important;
}

.opa_rodape_input {
    color: #162944 !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 0.78rem !important;
    padding: 0 10px !important;
}

.opa_rodape_menu,
.opa_rodape_send {
    background-color: #edf4fc !important;
    border-radius: 10px !important;
    height: 46px !important;
    transition: background-color 0.2s ease !important;
    width: 40px !important;
}

.opa_rodape_send {
    background-color: #ff6b00 !important;
    background-size: 17px !important;
}

.opa_rodape_menu:hover,
.opa_rodape_send:hover {
    background-color: #dfeaf7 !important;
    opacity: 1 !important;
}

.opa_rodape_send:hover { background-color: #e85b00 !important; }

.div-logins {
    margin-top: 25% !important;
    padding: 0 20px !important;
}

.sem-login,
.loginBtn--ixc {
    background: linear-gradient(135deg, #ff7a19, #ed5b00) !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 24px rgba(237, 91, 0, 0.22) !important;
    color: #fff !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    min-height: 44px !important;
    padding: 5px 18px !important;
    text-align: center !important;
}

@media (max-width: 620px) {
    .whatsapp-container {
        bottom: calc(92px + env(safe-area-inset-bottom)) !important;
        right: 16px !important;
    }

    .whatsapp-container .whatsapp-float,
    .whatsapp-container .whatsapp-float:hover,
    .whatsapp-container .whatsapp-float:focus-visible {
        border-radius: 50% !important;
        gap: 0 !important;
        height: 58px !important;
        min-width: 58px !important;
        padding: 0 !important;
        width: 58px !important;
    }

    .whatsapp-container .whatsapp-float > span {
        display: none !important;
    }

    .opa_ico {
        bottom: calc(16px + env(safe-area-inset-bottom)) !important;
        border-radius: 50% !important;
        height: 58px !important;
        right: 16px !important;
        width: 58px !important;
    }

    .opa_ico::before {
        content: "\f075";
        font-family: "Font Awesome 6 Free";
        font-size: 1.45rem;
        font-weight: 900;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .opa_ico .opa_pulsar { display: none !important; }

    .opa_chat {
        border-radius: 19px !important;
        bottom: max(8px, env(safe-area-inset-bottom)) !important;
        height: min(600px, calc(100svh - 16px)) !important;
        max-height: calc(100svh - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        right: 8px !important;
        width: calc(100vw - 16px) !important;
    }

    .opa_cabecalho { border-radius: 18px 18px 0 0 !important; }
}

@media (max-width: 960px) {
    .customer-dashboard-page .opa_ico {
        bottom: calc(82px + env(safe-area-inset-bottom)) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .opa_ico .opa_pulsar { animation: none !important; }
}

/* Recursos de mídia do webchat */
.opa_rodape { position: relative !important; overflow: visible !important; display: flex !important; align-items: center !important; gap: 6px !important; }
.netcom-voice-button {
    align-items: center;
    background: #0f4db0;
    border: 0;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 40px;
    height: 46px;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 40px;
}
.netcom-voice-button.is-recording { background: #d83b3b; animation: netcom-recording-pulse 1s infinite; }
@keyframes netcom-recording-pulse { 50% { opacity: .72; transform: scale(.94); } }
.netcom-attachment-popup {
    background: #fff;
    border: 1px solid #dce6f2;
    border-radius: 16px;
    bottom: calc(100% + 8px);
    box-shadow: 0 18px 42px rgba(7,31,66,.22);
    display: none;
    left: 54px;
    min-width: 210px;
    padding: 7px;
    position: absolute;
    z-index: 100;
}
.netcom-attachment-popup.is-open { display: grid; gap: 3px; }
.netcom-attachment-popup button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: #162944;
    cursor: pointer;
    display: flex;
    font: 700 .78rem "Manrope", sans-serif;
    gap: 11px;
    margin: 0;
    padding: 11px 12px;
    text-align: left;
    width: 100%;
}
.netcom-attachment-popup button:hover { background: #edf4fc; }
.netcom-attachment-popup i { color: #ff6b00; font-size: 1rem; width: 22px; }
.netcom-location-overlay {
    align-items: center;
    background: rgba(3,25,55,.68);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 2147483647;
}
.netcom-location-overlay section {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0,0,0,.32);
    color: #162944;
    max-width: 380px;
    padding: 27px;
    text-align: center;
    width: 100%;
}
.netcom-location-icon { color: #ff6b00; font-size: 2rem; }
.netcom-location-overlay h2 { margin: 8px 0; }
.netcom-location-overlay p { color: #536984; line-height: 1.5; margin: 0; }
.netcom-location-overlay button { background: #ff6b00; border: 0; border-radius: 20px; color: #fff; font-weight: 800; margin-top: 20px; padding: 11px 24px; }

@media (max-width: 620px) {
    .opa_rodape { gap: 4px !important; }
    .netcom-voice-button { flex-basis: 38px; width: 38px; }
    .netcom-attachment-popup { left: 48px; }
}
