/* Shared BWA-ia skin, matching the home mockup. */
.agileom-search {
    width: 100%;
    font-family: Inter, system-ui, sans-serif;
}
.agileom-search--home { margin: 24px auto; }
.agileom-search .bwa-ia-search-container { max-width: 672px; }
.agileom-search .bwa-ia-search-form {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 58px;
    margin: 0;
    padding: 8px;
    border: 1px solid #e4e2dd;
    border-radius: 999px;
    background: #fffffff2;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px #0000000a;
    box-sizing: border-box;
}
.agileom-search .bwa-ia-search-form::before {
    content: "";
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-left: 12px;
    margin-right: 4px;
    background: #f77754;
    clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
}
.agileom-search .bwa-ia-search-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: auto !important;
    margin: 0 !important;
    padding: 12px 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #4a4a4a !important;
    font: 400 16px/24px Inter, system-ui, sans-serif !important;
}
.agileom-search .bwa-ia-search-input::placeholder { color: #777; opacity: 1; }
.agileom-search .bwa-ia-search-form .bwa-ia-search-submit {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #f77754;
    color: #fff;
    font: 500 14px/1 Inter, system-ui, sans-serif;
    cursor: pointer;
    transition: background-color .2s ease;
}
.agileom-search .bwa-ia-search-icon { width: 20px; height: 20px; fill: none; }
.agileom-search .bwa-ia-search-form:focus-within { border-color: #c54b2b; box-shadow: 0 0 0 2px #f7775433; }
.agileom-search .bwa-ia-search-form .bwa-ia-search-submit:hover { background: #c54b2b; }
@media (max-width: 1023px) {
    .agileom-search--home .bwa-ia-search-container { max-width: 576px; }
    .agileom-search .bwa-ia-search-form .bwa-ia-search-submit { width: 40px; padding: 0; }
    .agileom-search .bwa-ia-search-form .bwa-ia-search-submit span { display: none; }
}
/* Temporary home chat CTA, ready to be replaced by the chat provider widget. */
.bwa-home-chat-placeholder {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: #f77754;
    color: #fff;
    box-shadow: 0 10px 26px #c54b2b40;
    font: 600 14px/1.2 Inter, system-ui, sans-serif;
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: background-color .2s ease;
}
.bwa-home-chat-placeholder:hover { background: #c54b2b; }
.bwa-home-chat-placeholder svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.bwa-home-chat-placeholder svg path + path { stroke-width: 2.8; }
.bwa-home-chat-placeholder:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 639px) {
    .bwa-home-chat-placeholder { right: 16px; bottom: 80px; padding: 12px; width: 48px; height: 48px; justify-content: center; }
    .bwa-home-chat-placeholder span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (prefers-reduced-motion: reduce) { .bwa-home-chat-placeholder { transition: none; } }
