/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #028fde 0%, #1e3a8a 100%);
    color: white;
    padding: 16px 20px;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    max-width: 400px;
    width: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    opacity: 1;
}

.cookie-banner.show {
    transform: translateX(0);
}

.cookie-banner.hidden {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-banner__text {
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.cookie-banner__text a {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.cookie-banner__text a:hover {
    opacity: 0.8;
}

.cookie-banner__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.cookie-banner__btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-banner__btn--accept {
    background: #ffffff;
    color: #028fde;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cookie-banner__btn--accept:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 80px; /* Отступ от jivo-iframe-container */
        right: 15px;
        left: 15px;
        max-width: none;
        width: auto;
        transform: translateY(100%);
    }
    
    .cookie-banner.show {
        transform: translateY(0);
    }
    
    .cookie-banner.hidden {
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
    }
    
    .cookie-banner__content {
        gap: 10px;
    }
    
    .cookie-banner__text {
        font-size: 12px;
        text-align: center;
    }
    
    .cookie-banner__actions {
        justify-content: center;
    }
    
    .cookie-banner__btn {
        flex: 1;
        max-width: 120px;
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 70px; /* Отступ от jivo-iframe-container */
        right: 10px;
        left: 10px;
        padding: 12px 16px;
    }
    
    .cookie-banner__btn {
        padding: 10px 14px;
        font-size: 12px;
    }
    
    .cookie-banner__text {
        font-size: 11px;
    }
}
