/* Scoped styles for the IdiomaLab WhatsApp service selector. */
.il-wa {
    --il-wa-green: #0b8741;
    position: fixed;
    z-index: 1200;
    right: 20px;
    bottom: 20px;
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: calc(100vw - 40px);
    color: #092a56;
    font: 400 14px/1.5 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.il-wa, .il-wa * { box-sizing: border-box; }
.il-wa svg { display: block; flex-shrink: 0; }
.il-wa .il-wa__trigger, .il-wa .il-wa__fallback {
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 54px;
    max-width: 100%;
    margin: 0;
    padding: 14px 21px;
    border: 0;
    border-radius: 999px;
    background: var(--il-wa-green);
    color: #fff;
    font: 650 13px/1.5 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgb(4 71 34 / 20%);
    transition: background-color .16s, box-shadow .16s;
    -webkit-tap-highlight-color: transparent;
}
.il-wa .il-wa__trigger { display: none; }
.il-wa .il-wa__fallback { display: inline-flex; }
.il-wa.is-ready .il-wa__trigger { display: inline-flex; }
.il-wa.is-ready .il-wa__fallback { display: none; }
.il-wa .il-wa__trigger:hover, .il-wa .il-wa__fallback:hover {
    background: #086f35;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 7px 24px rgb(4 71 34 / 25%);
}
.il-wa .il-wa__panel {
    display: flex;
    flex-direction: column;
    width: 334px;
    max-width: 100%;
    max-height: min(448px, calc(100vh - 112px));
    max-height: min(448px, calc(100dvh - 112px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px)));
    margin: 0 0 12px;
    overflow: hidden;
    border: 1px solid #e1e6ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 42px rgb(9 42 86 / 19%);
    animation: il-wa-enter .18s ease-out;
}
.il-wa .il-wa__panel[hidden] { display: none !important; }
.il-wa .il-wa__header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px 12px 20px;
    border-bottom: 1px solid #edf0f5;
}
.il-wa .il-wa__header h2 {
    margin: 0;
    color: #092a56;
    font: 650 15px/1.4 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -.01em;
}
.il-wa .il-wa__close {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #50647b;
    cursor: pointer;
}
.il-wa .il-wa__close:hover { background: #f2f4f8; color: #092a56; }
.il-wa .il-wa__services {
    display: grid;
    flex: 1 1 auto;
    gap: 8px;
    min-height: 0;
    margin: 0;
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    -webkit-overflow-scrolling: touch;
}
.il-wa .il-wa__services li { margin: 0; padding: 0; list-style: none; }
.il-wa .il-wa__service {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    margin: 0;
    padding: 12px;
    border: 1px solid #e6eaf1;
    border-radius: 10px;
    background: #fff;
    color: #203956;
    font: 500 13px/1.45 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-decoration: none;
    transition: background-color .16s, border-color .16s;
}
.il-wa .il-wa__service > span { flex: 1; min-width: 0; overflow-wrap: break-word; }
.il-wa .il-wa__service-icon { color: #7536c7; }
.il-wa .il-wa__arrow { color: #6a7b90; }
.il-wa .il-wa__service:hover { border-color: #c1a8e3; background: #f7f4fc; color: #203956; text-decoration: none; }
.il-wa button:focus-visible, .il-wa a:focus-visible { outline: 3px solid #7536c7; outline-offset: 3px; }
@keyframes il-wa-enter {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
    .il-wa {
        right: 16px;
        bottom: 16px;
        right: calc(16px + env(safe-area-inset-right, 0px));
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        max-width: calc(100vw - 32px);
    }
    .il-wa .il-wa__trigger, .il-wa .il-wa__fallback { min-height: 52px; padding: 13px 18px; }
    .il-wa .il-wa__panel { width: 320px; }
    .il-wa .il-wa__header { padding-left: 16px; }
    .il-wa .il-wa__services { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .il-wa .il-wa__panel { animation: none; }
    .il-wa .il-wa__trigger, .il-wa .il-wa__fallback, .il-wa .il-wa__service { transition: none; }
}
