/**
 * Browser language hint.
 *
 * A small card docked to the bottom-right corner. It never covers the page
 * content, so the visitor can keep browsing while the offer is on screen.
 */

.gm-blh {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2147483000;
    box-sizing: border-box;
    width: 340px;
    max-width: calc(100% - 32px);
    padding: 20px 20px 16px;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(20, 26, 33, 0.16);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #24292f;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.gm-blh--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.gm-blh__question {
    margin: 0 28px 16px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #24292f;
    word-break: break-word;
}

.gm-blh__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gm-blh__accept,
.gm-blh__decline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.gm-blh__accept {
    border: 1px solid #e24035;
    background: #e24035;
    color: #ffffff;
}

.gm-blh__accept:hover,
.gm-blh__accept:focus {
    border-color: #b82a20;
    background: #b82a20;
    color: #ffffff;
}

.gm-blh__decline {
    border: 1px solid #d5d9de;
    background: #ffffff;
    color: #57606a;
}

.gm-blh__decline:hover,
.gm-blh__decline:focus {
    border-color: #b9bfc6;
    background: #f6f7f8;
    color: #24292f;
}

.gm-blh__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #8b949e;
    font-size: 20px;
    line-height: 22px;
    cursor: pointer;
}

.gm-blh__close:hover,
.gm-blh__close:focus {
    background: #f0f1f3;
    color: #24292f;
}

.gm-blh__accept:focus-visible,
.gm-blh__decline:focus-visible,
.gm-blh__close:focus-visible {
    outline: 2px solid #e24035;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .gm-blh {
        right: 16px;
        left: 16px;
        bottom: 16px;
        width: auto;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gm-blh {
        transition: none;
        transform: none;
    }
}
