.button {
    align-items: center;
    border: 2px solid #fff;
    border-radius: 16px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 6px;
    height: 46px;
    justify-content: center;
    letter-spacing: 1px;
    padding: 0 16px;
    text-transform: uppercase;
    transition: transform 80ms ease, filter 80ms ease;
}

.button:hover:not(:disabled) {
    filter: brightness(1.04);
}

.button:active:not(:disabled) {
    filter: brightness(0.96);
    transform: translateY(1px) scale(0.98);
}

.button:focus-visible {
    outline: 3px solid rgb(23 108 192 / 22%);
    outline-offset: 2px;
}

.button-icon {
    display: block;
    filter: brightness(0) invert(1);
    height: 18px;
    width: 18px;
}

.button--primary {
    background: #20c91c;
}

.button--surface {
    background: #13aee7;
}

.button:disabled {
    background: #d9e1e7;
    cursor: default;
    filter: none;
    transform: none;
}

.button--full {
    width: 100%;
}

.microphone-button {
    -webkit-tap-highlight-color: transparent;
    align-items: center;
    background: #13aee7;
    border: 2px solid rgb(255 255 255 / 74%);
    border-radius: 14px;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 clamp(44px, 12vw, 50px);
    height: clamp(44px, 12vw, 50px);
    justify-content: center;
    padding: 0;
    pointer-events: auto;
    transition: filter 80ms ease;
    width: clamp(44px, 12vw, 50px);
}

.microphone-button:hover {
    filter: brightness(1.04);
}

.microphone-button:focus-visible {
    outline: 3px solid rgb(23 108 192 / 22%);
    outline-offset: 2px;
}

.microphone-button-icon {
    display: block;
    height: 27px;
    width: 27px;
}

.microphone-button--recording {
    animation: microphone-wave 1.1s ease-out infinite;
    background: #ff7d73;
}

@keyframes microphone-wave {
    0% {
        box-shadow: 0 0 0 0 rgb(255 125 115 / 42%);
        filter: brightness(0.96);
    }

    50% {
        filter: brightness(1.06);
    }

    70% {
        box-shadow: 0 0 0 12px rgb(255 125 115 / 0%);
    }

    100% {
        box-shadow: 0 0 0 0 rgb(255 125 115 / 0%);
        filter: brightness(0.96);
    }
}

.google-button {
    align-items: center;
    background: #4285f4;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
    color: #fff;
    display: flex;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    min-height: 50px;
    padding: 2px 10px 2px 2px;
    text-decoration: none;
}

.google-button:hover {
    background: #3367d6;
}

.google-button:focus-visible {
    outline: 3px solid rgb(23 108 192 / 22%);
    outline-offset: 2px;
}

.google-button-icon {
    align-items: center;
    background: #fff;
    border-radius: 6px;
    display: flex;
    flex: 0 0 45px;
    height: 45px;
    justify-content: center;
    width: 45px;
}

.google-button-label {
    flex: 1;
    text-align: center;
}
