#wpml-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.banner-text {
    flex: 1;
    min-width: 300px;
}

.banner-text p {
    margin: 0;
}

.banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.accept-btn {
    background-color: #27ae60;
    color: white;
}

.accept-btn:hover {
    background-color: #219a52;
}

.decline-btn {
    background-color: transparent;
    color: currentColor;
    border: 1px solid currentColor;
}

.decline-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    #wpml-cookie-banner {
        padding: 15px;
    }
    
    .banner-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .banner-text {
        min-width: auto;
        margin-bottom: 10px;
    }
    
    .banner-actions {
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .banner-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        max-width: none;
    }
}

#wpml-cookie-banner.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#wpml-cookie-banner.slide-down {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}