﻿/* GoodBuy 1.0 – Install UI */
.gb-install-modal[hidden], .gb-install-hint[hidden], [data-goodbuy-install][hidden] {
    display: none !important;
}

.gb-install-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(10,27,43,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
}

.gb-install-dialog {
    width: 100%;
    max-width: 460px;
    max-height: calc(100dvh - 36px);
    overflow-y: auto;
    box-sizing: border-box;
    border-radius: 18px;
    padding: 25px;
    background: #fff;
    color: #194466;
    box-shadow: 0 18px 50px rgba(0,0,0,.25);
    font-family: Arial, sans-serif;
}

    .gb-install-dialog h2 {
        margin: 0 0 14px;
        font-size: 23px;
        color: #194466;
    }

    .gb-install-dialog p, .gb-install-dialog li {
        font-size: 16px;
        line-height: 1.55;
    }

    .gb-install-dialog ol {
        padding-left: 24px;
    }

.gb-install-close {
    display: block;
    margin: 20px 0 0 auto;
    padding: 11px 22px;
    background: #2869dc;
    border: 0;
    border-radius: 9px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.gb-install-modal-open {
    overflow: hidden;
}

.gb-install-hint {
    border: 1px solid #d4e5f2;
    background: #f4f9fd;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 14px 0;
    color: #194466;
    font-family: Arial, sans-serif;
}

    .gb-install-hint p {
        margin: 0 0 10px;
    }

.gb-install-action {
    background: #2869dc;
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
}

.goodbuy-nav .gb-install-menu-link {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    min-height: 43px;
}

    .goodbuy-nav .gb-install-menu-link:hover {
        background: rgba(255,255,255,.14);
    }

@media (max-width: 1100px) {
    .goodbuy-nav .gb-install-menu-link {
        width: 100%;
        justify-content: flex-start;
        padding: 13px 16px;
        font-size: 15px;
    }
}
