/* Cookies Banner Styles */
.cookies {
    display: none;
    position: fixed;
    left: 6px;
    right: 6px;
    bottom: 24px;
    z-index: 2147483647;
    animation: cookiesSlideUp 0.5s ease-out;
}

@keyframes cookiesSlideUp {
    from { transform: translateY(16px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.cookies-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    width: 100%;
    background: rgba(0, 0, 0, 0.86);
    border-radius: 24px;
    box-shadow:
        0px 8px 16px -4px rgba(0, 0, 0, 0.06),
        0px 4px 32px -4px rgba(0, 0, 0, 0.08),
        0px 24px 48px -12px rgba(0, 0, 0, 0.08),
        0px 30px 60px -24px rgba(0, 0, 0, 0.08);
    font-family: "Inter", "Open Sans", Arial, sans-serif;
}

.cookies-badge {
    position: absolute;
    top: -20px;
    right: 16px;
    width: 52px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.cookies-badge img {
    width: 48px;
    height: auto;
    filter:
        drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.06))
        drop-shadow(0px 4px 32px rgba(0, 0, 0, 0.08))
        drop-shadow(0px 24px 48px rgba(0, 0, 0, 0.08))
        drop-shadow(0px 30px 60px rgba(0, 0, 0, 0.08));
}

.cookies-text {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #ffffff;
}

.cookies-text a {
    color: #478bff;
    text-decoration: none;
}

.cookies-text a:hover {
    text-decoration: underline;
}

.cookies-btn {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-height: 32px;
    padding: 0 16px;
    background: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #152149;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookies-btn:hover {
    background: #f2f2f2;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .cookies {
        left: 108px;
        right: auto;
        bottom: 12px;
        max-width: none;
        margin: 0;
        width: min(478px, calc(100vw - 120px));
    }

    .cookies-card {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }

    .cookies-text {
        flex: 1 0 0;
        min-width: 0;
    }
}
