.cookie-panel {
    box-sizing: border-box;
    display: none;
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 773px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e9ebef;
    border-radius: 16px;
    box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 1000;
    font-family: 'Vela Sans', 'Onest', system-ui, -apple-system, sans-serif;
}

.cookie-panel__content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.cookie-panel__lead {
    display: flex;
    flex: 1 1 auto;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
}

.cookie-panel__icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
}

.cookie-panel__icon svg {
    display: block;
    width: 32px;
    height: 32px;
}

.cookie-panel__text {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    color: #111827;
}

.cookie-panel__text a {
    color: #b04481;
    text-decoration: none;
}

.cookie-panel__text a:hover {
    text-decoration: underline;
}

.cookie-panel__buttons {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.cookie-panel__btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 9px 16px;
    border: 0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    line-height: 22px;
    cursor: pointer;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.cookie-panel__btn:hover {
    opacity: 0.92;
}

.cookie-panel__btn--accept {
    background: #b04481;
    font-weight: 500;
    color: #ffffff;
}

.cookie-panel__btn--decline {
    background: #f0f2f5;
    font-weight: 400;
    color: #111827;
}

@media (max-width: 575px) {
    .cookie-panel {
        bottom: 8px;
        width: calc(100% - 16px);
        max-width: 359px;
        padding: 16px 20px 16px 16px;
        border-radius: 12px;
        box-shadow: 0 -10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    .cookie-panel__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cookie-panel__lead {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .cookie-panel__icon {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
        padding: 8px 0;
        box-sizing: content-box;
    }

    .cookie-panel__icon svg {
        width: 28px;
        height: 28px;
    }

    .cookie-panel__text {
        font-size: 14px;
        line-height: 22px;
    }

    .cookie-panel__buttons {
        align-self: flex-start;
        gap: 8px;
    }

    .cookie-panel__btn {
        height: 32px;
        padding: 5px 16px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
    }

    .cookie-panel__btn--decline {
        padding: 5px 12px;
    }
}
