/* Cookie consent */
.cookie-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: min(900px, calc(100% - 40px));
    margin-inline: auto;
    padding: 20px 22px;
    color: #fff;
    background: #07152f;
    border: 1px solid rgba(79, 163, 232, .42);
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .34);
}

.cookie-consent-copy {
    max-width: 610px;
}

.cookie-consent-copy strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.cookie-consent-copy p {
    margin: 0;
    color: #c8d8e8;
    font-size: 13px;
    line-height: 1.55;
}

.cookie-consent-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.cookie-consent-actions button {
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 9px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent-accept {
    color: #07152f;
    background: #4fa3e8;
    border: 1px solid #4fa3e8;
}

.cookie-consent-decline {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .45);
}

.cookie-consent-actions button:hover,
.cookie-consent-actions button:focus-visible {
    transform: translateY(-1px);
}

.cookie-settings-button {
    appearance: none;
    padding: 0;
    color: #6b84a3;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    opacity: .75;
    transition: color .2s ease, opacity .2s ease;
}

.cookie-settings-button:hover,
.cookie-settings-button:focus-visible {
    color: #4fa3e8;
    opacity: 1;
}

.cookie-settings-button:focus-visible {
    outline: 2px solid #4fa3e8;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .cookie-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        width: calc(100% - 24px);
        padding: 18px;
    }

    .cookie-consent-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cookie-consent-actions button {
        width: 100%;
    }
}
