/* GoEngineer cookie consent banner. Pairs with /js/cookie-consent.js.
 * Brand colors mirror GoEngineer.Data/Internal/BrandColors.cs — keep aligned. */

/* Suppress HubSpot's banner so users see only ours. HubSpot's consent state is
 * driven via its _hsq privacy queue from /js/cookie-consent.js. */
#hs-eu-cookie-confirmation {
    display: none !important;
}

.ge-cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #222222;
    color: #ffffff;
    z-index: 100000;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
    border-top: 3px solid #bad532;
    font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    line-height: 1.45;
}

    .ge-cookie-consent[hidden],
    .ge-cookie-consent.ge-cookie-consent--hidden {
        display: none;
    }

.ge-cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .ge-cookie-consent__inner {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        padding: 1rem 1.5rem;
    }
}

.ge-cookie-consent__copy {
    flex: 1;
    min-width: 0;
}

.ge-cookie-consent__title {
    display: block;
    font-family: 'Bebas Neue', system-ui, sans-serif;
    letter-spacing: 0.04em;
    font-size: 1.5rem;
    line-height: 1.1;
    margin-bottom: 0.25rem;
    color: #bad532;
}

.ge-cookie-consent__copy p {
    margin: 0;
    color: #ffffff;
}

    .ge-cookie-consent__copy a {
        color: #bad532;
        text-decoration: underline;
    }

        .ge-cookie-consent__copy a:hover,
        .ge-cookie-consent__copy a:focus {
            color: #d2ee52;
        }

.ge-cookie-consent__actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.ge-cookie-consent__btn {
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 0.55rem 1.1rem;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    min-width: 110px;
    font-family: inherit;
}

    .ge-cookie-consent__btn:focus-visible {
        outline: 2px solid #bad532;
        outline-offset: 2px;
    }

.ge-cookie-consent__btn--accept {
    background: #bad532;
    color: #1a1a1a;
}

    .ge-cookie-consent__btn--accept:hover,
    .ge-cookie-consent__btn--accept:focus {
        background: #d2ee52;
    }

.ge-cookie-consent__btn--decline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

    .ge-cookie-consent__btn--decline:hover,
    .ge-cookie-consent__btn--decline:focus {
        background: rgba(255, 255, 255, 0.08);
        border-color: #ffffff;
    }

@media (max-width: 1572px) {
    .ge-cookie-consent {
        z-index: 2147483647; /* browser max — covers SocialIntents chat on viewports where it overlaps the buttons */
    }
}

@media (max-width: 767.98px) {
    .ge-cookie-consent__actions {
        justify-content: stretch;
    }

    .ge-cookie-consent__btn {
        flex: 1;
        min-width: 0;
    }
}

