.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    z-index: 999999;
    display: none;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-consent.is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent__panel {
    padding: 20px 30px;
    border-radius: 0;
    border-top: 1px solid var(--extra-medium-gray, #e4e4e4);
}

.cookie-consent__banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1320px;
    margin: 0 auto;
}

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

.cookie-consent__inner {
    max-width: 1320px;
    margin: 0 auto;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent__actions--customize {
    margin-top: 20px;
}

.cookie-consent__category {
    padding: 15px 0;
    border-top: 1px solid var(--extra-medium-gray, #e4e4e4);
}

.cookie-consent__category:first-of-type {
    border-top: none;
    padding-top: 0;
}

.cookie-consent__category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 5px;
}

.cookie-consent__badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--base-color, #2946f3);
    white-space: nowrap;
}

.cookie-consent__toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-consent__toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-consent__toggle-slider {
    position: absolute;
    inset: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: background-color 0.2s ease;
}

.cookie-consent__toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.cookie-consent__toggle input:checked + .cookie-consent__toggle-slider {
    background-color: var(--base-color, #2946f3);
}

.cookie-consent__toggle input:checked + .cookie-consent__toggle-slider::before {
    transform: translateX(20px);
}

.cookie-consent__toggle input:focus-visible + .cookie-consent__toggle-slider {
    outline: 2px solid var(--base-color, #2946f3);
    outline-offset: 2px;
}

@media (max-width: 991px) {
    .cookie-consent__banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

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

@media (max-width: 767px) {
    .cookie-consent__panel {
        padding: 20px;
    }

    .cookie-consent__actions .btn {
        flex: 1 1 auto;
        min-width: calc(50% - 5px);
    }
}
