/* Cookie banner */
.cookie-consent {
    position: fixed;
    z-index: 100000;
    left: 50%;
    bottom: 20px;

    width: min(860px, calc(100% - 32px));
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    padding: 20px 22px;

    background:
            linear-gradient(
                    135deg,
                    rgba(7, 23, 28, .98),
                    rgba(11, 36, 42, .98)
            );

    border: 1px solid rgba(255, 198, 92, .18);
    border-radius: 16px;

    box-shadow:
            0 18px 60px rgba(0, 0, 0, .42),
            0 1px 0 rgba(255, 255, 255, .04) inset;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    color: #f4f7f8;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__text {
    flex: 1;
    min-width: 0;
}

.cookie-consent__text strong {
    display: block;
    margin-bottom: 6px;

    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.cookie-consent__text p {
    margin: 0 0 6px;

    max-width: 600px;

    font-size: 13px;
    line-height: 1.55;
    color: rgba(244, 247, 248, .72);
}

.cookie-consent__text a {
    font-size: 12px;
    color: #ffc65c;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 198, 92, .3);
}

.cookie-consent__text a:hover {
    border-color: #ffc65c;
}

.cookie-consent__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
}

.cookie-consent__button {
    min-height: 44px;
    padding: 0 18px;

    border-radius: 10px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    transition:
            background .2s ease,
            border-color .2s ease,
            color .2s ease,
            transform .2s ease;
}

.cookie-consent__button--secondary {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .78);
}

.cookie-consent__button--secondary:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
}

.cookie-consent__button--primary {
    border: 1px solid #f4a62a;
    background: #f4a62a;
    color: #111;
}

.cookie-consent__button--primary:hover {
    background: #ffc65c;
    border-color: #ffc65c;
}

@media (max-width: 700px) {
    .cookie-consent {
        bottom: 12px;
        width: calc(100% - 24px);

        flex-direction: column;
        align-items: stretch;
        gap: 16px;

        padding: 18px;
        border-radius: 14px;
    }

    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__button {
        flex: 1;
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 430px) {
    .cookie-consent__actions {
        flex-direction: column-reverse;
    }

    .cookie-consent__button {
        width: 100%;
    }
}