/* Uyut34 Voice Input v0.4.3 */
.uyut34-voice-host { position: relative !important; }
.uyut34-voice-btn {
    position: absolute;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #16839a;
    cursor: pointer;
    opacity: .82;
    outline: none;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
    transition: opacity .15s ease, background-color .15s ease, transform .15s ease, color .15s ease;
}
.uyut34-voice-btn:hover,
.uyut34-voice-btn:focus { opacity: 1; background: rgba(0,0,0,.05); }
.uyut34-voice-btn:active { transform: scale(.94); }
.uyut34-voice-mic {
    position: relative;
    display: block;
    width: 10px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 7px;
    box-sizing: border-box;
}
.uyut34-voice-mic::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 14px;
    height: 8px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 9px 9px;
    transform: translateX(-50%);
    box-sizing: border-box;
}
.uyut34-voice-mic::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -11px;
    width: 2px;
    height: 5px;
    background: currentColor;
    transform: translateX(-50%);
    box-shadow: -4px 5px 0 -1px currentColor, 4px 5px 0 -1px currentColor;
}
.uyut34-voice-btn.uyut34-voice-listening {
    opacity: 1;
    color: #dc3545;
    background: rgba(220,53,69,.12);
}
.uyut34-voice-btn.uyut34-voice-listening .uyut34-voice-mic { animation: uyut34-voice-pulse 1s ease-in-out infinite; }

/* v0.3.16: return the upper search microphone to the v0.3.11 overlay layout.
   The button sits over the native clear-cross area inside the input.
   Unlike v0.3.11, the search microphone has a fully opaque background matching
   the input, so the native × underneath is visually hidden. */
input.uyut34-voice-search-input {
    box-sizing: border-box;
}
.uyut34-voice-btn.uyut34-voice-search {
    z-index: 60;
    opacity: 1 !important;
    background: #f7f7f7;
}
.uyut34-voice-btn.uyut34-voice-search:hover,
.uyut34-voice-btn.uyut34-voice-search:focus {
    opacity: 1 !important;
}

.uyut34-voice-message {
    position: fixed;
    z-index: 2147483647;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    max-width: calc(100vw - 30px);
    padding: 10px 14px;
    border-radius: 6px;
    background: rgba(35,35,35,.94);
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
@keyframes uyut34-voice-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* v0.4.3: explicit address clear control. It is shown only while the
   one-line delivery address contains text and sits immediately left of mic. */
.uyut34-voice-btn.uyut34-voice-clear {
    z-index: 55;
    color: #8d969d;
    opacity: .72;
    background: transparent;
}
.uyut34-voice-btn.uyut34-voice-clear[hidden] { display: none !important; }
.uyut34-voice-btn.uyut34-voice-clear:hover,
.uyut34-voice-btn.uyut34-voice-clear:focus {
    color: #59636b;
    opacity: 1;
    background: rgba(0,0,0,.05);
}
.uyut34-voice-clear-icon {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
}

