/* Общие стили */
#cookie-banner {
    position: fixed;
    background: #333;
    color: white;
    padding: 15px;
    z-index: 9999;
    font-family: inherit;
}

/* Баннер по всей ширине внизу */
#cookie-banner.banner-type-bottom_bar {
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

/* Фиксированный блок */
#cookie-banner.banner-type-fixed_block {
    width: 300px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Позиции фиксированного блока */
#cookie-banner.banner-type-fixed_block.position-bottom-left {
    bottom: 20px;
    left: 20px;
}

#cookie-banner.banner-type-fixed_block.position-bottom-right {
    bottom: 20px;
    right: 20px;
}

#cookie-banner.banner-type-fixed_block.position-top-left {
    top: 20px;
    left: 20px;
}

#cookie-banner.banner-type-fixed_block.position-top-right {
    top: 20px;
    right: 20px;
}

/* Попап */
#cookie-banner.banner-type-popup {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 90vw;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    text-align: center;
}

#cookie-banner.banner-type-popup::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

.cookie-content p {
    margin: 0 0 10px 0;
    font-size: 14px;
}

#accept-cookies {
    background: #007cba;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 3px;
}

#accept-cookies:hover {
    background: #005a87;
}

/* Категории cookies */
.cookie-categories {
    margin: 15px 0;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

.cookie-category-item {
    display: block;
    margin: 8px 0;
    cursor: pointer;
    font-size: 13px;
}

.cookie-category-item input {
    margin-right: 8px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.cookie-btn-primary {
    background: #007cba;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 3px;
}

.cookie-btn-secondary {
    background: #666;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 3px;
}

.cookie-btn-tertiary {
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 3px;
}

.cookie-btn-primary:hover {
    background: #005a87;
}

.cookie-btn-secondary:hover {
    background: #555;
}

.cookie-btn-tertiary:hover {
    background: rgba(255,255,255,0.1);
}